mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 14:36:24 +00:00
audiovisualizer: Don't try to sync controller values to invalid timestamp
This commit is contained in:
parent
1826c126bf
commit
77d4a59969
1 changed files with 2 additions and 1 deletions
|
@ -948,7 +948,8 @@ gst_audio_visualizer_chain (GstPad * pad, GstObject * parent,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* sync controlled properties */
|
/* 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_TIMESTAMP (outbuf) = ts;
|
||||||
GST_BUFFER_DURATION (outbuf) = scope->frame_duration;
|
GST_BUFFER_DURATION (outbuf) = scope->frame_duration;
|
||||||
|
|
Loading…
Reference in a new issue