Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.io.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.io.base
Commits
42195f2c
Commit
42195f2c
authored
11 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Shrink list of checked codecs to statisfy ffmpeg <= 0.5 (Ubuntu 10.04)
parent
1372824a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xbob/io/test_video.py
+1
-2
1 addition, 2 deletions
xbob/io/test_video.py
with
1 addition
and
2 deletions
xbob/io/test_video.py
+
1
−
2
View file @
42195f2c
...
@@ -16,7 +16,6 @@ from . import test_utils
...
@@ -16,7 +16,6 @@ from . import test_utils
# These are some global parameters for the test.
# These are some global parameters for the test.
INPUT_VIDEO
=
test_utils
.
datafile
(
'
test.mov
'
,
__name__
)
INPUT_VIDEO
=
test_utils
.
datafile
(
'
test.mov
'
,
__name__
)
@test_utils.ffmpeg_found
()
def
test_codec_support
():
def
test_codec_support
():
# Describes all encoders
# Describes all encoders
...
@@ -30,7 +29,7 @@ def test_codec_support():
...
@@ -30,7 +29,7 @@ def test_codec_support():
if
v
[
'
encode
'
]:
assert
describe_encoder
(
v
[
'
id
'
])
if
v
[
'
encode
'
]:
assert
describe_encoder
(
v
[
'
id
'
])
# Assert we support, at least, some known codecs
# Assert we support, at least, some known codecs
for
codec
in
(
'
ffv1
'
,
'
zlib
'
,
'
wmv2
'
,
'
mpeg4
'
,
'
mjpeg
'
):
for
codec
in
(
'
ffv1
'
,
'
wmv2
'
,
'
mpeg4
'
,
'
mjpeg
'
):
assert
codec
in
supported
assert
codec
in
supported
assert
supported
[
codec
][
'
encode
'
]
assert
supported
[
codec
][
'
encode
'
]
assert
supported
[
codec
][
'
decode
'
]
assert
supported
[
codec
][
'
decode
'
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment