mirror of
https://github.com/martravi/wiiqt6.git
synced 2024-11-22 05:29:14 +01:00
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@57 389f4c8b-5dfe-645f-db0e-df882bc27289
This commit is contained in:
parent
41184f9d8a
commit
8a95fbcfa0
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 {
|
win32 {
|
||||||
message("win32 build")
|
message("win32 build")
|
||||||
INCLUDEPATH += . ./libpng/include
|
INCLUDEPATH += . ./libpng/include
|
||||||
|
LIBS += -L./libpng/lib -ljpeg
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LIBS += -ljpeg
|
LIBS += -ljpeg
|
||||||
|
@ -163,7 +163,9 @@ void ThpWindow::LoadVideo( const QString &path )
|
|||||||
ui->horizontalSlider_pos->setMaximum( frameCnt );
|
ui->horizontalSlider_pos->setMaximum( frameCnt );
|
||||||
|
|
||||||
//set timer for animation
|
//set timer for animation
|
||||||
|
qDebug() << "fps" << QString( "%1" ).arg( videoFile->getFps(), 0, 'f', 3 );
|
||||||
qreal delay = 1000.0f/videoFile->getFps();
|
qreal delay = 1000.0f/videoFile->getFps();
|
||||||
|
qDebug() << "delay" << QString( "%1" ).arg( delay, 0, 'f', 3 );
|
||||||
ui->label_timeFull->setText( TimeTxt( delay * videoFile->getFrameCount() ));
|
ui->label_timeFull->setText( TimeTxt( delay * videoFile->getFrameCount() ));
|
||||||
timer.setInterval( delay );
|
timer.setInterval( delay );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user