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.
gentoo-overlay/media-video/smplayer/files/smplayer-19.5.0-mpv-0.30.0....

23 lines
969 B

Index: smplayer/src/mpvprocess.cpp
===================================================================
--- smplayer/src/mpvprocess.cpp (revision 9231)
+++ smplayer/src/mpvprocess.cpp (revision 9232)
@@ -122,7 +122,7 @@
void MPVProcess::initializeRX() {
#ifdef CUSTOM_STATUS
- rx_av.setPattern("^STATUS: ([0-9\\.-]+) / ([0-9\\.-]+) P: (yes|no) B: (yes|no) I: (yes|no) VB: ([0-9\\.-]+) AB: ([0-9\\.-]+)");
+ rx_av.setPattern("STATUS: ([0-9\\.-]+) / ([0-9\\.-]+) P: (yes|no) B: (yes|no) I: (yes|no) VB: ([0-9\\.-]+) AB: ([0-9\\.-]+)");
#else
rx_av.setPattern("^(\\((.*)\\) |)(AV|V|A): ([0-9]+):([0-9]+):([0-9]+) / ([0-9]+):([0-9]+):([0-9]+)"); //AV: 00:02:15 / 00:09:56
#endif
@@ -197,7 +197,7 @@
static double last_sec = -1;
// Parse A: V: line
- //qDebug("MPVProcess::parseLine: %s", line.toUtf8().data());
+ //qDebug() << "MPVProcess::parseLine:" << line;
if (rx_av.indexIn(line) > -1) {
#ifdef CUSTOM_STATUS
double sec = rx_av.cap(1).toDouble();