From: Ronald S. Bultje Date: Thu, 27 Jan 2005 10:14:22 +0000 (+0000) Subject: Allow seeks on audio pad, make mad forward those (#164826). X-Git-Tag: 1.19.3~509^2~13792 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=413da5f277d6b6618682bced60cb08c61793d1a0;p=platform%2Fupstream%2Fgstreamer.git Allow seeks on audio pad, make mad forward those (#164826). Original commit message from CVS: Reviewed by: Ronald S. Bultje * ext/mad/gstmad.c: (gst_mad_src_event): * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_event): Allow seeks on audio pad, make mad forward those (#164826). * gst/audioscale/gstaudioscale.c: (gst_audioscale_chain): Set duration (#165335). --- diff --git a/ChangeLog b/ChangeLog index 3feea0c..2686717 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2005-01-27 Edward Hervey + + Reviewed by: Ronald S. Bultje + + * ext/mad/gstmad.c: (gst_mad_src_event): + * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_event): + Allow seeks on audio pad, make mad forward those (#164826). + * gst/audioscale/gstaudioscale.c: (gst_audioscale_chain): + Set duration (#165335). + 2005-01-27 Ronald S. Bultje * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_init), diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index ee6e88e..c3f7a61 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -536,11 +536,6 @@ gst_avi_demux_handle_src_event (GstPad * pad, GstEvent * event) gint64 desired_offset = GST_EVENT_SEEK_OFFSET (event); guint32 flags; - /* no seek on audio yet */ - if (stream->strh->type == GST_RIFF_FCC_auds) { - res = FALSE; - goto done; - } GST_DEBUG_OBJECT (avi, "seeking to %" G_GINT64_FORMAT, desired_offset); @@ -585,7 +580,6 @@ gst_avi_demux_handle_src_event (GstPad * pad, GstEvent * event) break; } -done: gst_event_unref (event); return res;