Skip to content

Commit

Permalink
修改qmake
Browse files Browse the repository at this point in the history
  • Loading branch information
qihongtao committed Sep 4, 2020
2 parents 2dbfdc9 f48269a commit 2626f83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/AVPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1275,10 1275,9 @@ void AVPlayer::slotopenDecodecFinish()
{
qDebug("QHT AVPlayer::slotopenDecodecFinish");
disconnect(this,SIGNAL(openDecodecFinish()),this,SLOT(slotopenDecodecFinish()));
//QHT video 不允许缺失 audio 允许缺失
if (!d->vthread) {
if (!d->vthread && !d->athread) {
d->loaded = false;
qWarning("QHT AVPlayer::slotopenDecodecFinish load Video failed");
qWarning("QHT AVPlayer::slotopenDecodecFinish load failed");
return;
}
{
Expand Down
1 change: 1 addition & 0 deletions src/libQtAV.pro
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 660,7 @@ MODULE_VERSION = $$VERSION
# windows: Qt5AV.dll, not Qt1AV.dll
!mac_framework: MODULE_VERSION = $${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
!contains(QMAKE_HOST.os, Windows):include($$PROJECTROOT/deploy.pri)
<<<<<<< HEAD
unix:!mac{
# suppress the default RPATH if you wish
QMAKE_LFLAGS_RPATH=
Expand Down
1 change: 1 addition & 0 deletions widgets/libQtAVWidgets.pro
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 171,7 @@ MODULE_VERSION = $$VERSION
# windows: Qt5AV.dll, not Qt1AV.dll
!mac_framework: MODULE_VERSION = $${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
!contains(QMAKE_HOST.os, Windows):include($$PROJECTROOT/deploy.pri)
<<<<<<< HEAD
unix:!mac{
# suppress the default RPATH if you wish
QMAKE_LFLAGS_RPATH=
Expand Down

0 comments on commit 2626f83

Please sign in to comment.