mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
This got accidently removed and screws up seeking a lot
Original commit message from CVS: This got accidently removed and screws up seeking a lot
This commit is contained in:
parent
b3bec6e0bb
commit
483e647a76
1 changed files with 9 additions and 0 deletions
|
@ -2717,6 +2717,15 @@ gst_pad_event_default (GstPad *pad, GstEvent *event)
|
||||||
gst_element_yield (element);
|
gst_element_yield (element);
|
||||||
break;
|
break;
|
||||||
case GST_EVENT_DISCONTINUOUS:
|
case GST_EVENT_DISCONTINUOUS:
|
||||||
|
{
|
||||||
|
guint64 time;
|
||||||
|
|
||||||
|
if (gst_event_discont_get_value (event, GST_FORMAT_TIME, &time)) {
|
||||||
|
if (gst_element_requires_clock (element) && element->clock) {
|
||||||
|
gst_clock_handle_discont (element->clock, time);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
case GST_EVENT_FLUSH:
|
case GST_EVENT_FLUSH:
|
||||||
default:
|
default:
|
||||||
return gst_pad_event_default_dispatch (pad, element, event);
|
return gst_pad_event_default_dispatch (pad, element, event);
|
||||||
|
|
Loading…
Reference in a new issue