mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 11:26:39 +00:00
basesrc: default return TRUE for latency-events reaching the src
The src is the final stop for this event, and the default result is FALSE for all sources not implementing event handling, which again will result in a warning about latency not being able to be configured. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=667299
This commit is contained in:
parent
7a70c91ac3
commit
57564ed276
1 changed files with 3 additions and 0 deletions
|
@ -1773,6 +1773,9 @@ gst_base_src_default_event (GstBaseSrc * src, GstEvent * event)
|
|||
result = TRUE;
|
||||
break;
|
||||
}
|
||||
case GST_EVENT_LATENCY:
|
||||
result = TRUE;
|
||||
break;
|
||||
default:
|
||||
result = FALSE;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue