summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2016-10-11 16:47:37 +0200
committerEdward Hervey <bilboed@bilboed.com>2016-10-11 16:47:37 +0200
commitee70f830a870cdc8cc80c0dc3001bb3e329236f5 (patch)
tree4cfb4ebbe0229afa6c82f071b0d9b227c60cc099
parentbcc06d679ad8700241918ffb70f2e3f6939d8abc (diff)
downloadgstreamer-plugins-bad-ee70f830a870cdc8cc80c0dc3001bb3e329236f5.tar.gz
mpegtsdemux: Fix issues with GST_DISABLE_GST_DEBUG
Some variables were hidden or unused
-rw-r--r--gst/mpegtsdemux/mpegtsbase.c3
-rw-r--r--gst/mpegtsdemux/tsdemux.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/gst/mpegtsdemux/mpegtsbase.c b/gst/mpegtsdemux/mpegtsbase.c
index 16b63ae32..938509be7 100644
--- a/gst/mpegtsdemux/mpegtsbase.c
+++ b/gst/mpegtsdemux/mpegtsbase.c
@@ -1397,8 +1397,7 @@ mpegts_base_loop (MpegTSBase * base)
error:
{
- const gchar *reason = gst_flow_get_name (ret);
- GST_DEBUG_OBJECT (base, "Pausing task, reason %s", reason);
+ GST_DEBUG_OBJECT (base, "Pausing task, reason %s", gst_flow_get_name (ret));
if (ret == GST_FLOW_EOS) {
if (!GST_MPEGTS_BASE_GET_CLASS (base)->push_event (base,
gst_event_new_eos ()))
diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c
index 3aefc13bf..b08fd3404 100644
--- a/gst/mpegtsdemux/tsdemux.c
+++ b/gst/mpegtsdemux/tsdemux.c
@@ -2521,9 +2521,7 @@ gst_ts_demux_push_pending_data (GstTSDemux * demux, TSDemuxStream * stream,
MpegTSBaseProgram * target_program)
{
GstFlowReturn res = GST_FLOW_OK;
-#ifndef GST_DISABLE_GST_DEBUG
MpegTSBaseStream *bs = (MpegTSBaseStream *) stream;
-#endif
GstBuffer *buffer = NULL;
GstBufferList *buffer_list = NULL;