Raw dts muxer

Originally committed as revision 12912 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Benjamin Larsson 17 years ago
parent f55b299ae6
commit 63d864434d
  1. 2
      libavformat/allformats.c
  2. 14
      libavformat/raw.c

@ -70,7 +70,7 @@ void av_register_all(void)
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);

@ -513,6 +513,20 @@ AVOutputFormat ac3_muxer = {
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 = {

Loading…
Cancel
Save