Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
4.7.4
-
None
Description
Hi,
I believe that I found a bug in phonon.
You cant seek in any streams that you give to a Phonon::MediaSource,
even if they actually is seekable. I've tried both deriving from QIODevice and Phonon::AbstractMediaStream, both with the same result.
I've tracked down it to the gstreamer-plugin( class: 'StreamReader' ), it does not seem to respect if the stream is seekable or not, atleast I cant find anywhere there it check to see that.
I also find a fix to it, by removing the 'streamSeekable' function and put it in the 'StreamInterface' class, it look like this:
bool StreamInterface::streamSeekable() const
{
Q_ASSERT(d->connected);
if (d->mediaSource.type() == MediaSource::Stream)
return false;
}
unfortunately I don't now how to summit it