mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
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).
This commit is contained in:
parent
40bbfd958c
commit
c30aaaef6b
3 changed files with 10 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue