diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-29 12:28:44 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-01 13:09:58 +0200 |
commit | 1ba57272429fc6c86e39cd236e2b32ac545e1488 (patch) | |
tree | 6e8e29bf5b9c71420943d28cb383246f7a357270 /libavcodec/avcodec.h | |
parent | aba0278e9fe8e66c078588efe66f6af4db432770 (diff) | |
download | ffmpeg-1ba57272429fc6c86e39cd236e2b32ac545e1488.tar.gz |
lavc: add a pkt_pos field to AVFrame
This is similar to what was done with pkt_pts. This simplifies the
operation of extracting the pos information from the AVPacket, and
allows further simplifications.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index b69230f6fe..251a038d2b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1004,6 +1004,13 @@ typedef struct AVPanScan{ * - decoding: set by libavcodec, read by user.\ */\ int64_t best_effort_timestamp;\ +\ + /**\ + * reordered pos from the last AVPacket that has been input into the decoder\ + * - encoding: unused\ + * - decoding: Read by user.\ + */\ + int64_t pkt_pos;\ #define FF_QSCALE_TYPE_MPEG1 0 |