Commit 238349f8 authored by Laurent Aimar's avatar Laurent Aimar

Auto probe BDA tuner when using dvb://

parent ac5f92c8
...@@ -398,6 +398,18 @@ static int Open( vlc_object_t *p_this ) ...@@ -398,6 +398,18 @@ static int Open( vlc_object_t *p_this )
{ {
i_ret = dvb_SubmitATSCTuneRequest( p_access ); i_ret = dvb_SubmitATSCTuneRequest( p_access );
} }
if( !strcmp( p_access->psz_access, "dvb" ) )
{
/* Try to auto detect */
if( i_ret )
i_ret = dvb_SubmitDVBSTuneRequest( p_access );
if( i_ret )
i_ret = dvb_SubmitDVBCTuneRequest( p_access );
if( i_ret )
i_ret = dvb_SubmitDVBTTuneRequest( p_access );
if( i_ret )
i_ret = dvb_SubmitATSCTuneRequest( p_access );
}
if( !i_ret ) if( !i_ret )
p_access->psz_demux = strdup( "ts" ); p_access->psz_demux = strdup( "ts" );
......
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