winegstreamer: Fix a crash in Gstreamer_Mp3_SetMediaType().
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6032480124
commit
6ea86fae55
|
@ -583,7 +583,7 @@ static HRESULT WINAPI Gstreamer_Mp3_SetMediaType(TransformFilter *tf, PIN_DIRECT
|
||||||
"channels", G_TYPE_INT, wfx->nChannels,
|
"channels", G_TYPE_INT, wfx->nChannels,
|
||||||
NULL);
|
NULL);
|
||||||
capsout = gst_caps_new_simple("audio/x-raw",
|
capsout = gst_caps_new_simple("audio/x-raw",
|
||||||
"format", G_TYPE_STRING, "S16LE"
|
"format", G_TYPE_STRING, "S16LE",
|
||||||
"rate", G_TYPE_INT, wfx->nSamplesPerSec,
|
"rate", G_TYPE_INT, wfx->nSamplesPerSec,
|
||||||
"channels", G_TYPE_INT, wfx->nChannels,
|
"channels", G_TYPE_INT, wfx->nChannels,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
Loading…
Reference in New Issue