[vlc-devel] [PATCH] vlc_codec: decoder_GetPicture doesn't exist anymore

Thomas Guillem thomas at gllm.fr
Tue Oct 4 09:31:34 CEST 2016


LGTM (my bad)

On Tue, Oct 4, 2016, at 08:45, Steve Lhomme wrote:
> ---
>  include/vlc_codec.h | 11 +++++------
>  1 file changed, 5 insertions(+), 6 deletions(-)
> 
> diff --git a/include/vlc_codec.h b/include/vlc_codec.h
> index 85bc487..af7b979 100644
> --- a/include/vlc_codec.h
> +++ b/include/vlc_codec.h
> @@ -212,7 +212,7 @@ struct encoder_t
>   * This function notifies the video output pipeline of a new video
>   output
>   * format (fmt_out.video). If there was no video output from the decoder
>   so far
>   * or if the video output format has changed, a new video output will be
>   set
> - * up. decoder_GetPicture() can then be used to allocate picture
> buffers.
> + * up. decoder_NewPicture() can then be used to allocate picture
> buffers.
>   *
>   * If the format is unchanged, this function has no effects and returns
>   zero.
>   *
> @@ -253,12 +253,11 @@ static inline picture_t *decoder_NewPicture(
> decoder_t *dec )
>  }
>  
>  /**
> - * Abort any calls of decoder_NewPicture / decoder_GetPicture
> + * Abort any calls of decoder_NewPicture
>   *
> - * If b_abort is true, all pending and futures calls of
> decoder_NewPicture /
> - * decoder_GetPicture will be aborted. This function can be used by
> - * asynchronous video decoders to unblock a thread that is waiting for a
> - * picture.
> + * If b_abort is true, all pending and futures calls of
> decoder_NewPicture
> + * will be aborted. This function can be used by asynchronous video
> decoders
> + * to unblock a thread that is waiting for a picture.
>   */
>  VLC_API void decoder_AbortPictures( decoder_t *dec, bool b_abort );
>  
> -- 
> 2.8.2
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list