From 03271f091aca8885e1e5e4c6c550f8f8e9db63ec Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 13 May 2008 16:16:35 +0000 Subject: gst/real/gstrealvideodec.c: Add some debug for where we are searching for libraries. Original commit message from CVS: * gst/real/gstrealvideodec.c: (open_library): Add some debug for where we are searching for libraries. --- ChangeLog | 5 +++++ gst/real/gstrealvideodec.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1a5fe62a6..b69e351b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-13 Wim Taymans + + * gst/real/gstrealvideodec.c: (open_library): + Add some debug for where we are searching for libraries. + 2008-05-13 Wim Taymans * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_class_init): diff --git a/gst/real/gstrealvideodec.c b/gst/real/gstrealvideodec.c index be6292f13..3c471f5d9 100644 --- a/gst/real/gstrealvideodec.c +++ b/gst/real/gstrealvideodec.c @@ -432,6 +432,7 @@ open_library (GstRealVideoDec * dec, GstRealVideoDecHooks * hooks, for (j = 0; split_names[j]; j++) { gchar *codec = g_strconcat (split_path[i], "/", split_names[j], NULL); + GST_DEBUG_OBJECT (dec, "trying %s", codec); module = g_module_open (codec, G_MODULE_BIND_LAZY); g_free (codec); if (module) @@ -446,6 +447,8 @@ codec_search_done: if (module == NULL) goto could_not_open; + GST_DEBUG_OBJECT (dec, "module opened, finding symbols"); + /* First try opening legacy symbols, if that fails try loading new symbols */ if (g_module_symbol (module, "RV20toYUV420Init", &rv_init) && g_module_symbol (module, "RV20toYUV420Free", &rv_free) && -- cgit v1.2.1