summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-12-19 10:56:17 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-12-19 10:56:17 +0000
commit626004690c23c981f67228ea325dde3f35193988 (patch)
tree4c83eca851de2f715b7dcbd8a11b113d9422c516 /libavformat/avformat.h
parent379374ea11ea561729fc0c6dc38a06f9b5b43731 (diff)
Allow overriding codec_ids.
Originally committed as revision 11266 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index ad8dc7d6aa..27d3c00370 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -445,6 +445,22 @@ typedef struct AVFormatContext {
unsigned int nb_programs;
AVProgram **programs;
+
+ /**
+ * Forced video codec_id.
+ * demuxing: set by user
+ */
+ enum CodecID video_codec_id;
+ /**
+ * Forced audio codec_id.
+ * demuxing: set by user
+ */
+ enum CodecID audio_codec_id;
+ /**
+ * Forced subtitle codec_id.
+ * demuxing: set by user
+ */
+ enum CodecID subtitle_codec_id;
} AVFormatContext;
typedef struct AVPacketList {