diff avformat.h @ 2832:8ac5fe1c5549 libavformat

Allow overriding codec_ids.
author michael
date Wed, 19 Dec 2007 10:56:17 +0000
parents 64cf0a2303ac
children 578a0c783eae
line wrap: on
line diff
--- a/avformat.h	Wed Dec 19 02:33:47 2007 +0000
+++ b/avformat.h	Wed Dec 19 10:56:17 2007 +0000
@@ -445,6 +445,22 @@
 
     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 {