[gst-devel] Seeking problems (cont...)

Wim Taymans wim at fluendo.com
Tue Jan 23 12:44:33 CET 2007


On Thu, 2007-01-18 at 21:21 +0000, Iain * wrote:
> Continued from the bug I filed yesterday that seeking was broken
> (http://bugzilla.gnome.org/show_bug.cgi?id=397827) I changed the test
> program to set the pipeline to PAUSED or PLAYING before trying to
> seek.

You do a non-flushing seek in the PAUSED state. This will deadlock as
data is prerolled and blocked in the sink in PAUSED. Change to a
flushing seek by setting the GST_SEEK_FLAG_FLUSH and it should work.

Wim

> 
> If I set it to PLAYING, it works as expected. If it is set to PAUSED
> though the program hangs in gst_element_seek_simple (or
> gst_element_send_event, i checked both).
> 
> What is going wrong?
> 
> iain
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
-- 
Wim Taymans <wim at fluendo.com>





More information about the gstreamer-devel mailing list