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:
Fernando Jiménez Moreno 2021-06-08 11:51:29 +02:00 committed by GStreamer Marge Bot
parent 351b72a59a
commit 1cabfebd2f

View file

@ -116,7 +116,7 @@ def setup_tests(test_manager, options):
# Add scenarios
scenarios = []
scenarios.append("play_5s")
scenarios.append("play_15s")
scenarios.append("seek_backward")
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:
- Run playbin pipelines on `file.mp4`, `file1.mkv` and `file2.ogv`&gt;
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
mp3 in a MP4 container