Commit 91996cce authored by Felix Paul Kühne's avatar Felix Paul Kühne

* don't try to open real streams, but quit before triggering any errors....

* don't try to open real streams, but quit before triggering any errors. thanks to thedj for pointing this out.
parent eb04ab94
......@@ -403,6 +403,13 @@ static int Open ( vlc_object_t *p_this )
else
bInit = sub->initiate();
if( strcasestr( sub->codecName(), "REAL" ) )
{
msg_Info( p_demux, "real codec detected, using real-RTSP instead" );
delete iter;
goto error;
}
if( !bInit )
{
msg_Warn( p_demux, "RTP subsession '%s/%s' failed (%s)",
......@@ -440,8 +447,7 @@ static int Open ( vlc_object_t *p_this )
/* The PLAY */
if( !p_sys->rtsp->playMediaSession( *p_sys->ms ) )
{
//msg_Err( p_demux, "PLAY failed %s", p_sys->env->getResultMsg() );
msg_Warn( p_demux, "RTSP-stream doesn't have any timing info" );
msg_Err( p_demux, "PLAY failed %s", p_sys->env->getResultMsg() );
delete iter;
goto error;
}
......
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