diff options
-rw-r--r-- | ext/libvisual/gstaudiovisualizer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/libvisual/gstaudiovisualizer.c b/ext/libvisual/gstaudiovisualizer.c index aead4f1bb..0bb191534 100644 --- a/ext/libvisual/gstaudiovisualizer.c +++ b/ext/libvisual/gstaudiovisualizer.c @@ -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; |