After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567928 - Make videorate work with a live source
Make videorate work with a live source
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: 0.10.25
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-15 23:55 UTC by Olivier Crête
Modified: 2009-09-11 05:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
don't create buffers before the first in a segment (3.15 KB, patch)
2009-01-15 23:55 UTC, Olivier Crête
committed Details | Review

Description Olivier Crête 2009-01-15 23:55:07 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.
Comment 1 Olivier Crête 2009-01-15 23:55:52 UTC
Created attachment 126546 [details] [review]
don't create buffers before the first in a segment
Comment 2 Sebastian Dröge (slomo) 2009-07-30 13:17:39 UTC
Looks correct and useful... if you still think it's useful too please commit after 0.10.24 release :)
Comment 3 Sebastian Dröge (slomo) 2009-09-11 05:39:32 UTC
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.