summaryrefslogtreecommitdiffstats
path: root/gst/avi
diff options
context:
space:
mode:
authorPhilip Jägenstedt <philipj@opera.com>2009-07-06 10:40:31 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-07-06 10:40:31 +0200
commit0ebff2d14c4f3379525f895b2e2a92ff729a54c1 (patch)
tree401285a75553ea3f9d30a57115b84c4983a14fa9 /gst/avi
parent2bcf52dde786c745466dbe6eaa7b93b0129af827 (diff)
avidemux: Replace deprecated GST_DISABLE_DEBUG with correct macro. Fixes #587826
Diffstat (limited to 'gst/avi')
-rw-r--r--gst/avi/gstavidemux.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c
index 8a4522ce..a681fd6c 100644
--- a/gst/avi/gstavidemux.c
+++ b/gst/avi/gstavidemux.c
@@ -1841,7 +1841,7 @@ gst_avi_demux_parse_index (GstAviDemux * avi,
GList *entries_list = NULL;
guint i, num, n;
-#ifndef GST_DISABLE_DEBUG
+#ifndef GST_DISABLE_GST_DEBUG
gulong _nr_keyframes = 0;
#endif
@@ -1912,7 +1912,7 @@ gst_avi_demux_parse_index (GstAviDemux * avi,
/* all audio frames are keyframes */
target->flags |= GST_AVI_INDEX_ENTRY_FLAG_KEYFRAME;
}
-#ifndef GST_DISABLE_DEBUG
+#ifndef GST_DISABLE_GST_DEBUG
if (target->flags & GST_AVI_INDEX_ENTRY_FLAG_KEYFRAME)
_nr_keyframes++;
#endif
@@ -2548,7 +2548,7 @@ gst_avi_demux_massage_index (GstAviDemux * avi,
list ? g_list_length (list) : 0);
if (list) {
-#ifndef GST_DISABLE_DEBUG
+#ifndef GST_DISABLE_GST_DEBUG
guint num_added_total = 0;
guint num_per_stream[GST_AVI_DEMUX_MAX_STREAMS] = { 0, };
#endif
@@ -2632,13 +2632,13 @@ gst_avi_demux_massage_index (GstAviDemux * avi,
entry2->frames_before++;
}
}
-#ifndef GST_DISABLE_DEBUG
+#ifndef GST_DISABLE_GST_DEBUG
num_added_total += num_added;
#endif
}
}
}
-#ifndef GST_DISABLE_DEBUG
+#ifndef GST_DISABLE_GST_DEBUG
if (num_added_total)
GST_LOG ("added %u new index entries", num_added_total);
#endif
@@ -2666,7 +2666,7 @@ gst_avi_demux_massage_index (GstAviDemux * avi,
entry->index_nr = i;
entry->ts -= delay;
memcpy (&avi->index_entries[i], entry, sizeof (gst_avi_index_entry));
-#ifndef GST_DISABLE_DEBUG
+#ifndef GST_DISABLE_GST_DEBUG
num_per_stream[entry->stream_nr]++;
#endif
@@ -2682,7 +2682,7 @@ gst_avi_demux_massage_index (GstAviDemux * avi,
stream->idx_duration -= delay;
}
}
-#ifndef GST_DISABLE_DEBUG
+#ifndef GST_DISABLE_GST_DEBUG
{
gchar str[GST_AVI_DEMUX_MAX_STREAMS * (1 + 6 + 2)];
gchar *pad_name;