summaryrefslogtreecommitdiffstats
path: root/ext/resindvd/rsnaudiomunge.c
diff options
context:
space:
mode:
authorDave Robillard <dave@drobilla.net>2009-05-31 19:26:30 -0400
committerDave Robillard <dave@drobilla.net>2009-05-31 19:26:30 -0400
commitaf14cf34e69e46bfd6544a420b3fdd7e131aa69a (patch)
tree2bd39ab6ab67995d6e4c69a3e6c6eae2a17f350e /ext/resindvd/rsnaudiomunge.c
parentbd9a3cbd254714bf71cd87c31d4e5b77f6a96cba (diff)
parentb19dd5920605c0036dacf19591a6feca7a736a50 (diff)
downloadgst-plugins-bad-af14cf34e69e46bfd6544a420b3fdd7e131aa69a.tar.gz
gst-plugins-bad-af14cf34e69e46bfd6544a420b3fdd7e131aa69a.tar.bz2
gst-plugins-bad-af14cf34e69e46bfd6544a420b3fdd7e131aa69a.zip
Merge branch 'fdo' into lv2
Diffstat (limited to 'ext/resindvd/rsnaudiomunge.c')
-rw-r--r--ext/resindvd/rsnaudiomunge.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/resindvd/rsnaudiomunge.c b/ext/resindvd/rsnaudiomunge.c
index 50d33be7..fda2a96b 100644
--- a/ext/resindvd/rsnaudiomunge.c
+++ b/ext/resindvd/rsnaudiomunge.c
@@ -200,10 +200,13 @@ rsn_audiomunge_make_audio (RsnAudioMunge * munge,
guint buf_size;
/* Just generate a 48khz stereo buffer for now */
+ /* FIXME: Adapt to the allowed formats, according to the currently
+ * plugged decoder, or at least add a source pad that accepts the
+ * caps we're outputting if the upstream decoder does not */
#if 0
caps =
gst_caps_from_string
- ("audio/x-raw-int,rate=48000,channels=2,width=16,depth=16,signed=(boolean)true,endianness=1234");
+ ("audio/x-raw-int,rate=48000,channels=2,width=16,depth=16,signed=(boolean)true,endianness=4321");
buf_size = 4 * (48000 * fill_time / GST_SECOND);
#else
caps = gst_caps_from_string ("audio/x-raw-float, endianness=(int)1234,"