mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-05-18 00:12:46 +00:00
Merge branch 'videotestsrc-0-fps-latency' into 'main'
videotestsrc: Don't fail latency query if fps is 0 See merge request gstreamer/gstreamer!2101
This commit is contained in:
commit
d063f11760
|
@ -1130,6 +1130,9 @@ gst_video_test_src_query (GstBaseSrc * bsrc, GstQuery * query)
|
|||
res = TRUE;
|
||||
} else {
|
||||
GST_OBJECT_UNLOCK (src);
|
||||
/* Without a framerate, we can't determine latency in time units, but
|
||||
* we can chain up to report the default values and live-ness */
|
||||
res = GST_BASE_SRC_CLASS (parent_class)->query (bsrc, query);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue