Commit 539dfc84 authored by Manol Manolov's avatar Manol Manolov Committed by Jean-Baptiste Kempf

Remove Wrong BDA shortcuts

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b8a09dfe
......@@ -293,11 +293,11 @@ vlc_module_begin ()
change_integer_list( i_hierarchy_list, ppsz_hierarchy_text, NULL )
set_capability( "access", 0 )
add_shortcut( "dvb", /* Generic name */
"dvb-s", "dvbs", "qpsk", "satellite", /* Satellite */
"dvb-c", "dvbc", "qam", "cable", /* Cable */
"dvbt", "dvb-t", "ofdm", "terrestrial", /* Terrestrial */
"atsc", "usdigital" ) /* Atsc */
add_shortcut( "dvb", /* Generic name */
"dvb-s", "dvbs", /* Satellite */
"dvb-c", "dvbc", /* Cable */
"dvb-t", "dvbt", /* Terrestrial */
"atsc" ) /* Atsc */
set_callbacks( Open, Close )
vlc_module_end ()
......@@ -368,29 +368,22 @@ static int Open( vlc_object_t *p_this )
i_ret = VLC_EGENERIC;
if( strncmp( p_access->psz_access, "qpsk", 4 ) == 0 ||
strncmp( p_access->psz_access, "dvb-s", 5 ) == 0 ||
strncmp( p_access->psz_access, "dvbs", 4 ) == 0 ||
strncmp( p_access->psz_access, "satellite", 9 ) == 0 )
if( strncmp( p_access->psz_access, "dvb-s", 5 ) == 0 ||
strncmp( p_access->psz_access, "dvbs", 4 ) == 0 )
{
i_ret = dvb_SubmitDVBSTuneRequest( p_access );
}
if( strncmp( p_access->psz_access, "cable", 5 ) == 0 ||
strncmp( p_access->psz_access, "dvb-c", 5 ) == 0 ||
strncmp( p_access->psz_access, "dvbc", 4 ) == 0 ||
strncmp( p_access->psz_access, "qam", 3 ) == 0 )
if( strncmp( p_access->psz_access, "dvb-c", 5 ) == 0 ||
strncmp( p_access->psz_access, "dvbc", 4 ) == 0 )
{
i_ret = dvb_SubmitDVBCTuneRequest( p_access );
}
if( strncmp( p_access->psz_access, "terrestrial", 11 ) == 0 ||
strncmp( p_access->psz_access, "dvb-t", 5 ) == 0 ||
strncmp( p_access->psz_access, "ofdm", 4 ) == 0 ||
if( strncmp( p_access->psz_access, "dvb-t", 5 ) == 0 ||
strncmp( p_access->psz_access, "dvbt", 4 ) == 0 )
{
i_ret = dvb_SubmitDVBTTuneRequest( p_access );
}
if( strncmp( p_access->psz_access, "usdigital", 9 ) == 0 ||
strncmp( p_access->psz_access, "atsc", 4 ) == 0 )
if( strncmp( p_access->psz_access, "atsc", 4 ) == 0 )
{
i_ret = dvb_SubmitATSCTuneRequest( p_access );
}
......
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