Hi, On Thu, Nov 24, 2011 at 11:13 AM, Janne Grunau <[email protected]> wrote: > On Wed, Nov 23, 2011 at 08:31:31PM -0800, Ronald S. Bultje wrote: >> [..] >> > /** >> > * 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. > > dropped this part > > Janne > ---8<--- > This is required to fulfill avcodec_decode_video2() promise to return > the number of consumed bytes on success. > --- > libavcodec/pthread.c | 5 +++-- > libavcodec/thread.h | 3 +++ > 2 files changed, 6 insertions(+), 2 deletions(-)
OK, I guess. Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
