summaryrefslogtreecommitdiff
path: root/ext/directfb
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2013-08-29 14:48:28 +0100
committerTim-Philipp Müller <tim@centricular.net>2013-08-29 14:48:28 +0100
commitf79448552ad4b429a09b30c9afcda997a61fb7d8 (patch)
tree10d4690151d74107928daeb143e8ebdbc50ede79 /ext/directfb
parent90020e21dfaf6039992ace18fe188a2145f4f9b1 (diff)
downloadgstreamer-plugins-bad-f79448552ad4b429a09b30c9afcda997a61fb7d8.tar.gz
dfbvideosink: don't use deprecated GLib thread API
https://bugzilla.gnome.org/show_bug.cgi?id=703520
Diffstat (limited to 'ext/directfb')
-rw-r--r--ext/directfb/dfbvideosink.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c
index dad091d84..ce7a14c58 100644
--- a/ext/directfb/dfbvideosink.c
+++ b/ext/directfb/dfbvideosink.c
@@ -848,9 +848,8 @@ gst_dfbvideosink_setup (GstDfbVideoSink * dfbvideosink)
dfbvideosink->dfb->EnumInputDevices (dfbvideosink->dfb,
gst_dfbvideosink_enum_devices, dfbvideosink);
/* Create a thread to handle those events */
- dfbvideosink->event_thread = g_thread_create (
- (GThreadFunc) gst_dfbvideosink_event_thread,
- dfbvideosink, TRUE, NULL);
+ dfbvideosink->event_thread = g_thread_new ("dfbvsink-events",
+ (GThreadFunc) gst_dfbvideosink_event_thread, dfbvideosink);
}
if (!dfbvideosink->layer) {
GList *channels_list = NULL;