Ignore:
Timestamp:
Aug 31, 2016, 5:31:04 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.8.0

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/videopreview/videopreview.cpp

    r176 r181  
    7171        progress = new QProgressDialog(parent != 0 ? parent : this);
    7272        progress->setMinimumDuration(0);
     73        progress->reset(); // Prevent the dialog to be shown on initialization (Qt 5.5)
    7374        connect( progress, SIGNAL(canceled()), this, SLOT(cancelPressed()) );
    7475
     
    286287                QString format = (prop.extract_format == PNG) ? "png:png-compression=0" : "jpg";
    287288                args << QString("--vo=image=format=%1:outdir=\"%2\"").arg(format).arg(full_output_dir);
    288                
     289
     290                /*
    289291                #ifdef Q_OS_WIN
    290                 args << "--use-text-osd=no";
     292                args << "--use-text-osd=no"; // option removed in mpv 0.12
    291293                #endif
     294                */
    292295                #endif // MPV_SUPPORT
    293296        }
     
    403406void VideoPreview::displayVideoInfo(const VideoInfo & i) {
    404407        // Display info about the video
    405         QTime t = QTime().addSecs(i.length);
     408        QTime t(0,0);
     409        t = t.addSecs(i.length);
    406410
    407411        QString aspect = QString::number(i.aspect);
Note: See TracChangeset for help on using the changeset viewer.