aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorKieran Kunhya <kieran@kunhya.com>2011-03-04 19:22:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-05-28 04:11:26 +0200
commit24adef142f4901abf7e92e79d20b79f332d5c54f (patch)
treed8dae9b379259bafe7ce5be5cce868028eff68c2 /libavformat/avformat.h
parentfa12fb3b00cb4e08a38a4fb192293347c218b3d3 (diff)
downloadffmpeg-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.h9
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 {