summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-09-12 13:17:03 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-09-12 13:17:08 +0200
commit84cea735e9c4ced045ada4e6f4b586f42a773fba (patch)
tree48efa52e3425c9e0dba5f45fa3771dddd27b4f0e /tests
parent0b2dd2e72366f10d30581bf3758a640fb5e186ed (diff)
downloadgstreamer-plugins-bad-84cea735e9c4ced045ada4e6f4b586f42a773fba.tar.gz
tests: mpegtsmux: port to the new GLib thread API
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/mpegtsmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/mpegtsmux.c b/tests/check/elements/mpegtsmux.c
index 90709e15b..f02d7a8ac 100644
--- a/tests/check/elements/mpegtsmux.c
+++ b/tests/check/elements/mpegtsmux.c
@@ -457,7 +457,7 @@ pad_push (GstPad * pad, GstBuffer * buffer, GstClockTime timestamp)
data->pad = pad;
data->buffer = buffer;
GST_BUFFER_TIMESTAMP (buffer) = timestamp;
- data->thread = g_thread_create (pad_push_thread, data, TRUE, NULL);
+ data->thread = g_thread_try_new ("gst-check", pad_push_thread, data, NULL);
return data;
}