shout2: Add compatibility for libshout >= 2.4.2
authorTobias Reineke <tobi@g3th.net>
Thu, 18 Nov 2021 16:27:17 +0000 (16:27 +0000)
committerNirbheek Chauhan <nirbheek@centricular.com>
Thu, 18 Nov 2021 22:53:35 +0000 (04:23 +0530)
commit9e2f679ae1ddd0f84dd61d892999d8ce66d93c41
tree4e067cf276d75ed46306da0c2c1d9acdddb9f4d1
parent92f8b54657d98db77e4851872c15287c6ca41848
shout2: Add compatibility for libshout >= 2.4.2

In libshout >=2.4.2 shout_open() can return SHOUTERR_RETRY in addition
to SHOUTERR_BUSY.

The nonblocking example in libshout fixes the problem in a similar
way, as mentioned by the author in this issue:
https://gitlab.xiph.org/xiph/icecast-libshout/-/issues/2316

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/848

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1363>
subprojects/gst-plugins-good/ext/shout2/gstshout2.c