[pitivi] tests: Fix xges files where proxy-id was not properly set
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] tests: Fix xges files where proxy-id was not properly set
- Date: Mon, 15 Jul 2019 23:13:41 +0000 (UTC)
commit c85096dcc09c7ffa00bc939b122e5d80ab1136d1
Author: Thibault Saunier <tsaunier igalia com>
Date: Sun Jul 14 18:52:13 2019 -0400
tests: Fix xges files where proxy-id was not properly set
Now that GES *does* guarantee that asset with proxies are loading before
their proxies, it resort the list of asset and as the .xges file was
not valid, we ended up with the proxy being loaded before its asset,
which we do not support.
tests/test_project.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test_project.py b/tests/test_project.py
index 2272dd44..63c8e18b 100644
--- a/tests/test_project.py
+++ b/tests/test_project.py
@@ -473,7 +473,7 @@ class TestProjectLoading(common.TestCase):
self.assertEqual(medialib._progressbar.get_fraction(), 1.0)
def test_loading_project_with_moved_assets_and_deleted_proxy(self):
- """Loads a project with moved asset as deleted proxy file."""
+ """Loads a project with moved asset and deleted proxy file."""
mainloop = common.create_main_loop()
@@ -487,7 +487,7 @@ class TestProjectLoading(common.TestCase):
<project properties='properties;' metadatas='metadatas, name=(string)"New\ Project",
author=(string)Unknown, render-scale=(double)100, format-version=(string)0.3;'>
<ressources>
<asset id='file:///nop/1sec_simpsons_trailer.mp4' extractable-type-name='GESUriClip'
properties='properties, supported-formats=(int)6, duration=(guint64)1228000000;' metadatas='metadatas,
audio-codec=(string)"MPEG-4\ AAC\ audio", maximum-bitrate=(uint)130625, bitrate=(uint)130625,
datetime=(datetime)2007-02-19T05:03:04Z, encoder=(string)Lavf54.6.100, container-format=(string)"ISO\
MP4/M4A", video-codec=(string)"H.264\ /\ AVC", file-size=(guint64)232417;'
proxy-id='file:///nop/1sec_simpsons_trailer.mp4.232417.proxy.mkv' />
- <asset id='file:///nop/tears_of_steel.webm' extractable-type-name='GESUriClip' properties='properties,
supported-formats=(int)6, duration=(guint64)2003000000;' metadatas='metadatas,
container-format=(string)Matroska, language-code=(string)und, application-name=(string)Lavc56.60.100,
encoder=(string)"Xiph.Org\ libVorbis\ I\ 20150105\
\(\342\233\204\342\233\204\342\233\204\342\233\204\)", encoder-version=(uint)0,
audio-codec=(string)Vorbis, nominal-bitrate=(uint)80000, bitrate=(uint)80000, video-codec=(string)"VP8\
video", file-size=(guint64)223340;' />
+ <asset id='file:///nop/tears_of_steel.webm' extractable-type-name='GESUriClip' properties='properties,
supported-formats=(int)6, duration=(guint64)2003000000;' metadatas='metadatas,
container-format=(string)Matroska, language-code=(string)und, application-name=(string)Lavc56.60.100,
encoder=(string)"Xiph.Org\ libVorbis\ I\ 20150105\
\(\342\233\204\342\233\204\342\233\204\342\233\204\)", encoder-version=(uint)0,
audio-codec=(string)Vorbis, nominal-bitrate=(uint)80000, bitrate=(uint)80000, video-codec=(string)"VP8\
video", file-size=(guint64)223340;' proxy-id='file:///nop/tears_of_steel.webm.223340.proxy.mkv'/>
<asset id='file:///nop/1sec_simpsons_trailer.mp4.232417.proxy.mkv' extractable-type-name='GESUriClip'
properties='properties, supported-formats=(int)6, duration=(guint64)1228020833;' metadatas='metadatas,
container-format=(string)Matroska, audio-codec=(string)Opus, language-code=(string)en,
encoder=(string)Lavf54.6.100, bitrate=(uint)64000, video-codec=(string)"Motion\ JPEG",
file-size=(guint64)4694708;' />
<asset id='file:///nop/tears_of_steel.webm.223340.proxy.mkv' extractable-type-name='GESUriClip'
properties='properties, supported-formats=(int)6, duration=(guint64)2003000000;' metadatas='metadatas,
container-format=(string)Matroska, language-code=(string)und, application-name=(string)Lavc56.60.100,
encoder=(string)"Xiph.Org\ libVorbis\ I\ 20150105\
\(\342\233\204\342\233\204\342\233\204\342\233\204\)", encoder-version=(uint)0,
audio-codec=(string)Vorbis, nominal-bitrate=(uint)80000, bitrate=(uint)80000, video-codec=(string)"VP8\
video", file-size=(guint64)223340;' />
</ressources>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]