mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
remuxer.py: do not crash when clicking open without having selected a file
https://bugzilla.gnome.org/show_bug.cgi?id=639421
This commit is contained in:
parent
bbeaad89bd
commit
3e3795068e
1 changed files with 1 additions and 1 deletions
|
@ -722,7 +722,7 @@ class PlayerWindow(gtk.Window):
|
|||
uri = chooser.get_uri()
|
||||
chooser.destroy()
|
||||
|
||||
if resp == SUCCESS:
|
||||
if resp == SUCCESS and uri != None:
|
||||
self.load_file(uri)
|
||||
return True
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue