[FFmpeg-devel] [PATCH] pkt_pts reordering
Vladimir Pantelic
vladoman
Fri Jan 7 20:18:05 CET 2011
Michael Niedermayer wrote:
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -998,6 +998,7 @@ typedef struct AVPanScan{
> * that time,\
> * the decoder reorders values as needed and sets AVFrame.reordered_opaque\
> * to exactly one of the values provided by the user through AVCodecContext.reordered_opaque \
> + * @deprecated in favor of pkt_pts\
> * - encoding: unused\
> * - decoding: Read by user.\
> */\
> @@ -2579,6 +2580,7 @@ typedef struct AVCodecContext {
> /**
> * opaque 64bit number (generally a PTS) that will be reordered and
> * output in AVFrame.reordered_opaque
> + * @deprecated in favor of pkt_pts
> * - encoding: unused
> * - decoding: Set by user.
> */
Shouldn't we keep a method for the user to attach an arbitrary
*opaque* value to a decoded frame?
More information about the ffmpeg-devel
mailing list