diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-12-19 10:56:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-12-19 10:56:17 +0000 |
commit | 626004690c23c981f67228ea325dde3f35193988 (patch) | |
tree | 4c83eca851de2f715b7dcbd8a11b113d9422c516 /libavformat/avformat.h | |
parent | 379374ea11ea561729fc0c6dc38a06f9b5b43731 (diff) | |
download | ffmpeg-626004690c23c981f67228ea325dde3f35193988.tar.gz |
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.h | 16 |
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 { |