Commit 63fafad4 authored by Laurent Aimar's avatar Laurent Aimar

Fixed the return value of STREAM_GET_CONTENT_TYPE in the rar stream_filter.

parent e9bcb750
...@@ -76,7 +76,7 @@ static int Control(stream_t *s, int query, va_list args) ...@@ -76,7 +76,7 @@ static int Control(stream_t *s, int query, va_list args)
case STREAM_GET_CONTENT_TYPE: { case STREAM_GET_CONTENT_TYPE: {
char **mime = va_arg(args, char **); char **mime = va_arg(args, char **);
*mime = strdup("audio/x-mpegurl"); *mime = strdup("audio/x-mpegurl");
return VLC_EGENERIC; return VLC_SUCCESS;
} }
default: default:
return stream_vaControl(s->p_sys->payload, query, args); return stream_vaControl(s->p_sys->payload, query, args);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment