After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 699446 - d3dvideosink: Don't use deprecated GLib threading API
d3dvideosink: Don't use deprecated GLib threading API
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.x
Other Windows
: Normal enhancement
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-02 09:14 UTC by Fan, Chun-wei
Modified: 2013-05-03 09:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
d3dvideosink: Don't use deprecated GLib threading APIs (2.28 KB, patch)
2013-05-02 09:14 UTC, Fan, Chun-wei
rejected Details | Review

Description Fan, Chun-wei 2013-05-02 09:14:43 UTC
Created attachment 243023 [details] [review]
d3dvideosink: Don't use deprecated GLib threading APIs

Hi,

I have updated the d3dvideosink a little bit so that we won't be using deprecated GLib threading APIs, namely GStaticMutex.  The attached patch file is my attempt at this.

With blessings, thank you!
Comment 1 Sebastian Dröge (slomo) 2013-05-03 09:19:54 UTC
Comment on attachment 243023 [details] [review]
d3dvideosink: Don't use deprecated GLib threading APIs

This is already fixed in latest git master. Also replacing a recursive mutex with a non-recursive one will lead to deadlocks, GRecMutex should've been used here.