summaryrefslogtreecommitdiffstats
path: root/gst/law
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-02-24 23:44:48 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-02-24 23:44:48 +0000
commit6c552d42176e9b58a83106f2e992dcc40a7f6785 (patch)
tree2319cfe16f19c592e8c3440bf95bf37748f8bd56 /gst/law
parent5f6624172badf15cf8f5c0c26d71d536292871de (diff)
fix mulawdec
Original commit message from CVS: fix mulawdec
Diffstat (limited to 'gst/law')
-rw-r--r--gst/law/mulaw-decode.c2
-rw-r--r--gst/law/mulaw.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/law/mulaw-decode.c b/gst/law/mulaw-decode.c
index d04a6ed4..fcf023c1 100644
--- a/gst/law/mulaw-decode.c
+++ b/gst/law/mulaw-decode.c
@@ -73,7 +73,7 @@ mulawdec_link (GstPad *pad, const GstCaps *caps)
ret = gst_structure_get_int (structure, "channels", &channels);
if (!ret) return GST_PAD_LINK_REFUSED;
- tempcaps = gst_caps_new_simple ("audio/x-mulaw",
+ tempcaps = gst_caps_new_simple ("audio/x-raw-int",
"depth", G_TYPE_INT, 16,
"width", G_TYPE_INT, 16,
"signed", G_TYPE_BOOLEAN, TRUE,
diff --git a/gst/law/mulaw.c b/gst/law/mulaw.c
index 2aae63cd..632aa03f 100644
--- a/gst/law/mulaw.c
+++ b/gst/law/mulaw.c
@@ -50,7 +50,7 @@ plugin_init (GstPlugin *plugin)
if (!gst_element_register (plugin, "mulawenc",
GST_RANK_NONE, GST_TYPE_MULAWENC) ||
!gst_element_register (plugin, "mulawdec",
- GST_RANK_PRIMARY, GST_TYPE_MULAWENC))
+ GST_RANK_PRIMARY, GST_TYPE_MULAWDEC))
return FALSE;
return TRUE;