Commit 9bfcae27 authored by Christophe Massiot's avatar Christophe Massiot

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

parent 1d111d75
......@@ -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