Skip to content
Snippets Groups Projects
Commit 257e154e authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #14217: gnome: clean up video handle if we could not run the renderer

This avoids dead windows hanging around.
parent 678e3bd8
No related branches found
No related tags found
No related merge requests found
......@@ -185,6 +185,7 @@ void started_decoding_video_cb(DBusGProxy *proxy UNUSED,
if (!video_renderer_run(renderer)) {
g_object_unref(renderer);
ERROR("Could not run video renderer");
g_hash_table_remove(video_handles, id);
return;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment