[FFmpeg-devel] [PATCH] pkt_pts reordering
Vladimir Pantelic
vladoman
Mon Jan 10 10:10:54 CET 2011
Michael Niedermayer wrote:
> On Fri, Jan 07, 2011 at 08:18:05PM +0100, Vladimir Pantelic wrote:
>> 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?
>
> i can drop the deprecation patch from the set if people want?
see attached
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_undeprecate_reordered_opaque.patch
Type: text/x-diff
Size: 1140 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110110/69a8d0d1/attachment.patch>
More information about the ffmpeg-devel
mailing list