mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
ext/ivorbis/vorbisfile.c: Reset adapter.
Original commit message from CVS: * ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_sink_activate): Reset adapter.
This commit is contained in:
parent
7bef88ec51
commit
a93b6e28ca
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-07-15 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_sink_activate):
|
||||||
|
Reset adapter.
|
||||||
|
|
||||||
2006-07-15 Stefan Kost <ensonic@users.sf.net>
|
2006-07-15 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* gst/spectrum/demo-audiotest.c: (main):
|
* gst/spectrum/demo-audiotest.c: (main):
|
||||||
|
|
|
@ -580,6 +580,11 @@ gst_ivorbisfile_sink_activate (GstPad * sinkpad)
|
||||||
/* FIX ME */
|
/* FIX ME */
|
||||||
/* ivorbisfile->vf.seekable = TRUE; */
|
/* ivorbisfile->vf.seekable = TRUE; */
|
||||||
ivorbisfile->vf.seekable = FALSE;
|
ivorbisfile->vf.seekable = FALSE;
|
||||||
|
if (ivorbisfile->adapter) {
|
||||||
|
gst_adapter_clear (ivorbisfile->adapter);
|
||||||
|
g_object_unref (ivorbisfile->adapter);
|
||||||
|
ivorbisfile->adapter = NULL;
|
||||||
|
}
|
||||||
return gst_pad_activate_pull (sinkpad, TRUE);
|
return gst_pad_activate_pull (sinkpad, TRUE);
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue