Seeking at pre-roll

Simon Berg ksb at fluffware.se
Fri Mar 22 10:40:38 PDT 2013


On Wed, 2013-03-20 at 21:14 +0000, Tim-Philipp Müller wrote:
> On Wed, 2013-03-20 at 21:48 +0100, Simon Berg wrote:
> 
> > 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?
> 
> It should work just like in 0.10.
> 
> Sounds like the decoder doesn't clip correctly for some reason.
> 
> Could you make a small test case and file a bug please? Shouldn't be
> hard to fix hopefully.
Done. Together with a patch that I think fixes the problem.

> 
> Cheers
>  -Tim
> 
> 




More information about the gstreamer-devel mailing list