mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
docs: fix gst-validate-launch test suite example.
According to gst-validate-1.0 --list-scenarios, play_5s is not a valid scenario. Runnning the test suite example with it ends up raising an AttributeError. Switching to play_15s makes it work. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3941>
This commit is contained in:
parent
351b72a59a
commit
1cabfebd2f
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ def setup_tests(test_manager, options):
|
||||||
|
|
||||||
# Add scenarios
|
# Add scenarios
|
||||||
scenarios = []
|
scenarios = []
|
||||||
scenarios.append("play_5s")
|
scenarios.append("play_15s")
|
||||||
scenarios.append("seek_backward")
|
scenarios.append("seek_backward")
|
||||||
test_manager.set_scenarios(scenarios)
|
test_manager.set_scenarios(scenarios)
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ def setup_tests(test_manager, options):
|
||||||
Once this is done, you've got a testsuite that will:
|
Once this is done, you've got a testsuite that will:
|
||||||
|
|
||||||
- Run playbin pipelines on `file.mp4`, `file1.mkv` and `file2.ogv`>
|
- Run playbin pipelines on `file.mp4`, `file1.mkv` and `file2.ogv`>
|
||||||
executing `play_5s` and `seek_backward` scenarios
|
executing `play_15s` and `seek_backward` scenarios
|
||||||
|
|
||||||
- Transcode `file.mp4,` `file1.mkv` and `file2.ogv` to h264 and
|
- Transcode `file.mp4,` `file1.mkv` and `file2.ogv` to h264 and
|
||||||
mp3 in a MP4 container
|
mp3 in a MP4 container
|
||||||
|
|
Loading…
Reference in a new issue