Skip to content

Commit

Permalink
update to most recent QtAVPlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderOrb committed Aug 22, 2023
1 parent a047c5a commit 0c24aa0
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 381 deletions.
33 changes: 0 additions & 33 deletions Project/QtCreator/QCTools.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,6 @@ USE_BREW = $$(USE_BREW)

include(ffmpeg.pri)

QTAVPLAYER = $$absolute_path($$_PRO_FILE_PWD_/qctools-QtAVPlayer)
message('QTAVPLAYER: ' $$QTAVPLAYER)

QTAVPLAYERLIB = $$absolute_path($$_PRO_FILE_PWD_/qctools-QtAVPlayer-lib)
message('QTAVPLAYER library support files: ' $$QTAVPLAYERLIB)

defineReplace(nativePath) {
OUT_NATIVE_PATH = $$1
# Replace slashes in paths with backslashes for Windows
win32:OUT_NATIVE_PATH ~= s,/,\\,g
return($$OUT_NATIVE_PATH)
}

win32: {
system('xcopy $$nativePath($$QTAVPLAYERLIB/*) $$nativePath($$QTAVPLAYER/) /E /Y')
message('xcopy $$nativePath($$QTAVPLAYERLIB/*) $$nativePath($$QTAVPLAYER/) /E /Y')
} else {
macx: {
system('cp -R $$shell_path($$QTAVPLAYERLIB/*) $$shell_path($$QTAVPLAYER/)')
message('cp -R $$shell_path($$QTAVPLAYERLIB/*) $$shell_path($$QTAVPLAYER/)')
} else {
system('cp -r -u $$shell_path($$QTAVPLAYERLIB/*) $$shell_path($$QTAVPLAYER/)')
message('cp -r -u $$shell_path($$QTAVPLAYERLIB/*) $$shell_path($$QTAVPLAYER/)')
}
}

