audiovisualizer: Use GST_BUFFER_PTS() instead of GST_BUFFER_TIMESTAMP()

https://bugzilla.gnome.org/show_bug.cgi?id=767506
This commit is contained in:
Thomas Jones 2016-06-10 14:04:36 -04:00 committed by Sebastian Dröge
parent 721e415fd2
commit 247ce9f39f

View file

@ -1144,7 +1144,7 @@ gst_audio_visualizer_chain (GstPad * pad, GstObject * parent,
if (GST_CLOCK_TIME_IS_VALID (ts))
gst_object_sync_values (GST_OBJECT (scope), ts);
GST_BUFFER_TIMESTAMP (outbuf) = ts;
GST_BUFFER_PTS (outbuf) = ts;
GST_BUFFER_DURATION (outbuf) = scope->priv->frame_duration;
/* this can fail as the data size we need could have changed */