winegstreamer: Avoid a FALSE:TRUE conditional expression.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-03-02 11:17:14 +01:00 committed by Alexandre Julliard
parent 2ddcd97bb1
commit 8cbb680b44

View file

@ -844,8 +844,8 @@ static HRESULT WINAPI Gstreamer_AudioConvert_SetMediaType(TransformFilter *tf, P
if (inisfloat) if (inisfloat)
format = inwfe->wBitsPerSample == 64 ? GST_AUDIO_FORMAT_F64LE : GST_AUDIO_FORMAT_F32LE; format = inwfe->wBitsPerSample == 64 ? GST_AUDIO_FORMAT_F64LE : GST_AUDIO_FORMAT_F32LE;
else else
format = gst_audio_format_build_integer(inwfe->wBitsPerSample == 8 ? FALSE : TRUE, format = gst_audio_format_build_integer(inwfe->wBitsPerSample != 8, G_LITTLE_ENDIAN,
G_LITTLE_ENDIAN, inwfe->wBitsPerSample, indepth); inwfe->wBitsPerSample, indepth);
capsin = gst_caps_new_simple("audio/x-raw", capsin = gst_caps_new_simple("audio/x-raw",
"format", G_TYPE_STRING, gst_audio_format_to_string(format), "format", G_TYPE_STRING, gst_audio_format_to_string(format),