From 8a95fbcfa002a1f5680f62bc2f41ea4fae781282 Mon Sep 17 00:00:00 2001 From: giantpune Date: Sun, 16 Jan 2011 16:58:27 +0000 Subject: [PATCH] git-svn-id: http://wiiqt.googlecode.com/svn/trunk@57 389f4c8b-5dfe-645f-db0e-df882bc27289 --- thp_player/libpng/lib/libjpeg.dll.a | Bin 0 -> 64620 bytes thp_player/thp_player.pro | 1 + thp_player/thpwindow.cpp | 2 ++ 3 files changed, 3 insertions(+) create mode 100644 thp_player/libpng/lib/libjpeg.dll.a diff --git a/thp_player/libpng/lib/libjpeg.dll.a b/thp_player/libpng/lib/libjpeg.dll.a new file mode 100644 index 0000000000000000000000000000000000000000..d5dfc6ce0d66cfbb06da71b77ef1d8f0fb2ab594 GIT binary patch literal 64620 zcmeI5eT*c>Rlv*Rv+p>JbJ))LJ6=1N<1o&7cW-y^&K!>8yO_fqM?RfkLi&1VdiQ2; zW_swEy}b<|vLX~&d`3|eAtXeQqR5KGmxPdoA}}H#ge(vuAcQOwM35q6AwG;i5fZ#t zue$qH)tkMp|N5q`r8l!%?^RE~?q9#EeqGi5=$W+WUVi%ElMD8;w6wIgw0i3F^67N})Xd6_R(udQqOdNU{VvloPL#tiGuf%BiCyPYskpIrEz&Pyeq{DDPb%Is0j) zP~P`7lJj>eh4TFSNiO`XQYaVymgEEXDTVT(kCA-jGfJU+^bL|17nDNz_=w~auPB9b z3F@PC_mO1hltS73EJ^?CN}&uMBN@T^QO3VWQhZe@l<9wv?7(lJ>|P}K3Ge~sr@#-C zmkyA8>Woq-Kl3ulr~g1Hl$YNk`MDLPP=4Vhl3#+~K=~}xNBP{-B%hxuh4RZ^Ci#{B zQ3~Z(L67olTO_~!s!}LlJWTSX7nDMI<+n+`4ErACH=ZT=E!bw1-+7(nckfgR<@eS| zUj0d>P<|h_8RaW)k^CX(QU2%}$sfZuqx=c18|BZQC;9WAR|@6zzaaTb@CoIwK1}l0 zpHm9uZ@xzIcktUNe}A6jjn6BE@(1Z`f9pZ-Fo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4^ZaEk^PS2R>u@sP% zj(GI+U4|tqy{HDQjYQ2xPwPIl<&wpaqY-1#Qb>N1JjcIzoIAbBW(k(KJl^Bl~h}E@*Pya%l3^GED)Q z>4;;~9TiR8JlmKtp=B`@~OTJpBDI|OC&)bM4WAtqn zO_04dEVZ?-6cm#XmD(kNBd!!FS`5frM;wz5loTZ}5`R2*{iLqvmd%o&mT3yeVn=*O zZGS}*b&yJ)@ZztnaVg-ATG#aZDz_Y%9H(d8QCkeiXh$5GZf7jbVLkv^vfc7va@BHV z3dnLtOw(-@P41O(dm~dw-y1@bo#t?8^3^g;0h#ZJ^8xz|P0QnSGNDI+^gjvLacynm z0{Y&rOBP4IQl=;%;~gvo%TK} zrrF(o&z+JQK_SPPfb4a|^X`=)XC0oxcm=_M^R=!0oo4gyH6XP+7B{@urRM(u&e$yi literal 0 HcmV?d00001 diff --git a/thp_player/thp_player.pro b/thp_player/thp_player.pro index f403ef6..6a2efdc 100644 --- a/thp_player/thp_player.pro +++ b/thp_player/thp_player.pro @@ -23,6 +23,7 @@ CONFIG += static win32 { message("win32 build") INCLUDEPATH += . ./libpng/include + LIBS += -L./libpng/lib -ljpeg } else { LIBS += -ljpeg diff --git a/thp_player/thpwindow.cpp b/thp_player/thpwindow.cpp index db383c2..9b022b7 100644 --- a/thp_player/thpwindow.cpp +++ b/thp_player/thpwindow.cpp @@ -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 );