mpegtsmux: Fix compilation when debug is disabled

This commit is contained in:
Thibault Saunier 2013-11-14 09:02:35 -03:00
parent b4f29e6945
commit da4f9c18ec

View file

@ -787,9 +787,10 @@ mpegtsmux_sink_event (GstCollectPads * pads, GstCollectData * data,
MpegTsMux *mux = GST_MPEG_TSMUX (user_data);
gboolean res = FALSE;
gboolean forward = TRUE;
MpegTsPadData *pad_data = (MpegTsPadData *) data;
#ifndef GST_DISABLE_GST_DEBUG
GstPad *pad;
MpegTsPadData *pad_data = (MpegTsPadData *) data;
pad = data->pad;
#endif