Mercurial > libavformat.hg
changeset 2475:365932d29eb8 libavformat
Add mka muxer
author | conrad |
---|---|
date | Wed, 05 Sep 2007 00:24:19 +0000 |
parents | f2a36975b73b |
children | 4121545128f3 |
files | matroskaenc.c |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/matroskaenc.c Wed Sep 05 00:24:17 2007 +0000 +++ b/matroskaenc.c Wed Sep 05 00:24:19 2007 +0000 @@ -689,3 +689,17 @@ mkv_write_trailer, .codec_tag = (const AVCodecTag*[]){codec_bmp_tags, codec_wav_tags, 0}, }; + +AVOutputFormat matroska_audio_muxer = { + "matroska", + "Matroska File Format", + "audio/x-matroska", + "mka", + sizeof(MatroskaMuxContext), + CODEC_ID_MP2, + CODEC_ID_NONE, + mkv_write_header, + mkv_write_packet, + mkv_write_trailer, + .codec_tag = (const AVCodecTag*[]){codec_wav_tags, 0}, +};