Fatal error when trying to stream with ezstream 1.0.2 in MP3 format
Creating a stream in MP3 format using ezstream 1.0.2 and libshout 2.4.5 fails with following error:
$ ezstream -c test_mp3.conf
ezstream[420774]: stream: default: format: MP3: This libshout doesn't support the requested option
The issue here is that in _stream_cfg_stream an invalid usage value of 0 is passed to shout_set_content_format. This call was introduced in commit 8d882cac. Attached patch ezstream-1.0.2.patch resolves the error. Note that the other calls to shout_set_content_format for different formats may need to be changed too.
Test case configuration file: test_mp3.conf.