mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
ext/musepack/gstmusepackreader.cpp: Workaround for older core.
Original commit message from CVS: * ext/musepack/gstmusepackreader.cpp: Workaround for older core.
This commit is contained in:
parent
8ea1ed65fd
commit
984afa2453
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-11-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/musepack/gstmusepackreader.cpp:
|
||||
Workaround for older core.
|
||||
|
||||
2004-11-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/ffmpegcolorspace/imgconvert.c: (yuv420p_to_yuv422):
|
||||
|
|
|
@ -87,7 +87,7 @@ GstMusepackReader::seek (mpc_int32_t offset)
|
|||
|
||||
/* hacky hack - if we're after typefind, we'll fail because
|
||||
* typefind is still typefinding (heh :) ). So read first. */
|
||||
if (this->tell () == 0) {
|
||||
if (this->tell () != this->get_size ()) {
|
||||
guint8 dummy2[1];
|
||||
this->read (dummy2, 1);
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ GstMusepackReader::seek (mpc_int32_t offset)
|
|||
|
||||
/* hacky hack - if we're after typefind, we'll fail because
|
||||
* typefind is still typefinding (heh :) ). So read first. */
|
||||
if (this->tell () == 0) {
|
||||
if (this->tell () != this->get_size ()) {
|
||||
guint8 dummy2[1];
|
||||
this->read (dummy2, 1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue