mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
dfbvideosink: don't use deprecated GLib thread API
https://bugzilla.gnome.org/show_bug.cgi?id=703520
This commit is contained in:
parent
90020e21df
commit
f79448552a
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue