[gst-devel] gst_event_new_flush_(start|stop) messing up the pipeline...

thiagossantos at gmail.com thiagossantos at gmail.com
Fri Feb 12 21:56:13 CET 2010


On Fri, Feb 12, 2010 at 2:32 PM, S Boucher <stbya at yahoo.com> wrote:

>
>
> --- On Fri, 2/12/10, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:
>
> > If audio is not played any longer, then either buffers are
> > dropped
> > somewhere before the sink, or buffers are modified to
> > silence data, or
> > the sink drops/clips them.
>
> All buffers a pushed successfully the 1st and 2nd time (its the same data
> being pushed both times).
>
> Inserting an identity element prior to the sink and dumping the buffers
> show that the buffers are, as expected, the same the 1st and 2nd time.
>
> the audiosink appears to be consuming the buffers correctly the first and
> 2nd time. i.e. I get a series of (with the "at" increasing normally, and for
> the 1st and 2nd time through):
>
> 0:00:04.207250106 12211  0x84b2a80 DEBUG        baseaudiosink
> gstbaseaudiosink.c:1475:gst_base_audio_sink_render:<audiosink-actual-sink-pulse>
> rendering at 0 368/368
> 0:00:04.207293501 12211  0x84b2a80 DEBUG        baseaudiosink
> gstbaseaudiosink.c:1485:gst_base_audio_sink_render:<audiosink-actual-sink-pulse>
> wrote 368 of 368
> 0:00:04.207318364 12211  0x84b2a80 DEBUG        baseaudiosink
> gstbaseaudiosink.c:1508:gst_base_audio_sink_render:<audiosink-actual-sink-pulse>
> next sample expected at 368
>
> So, something's getting busted in the pulse audio sink due to the
> flush_start/flush_stop sent between the first and 2nd time.
>

You can compare what your element does with some other element of the same
kind (demuxer, decoder, source) that's on -base or -good and check if
something is different.


>
>
>
>      __________________________________________________________________
> The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!
>  Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Thiago Sousa Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100212/b46e82ad/attachment.htm>


More information about the gstreamer-devel mailing list