X-Git-Url: https://git.ao2.it/vidi-player.git/blobdiff_plain/81266999b597eeac96b846034444f4b240da72bb..f778b0ade9ac49e0deab3f694c7e4a0905388f1b:/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)