typefind: don't ignore return value when starting a task

This commit is contained in:
Wim Taymans 2012-02-15 10:10:53 +01:00
parent 36cc9efa80
commit 58ecde9db9

View file

@ -1212,9 +1212,8 @@ gst_type_find_element_activate_sink (GstPad * pad, GstObject * parent)
goto typefind_push;
/* only start our task if we ourselves decide to start in pull mode */
gst_pad_start_task (pad, (GstTaskFunction) gst_type_find_element_loop, pad);
return TRUE;
return gst_pad_start_task (pad, (GstTaskFunction) gst_type_find_element_loop,
pad);
typefind_push:
{