Mercurial > libavformat.hg
changeset 3235:2a4192999b55 libavformat
Raw dts muxer
author | banan |
---|---|
date | Sun, 20 Apr 2008 20:28:12 +0000 |
parents | 2e2221a3febb |
children | 57baf1166899 |
files | allformats.c raw.c |
diffstat | 2 files changed, 15 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/allformats.c Sat Apr 19 17:07:58 2008 +0000 +++ b/allformats.c Sun Apr 20 20:28:12 2008 +0000 @@ -70,7 +70,7 @@ REGISTER_MUXER (CRC, crc); REGISTER_DEMUXER (DAUD, daud); REGISTER_DEMUXER (DSICIN, dsicin); - REGISTER_DEMUXER (DTS, dts); + REGISTER_MUXDEMUX (DTS, dts); REGISTER_MUXDEMUX (DV, dv); REGISTER_DEMUXER (DXA, dxa); REGISTER_DEMUXER (EA, ea);
--- a/raw.c Sat Apr 19 17:07:58 2008 +0000 +++ b/raw.c Sun Apr 20 20:28:12 2008 +0000 @@ -513,6 +513,20 @@ raw_write_packet, .flags= AVFMT_NOTIMESTAMPS, }; + +AVOutputFormat dts_muxer = { + "dts", + "raw dts", + "audio/x-dca", + "dts", + 0, + CODEC_ID_DTS, + 0, + NULL, + raw_write_packet, + .flags= AVFMT_NOTIMESTAMPS, +}; + #endif //CONFIG_MUXERS AVInputFormat dts_demuxer = {