[FFmpeg-devel] [PATCH 2/2] avcodec/mpeg12dec: Fix got_output

Kieran Kunhya kierank at obe.tv
Mon Jun 8 18:18:08 EEST 2020


On Sun, 7 Jun 2020 at 23:33, Michael Niedermayer <michael at niedermayer.cc>
wrote:

> On Sun, Jun 07, 2020 at 11:07:13PM +0100, Kieran Kunhya wrote:
> > Needs some more explanation IMO
>
> If you look at the code which sets the outputed picture
> in slice_end()
> if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) {
>     int ret = av_frame_ref(pict, s->current_picture_ptr->f);
>     ...
> } else {
>
> this patch just makes got_output consistent with that.
>
> ok if i add this to the commit message or where you thinking
> of some other explanation ?
>
> thx
>

Ok.

Kieran


More information about the ffmpeg-devel mailing list