[vlc-devel] commit: Accelerated dvb loading time by exporting the demuxer type. ( Laurent Aimar )

Laurent Aimar fenrir at via.ecp.fr
Tue Oct 13 22:03:59 CEST 2009


On Tue, Oct 13, 2009, Rémi Denis-Courmont wrote:
> git version control wrote:
>> vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Oct  9 
>> 20:44:19 2009 +0200| [94553652cb319deede2f04f2109ec287a2262fa8] | 
>> committer: Laurent Aimar 
>>
>> Accelerated dvb loading time by exporting the demuxer type.
>>
>>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=94553652cb319deede2f04f2109ec287a2262fa8
>> ---
>>
>>  modules/access/dvb/access.c |    2 ++
>>  1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/modules/access/dvb/access.c b/modules/access/dvb/access.c
>> index 65ded2b..f88d27f 100644
>> --- a/modules/access/dvb/access.c
>> +++ b/modules/access/dvb/access.c
>> @@ -421,6 +421,8 @@ static int Open( vlc_object_t *p_this )
>>      else
>>          p_sys->i_read_once = DVB_READ_ONCE_START;
>>  +    free( p_access->psz_demux );
>> +    p_access->psz_demux = strdup( "ts" );
>>      return VLC_SUCCESS;
>>  }
>
> Doesn't that break demuxdump? Should psz_demux not be not overriden if  
> it's set?
 The core takes care of that (src/input/input.c:2558).

-- 
fenrir



More information about the vlc-devel mailing list