mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
pulse: Don't compare values of two different enum types
This commit is contained in:
parent
2ac1f1c7ee
commit
ef8d113a73
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ gst_pulse_channel_map_to_gst (const pa_channel_map * map,
|
||||||
if (map->map[i] == PA_CHANNEL_POSITION_INVALID) {
|
if (map->map[i] == PA_CHANNEL_POSITION_INVALID) {
|
||||||
invalid = TRUE;
|
invalid = TRUE;
|
||||||
break;
|
break;
|
||||||
} else if (map->map[i] < GST_AUDIO_CHANNEL_POSITION_NUM) {
|
} else if ((int) map->map[i] < (int) GST_AUDIO_CHANNEL_POSITION_NUM) {
|
||||||
pos[i] = pa_to_gst_pos[map->map[i] + 1];
|
pos[i] = pa_to_gst_pos[map->map[i] + 1];
|
||||||
} else {
|
} else {
|
||||||
invalid = TRUE;
|
invalid = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue