mirror of
https://github.com/martravi/wiiqt.git
synced 2024-11-22 00:59:18 +01:00
This commit is contained in:
parent
4f4558d769
commit
00d35c9f98
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -139,6 +139,7 @@ thp_player/libpng/include/jconfig.h -text
|
||||
thp_player/libpng/include/jerror.h -text
|
||||
thp_player/libpng/include/jmorecfg.h -text
|
||||
thp_player/libpng/include/jpeglib.h -text
|
||||
thp_player/libpng/lib/libjpeg.dll.a -text
|
||||
thp_player/main.cpp -text
|
||||
thp_player/next.png -text
|
||||
thp_player/pause.png -text
|
||||
|
BIN
thp_player/libpng/lib/libjpeg.dll.a
Normal file
BIN
thp_player/libpng/lib/libjpeg.dll.a
Normal file
Binary file not shown.
@ -23,6 +23,7 @@ CONFIG += static
|
||||
win32 {
|
||||
message("win32 build")
|
||||
INCLUDEPATH += . ./libpng/include
|
||||
LIBS += -L./libpng/lib -ljpeg
|
||||
}
|
||||
else {
|
||||
LIBS += -ljpeg
|
||||
|
@ -163,7 +163,9 @@ void ThpWindow::LoadVideo( const QString &path )
|
||||
ui->horizontalSlider_pos->setMaximum( frameCnt );
|
||||
|
||||
//set timer for animation
|
||||
qDebug() << "fps" << QString( "%1" ).arg( videoFile->getFps(), 0, 'f', 3 );
|
||||
qreal delay = 1000.0f/videoFile->getFps();
|
||||
qDebug() << "delay" << QString( "%1" ).arg( delay, 0, 'f', 3 );
|
||||
ui->label_timeFull->setText( TimeTxt( delay * videoFile->getFrameCount() ));
|
||||
timer.setInterval( delay );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user