diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-12-02 11:43:30 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-12-02 11:43:30 +0000 |
| commit | b5d81255af4c93441b5b86386dde544e2fa15e05 (patch) | |
| tree | 3bb90ef3ad93026d87d5a72e8b8d0ac07f12dae9 /lib | |
| parent | e29a03a85f48e57b579505e8080e102a57bfa6b3 (diff) | |
| download | enigma2-b5d81255af4c93441b5b86386dde544e2fa15e05.tar.gz enigma2-b5d81255af4c93441b5b86386dde544e2fa15e05.zip | |
enable http automatic redirects (requires very recent neonhttpsrc). (mpeg-1 podcasts from podcastspot.com do work now.)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/service/servicemp3.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp index 3f6aa30f..22128aa2 100644 --- a/lib/service/servicemp3.cpp +++ b/lib/service/servicemp3.cpp @@ -140,7 +140,10 @@ eServiceMP3::eServiceMP3(const char *filename): m_filename(filename), m_pump(eAp if (!is_streaming) source = gst_element_factory_make ("filesrc", "file-source"); else + { source = gst_element_factory_make ("neonhttpsrc", "http-source"); + g_object_set (G_OBJECT (source), "automatic-redirect", TRUE, NULL); + } if (!source) eWarning("failed to create %s", is_streaming ? "neonhttpsrc" : "filesrc"); |
