summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-12-01 15:18:35 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-12-01 15:18:35 +0000
commitc30aaaef6bd0ce15caec5c3e1462759d8b33b423 (patch)
tree25af3b83c1c0299a5e9f8d7679a80e140bb900d4
parent40bbfd958c2120f7faa91bd4f0f15d0639740ed0 (diff)
gst/law/: Prevent warnings when negotiating caps (fixes #159338).
Original commit message from CVS: Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst/law/alaw-decode.c: (alawdec_getcaps): * gst/law/mulaw-decode.c: (mulawdec_getcaps): Prevent warnings when negotiating caps (fixes #159338).
-rw-r--r--ChangeLog8
-rw-r--r--gst/law/alaw-decode.c1
-rw-r--r--gst/law/mulaw-decode.c1
3 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index df22a5b3..0e3081bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-12-01 Sebastien Cote <sc5@hermes.usherb.ca>
+
+ Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
+ * gst/law/alaw-decode.c: (alawdec_getcaps):
+ * gst/law/mulaw-decode.c: (mulawdec_getcaps):
+ Prevent warnings when negotiating caps (fixes #159338).
+
2004-12-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
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);