Module: wine Branch: master Commit: 6ea86fae5585e8d0d81d3157c908d752700c58c3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6ea86fae5585e8d0d81d3157c9...
Author: Akihiro Sagawa sagawa.aki@gmail.com Date: Sun Jun 12 21:07:50 2016 +0900
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
---
dlls/winegstreamer/gsttffilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winegstreamer/gsttffilter.c b/dlls/winegstreamer/gsttffilter.c index cc544d0..401a92f 100644 --- a/dlls/winegstreamer/gsttffilter.c +++ b/dlls/winegstreamer/gsttffilter.c @@ -583,7 +583,7 @@ static HRESULT WINAPI Gstreamer_Mp3_SetMediaType(TransformFilter *tf, PIN_DIRECT "channels", G_TYPE_INT, wfx->nChannels, NULL); capsout = gst_caps_new_simple("audio/x-raw", - "format", G_TYPE_STRING, "S16LE" + "format", G_TYPE_STRING, "S16LE", "rate", G_TYPE_INT, wfx->nSamplesPerSec, "channels", G_TYPE_INT, wfx->nChannels, NULL);