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.
This commit is contained in:
Wim Taymans 2008-05-13 16:16:35 +00:00
parent bb04b24eb2
commit 03271f091a
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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):

View 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) &&