[Webkit-unassigned] [Bug 105292] [GStreamer] GstMessage handler in AudioDestination

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 30 06:19:18 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105292





--- Comment #13 from Philippe Normand <pnormand at igalia.com>  2012-12-30 06:21:22 PST ---
(In reply to comment #12)
> Created an attachment (id=180954)
 --> (https://bugs.webkit.org/attachment.cgi?id=180954&action=review) [details]
> Test patch using manual unref'ing
> 
> FYI, switching to raw pointers and using gst_object_unref (see attached patch) fixes the crashes for me (I don't see any warnings on stderr either). I'm not quite sure why this is different from using a smart pointer and adopting though.

Because adoptGref() checks if the object has a floating ref or not.
So yeah either we use raw pointers or revert the parts of the landed patch that added the adoptGRef calls.

I'd be for using raw pointers, I never really liked this smart pointer stuff :P

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list