From 8170bd5582d83be1665fbdf9e05b06bdf94abae3 Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Fri, 10 Aug 2018 22:25:40 +0200 Subject: [PATCH] Update build_tc.sh --- build_tc.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build_tc.sh b/build_tc.sh index 8bcb6c0..6485917 100644 --- a/build_tc.sh +++ b/build_tc.sh @@ -120,7 +120,12 @@ elif [ "$STEP" == "ffmpeg" ]; then then patch -N -p1 -i ../../patches/0001-dynamic-loading-of-shared-fdk-aac-library.patch fi - + patch -N -p0 --dry-run --silent -i ../../patches/0002-set-matroska-timebase-to-one-microsecond.patch + if [ $? -eq 0 ]; + then + patch -N -p0 -i ../../patches/0002-set-matroska-timebase-to-one-microsecond.patch + fi + echo "### Compiling FFMpeg ..." cd $SRC/ffmpeg if [ "$MODE" == "debug" ]; then