X-Git-Url: https://git.ao2.it/vidi-player.git/blobdiff_plain/81266999b597eeac96b846034444f4b240da72bb..6220aaf5bd9b66422ccacf165f54d5b20c79cb22:/examples/ges-simple-player.py 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)