Gst Tasks
Wim Taymans
wim.taymans at gmail.com
Wed Feb 8 04:14:28 PST 2012
On 02/08/2012 01:08 PM, Neil Jones wrote:
> Can anyone help on this ?
>
> On Fri, Feb 3, 2012 at 11:47 AM, Neil Jones<neiljay at gmail.com> wrote:
>> Hi,
>>
>>
>> In the Core Reference Manual gst_task_join() is described as follows:
>> "... The task will automatically be stopped with this call...." Is
>> this true ?
Yes.
>>
>> should join() not wait for the task to finsh (due to someone or itself
>> calling gst_task_stop), a bit like g_thread_join() ?
It does a g_thread_join() to wait until the task function is stopped
completely.
>>
>> Also GstTask seems rather limited, Is it possible to use g_threads
>> inside an element instead ?
You can do that but then you would need to implement the pause/resume
yourself along with the threadpool and STREAM_STATUS messages.
Wim
>>
>> Cheers
>>
>> Neil
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list