[Bug 778830] v4l2dec: Fix race when going from PAUSED to READY

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 21 19:55:34 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=778830

--- Comment #6 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Comment on attachment 346390
  --> https://bugzilla.gnome.org/attachment.cgi?id=346390
pad: Add API to get the current state of a task

>+ * Get @pad task state. If not task is currently
>+ * set, GST_TASK_STOPPED is returned.

not task -> no task

>+ * Returns: The current state of @pad' task.

@pad' -> pad's

>+GstTaskState
>+gst_pad_get_task_state (GstPad * pad)
>+{
>+  ...
>+  g_return_val_if_fail (GST_IS_PAD (pad), FALSE);

Should probably return a GstTaskState and not a boolean :)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list