summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-03-29 10:10:12 +0200
committerBastien Nocera <hadess@hadess.net>2022-03-29 10:14:45 +0200
commit3670175883a3d4d7810e1898684ae5cabe283b60 (patch)
tree0f2f7a66be869ca38c7e9e95b9c5de604ae80c86 /src
parentf0bcd3c6c31ca370a4d7b9e6f055f48942b982ef (diff)
downloadtotem-3670175883a3d4d7810e1898684ae5cabe283b60.tar.gz
main: Fix warning on exit if playbin plugin is missing
** (totem:401687): CRITICAL **: 10:03:02.478: bacon_video_widget_close: assertion 'GST_IS_ELEMENT (bvw->play)' failed (gdb) bt #0 0x00007ffff7de2df1 in g_logv () at /lib64/libglib-2.0.so.0 #1 0x00007ffff7de3073 in g_log () at /lib64/libglib-2.0.so.0 #2 0x00007ffff7f7b381 in totem_object_exit (totem=totem@entry=0x44f670) at ../../../../Projects/jhbuild/totem/src/totem-object.c:1405
Diffstat (limited to 'src')
-rw-r--r--src/totem-object.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/totem-object.c b/src/totem-object.c
index 45f2b9739..bd9ecc6d1 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -1401,9 +1401,6 @@ totem_object_exit (TotemObject *totem)
setup_save_timeout_cb (totem, FALSE);
totem_session_cleanup (totem);
- if (totem->bvw)
- bacon_video_widget_close (totem->bvw);
-
totem_object_save_state (totem);
totem_destroy_file_filters ();