Lines 848-853
void MPVProcess::mute(bool b) {
Link Here
|
848 |
|
848 |
|
849 |
void MPVProcess::setPause(bool b) { |
849 |
void MPVProcess::setPause(bool b) { |
850 |
sendCommand(QString("set pause %1").arg(b ? "yes" : "no")); |
850 |
sendCommand(QString("set pause %1").arg(b ? "yes" : "no")); |
|
|
851 |
|
852 |
// Workaround for mpv 0.37, playback not resuming after pause |
853 |
// It seems mpv reports the pause state in the status line with some delay |
854 |
if (b) sendCommand("no-osd seek 0 relative exact"); |
851 |
} |
855 |
} |
852 |
|
856 |
|
853 |
void MPVProcess::frameStep() { |
857 |
void MPVProcess::frameStep() { |