summaryrefslogtreecommitdiff
path: root/gst/mpegtsmux
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2013-07-29 09:35:08 +0200
committerEdward Hervey <edward@collabora.com>2013-07-29 09:42:12 +0200
commit97426a1caac4abba03f43a5c4b6c6fcff30ba167 (patch)
tree48d2af2f49a72da383a97d2b7a00ae09799e3426 /gst/mpegtsmux
parentbc84cd775fac9f6163526fba55d2f68dc3c067c1 (diff)
downloadgstreamer-plugins-bad-97426a1caac4abba03f43a5c4b6c6fcff30ba167.tar.gz
all: Fix for GST_DISABLE_GST_DEBUG
Where applicable, remove methods that don't do anything different than the default implementation.
Diffstat (limited to 'gst/mpegtsmux')
-rw-r--r--gst/mpegtsmux/mpegtsmux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c
index 70d704b5b..e7a6d014c 100644
--- a/gst/mpegtsmux/mpegtsmux.c
+++ b/gst/mpegtsmux/mpegtsmux.c
@@ -779,9 +779,11 @@ mpegtsmux_sink_event (GstCollectPads * pads, GstCollectData * data,
MpegTsMux *mux = GST_MPEG_TSMUX (user_data);
gboolean res = FALSE;
gboolean forward = TRUE;
+#ifndef GST_DISABLE_GST_DEBUG
GstPad *pad;
pad = data->pad;
+#endif
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_CUSTOM_DOWNSTREAM: