gst/real/gstrealvideodec.c: Add some debug for where we are searching for libraries.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 13 May 2008 16:16:35 +0000 (16:16 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 13 May 2008 16:16:35 +0000 (16:16 +0000)
Original commit message from CVS:
* gst/real/gstrealvideodec.c: (open_library):
Add some debug for where we are searching for libraries.

ChangeLog
gst/real/gstrealvideodec.c

index 1a5fe62..b69e351 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-05-13  Wim Taymans  <wim.taymans@collabora.co.uk>
 
+       * gst/real/gstrealvideodec.c: (open_library):
+       Add some debug for where we are searching for libraries.
+
+2008-05-13  Wim Taymans  <wim.taymans@collabora.co.uk>
+
        * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_class_init):
        Actually add the do-lost property to the object.
 
index be6292f..3c471f5 100644 (file)
@@ -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) &&