Skip to content

Commit 2ff1528

Browse files
committed
Reverted some changes from 602a8be to use default FFmpeg on Mac
1 parent 641f6b3 commit 2ff1528

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/build_wheels_macos.yml

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
USE_CCACHE: 1
4646
UNICODE_WIDTH: 32
4747
PLAT: x86_64
48-
FFMPEG_FORMULA_VERSION: ''
4948
SDIST: ${{ matrix.build_sdist || 0 }}
5049
ENABLE_HEADLESS: ${{ matrix.without_gui }}
5150
ENABLE_CONTRIB: ${{ matrix.with_contrib }}

travis_config.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if [ -n "$IS_OSX" ]; then
5050
function generate_ffmpeg_formula {
5151
local FF="ffmpeg"
5252
local LFF="ffmpeg_opencv"
53-
local FF_FORMULA; FF_FORMULA=$(brew formula "${FF}${FFMPEG_FORMULA_VERSION}")
53+
local FF_FORMULA; FF_FORMULA=$(brew formula "${FF}")
5454
local LFF_FORMULA; LFF_FORMULA="$(dirname "$FF_FORMULA")/${LFF}.rb"
5555

5656
local REGENERATE
@@ -70,9 +70,8 @@ if [ -n "$IS_OSX" ]; then
7070
if [ -n "$REGENERATE" ]; then
7171
echo "Regenerating custom ffmpeg formula"
7272
# Bottle block syntax: https://docs.brew.sh/Bottles#bottle-dsl-domain-specific-language
73-
# FfmpegAT4 is a class in ffmpeg@4 formula
7473
perl -wpe 'BEGIN {our ($found_blank, $bottle_block);}
75-
if (/(^class )(FfmpegAT4)(\s.*)/) {$_=$1."FfmpegOpencv".$3."\n"; next;}
74+
if (/(^class )(Ffmpeg)(\s.*)/) {$_=$1."Opencv".$3."\n"; next;}
7675
if (!$found_blank && /^$/) {$_.="conflicts_with \"ffmpeg\"\n\n"; $found_blank=1; next;}
7776
if (!$bottle_block && /^\s*bottle do$/) { $bottle_block=1; next; }
7877
if ($bottle_block) { if (/^\s*end\s*$/) { $bottle_block=0} elsif (/^\s*sha256\s/) {$_=""} next; }

0 commit comments

Comments
 (0)