diff options
author | Jan Schmidt <thaytan@noraisin.net> | 2009-10-14 11:06:46 +0100 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-10-15 22:35:40 +0100 |
commit | cb2d8b984dc18f1a9c2876d54a057f3590e1f292 (patch) | |
tree | d260d60302e353d685b5321fa469ff4901d258c8 /ext/resindvd/rsndec.c | |
parent | 9be156c0d202d8133439b23a9afa6d097fa105dc (diff) | |
download | gstreamer-plugins-bad-cb2d8b984dc18f1a9c2876d54a057f3590e1f292.tar.gz |
resindvd: Fix decoder pad template to allow LPCM
The pad template in the new switching decoder is too restrictive,
preventing the LPCM decoder from being selected.
https://bugzilla.gnome.org/show_bug.cgi?id=575568
Diffstat (limited to 'ext/resindvd/rsndec.c')
-rw-r--r-- | ext/resindvd/rsndec.c | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/ext/resindvd/rsndec.c b/ext/resindvd/rsndec.c index 44a6bf88f..3abc0065c 100644 --- a/ext/resindvd/rsndec.c +++ b/ext/resindvd/rsndec.c @@ -357,29 +357,9 @@ static GstStaticPadTemplate audio_src_template = GST_STATIC_PAD_TEMPLATE ("src", "audio/x-raw-int, " "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, MAX ], " - "endianness = (int) BYTE_ORDER, " - "width = (int) 32, " - "depth = (int) 32, " - "signed = (boolean) true; " - "audio/x-raw-int, " - "rate = (int) [ 1, MAX ], " - "channels = (int) [ 1, MAX ], " - "endianness = (int) BYTE_ORDER, " - "width = (int) 24, " - "depth = (int) 24, " - "signed = (boolean) true; " - "audio/x-raw-int, " - "rate = (int) [ 1, MAX ], " - "channels = (int) [ 1, MAX ], " - "endianness = (int) BYTE_ORDER, " - "width = (int) 16, " - "depth = (int) 16, " - "signed = (boolean) true; " - "audio/x-raw-int, " - "rate = (int) [ 1, MAX ], " - "channels = (int) [ 1, MAX ], " - "endianness = (int) BYTE_ORDER, " - "width = (int) 8, " "depth = (int) 8, " "signed = (boolean) true") + "endianness = (int) { 1234, 4321 }," + "width = (int) [ 1, 32 ], " + "depth = (int) [ 1, 32 ], " "signed = (boolean) { false, true }") ); G_DEFINE_TYPE (RsnAudioDec, rsn_audiodec, RSN_TYPE_DEC); |