diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-13 11:27:05 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-13 11:27:05 +0000 |
commit | 5bb5c1dc86e93a681ad6555dc98afec0055b69e5 (patch) | |
tree | 862adeb3f339a1089e030c14c7fcd1e405713e59 /libavfilter/avfilter.h | |
parent | ec7ab610d51508344273dbc38fec4ab6034bf1e2 (diff) | |
download | ffmpeg-5bb5c1dc86e93a681ad6555dc98afec0055b69e5.tar.gz |
Add AVFilterPicRef.pos field and make libavfilter propagate stream
byte position information, as stored in the pkt.pos, through the
filterchain.
Note that the pos field is added *non* at the end of the
AVFilterPicRef struct, thus breaking ABI compatibility, which is
allowed as the API is still considered non-stable.
Originally committed as revision 22506 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 832f421bee..f181689d8e 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -105,6 +105,7 @@ typedef struct AVFilterPicRef int h; ///< image height int64_t pts; ///< presentation timestamp in units of 1/AV_TIME_BASE + int64_t pos; ///< byte position in stream, -1 if unknown AVRational pixel_aspect; ///< pixel aspect ratio |