mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
streamsynchronizer: don't shadow function parameter
This commit is contained in:
parent
b35bc51ed6
commit
082cedef79
1 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue