diff options
-rw-r--r-- | src/input/librtsp/rtsp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/librtsp/rtsp.c b/src/input/librtsp/rtsp.c index 0e65d97d7..c0570b966 100644 --- a/src/input/librtsp/rtsp.c +++ b/src/input/librtsp/rtsp.c @@ -162,6 +162,9 @@ static int rtsp_get_code(rtsp_t *s, const char *string) { if(code != 200) xprintf(s->stream->xine, XINE_VERBOSITY_DEBUG, "librtsp: server responds: '%s'\n", string); + if (code == 401) + _x_message(s->stream, XINE_MSG_AUTHENTICATION_NEEDED, + s->mrl, NULL, NULL); return code; } |