[gthumb/gthumb-3-2] gthumb crashes when attempting to play a video



commit 076323629d1976df4ab7766f52bd0d19aae5d1f7
Author: Christian Krause <chkr plauener de>
Date:   Tue Aug 20 09:39:46 2013 +0200

    gthumb crashes when attempting to play a video
    
    Gthumb crashes when attempting to play a video under special
    circumstances.
    
    How to reproduce:
    - start gthumb in a terminal
    - disable all extensions besides "Audio/Video support" (especially "Burn
    CD/DVD" must be turned off)
    - restart gthumb as requested
    - navigate to a directory containing a video
    - click on a video
    
    Current result:
    - gthumb is closed with the following error message:
    
    gthumb: symbol lookup error:
    /usr/lib64/gthumb/extensions/libgstreamer_tools.so: undefined symbol:
    gst_is_video_overlay_prepare_window_handle_message
    
    Comments:
    - with the port to gstreamer-1.0, the offending function call was
    introduced
    - however, that function is provided by libgstvideo-1.0.so which is not
    linked
    to the gstreamer_tools extension
    
    - that it works for some people and but not for others is caused by a
    different
    selection of enabled extensions: once "Burn CD/DVD" is enabled, it
    suddenly
    starts to work because that extension is linked against
    libbrasero-burn3.so
    which is linked against libgstvideo-1.0.so
    
    - the correct solution seems to link libgstvideo-1.0.so to
    libgstreamer_tools.so
    
    [bug #706343]

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 62e42a7..7f48c84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -216,7 +216,8 @@ AC_ARG_ENABLE([gstreamer],
 if test x$enable_gstreamer = xyes ; then
        PKG_CHECK_MODULES(GSTREAMER,
                          [gstreamer-1.0 >= $GSTREAMER_REQUIRED
-                          gstreamer-plugins-base-1.0 >= $GSTREAMER_REQUIRED],
+                          gstreamer-plugins-base-1.0 >= $GSTREAMER_REQUIRED
+                          gstreamer-video-1.0 >= $GSTREAMER_REQUIRED],
                          [AC_DEFINE(HAVE_GSTREAMER, 1, [Have gstreamer])
                           enable_gstreamer=yes],
                          [enable_gstreamer=no])


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