X-Git-Url: https://git.ao2.it/vidi-player.git/blobdiff_plain/81266999b597eeac96b846034444f4b240da72bb..7b9f8f4c6ed554ec3ec6e83e614ca9e9600ab913:/examples/ges-simple-player.py?ds=inline diff --git a/examples/ges-simple-player.py b/examples/ges-simple-player.py index bfcf330..c7946c0 100755 --- a/examples/ges-simple-player.py +++ b/examples/ges-simple-player.py @@ -38,7 +38,7 @@ def play_clip(video_path): timeline = GES.Timeline.new_audio_video() layer = timeline.append_layer() - video_uri = "file://" + video_path + video_uri = Gst.filename_to_uri(video_path) asset = GES.UriClipAsset.request_sync(video_uri) clip = layer.add_asset(asset, 0, 0, asset.get_duration(), GES.TrackType.UNKNOWN)