contains(DEFINES, USE_BREW) {
message('using ffmpeg from brew via PKGCONFIG')

Expand All @@ -59,24 +33,17 @@ contains(DEFINES, USE_BREW) {

write_file($$QTAVPLAYER/.qmake.conf, pkgConfig, append)
write_file($$QTAVPLAYER/.qmake.conf, linkPkgConfig, append)
} else {
message('including $$QTAVPLAYER/QtAVPlayerLib.pri')
include($$QTAVPLAYER/QtAVPlayerLib.pri)
}

SUBDIRS = \
qctools-qtavplayer \
qctools-lib \
qctools-cli \
qctools-gui

qctools-qtavplayer.file = qctools-QtAVPlayer/QtAVPlayerLib.pro

qctools-lib.subdir = qctools-lib
qctools-cli.subdir = qctools-cli
qctools-gui.subdir = qctools-gui

qctools-lib.depends = qctools-qtavplayer
qctools-cli.depends = qctools-lib
qctools-gui.depends = qctools-lib

Expand Down
2 changes: 1 addition & 1 deletion Project/QtCreator/qctools-QtAVPlayer
Submodule qctools-QtAVPlayer updated 79 files
+0 −2 .cmake.conf
+25 −93 .github/workflows/main.yaml
+0 −2 .gitignore
+0 −5 .qmake.conf
+0 −118 CMakeLists.txt
+0 −2 QtAVPlayer.pro
+18 −40 README.md
+0 −5 configure.json
+0 −1 examples/CMakeLists.txt
+0 −5 examples/examples.pro
+0 −15 examples/extract_frames/CMakeLists.txt
+3 −0 examples/extract_frames/extract_frames.pro
+0 −47 examples/qml_video/CMakeLists.txt
+3 −2 examples/qml_video/qml_video.pro
+0 −1 src/CMakeLists.txt
+0 −157 src/QtAVPlayer/CMakeLists.txt
+131 −0 src/QtAVPlayer/QtAVPlayer.pri
+0 −135 src/QtAVPlayer/QtAVPlayer.pro
+0 −197 src/QtAVPlayer/configure.json
+1 −1 src/QtAVPlayer/qavaudiocodec_p.h
+5 −4 src/QtAVPlayer/qavaudiofilter.cpp
+1 −1 src/QtAVPlayer/qavaudiofilter_p.h
+1 −1 src/QtAVPlayer/qavaudioformat.h
+1 −1 src/QtAVPlayer/qavaudioframe.h
+1 −1 src/QtAVPlayer/qavaudioinputfilter_p.h
+31 −13 src/QtAVPlayer/qavaudiooutput.cpp
+1 −1 src/QtAVPlayer/qavaudiooutput.h
+1 −1 src/QtAVPlayer/qavaudiooutputfilter_p.h
+1 −1 src/QtAVPlayer/qavcodec_p.h
+6 −7 src/QtAVPlayer/qavdemuxer.cpp
+1 −1 src/QtAVPlayer/qavdemuxer_p.h
+1 −1 src/QtAVPlayer/qavfilter_p.h
+1 −1 src/QtAVPlayer/qavfiltergraph_p.h
+1 −1 src/QtAVPlayer/qavfilters_p.h
+1 −1 src/QtAVPlayer/qavframe.h
+1 −1 src/QtAVPlayer/qavframecodec_p.h
+1 −1 src/QtAVPlayer/qavhwdevice_d3d11_p.h
+1 −1 src/QtAVPlayer/qavhwdevice_mediacodec_p.h
+1 −1 src/QtAVPlayer/qavhwdevice_p.h
+1 −1 src/QtAVPlayer/qavhwdevice_vaapi_drm_egl_p.h
+1 −1 src/QtAVPlayer/qavhwdevice_vaapi_x11_glx_p.h
+1 −1 src/QtAVPlayer/qavhwdevice_vdpau_p.h
+1 −1 src/QtAVPlayer/qavhwdevice_videotoolbox_p.h
+1 −1 src/QtAVPlayer/qavinoutfilter_p.h
+1 −1 src/QtAVPlayer/qaviodevice_p.h
+1 −1 src/QtAVPlayer/qavpacket_p.h
+0 −6 src/QtAVPlayer/qavplayer-config.h.in
+0 −32 src/QtAVPlayer/qavplayer-config_p.h.in
+4 −4 src/QtAVPlayer/qavplayer.h
+4 −4 src/QtAVPlayer/qavstream.h
+1 −1 src/QtAVPlayer/qavstreamframe.h
+1 −1 src/QtAVPlayer/qavsubtitlecodec_p.h
+1 −1 src/QtAVPlayer/qavsubtitleframe.h
+1 −1 src/QtAVPlayer/qavvideobuffer_cpu_p.h
+1 −1 src/QtAVPlayer/qavvideobuffer_gpu_p.h
+1 −1 src/QtAVPlayer/qavvideobuffer_p.h
+1 −1 src/QtAVPlayer/qavvideocodec_p.h
+1 −1 src/QtAVPlayer/qavvideofilter_p.h
+3 −3 src/QtAVPlayer/qavvideoframe.cpp
+3 −3 src/QtAVPlayer/qavvideoframe.h
+1 −1 src/QtAVPlayer/qavvideoinputfilter_p.h
+1 −1 src/QtAVPlayer/qavvideooutputfilter_p.h
+0 −14 src/QtAVPlayer/qtavplayerglobal.h
+0 −3 src/src.pro
+0 −3 sync.profile
+0 −1 tests/CMakeLists.txt
+0 −1 tests/auto/CMakeLists.txt
+0 −3 tests/auto/auto.pro
+0 −10 tests/auto/cmake/CMakeLists.txt
+0 −6 tests/auto/cmake/cmake.pro
+0 −2 tests/auto/integration/CMakeLists.txt
+0 −3 tests/auto/integration/integration.pro
+0 −22 tests/auto/integration/qavdemuxer/CMakeLists.txt
+6 −5 tests/auto/integration/qavdemuxer/qavdemuxer.pro
+0 −10 tests/auto/integration/qavplayer/CMakeLists.txt
+5 −4 tests/auto/integration/qavplayer/qavplayer.pro
+43 −6 tests/auto/integration/qavplayer/tst_qavplayer.cpp
+ tests/auto/integration/testdata/test_5beeps.mkv
+0 −2 tests/tests.pro
83 changes: 0 additions & 83 deletions Project/QtCreator/qctools-QtAVPlayer-lib/QtAVPlayerLib.pri

This file was deleted.

12 changes: 0 additions & 12 deletions Project/QtCreator/qctools-QtAVPlayer-lib/QtAVPlayerLib.pro

This file was deleted.

77 changes: 0 additions & 77 deletions Project/QtCreator/qctools-QtAVPlayer-lib/UseQtAVPlayerLib.pri

This file was deleted.

12 changes: 0 additions & 12 deletions Project/QtCreator/qctools-QtAVPlayer-lib/src/QtAVPlayer/QtAVPlayer

This file was deleted.

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions Project/QtCreator/qctools-QtAVPlayer-lib/src/srclib.pro

This file was deleted.

Loading

0 comments on commit 0c24aa0

Please sign in to comment.