Skip to content

Commit 4332988

Browse files
authored
Merge pull request rails#50929 from railsbob/video-analyzer-nightly-test-failure
Fix VideoAnalyzerTest#test_analyzing_a_rotated_HDR_video failure with ffmpeg < 5.0
2 parents 7c1db8d + 3d7b521 commit 4332988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activestorage/test/analyzer/video_analyzer_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ActiveStorage::Analyzer::VideoAnalyzerTest < ActiveSupport::TestCase
3535

3636
assert_equal 1080.0, metadata[:width]
3737
assert_equal 1920.0, metadata[:height]
38-
assert_equal(-90, metadata[:angle])
38+
assert_includes [90, -90], metadata[:angle]
3939
end
4040

4141
test "analyzing a video with rectangular samples" do

0 commit comments

Comments
 (0)