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

Rémi Denis-Courmont remi at remlab.net
Tue Oct 13 21:58:41 CEST 2009


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?

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list