[totem/wip/hadess/missing-plugins-check: 5/6] main: Fix warning on exit if playbin plugin is missing




commit 3670175883a3d4d7810e1898684ae5cabe283b60
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Mar 29 10:10:12 2022 +0200

    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

 src/totem-object.c | 3 ---
 1 file changed, 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 ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]