tests: mpegtsmux: port to the new GLib thread API
This commit is contained in:
parent
0b2dd2e723
commit
84cea735e9
@ -457,7 +457,7 @@ pad_push (GstPad * pad, GstBuffer * buffer, GstClockTime timestamp)
|
|||||||
data->pad = pad;
|
data->pad = pad;
|
||||||
data->buffer = buffer;
|
data->buffer = buffer;
|
||||||
GST_BUFFER_TIMESTAMP (buffer) = timestamp;
|
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;
|
return data;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user