Skip to content

Commit

Permalink
Test some critical encoders
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jan 24, 2025
1 parent a663873 commit 013f70f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/testthat/test-formats.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,13 @@ test_that("Listing formats", {
expect_equal(names(decoders), c("type", "name", "description", "format"))
expect_equal(names(filters), c("name", "description"))
})

test_that("Critical encoders", {
encoders <- av_encoders()
expect_contains(encoders$name, 'libmp3lame')
expect_contains(encoders$name, 'libvorbis')
expect_contains(encoders$name, 'libxvid')
skip_on_os('linux')
# libx264 is not supported on Fedora libavfilter-free-devel
expect_contains(encoders$name, 'libx264')
})

0 comments on commit 013f70f

Please sign in to comment.