diff --git a/0006-fix-file-operation-will-pause-video-play.patch b/0006-fix-file-operation-will-pause-video-play.patch new file mode 100644 index 0000000000000000000000000000000000000000..4cac1a44f93393f1518642d7a5bd2ff1f29a1d24 --- /dev/null +++ b/0006-fix-file-operation-will-pause-video-play.patch @@ -0,0 +1,15 @@ +diff --git a/nfs-mplayer-1.0.0/src/defaultgui.cpp b/nfs-mplayer-1.0.0/src/defaultgui.cpp +index bf8d29a..00e8d7c 100755 +--- a/nfs-mplayer-1.0.0/src/defaultgui.cpp ++++ b/nfs-mplayer-1.0.0/src/defaultgui.cpp +@@ -317,6 +317,10 @@ void DefaultGui::ActiveChanged(bool flag) + void DefaultGui::PropertiesChanged(QString service, QVariantMap map, QStringList list) + { + qDebug("DefaultGui::PropertiesChanged"); ++ ++ QString key = "SessionIsActive"; ++ if ( ! map.keys().contains(key)) ++ return; + + if(!map["SessionIsActive"].toBool()){ + pausePlay();