[Bug 709224] audio/videodecoder: Not returning GST_FLOW_EOS when after segment
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Dec 31 03:06:50 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=709224
GStreamer | gst-plugins-base | git
--- Comment #47 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2013-12-31 11:06:38 UTC ---
Given the performance results, I prefer this approach
http://cgit.freedesktop.org/~thiagoss/gstreamer/log/?h=flowcombiner-callback as
the API is easy enough to use and the performance penalty is very low.
Use:
/* Define a callback to get the last flow return for a pad */
GstFlowReturn my_get_last_flow_return_callback(pad_struct) {
return pad_struct->last_ret;
}
/* create a flowcombiner with the callback */
flowcombiner = gst_flow_combiner_new (my_get_last_flow_return_callback);
/* add your pad structs to id */
gst_flow_combiner_add_stream (flowcombiner, pad_struct);
/* use it by passing the new GstFlowReturn for a pad struct and getting
* the new return */
ret = gst_flow_combiner_update_flow (tee->flowcombiner, pad_struct, new_ret);
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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