mirror of
https://github.com/wang-bin/QtAV.git
synced 2026-10-20 06:07:24 +08:00
1e3975ea52
Changelog: - DXVA GPU zero-copy support - DXVA copy back improvement - VAAPI zero-copy improvement - External audio track support - Fix opengl wrong display if switch decoder between VDA and FFmpeg - Video encoding support. Try examples/simpletranscode. Audio is not supported now - Pulseaudio improvement, fix crashes and hang - OpenGL: disable VBO for ANGLE to workaround qpainter filters have no effect. Less GL calls. Fix OpenGLWindowRenderer can not update correctly - Fix capture video when a zero-copy HW decoder is used. - Fix wrong audio data is played at the beginning of playback - Enable XV shm - Improve a/v sync - Build android on windows - Fix msvc debug build - Use OpenSL ES as for android. It works correctly now. No OpenAL required any more. Add volume control for OpenSL ES. - Fix crashes - Add ubuntu PPA - CI: appveyor for windows - AVInput=>MediaIO. You can use it to support custom output when encoding video - Add seekFinished, durationChanged, QML MediaPlayer.videoCapture, Subtitle delay etc - QMLPlayer: swipe to seek
24 lines
793 B
Bash
Executable File
24 lines
793 B
Bash
Executable File
BINDIR=$1
|
|
echo $BINDIR
|
|
[ -d "$BINDIR" ] || BINDIR=$PWD
|
|
plugins=(`find $BINDIR/plugins -name "*.so" -type f`)
|
|
for plugin in ${plugins[@]}; do
|
|
echo $plugin
|
|
patchelf --set-rpath '$ORIGIN/../../lib:$ORIGIN/../..' $plugin
|
|
done
|
|
for qt in $BINDIR/libQt5*.so.5; do
|
|
echo patching $qt
|
|
patchelf --set-rpath '$ORIGIN' $qt
|
|
done
|
|
|
|
QMLAV=$BINDIR/QtAV/libQmlAV.so
|
|
test -f $QMLAV && echo "$QMLAV" && patchelf --set-rpath '$ORIGIN/../../lib:$ORIGIN/..:$ORIGIN/../..' $QMLAV
|
|
QMLAV=$BINDIR/qml/QtAV/libQmlAV.so
|
|
test -f $QMLAV && echo "$QMLAV" && patchelf --set-rpath '$ORIGIN/../../lib:$ORIGIN/..:$ORIGIN/../..' $QMLAV
|
|
|
|
EXE=(`find $BINDIR -maxdepth 1 -executable -type f |grep -v lib`)
|
|
for exe in ${EXE[@]}; do
|
|
echo "patching $exe..."
|
|
patchelf --set-rpath '$ORIGIN:$ORIGIN/lib:$ORIGIN/../lib' $exe
|
|
done
|