[gstreamer-bugs] [Bug 413418] Make GstAppSrc/GstAppSink better
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sun Mar 11 00:29:30 PST 2007
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=413418
GStreamer | gst-plugins-bad | Ver: HEAD CVS
Snark changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Make GstAppSrc better |Make GstAppSrc/GstAppSink
| |better
------- Comment #18 from Snark 2007-03-11 08:27 UTC -------
Ok, I compiled and tested with the example ; I added the following to it :
g_print ("Pulled buffer for pointer %p\n", GST_BUFFER_DATA (buf));
to see things better.
I don't know how it works for you, but here : it generally works, but sometimes
gets stuck (ie : we don't hit the return 0). Since it doesn't tax the box
either, my theory is that the gst_app_sink_end_of_stream stucks ; as the
problem doesn't always occur, I would suspect a multithreading issue.
Looking at the code of GstAppSink, I see that in gst_app_sink_event, you don't
signal appsink->cond. Once you'll have done that, make your example check for
buf != NULL before use.
Finally, my example (see attachment) still taxes the box.
It's getting there :-)
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Gstreamer-bugs
mailing list