Commit 082cedef authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

streamsynchronizer: don't shadow function parameter

parent b35bc51e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment