GNOME Bugzilla – Bug 752055
identity: invalid read when unscheduling a gst_clock_id_wait
Last modified: 2015-08-16 13:37:53 UTC
Created attachment 306987 [details] [review]
Patch with tests and fix
Found while writing GstHarness tests for GstIdentity.
Author: Havard Graff <firstname.lastname@example.org>
Date: Tue Jul 7 11:53:07 2015 +0200
identity: refactor and add tests using GstHarness
Writing a test for unscheduling the gst_clock_id_wait inside the
identity element, found an invalid read, caused by removing the clock-id
when calling _unschedule instead of letting the code calling _wait remove
the clock-id after being unscheduled.
That commit message should have read 'identity: invalid read when ...' as well by the way.