GNOME Bugzilla – Bug 567928
Make videorate work with a live source
Last modified: 2009-09-11 05:39:32 UTC
I want to record data from a live source (a RTP call), and I was to add the recording sub-pipeline once the call is already running. To make ogg/theora happy, I need a constant framerate, hence the use of videorate. The problem is that videorate tries to fill data all the way up to the start of the segment (when the pipeline went playing), this is not what I want, I want it to start where I start it. So I'm attaching a patch with a new property "skip-to-first" that does not try to create any buffer before the first one it receives in a segment.
Created attachment 126546 [details] [review] don't create buffers before the first in a segment
Looks correct and useful... if you still think it's useful too please commit after 0.10.24 release :)
commit 7dbefedeef2fc2443ffa754e36d9594e40583dbe Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Fri Sep 11 07:38:28 2009 +0200 videorate: Add Since marker for the new skip-to-first property commit f35c5bc1e71aa5cfd8f3c6d28587ff65bcb55b9a Author: Olivier Crête <olivier.crete@collabora.co.uk> Date: Fri Sep 11 07:36:10 2009 +0200 videorate: Make videorate work with a live source Add a property that makes videorate skip to the first buffer it receives instead of padding the stream from segment start to the first real buffer. Fixes bug #567928.