Merge pull request #1030 from whatdoineed2do/streaming-drop-client-no-libav-support

[streaming] bug fix - drop client connections if libav has not mp3 encode
This commit is contained in:
ejurgensen 2020-06-11 16:20:44 +02:00 committed by GitHub
commit 064d0de924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}