mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
audiovisualizer: Don't try to sync controller values to invalid timestamp
This commit is contained in:
parent
461d58795a
commit
48208c61a8
1 changed files with 2 additions and 1 deletions
|
@ -1117,7 +1117,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;
|
||||
|
|
Loading…
Reference in a new issue