mpegtsdemux: Fix issues with GST_DISABLE_GST_DEBUG

Some variables were hidden or unused
This commit is contained in:
Edward Hervey 2016-10-11 16:47:37 +02:00 committed by Edward Hervey
parent bcc06d679a
commit ee70f830a8
2 changed files with 1 additions and 4 deletions

View file

@ -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 ()))

View file

@ -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;