You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
phonon/phonon-4.3.50-phonon-allow-...

14 lines
518 B

diff -Naur phonon-4.3.50.orig/phonon/mediaobject.cpp phonon-4.3.50/phonon/mediaobject.cpp
--- phonon-4.3.50.orig/phonon/mediaobject.cpp 2009-02-26 22:33:54.000000000 +0100
+++ phonon-4.3.50/phonon/mediaobject.cpp 2009-10-12 22:48:22.000000000 +0200
@@ -114,7 +114,7 @@
void MediaObject::stop()
{
K_D(MediaObject);
- if (d->backendObject() && isPlayable(d->mediaSource.type())) {
+ if (d->backendObject() && d->mediaSource.type() != MediaSource::Invalid) {
INTERFACE_CALL(stop());
}
}