[Bug 756628] audioclock: Add run time type check safety
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Nov 1 17:54:51 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=756628
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #13 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 89e711663f48809cc7c68b3f3ff831c9e1695a9e
Author: Marcin Kolny <marcin.kolny at gmail.com>
Date: Thu Oct 15 12:52:27 2015 +0200
audioclock: use GstAudioClock* as first argument in GstAudioClock methods
All the GstAudioClock method declarations required object of GstClock type
as a first argument, but in fact, required GstAudioClock object (runtime
check in function body). Instead of checking type in run-time, we can
change functions declaration, to accept only GstAudioClock methods. Then,
runtime check is not necessary anymore, since always GstAudioClock object
is passed to a function.
https://bugzilla.gnome.org/show_bug.cgi?id=756628
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list