[Bug 770953] gstclock: segmentation fault when unschedule
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Sep 7 16:16:34 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=770953
--- Comment #11 from GstBlub <gstblub at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #10)
> Review of attachment 335003 [details] [review]:
>
> ::: gst/gstclock.h
> @@ -347,3 @@
> - * Get the owner clock of the entry
> - */
> -#define GST_CLOCK_ENTRY_CLOCK(entry) ((entry)->clock)
>
> Don't remove public API
The problem with keeping it is that it would have to be change to obtain a
strong reference, which means that the user of this API would have to unref it.
I would rather remove this broken API, no one should really be using it
anyway.
>
> @@ +558,3 @@
> gint gst_clock_id_compare_func (gconstpointer id1,
> gconstpointer id2);
>
> +gboolean gst_clock_id_is_clock (GstClockID id,
> GstClock * clock);
>
> Maybe gst_clock_id_belongs_to_clock()? gst_clock_id_get_clock()?
How about gst_clock_id_uses_clock()?
We could add gst_clock_id_get_clock() as a replacement for
GST_CLOCK_ENTRY_CLOCK(), although the semantics would be slightly different.
--
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