1 Index: smplayer/trunk/src/mplayerprocess.cpp
2 ===================================================================
3 --- smplayer/trunk/src/mplayerprocess.cpp (revision 3598)
4 +++ smplayer/trunk/src/mplayerprocess.cpp (working copy)
8 static QRegExp rx_av("^[AV]: *([0-9,:.-]+)");
9 +static QRegExp rx_v("V: *([0-9,:.-]+)");
10 static QRegExp rx_frame("^[AV]:.* (\\d+)\\/.\\d+");// [0-9,.]+");
11 static QRegExp rx("^(.*)=(.*)");
12 #if !NOTIFY_AUDIO_CHANGES
14 //qDebug("%s", line.toUtf8().data());
15 if (rx_av.indexIn(line) > -1) {
16 double sec = rx_av.cap(1).toDouble();
17 + if(rx_v.indexIn(line) > -1) {
18 + sec = rx_v.cap(1).toDouble();
20 //qDebug("cap(1): '%s'", rx_av.cap(1).toUtf8().data() );
21 //qDebug("sec: %f", sec);