Skip to content

Commit d780d93

Browse files
committed
Reverted some changes from 602a8be to use default FFmpeg on Mac
1 parent 46f2109 commit d780d93

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Diff for: .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 }}

Diff for: travis_config.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if [ -n "$IS_OSX" ]; then
5656
function generate_ffmpeg_formula {
5757
local FF="ffmpeg"
5858
local LFF="ffmpeg_opencv"
59-
local FF_FORMULA; FF_FORMULA=$(brew formula "${FF}${FFMPEG_FORMULA_VERSION}")
59+
local FF_FORMULA; FF_FORMULA=$(brew formula "${FF}")
6060
local LFF_FORMULA; LFF_FORMULA="$(dirname "$FF_FORMULA")/${LFF}.rb"
6161

6262
local REGENERATE
@@ -76,9 +76,8 @@ if [ -n "$IS_OSX" ]; then
7676
if [ -n "$REGENERATE" ]; then
7777
echo "Regenerating custom ffmpeg formula"
7878
# Bottle block syntax: https://docs.brew.sh/Bottles#bottle-dsl-domain-specific-language
79-
# FfmpegAT4 is a class in ffmpeg@4 formula
8079
perl -wpe 'BEGIN {our ($found_blank, $bottle_block);}
81-
if (/(^class )(FfmpegAT4)(\s.*)/) {$_=$1."FfmpegOpencv".$3."\n"; next;}
80+
if (/(^class )(Ffmpeg)(\s.*)/) {$_=$1."Opencv".$3."\n"; next;}
8281
if (!$found_blank && /^$/) {$_.="conflicts_with \"ffmpeg\"\n\n"; $found_blank=1; next;}
8382
if (!$bottle_block && /^\s*bottle do$/) { $bottle_block=1; next; }
8483
if ($bottle_block) { if (/^\s*end\s*$/) { $bottle_block=0} elsif (/^\s*sha256\s/) {$_=""} next; }

0 commit comments

Comments
 (0)