[FFmpeg-devel] [PATCH] avcodec/h264_parser: export sei recovery frame count as side data
Michael Niedermayer
michaelni at gmx.at
Thu May 15 22:01:23 CEST 2014
On Wed, May 14, 2014 at 05:53:37PM -0700, Timothy Gu wrote:
> On May 14, 2014 3:51 PM, "Michael Niedermayer" <michaelni at gmx.at> wrote:
> >
> > TODO: split between API addition and h264 parser change
> >
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> > libavcodec/avcodec.h | 13 +++++++++++++
> > libavcodec/h264_parser.c | 2 ++
> > libavcodec/parser.c | 1 +
> > libavformat/utils.c | 6 ++++++
> > 4 files changed, 22 insertions(+)
> >
> > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> > index 9a24c96..61176be 100644
> > --- a/libavcodec/avcodec.h
> > +++ b/libavcodec/avcodec.h
> > @@ -1115,6 +1115,12 @@ enum AVPacketSideDataType {
> > * side data includes updated metadata which appeared in the stream.
> > */
> > AV_PKT_DATA_METADATA_UPDATE,
>
> > +
> > + AV_PKT_DATA_DECODER_RECOVERY,
> > + /**
> > + * signed LE 32bit integer specifying the number of codec specific
> units
> > + * (frames(h264) or POC(HEVC)) until the decoder output is clear or
> artifacts
> > + */
>
> Larger enum value?
not sure i understand, we already define a "70" above as gap for
fork compatibility
> Also, the Doxygen should be before the declaration.
fixed
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140515/4b5b444b/attachment.asc>
More information about the ffmpeg-devel
mailing list