mpegtsdemux: Fix issues with GST_DISABLE_GST_DEBUG
Some variables were hidden or unused
This commit is contained in:
parent
bcc06d679a
commit
ee70f830a8
@ -1397,8 +1397,7 @@ mpegts_base_loop (MpegTSBase * base)
|
|||||||
|
|
||||||
error:
|
error:
|
||||||
{
|
{
|
||||||
const gchar *reason = gst_flow_get_name (ret);
|
GST_DEBUG_OBJECT (base, "Pausing task, reason %s", gst_flow_get_name (ret));
|
||||||
GST_DEBUG_OBJECT (base, "Pausing task, reason %s", reason);
|
|
||||||
if (ret == GST_FLOW_EOS) {
|
if (ret == GST_FLOW_EOS) {
|
||||||
if (!GST_MPEGTS_BASE_GET_CLASS (base)->push_event (base,
|
if (!GST_MPEGTS_BASE_GET_CLASS (base)->push_event (base,
|
||||||
gst_event_new_eos ()))
|
gst_event_new_eos ()))
|
||||||
|
@ -2521,9 +2521,7 @@ gst_ts_demux_push_pending_data (GstTSDemux * demux, TSDemuxStream * stream,
|
|||||||
MpegTSBaseProgram * target_program)
|
MpegTSBaseProgram * target_program)
|
||||||
{
|
{
|
||||||
GstFlowReturn res = GST_FLOW_OK;
|
GstFlowReturn res = GST_FLOW_OK;
|
||||||
#ifndef GST_DISABLE_GST_DEBUG
|
|
||||||
MpegTSBaseStream *bs = (MpegTSBaseStream *) stream;
|
MpegTSBaseStream *bs = (MpegTSBaseStream *) stream;
|
||||||
#endif
|
|
||||||
GstBuffer *buffer = NULL;
|
GstBuffer *buffer = NULL;
|
||||||
GstBufferList *buffer_list = NULL;
|
GstBufferList *buffer_list = NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user