Seeking at pre-roll

Simon Berg ksb at fluffware.se
Wed Mar 20 13:48:21 PDT 2013


I have a pipe consisting of audiotestsrc, wavenc and giosink.
I want to make a file containing an exact number of samples.
In 0.10 I could do this by setting the state of the pipeline to PAUSED
and then seek to 0 with a duration of the desired number of samples,
before going to PLAYING.
In 1.0 this gives a file padded to a multiple of 1024 samples.

What is the correct way to do this in 1.0?

simon




More information about the gstreamer-devel mailing list