mkvtimestamp v2 muxer: rename so as to avoid confusion with SMPTE timecodes.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 26 Oct 2011 23:48:28 +0000 (01:48 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Nov 2011 04:19:28 +0000 (05:19 +0100)
Requested-by: Baptiste Coudurier
Approved-by: David Conrad
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/Makefile
libavformat/allformats.c
libavformat/mkvtimestamp_v2.c [moved from libavformat/timecode_v2.c with 90% similarity]

index 32fac6a..3c87ab4 100644 (file)
@@ -296,7 +296,7 @@ OBJS-$(CONFIG_SWF_DEMUXER)               += swfdec.o
 OBJS-$(CONFIG_SWF_MUXER)                 += swfenc.o
 OBJS-$(CONFIG_THP_DEMUXER)               += thp.o
 OBJS-$(CONFIG_TIERTEXSEQ_DEMUXER)        += tiertexseq.o
-OBJS-$(CONFIG_TIMECODE_V2_MUXER)         += timecode_v2.o
+OBJS-$(CONFIG_MKVTIMESTAMP_V2_MUXER)     += mkvtimestamp_v2.o
 OBJS-$(CONFIG_TMV_DEMUXER)               += tmv.o
 OBJS-$(CONFIG_TRUEHD_DEMUXER)            += rawdec.o
 OBJS-$(CONFIG_TRUEHD_MUXER)              += rawenc.o
index 23d568c..c4b27e4 100644 (file)
@@ -219,7 +219,7 @@ void av_register_all(void)
     REGISTER_MUXER    (TGP, tgp);
     REGISTER_DEMUXER  (THP, thp);
     REGISTER_DEMUXER  (TIERTEXSEQ, tiertexseq);
-    REGISTER_MUXER    (TIMECODE_V2, timecode_v2);
+    REGISTER_MUXER    (MKVTIMESTAMP_V2, mkvtimestamp_v2);
     REGISTER_DEMUXER  (TMV, tmv);
     REGISTER_MUXDEMUX (TRUEHD, truehd);
     REGISTER_DEMUXER  (TTA, tta);
similarity index 90%
rename from libavformat/timecode_v2.c
rename to libavformat/mkvtimestamp_v2.c
index c8c4cf7..ebb209b 100644 (file)
@@ -40,9 +40,9 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
     return 0;
 }
 
-AVOutputFormat ff_timecode_v2_muxer = {
-    "timecode_v2",
-    NULL_IF_CONFIG_SMALL("timecode format v2"),
+AVOutputFormat ff_mkvtimestamp_v2_muxer = {
+    "mkvtimestamp_v2",
+    NULL_IF_CONFIG_SMALL("extract pts as timecode v2 format, as defined by mkvtoolnix"),
     NULL,
     "",
     0,