[Bug 796476] Appsink callback in tutorial is missing the return value

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 4 15:55:40 UTC 2018


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

--- Comment #5 from Jacques de Broin <jdebroin at yahoo.ca> ---
Ah, I should have looked there!
It looks like the basic-tutorial-8.c code was fixed in a previous commit:
3be8a37124a9df30a4e3b36ab24956fdd9b052b9.
However, that example code always returns GST_FLOW_OK whether or not a sample
was returned by pull_sample. Perhaps it's better that way, i.e. not receiving a
sample is not an error condition that the callback needs to communicate back to
GStreamer so I should do the same in my patch?

-- 
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