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

Michael Niedermayer michael at niedermayer.cc
Mon Jun 8 01:32:53 EEST 2020


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200608/7da2f192/attachment.sig>


More information about the ffmpeg-devel mailing list