[gstreamer-bugs] [Bug 342155] to allow sink elements to ask for more data during preroll
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu May 18 13:24:32 PDT 2006
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=342155
GStreamer | gstreamer (core) | Ver: HEAD CVS
Edgard Lima changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #65724|0 |1
is obsolete| |
------- Comment #2 from Edgard Lima 2006-05-18 20:24 UTC -------
Created an attachment (id=65789)
--> (http://bugzilla.gnome.org/attachment.cgi?id=65789&action=view)
this one works (not 100% yet)
Hi Wim,
This second patch works like that:
1- like before, where preroll is called once - FINE
2- when preroll is called N times - FINE
3- when preroll is called N+1 times - DEADLOCK
I have tested some pipeline heres and N could be 100, 215, ...
It seems we have deadlock in g_cond_wait if preroll doesn't finish after some
amoout of time.
If you want to test it:
1- aply the patch
2- change the function gst_base_audio_sink_preroll to just return
GST_BASE_SINK_PREROLL_NEED_MORE_DATA the first 500 times it is called
3- try playbin with http://gstreamer.freedesktop.org/media/medium/alien.mpg
--
Configure bugmail: http://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