diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-12-09 13:17:52 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2013-03-16 13:42:53 +0100 |
commit | e4e4add0e3ba7d8ca8ed9135288da910270d2ea3 (patch) | |
tree | 4fe7a282116758f4a489e0634b1776a4deb17760 /libavformat/rawenc.c | |
parent | 5301aed9aeb9f9af2d5ca7971ed822948f4c78f2 (diff) | |
download | ffmpeg-e4e4add0e3ba7d8ca8ed9135288da910270d2ea3.tar.gz |
Add raw VC-1 muxer to match demuxer.
This is admittedly kind of pointless since usually -f image2pipe
can be used for the purpose, but this is more user-friendly.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat/rawenc.c')
-rw-r--r-- | libavformat/rawenc.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c index 0345f70e75..b804c24078 100644 --- a/libavformat/rawenc.c +++ b/libavformat/rawenc.c @@ -268,3 +268,15 @@ AVOutputFormat ff_truehd_muxer = { .flags = AVFMT_NOTIMESTAMPS, }; #endif + +#if CONFIG_VC1_MUXER +AVOutputFormat ff_vc1_muxer = { + .name = "vc1", + .long_name = NULL_IF_CONFIG_SMALL("raw VC-1 video"), + .extensions = "vc1", + .audio_codec = AV_CODEC_ID_NONE, + .video_codec = AV_CODEC_ID_VC1, + .write_packet = ff_raw_write_packet, + .flags = AVFMT_NOTIMESTAMPS, +}; +#endif |