use fixed SRCREV 1e99787f3387d3dd1e6167af73597674bf8fe37d.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-multimedia / gstreamer / gstreamer-0.10.36.1+git / inputselector-cache-fix.patch
1 diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c
2 index 114a458..5c47b83 100644
3 --- a/plugins/elements/gstinputselector.c
4 +++ b/plugins/elements/gstinputselector.c
5 @@ -965,7 +965,7 @@ gst_input_selector_cleanup_old_cached_buffers (GstInputSelector * sel,
6            "checking if buffer %p running time=%" GST_TIME_FORMAT
7            " >= stream time=%" GST_TIME_FORMAT, buffer,
8            GST_TIME_ARGS (running_time), GST_TIME_ARGS (cur_running_time));
9 -      if (running_time >= cur_running_time) {
10 +      if ( GST_CLOCK_TIME_IS_VALID(running_time) && (running_time >= cur_running_time) ) {
11          break;
12        }
13