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:
2d0d9ad
)
force channels to 2, should/could fix mono mp3
author
Felix Domke
<tmbinc@elitedvb.net>
Wed, 29 Nov 2006 22:04:23 +0000
(22:04 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Wed, 29 Nov 2006 22:04:23 +0000
(22:04 +0000)
lib/service/servicemp3.cpp
patch
|
blob
|
history
diff --git
a/lib/service/servicemp3.cpp
b/lib/service/servicemp3.cpp
index c415742eda6743bdfaf611b68232fc85b6a8d737..e78984166c15f59d9af1c12581e8315b117d149d 100644
(file)
--- a/
lib/service/servicemp3.cpp
+++ b/
lib/service/servicemp3.cpp
@@
-153,7
+153,7
@@
eServiceMP3::eServiceMP3(const char *filename): m_filename(filename), m_pump(eAp
/* endianness, however, is not required to be set anymore. */
if (flt)
{
/* endianness, however, is not required to be set anymore. */
if (flt)
{
- GstCaps *caps = gst_caps_new_simple("audio/x-raw-int", /* "endianness", G_TYPE_INT, 4321, */ "depth", G_TYPE_INT, 16, "width", G_TYPE_INT, 16, (char*)0);
+ GstCaps *caps = gst_caps_new_simple("audio/x-raw-int", /* "endianness", G_TYPE_INT, 4321, */ "depth", G_TYPE_INT, 16, "width", G_TYPE_INT, 16,
"channels", G_TYPE_INT, 2,
(char*)0);
g_object_set (G_OBJECT (flt), "caps", caps, (char*)0);
gst_caps_unref(caps);
}
g_object_set (G_OBJECT (flt), "caps", caps, (char*)0);
gst_caps_unref(caps);
}