summaryrefslogtreecommitdiffstats
path: root/gst/law
diff options
context:
space:
mode:
Diffstat (limited to 'gst/law')
-rw-r--r--gst/law/alaw-decode.c1
-rw-r--r--gst/law/mulaw-decode.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/gst/law/alaw-decode.c b/gst/law/alaw-decode.c
index 47c684f8..12c57135 100644
--- a/gst/law/alaw-decode.c
+++ b/gst/law/alaw-decode.c
@@ -87,6 +87,7 @@ alawdec_getcaps (GstPad * pad)
otherpad = alawdec->sinkpad;
base_caps = gst_caps_new_simple ("audio/x-raw-int",
"width", G_TYPE_INT, 16, "depth", G_TYPE_INT, 16,
+ "signed", G_TYPE_BOOLEAN, TRUE,
"endianness", G_TYPE_INT, G_BYTE_ORDER, NULL);
}
othercaps = gst_pad_get_allowed_caps (otherpad);
diff --git a/gst/law/mulaw-decode.c b/gst/law/mulaw-decode.c
index 46d02730..af957ec5 100644
--- a/gst/law/mulaw-decode.c
+++ b/gst/law/mulaw-decode.c
@@ -64,6 +64,7 @@ mulawdec_getcaps (GstPad * pad)
otherpad = mulawdec->sinkpad;
base_caps = gst_caps_new_simple ("audio/x-raw-int",
"width", G_TYPE_INT, 16, "depth", G_TYPE_INT, 16,
+ "signed", G_TYPE_BOOLEAN, TRUE,
"endianness", G_TYPE_INT, G_BYTE_ORDER, NULL);
}
othercaps = gst_pad_get_allowed_caps (otherpad);