streamsynchronizer: don't shadow function parameter

This commit is contained in:
Tim-Philipp Müller 2012-09-14 00:16:23 +01:00
parent b35bc51ed6
commit 082cedef79

View file

@ -454,16 +454,15 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
/* if EOS, but no data has passed, then send something to replace EOS
* for preroll purposes */
if (!seen_data) {
GstEvent *event;
GstEvent *gap_event;
event = gst_event_new_gap (0, 0);
gst_pad_push_event (srcpad, event);
gap_event = gst_event_new_gap (0, 0);
gst_pad_push_event (srcpad, gap_event);
}
}
gst_object_unref (srcpad);
gst_event_unref (event);
goto done;
break;
}
default:
break;