[streaming] drop client mp3 streaming connections if libav has mp3 encode

This commit is contained in:
whatdoineed2do/Ray 2020-06-11 13:08:13 +01:00
parent 9af258a50f
commit dd2ee019a8

View File

@ -222,6 +222,7 @@ streaming_meta_cb(evutil_socket_t fd, short event, void *arg)
{
DPRINTF(E_LOG, L_STREAMING, "Will not be able to stream MP3, libav does not support MP3 encoding: %d/%d/%d @ %d\n", streaming_quality_out.sample_rate, streaming_quality_out.bits_per_sample, streaming_quality_out.channels, streaming_quality_out.bit_rate);
streaming_not_supported = 1;
streaming_end();
return;
}