Commit ce2aea66 authored by massiot's avatar massiot

* dvblast.c: Also move warnings outside of the getopt loop.


git-svn-id: svn://svn.videolan.org/dvblast/trunk@11 55d3f8b6-4a41-4d2d-a900-313d1436a5b8
parent 91354488
......@@ -301,8 +301,6 @@ int main( int i_argc, char **pp_argv )
case 'U':
b_output_udp = 1;
msg_Warn( NULL, "raw UDP output is deprecated. Please consider using RTP." );
msg_Warn( NULL, "for DVB-IP compliance you should use RTP." );
break;
case 'd':
......@@ -327,6 +325,12 @@ int main( int i_argc, char **pp_argv )
}
}
if ( b_output_udp )
{
msg_Warn( NULL, "raw UDP output is deprecated. Please consider using RTP." );
msg_Warn( NULL, "for DVB-IP compliance you should use RTP." );
}
signal( SIGHUP, SigHandler );
srand( time(NULL) * getpid() );
......
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