Changeset 181 for smplayer/trunk/src/videopreview/videopreview.cpp
- Timestamp:
- Aug 31, 2016, 5:31:04 PM (9 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 179
- Property svn:mergeinfo changed
-
smplayer/trunk/src/videopreview/videopreview.cpp
r176 r181 71 71 progress = new QProgressDialog(parent != 0 ? parent : this); 72 72 progress->setMinimumDuration(0); 73 progress->reset(); // Prevent the dialog to be shown on initialization (Qt 5.5) 73 74 connect( progress, SIGNAL(canceled()), this, SLOT(cancelPressed()) ); 74 75 … … 286 287 QString format = (prop.extract_format == PNG) ? "png:png-compression=0" : "jpg"; 287 288 args << QString("--vo=image=format=%1:outdir=\"%2\"").arg(format).arg(full_output_dir); 288 289 290 /* 289 291 #ifdef Q_OS_WIN 290 args << "--use-text-osd=no"; 292 args << "--use-text-osd=no"; // option removed in mpv 0.12 291 293 #endif 294 */ 292 295 #endif // MPV_SUPPORT 293 296 } … … 403 406 void VideoPreview::displayVideoInfo(const VideoInfo & i) { 404 407 // Display info about the video 405 QTime t = QTime().addSecs(i.length); 408 QTime t(0,0); 409 t = t.addSecs(i.length); 406 410 407 411 QString aspect = QString::number(i.aspect);
Note:
See TracChangeset
for help on using the changeset viewer.