History

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

Stefano Sabatini committed 16 years ago

Commit 5bb5c1d1 parent ec7ab613 files · +6 −2Browse files

Showing the changes to libavfilter/avfilter.h (1 of 3 files). Show all

Unified · Split

libavfilter/avfilter.h+1−0
@@ -105,6 +105,7 @@ typedef struct AVFilterPicRef · 104 unmodified lines
105105 int h; ///< image height
106106
107107 int64_t pts; ///< presentation timestamp in units of 1/AV_TIME_BASE
108+ int64_t pos; ///< byte position in stream, -1 if unknown
108109
109110 AVRational pixel_aspect; ///< pixel aspect ratio
110111

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t