[Ffmpeg-cvslog] r5849 - trunk/libavformat/mxf.c

bcoudurier subversion
Sat Jul 29 15:18:24 CEST 2006


Author: bcoudurier
Date: Sat Jul 29 15:18:24 2006
New Revision: 5849

Modified:
   trunk/libavformat/mxf.c

Log:
add some debug infos

Modified: trunk/libavformat/mxf.c
==============================================================================
--- trunk/libavformat/mxf.c	(original)
+++ trunk/libavformat/mxf.c	Sat Jul 29 15:18:24 2006
@@ -221,6 +221,9 @@
             av_log(s, AV_LOG_ERROR, "error reading KLV packet\n");
             return -1;
         }
+#ifdef DEBUG
+        PRINT_KEY(klv.key);
+#endif
         if (IS_KLV_KEY(klv.key, mxf_essence_element_key)) {
             av_get_packet(&s->pb, pkt, klv.length);
             pkt->stream_index = mxf_get_stream_index(s, &klv);
@@ -816,6 +819,9 @@
             av_log(s, AV_LOG_ERROR, "error reading KLV packet\n");
             return -1;
         }
+#ifdef DEBUG
+        PRINT_KEY(klv.key);
+#endif
         if (IS_KLV_KEY(klv.key, mxf_metadata_track_key))
             ret = mxf_read_metadata_track(mxf, &klv);
         else if (IS_KLV_KEY(klv.key, mxf_metadata_static_track_key))




More information about the ffmpeg-cvslog mailing list