audiovisualizer: Use GST_BUFFER_PTS() instead of GST_BUFFER_TIMESTAMP()
authorThomas Jones <thomas.jones@utoronto.ca>
Fri, 10 Jun 2016 18:04:36 +0000 (14:04 -0400)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 11 Jun 2016 08:42:54 +0000 (11:42 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=767506

gst-libs/gst/pbutils/gstaudiovisualizer.c

index 134ea2e..09c3d80 100644 (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 */