mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
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:
parent
bb04b24eb2
commit
03271f091a
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
2008-05-13 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_class_init):
|
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_class_init):
|
||||||
|
|
|
@ -432,6 +432,7 @@ open_library (GstRealVideoDec * dec, GstRealVideoDecHooks * hooks,
|
||||||
for (j = 0; split_names[j]; j++) {
|
for (j = 0; split_names[j]; j++) {
|
||||||
gchar *codec = g_strconcat (split_path[i], "/", split_names[j], NULL);
|
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);
|
module = g_module_open (codec, G_MODULE_BIND_LAZY);
|
||||||
g_free (codec);
|
g_free (codec);
|
||||||
if (module)
|
if (module)
|
||||||
|
@ -446,6 +447,8 @@ codec_search_done:
|
||||||
if (module == NULL)
|
if (module == NULL)
|
||||||
goto could_not_open;
|
goto could_not_open;
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT (dec, "module opened, finding symbols");
|
||||||
|
|
||||||
/* First try opening legacy symbols, if that fails try loading new symbols */
|
/* First try opening legacy symbols, if that fails try loading new symbols */
|
||||||
if (g_module_symbol (module, "RV20toYUV420Init", &rv_init) &&
|
if (g_module_symbol (module, "RV20toYUV420Init", &rv_init) &&
|
||||||
g_module_symbol (module, "RV20toYUV420Free", &rv_free) &&
|
g_module_symbol (module, "RV20toYUV420Free", &rv_free) &&
|
||||||
|
|
Loading…
Reference in a new issue