session: keep format with max number of channels

This commit is contained in:
Wim Taymans 2019-08-06 12:35:42 +02:00
parent f29d098074
commit acdfed0d04

View file

@ -332,6 +332,7 @@ static void node_event_param(void *object, int seq,
if (spa_format_audio_raw_parse(param, &info) < 0)
goto error;
if (n->format.channels < info.channels)
n->format = info;
return;