slomo gst-plugins-bad: gst-plugins-bad/ gst-plugins-bad/gst/mxf/

[email protected] Wed, 3 Dec 2008 05:17:55 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gst-plugins-bad
Changes by:     slomo
Date:           Wed Dec 03 2008  13:17:55 UTC

Log message:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_generic_container_essence_element):
Improve debugging a bit.

Modified files:
    .               : ChangeLog
    gst/mxf         : mxfdemux.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.3781&r2=1.3782
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/gst/mxf/mxfdemux.c.diff?r1=1.23&r2=1.24

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v
retrieving revision 1.3781
retrieving revision 1.3782
diff -u -d -r1.3781 -r1.3782
--- ChangeLog	3 Dec 2008 11:42:59 -0000	1.3781
+++ ChangeLog	3 Dec 2008 13:17:40 -0000	1.3782
@@ -1,5 +1,11 @@
 2008-12-03  Sebastian Dröge  <[email protected]>
 
+	* gst/mxf/mxfdemux.c:
+	(gst_mxf_demux_handle_generic_container_essence_element):
+	Improve debugging a bit.
+
+2008-12-03  Sebastian Dröge  <[email protected]>
 	* gst/flv/gstflvparse.c: (FLV_GET_STRING):
 	Check if strings are valid UTF8 before using them.
Index: mxfdemux.c
RCS file: /cvs/gstreamer/gst-plugins-bad/gst/mxf/mxfdemux.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- mxfdemux.c	3 Dec 2008 08:04:38 -0000	1.23
+++ mxfdemux.c	3 Dec 2008 13:17:41 -0000	1.24
@@ -1293,8 +1293,9 @@
           MXFMetadataEssenceContainerData, i);
       for (j = 0; j < demux->content_storage.n_essence_container_data; j++) {
-        if (mxf_ul_is_equal (&demux->content_storage.
-                essence_container_data_uids[j], &data->instance_uid)) {
+        if (mxf_ul_is_equal (&demux->
+                content_storage.essence_container_data_uids[j],
+                &data->instance_uid)) {
           demux->content_storage.essence_container_data[j] = data;
           break;
         }
@@ -2172,8 +2173,17 @@
   if (outbuf) {
     /* TODO: handle timestamp gaps */
+    GST_DEBUG_OBJECT (demux,
+        "Pushing buffer of size %u for track %u: timestamp %" GST_TIME_FORMAT
+        " duration %" GST_TIME_FORMAT, GST_BUFFER_SIZE (outbuf),
+        pad->material_track->track_id,
+        GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (outbuf)),
+        GST_TIME_ARGS (GST_BUFFER_DURATION (outbuf)));
     ret = gst_pad_push (GST_PAD_CAST (pad), outbuf);
     ret = gst_mxf_demux_combine_flows (demux, pad, ret);
+  } else {
+    GST_DEBUG_OBJECT (demux, "Dropping buffer for track %u",
+        pad->material_track->track_id);
   }
   return ret;

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
gstreamer-cvs-verbose mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose