mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
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:
parent
2ddcd97bb1
commit
8cbb680b44
1 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue