[vlc-devel] [PATCH] Modified MP4 demuxer so that it respects the enable flag of each track
Laurent Aimar
fenrir at via.ecp.fr
Fri Jul 18 20:15:27 CEST 2008
Hi,
On Fri, Jul 18, 2008, Phillip Napieralski wrote:
> --- a/modules/demux/mp4/mp4.c
> +++ b/modules/demux/mp4/mp4.c
> @@ -574,7 +574,7 @@ static int Demux( demux_t *p_demux )
> {
> MP4_TrackUnselect( p_demux, tk );
> }
> - else if( !tk->b_selected && b)
> + else if( !tk->b_selected && b && tk->b_enable )
> {
> MP4_TrackSelect( p_demux, tk, MP4_GetMoviePTS( p_sys ) );
> }
This patch is wrong as it will prevent a user from manually selecting a
disabled track.
Could you check that the patch attached to my mail fix your problem ?
Regards,
--
fenrir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp4-enable.patch
Type: text/x-diff
Size: 580 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080718/c50172d0/attachment.patch>
More information about the vlc-devel
mailing list