summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2006-08-30 10:43:53 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2006-08-30 10:43:53 +0000
commit669deaab5220fb50035e3ed735b96319ff76ea45 (patch)
tree23ebc771f22db7d0ad5091562980bcb3be223033 /gst
parentb368225bc6030ae8edbbf6dfbb0e2f5477af497b (diff)
downloadgst-plugins-bad-669deaab5220fb50035e3ed735b96319ff76ea45.tar.gz
gst-plugins-bad-669deaab5220fb50035e3ed735b96319ff76ea45.tar.bz2
gst-plugins-bad-669deaab5220fb50035e3ed735b96319ff76ea45.zip
gst/qtdemux/qtdemux.c: Fix the build for disabled debug
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment), (qtdemux_parse_tree): Fix the build for disabled debug
Diffstat (limited to 'gst')
-rw-r--r--gst/qtdemux/qtdemux.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index bb83668c..7e35c91d 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -1084,11 +1084,11 @@ gst_qtdemux_activate_segment (GstQTDemux * qtdemux, QtDemuxStream * stream,
return FALSE;
/* calc media start/stop */
+ start = segment->media_start + seg_time;
if (qtdemux->segment.stop == -1)
stop = segment->media_stop;
else
stop = MIN (segment->media_stop, qtdemux->segment.stop);
- start = MIN (segment->media_start + seg_time, stop);
GST_DEBUG_OBJECT (qtdemux, "newsegment %d from %" GST_TIME_FORMAT
" to %" GST_TIME_FORMAT ", time %" GST_TIME_FORMAT, seg_idx,
@@ -3040,7 +3040,10 @@ qtdemux_parse_tree (GstQTDemux * qtdemux)
if ((rmvc = qtdemux_tree_get_child_by_type (rmda, FOURCC_rmvc))) {
guint32 package = QTDEMUX_FOURCC_GET ((guint8 *) rmvc->data + 12);
guint version = QTDEMUX_GUINT32_GET ((guint8 *) rmvc->data + 16);
+
+#ifndef GST_DISABLE_GST_DEBUG
guint bitmask = QTDEMUX_GUINT32_GET ((guint8 *) rmvc->data + 20);
+#endif
guint check_type = QTDEMUX_GUINT16_GET ((guint8 *) rmvc->data + 24);
GST_LOG ("version check atom [%" GST_FOURCC_FORMAT "], version=0x%08x"