GNOME Bugzilla – Bug 767506
audiovisualizer: still uses old GST_BUFFER_TIMESTAMP() macro switch it to GST_BUFFER_PTS()
Last modified: 2016-06-11 08:48:50 UTC
Created attachment 329582 [details] [review]
As the title says.
I can't even find where GST_BUFFER_TIMESTAMP() is defined now because it's not in the header with the rest of the GST_BUFFER_* macros so just setting pts might not do the same thing, however in this case it seems to me to be the right thing.
For the reference, it's in gstcompat.h:
#define GST_BUFFER_TIMESTAMP GST_BUFFER_PTS
#define GST_BUFFER_TIMESTAMP_IS_VALID GST_BUFFER_PTS_IS_VALID
Created attachment 329599 [details] [review]
OK, This one should work
Whoops wrong bug
Author: Thomas Jones <email@example.com>
Date: Fri Jun 10 14:04:36 2016 -0400
audiovisualizer: Use GST_BUFFER_PTS() instead of GST_BUFFER_TIMESTAMP()