--- /dev/null
+diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c
+index 114a458..5c47b83 100644
+--- a/plugins/elements/gstinputselector.c
++++ b/plugins/elements/gstinputselector.c
+@@ -965,7 +965,7 @@ gst_input_selector_cleanup_old_cached_buffers (GstInputSelector * sel,
+ "checking if buffer %p running time=%" GST_TIME_FORMAT
+ " >= stream time=%" GST_TIME_FORMAT, buffer,
+ GST_TIME_ARGS (running_time), GST_TIME_ARGS (cur_running_time));
+- if (running_time >= cur_running_time) {
++ if ( GST_CLOCK_TIME_IS_VALID(running_time) && (running_time >= cur_running_time) ) {
+ break;
+ }
+
file://gst/gst.h;beginline=1;endline=21;md5=8e5fe5e87d33a04479fde862e238eaa4"
DEPENDS = "glib-2.0 libxml2 bison-native flex-native"
-PR = "r3"
+PR = "r4"
GIT_PV = ""
SRCREV = "1bcabb9a23afb25dcd059bd827aa35b8ee7e5043"
file://check_fix.patch \
file://gst-inspect-check-error.patch \
file://multiqueue-sparsestreams.patch \
+ file://inputselector-cache-fix.patch \
"
do_common_update() {