GNOME Bugzilla – Bug 330789
gstbaseaudiosink causes noise on seeking
Last modified: 2006-02-12 15:26:36 UTC
Between 0.10.2 and 0.10.3 of gst-plugins-base, baseaudiosink changed and now causes noise after seeking. I tracked it down to the changes done by Wim on 2006-01-25. Reverting those changes removes the noise.
Created attachment 59135 [details] [review] patch to revert the changes This reverts the following changes: 2006-01-25 Wim Taymans <wim@fluendo.com> * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_render), (gst_base_audio_sink_change_state): Undo previous commit that returned WRONG_STATE sooner, it breaks resume after pause. 2006-01-25 Wim Taymans <wim@fluendo.com> * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_setcaps), (gst_base_audio_sink_event), (gst_base_audio_sink_preroll), (gst_base_audio_sink_render): Improve debugging. Post error when caps cannot be parsed. Resync on discontinuity in the stream. Clip samples to segment boundaries. return WRONG_STATE sooner when we are flushing.
Created attachment 59179 [details] [review] remove clipping The part causing it is the clipping to the current segment.
Created attachment 59181 [details] [review] fix clipping amount The problem is that when clipping happens, the remainder is clipped away instead of the actual clipping amount.
Indeed. Fixed in CVS.