Hi,

On Wed, Nov 23, 2011 at 5:01 PM, Janne Grunau <[email protected]> wrote:
> This is required to fulfill avcodec_decode_video2() promise to return
> the number of consumed bytes on success.
> ---
>  libavcodec/avcodec.h |    3 ++-
>  libavcodec/pthread.c |    5 +++--
>  libavcodec/thread.h  |    3 +++
>  3 files changed, 8 insertions(+), 3 deletions(-)
[..]
>  /**
>  * Decode the video frame of size avpkt->size from avpkt->data into picture.
>  * Some decoders may support multiple frames in a single AVPacket, such
> - * decoders would then just decode the first frame.
> + * decoders would then just decode the first frame. Multiple frames in a 
> single
> + * AVPacket are not supported with frame level multithreading.

That's not true. E.g. concatenated B-frames in AVI-style MPEG-4 is supported.

I'm not sure if this patch is right yet, what depends on this style of
behaviour?

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to