summaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-29 12:28:44 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-01 13:09:58 +0200
commit1ba57272429fc6c86e39cd236e2b32ac545e1488 (patch)
tree6e8e29bf5b9c71420943d28cb383246f7a357270 /libavcodec/avcodec.h
parentaba0278e9fe8e66c078588efe66f6af4db432770 (diff)
downloadffmpeg-streaming-1ba57272429fc6c86e39cd236e2b32ac545e1488.zip
ffmpeg-streaming-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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index b69230f..251a038 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
OpenPOWER on IntegriCloud