Commit 77d4a599 authored by Olivier Crête's avatar Olivier Crête 👻

audiovisualizer: Don't try to sync controller values to invalid timestamp

parent 1826c126
......@@ -948,7 +948,8 @@ gst_audio_visualizer_chain (GstPad * pad, GstObject * parent,
break;
/* sync controlled properties */
gst_object_sync_values (GST_OBJECT (scope), ts);
if (GST_CLOCK_TIME_IS_VALID (ts))
gst_object_sync_values (GST_OBJECT (scope), ts);
GST_BUFFER_TIMESTAMP (outbuf) = ts;
GST_BUFFER_DURATION (outbuf) = scope->frame_duration;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment