Commit 6ea86fae authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

winegstreamer: Fix a crash in Gstreamer_Mp3_SetMediaType().

parent 60324801
...@@ -583,7 +583,7 @@ static HRESULT WINAPI Gstreamer_Mp3_SetMediaType(TransformFilter *tf, PIN_DIRECT ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment