Commit 83d10ccf authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

Fixed the return value of STREAM_GET_CONTENT_TYPE in the rar stream_filter.

(cherry picked from commit 63fafad4ad2963880aa814ae35ec4f3f217e1f76)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a59e8a7b
......@@ -76,7 +76,7 @@ static int Control(stream_t *s, int query, va_list args)
case STREAM_GET_CONTENT_TYPE: {
char **mime = va_arg(args, char **);
*mime = strdup("audio/x-mpegurl");
return VLC_EGENERIC;
return VLC_SUCCESS;
}
default:
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