audio drops out in PAUSED->PLAYING

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

audio drops out in PAUSED->PLAYING

Dake Gu
I am using decodebin and pulsesink (gstreamer 0.10.29).  When unpause media,  there is a sound glitch within first second.  This happens both in video and mp3 playback.
I did some debugging, seems to be related with gstpipeline.c re-calculating the base_time.  The new base_time is always a value 0~1s when paused->playing.

If comment out "gst_element_set_base_time (element, new_base_time);"  in GST_STATE_CHANGE_PAUSED_TO_PLAYING,  the unpausing glitch is gone.  However, this will break the seeking.  Please advice what should I look into,  thanks.

- Dake


------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel