Commit 257e154e authored by Tristan Matthews's avatar Tristan Matthews

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

This avoids dead windows hanging around.
parent 678e3bd8
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment