Allow seeks on audio pad, make mad forward those (#164826).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* 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).
This commit is contained in:
Ronald S. Bultje 2005-01-27 10:14:22 +00:00
parent 701d980f2a
commit 413da5f277
2 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,13 @@
2005-01-27 Edward Hervey <bilboed@bilboed.com>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* 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 <rbultje@ronald.bitfreak.net>
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_init),

View file

@ -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;