diff options
author | Kieran Kunhya <kieran@kunhya.com> | 2011-03-04 19:22:09 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-28 04:11:26 +0200 |
commit | 24adef142f4901abf7e92e79d20b79f332d5c54f (patch) | |
tree | d8dae9b379259bafe7ce5be5cce868028eff68c2 /libavformat/avformat.h | |
parent | fa12fb3b00cb4e08a38a4fb192293347c218b3d3 (diff) | |
download | ffmpeg-24adef142f4901abf7e92e79d20b79f332d5c54f.tar.gz |
Export more transport stream information.
with minor addition to the comment by michael
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 6381526a20..783039bcb2 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -647,6 +647,9 @@ typedef struct AVProgram { unsigned int *stream_index; unsigned int nb_stream_indexes; AVMetadata *metadata; + + int program_num; + int pmt_pid; } AVProgram; #define AVFMTCTX_NOHEADER 0x0001 /**< signal that no header is present @@ -844,6 +847,12 @@ typedef struct AVFormatContext { * decoding: number of frames used to probe fps */ int fps_probe_size; + + /** + * Transport stream id. + * This will be moved into demuxer private options. Thus no API/ABI compatibility + */ + int ts_id; } AVFormatContext; typedef struct AVPacketList { |