From b05b9d04d6a6ff723b97079f3aa22b51d32d7170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 26 Jan 2008 15:12:50 +0000 Subject: ext/soundtouch/gstpitch.cc: Allow seeking only in TIME and DEFAULT format, other formats will not work as expected. A... Original commit message from CVS: * ext/soundtouch/gstpitch.cc: Allow seeking only in TIME and DEFAULT format, other formats will not work as expected. Also handle a stop position of -1 correctly for seeks, newsegment events and the queries. This fixes playback with the pitch element if upstream doesn't know the duration or has -1 as stop position in NEWSEGMENT events for other reasons. Before simply nothing was played as the segment was going from 0 to 0. Send a GST_MESSAGE_DURATION whenever the rate or tempo is changed so applications can update their cached duration. Fixes bug #503308. Some random cleanup and memory leak closing. --- ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f559beab..d23faf87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2008-01-26 Sebastian Dröge + + * ext/soundtouch/gstpitch.cc: + Allow seeking only in TIME and DEFAULT format, other formats will + not work as expected. Also handle a stop position of -1 correctly + for seeks, newsegment events and the queries. This fixes playback + with the pitch element if upstream doesn't know the duration or has + -1 as stop position in NEWSEGMENT events for other reasons. Before + simply nothing was played as the segment was going from 0 to 0. + + Send a GST_MESSAGE_DURATION whenever the rate or tempo is changed + so applications can update their cached duration. Fixes bug #503308. + + Some random cleanup and memory leak closing. + 2008-01-26 Sebastian Dröge * ext/musepack/gstmusepackdec.h: -- cgit v1.2.1