[FFmpeg-cvslog] r12912 - in trunk/libavformat: allformats.c raw.c

banan subversion
Sun Apr 20 22:28:13 CEST 2008


Author: banan
Date: Sun Apr 20 22:28:12 2008
New Revision: 12912

Log:
Raw dts muxer

Modified:
   trunk/libavformat/allformats.c
   trunk/libavformat/raw.c

Modified: trunk/libavformat/allformats.c
==============================================================================
--- trunk/libavformat/allformats.c	(original)
+++ trunk/libavformat/allformats.c	Sun Apr 20 22:28:12 2008
@@ -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);

Modified: trunk/libavformat/raw.c
==============================================================================
--- trunk/libavformat/raw.c	(original)
+++ trunk/libavformat/raw.c	Sun Apr 20 22:28:12 2008
@@ -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 = {




More information about the ffmpeg-cvslog mailing list