mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 07:08:23 +00:00
gst/law/alaw-decode.c: put audio/x-alaw on pads, instead of audio/x-mulaw
Original commit message from CVS: * gst/law/alaw-decode.c : put audio/x-alaw on pads, instead of audio/x-mulaw * gst/law/alaw-encode.c : (idem)
This commit is contained in:
parent
e7e0499884
commit
ae45cd705a
3 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
||||||
2004-05-10 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
|
2004-05-10 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
|
||||||
|
|
||||||
* gst/law/alaw.c : alawdec should be registered with type ALAWDEC, not ALAWENC
|
* gst/law/alaw.c : alawdec should be registered with type ALAWDEC, not ALAWENC
|
||||||
|
* gst/law/alaw-decode.c : put audio/x-alaw on pads, instead of audio/x-mulaw
|
||||||
|
* gst/law/alaw-encode.c : (idem)
|
||||||
|
|
||||||
2004-05-09 Benjamin Otte <otte@gnome.org>
|
2004-05-09 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ alawdec_getcaps (GstPad * pad)
|
||||||
|
|
||||||
if (pad == alawdec->sinkpad) {
|
if (pad == alawdec->sinkpad) {
|
||||||
otherpad = alawdec->srcpad;
|
otherpad = alawdec->srcpad;
|
||||||
base_caps = gst_caps_new_simple ("audio/x-mulaw", NULL);
|
base_caps = gst_caps_new_simple ("audio/x-alaw", NULL);
|
||||||
} else {
|
} else {
|
||||||
otherpad = alawdec->sinkpad;
|
otherpad = alawdec->sinkpad;
|
||||||
base_caps = gst_caps_new_simple ("audio/x-raw-int",
|
base_caps = gst_caps_new_simple ("audio/x-raw-int",
|
||||||
|
@ -125,7 +125,7 @@ alawdec_link (GstPad * pad, const GstCaps * caps)
|
||||||
|
|
||||||
if (pad == alawdec->srcpad) {
|
if (pad == alawdec->srcpad) {
|
||||||
otherpad = alawdec->sinkpad;
|
otherpad = alawdec->sinkpad;
|
||||||
base_caps = gst_caps_new_simple ("audio/x-mulaw", NULL);
|
base_caps = gst_caps_new_simple ("audio/x-alaw", NULL);
|
||||||
} else {
|
} else {
|
||||||
otherpad = alawdec->srcpad;
|
otherpad = alawdec->srcpad;
|
||||||
base_caps = gst_caps_new_simple ("audio/x-raw-int",
|
base_caps = gst_caps_new_simple ("audio/x-raw-int",
|
||||||
|
|
|
@ -125,7 +125,7 @@ alawenc_getcaps (GstPad * pad)
|
||||||
|
|
||||||
if (pad == alawenc->srcpad) {
|
if (pad == alawenc->srcpad) {
|
||||||
otherpad = alawenc->sinkpad;
|
otherpad = alawenc->sinkpad;
|
||||||
base_caps = gst_caps_new_simple ("audio/x-mulaw", NULL);
|
base_caps = gst_caps_new_simple ("audio/x-alaw", NULL);
|
||||||
} else {
|
} else {
|
||||||
otherpad = alawenc->srcpad;
|
otherpad = alawenc->srcpad;
|
||||||
base_caps = gst_caps_new_simple ("audio/x-raw-int",
|
base_caps = gst_caps_new_simple ("audio/x-raw-int",
|
||||||
|
@ -168,7 +168,7 @@ alawenc_link (GstPad * pad, const GstCaps * caps)
|
||||||
|
|
||||||
if (pad == alawenc->sinkpad) {
|
if (pad == alawenc->sinkpad) {
|
||||||
otherpad = alawenc->srcpad;
|
otherpad = alawenc->srcpad;
|
||||||
base_caps = gst_caps_new_simple ("audio/x-mulaw", NULL);
|
base_caps = gst_caps_new_simple ("audio/x-alaw", NULL);
|
||||||
} else {
|
} else {
|
||||||
otherpad = alawenc->sinkpad;
|
otherpad = alawenc->sinkpad;
|
||||||
base_caps = gst_caps_new_simple ("audio/x-raw-int",
|
base_caps = gst_caps_new_simple ("audio/x-raw-int",
|
||||||
|
|
Loading…
Reference in a new issue