Compare against the translated message text to determine whether a typefind failed. Fixes radio playlists in non-english languages. Fixes issue 3394
This commit is contained in:
parent
efd42349e7
commit
41f89904b6
|
@ -583,7 +583,8 @@ void SongLoader::ErrorMessageReceived(GstMessage* msg) {
|
|||
free(debugs);
|
||||
|
||||
if (state_ == WaitingForType &&
|
||||
message_str == "Could not determine type of stream.") {
|
||||
message_str == gst_error_get_message(
|
||||
GST_STREAM_ERROR, GST_STREAM_ERROR_TYPE_NOT_FOUND)) {
|
||||
// Don't give up - assume it's a playlist and see if one of our parsers can
|
||||
// read it.
|
||||
state_ = WaitingForMagic;
|
||||
|
|
Loading…
Reference in New Issue