mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
audiovisualizer: Use GST_BUFFER_PTS() instead of GST_BUFFER_TIMESTAMP()
https://bugzilla.gnome.org/show_bug.cgi?id=767506
This commit is contained in:
parent
721e415fd2
commit
247ce9f39f
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue