[gst-devel] output freezes when recording video for the 2nd time

Aurelien Grimaud (elzz) gstelzz at yahoo.fr
Sun Jul 13 00:11:55 CEST 2008


tee element does not send new segment to new pad, and new_segment, is needed by videorate to work properly.
In your application, when videobin is linked to tee and set to playing, the first buffer it receives has a timestamp of 5s. 
videorate wants its first buffer to match new segment start time (which is 0 in our case, we had no new segment). So, videorate will duplicate the first buffer 50 times to go from 0 to 5 secs with a 10/1 rate.
Therefore you have a 5 seconds frozen video.
Try patch from bug http://bugzilla.gnome.org/show_bug.cgi?id=474016
This should fix it.



      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080712/34dae6fa/attachment.htm>


More information about the gstreamer-devel mailing list