git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fe561a
)
don't crash when no libneonhttpsrc installed
author
Felix Domke
<tmbinc@elitedvb.net>
Sat, 17 Mar 2007 14:23:11 +0000
(14:23 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sat, 17 Mar 2007 14:23:11 +0000
(14:23 +0000)
lib/service/servicemp3.cpp
patch
|
blob
|
history
diff --git
a/lib/service/servicemp3.cpp
b/lib/service/servicemp3.cpp
index bedc3707b5273d26c10c442dc0e5922276ae89ad..f16b167ed54b29eaff0982ada249b7f893138fe8 100644
(file)
--- a/
lib/service/servicemp3.cpp
+++ b/
lib/service/servicemp3.cpp
@@
-142,7
+142,8
@@
eServiceMP3::eServiceMP3(const char *filename): m_filename(filename), m_pump(eAp
else
{
source = gst_element_factory_make ("neonhttpsrc", "http-source");
- g_object_set (G_OBJECT (source), "automatic-redirect", TRUE, NULL);
+ if (source)
+ g_object_set (G_OBJECT (source), "automatic-redirect", TRUE, NULL);
}
if (!source)