mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 05:56:31 +00:00
ext/mad/gstmad.c: allow seeking for other methods than just SET
Original commit message from CVS: * ext/mad/gstmad.c: (normal_seek): allow seeking for other methods than just SET
This commit is contained in:
parent
ebfe64cf9d
commit
c85cc84f32
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-07-11 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* ext/mad/gstmad.c: (normal_seek):
|
||||
allow seeking for other methods than just SET
|
||||
|
||||
2004-07-11 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/audioconvert/gstaudioconvert.c (gst_audio_convert_link): For
|
||||
|
|
|
@ -712,7 +712,8 @@ normal_seek (GstMad * mad, GstPad * pad, GstEvent * event)
|
|||
GstEvent *seek_event;
|
||||
|
||||
/* conversion succeeded, create the seek */
|
||||
seek_event = gst_event_new_seek (format | GST_SEEK_METHOD_SET | flush,
|
||||
seek_event =
|
||||
gst_event_new_seek (format | GST_EVENT_SEEK_METHOD (event) | flush,
|
||||
desired_offset);
|
||||
/* do the seek */
|
||||
if (gst_pad_send_event (GST_PAD_PEER (mad->sinkpad), seek_event)) {
|
||||
|
|
Loading…
Reference in a new issue