Commit 06360b94 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

dshow: always override the demux when applicable

parent cb2fda7d
...@@ -793,8 +793,6 @@ static int AccessOpen( vlc_object_t *p_this ) ...@@ -793,8 +793,6 @@ static int AccessOpen( vlc_object_t *p_this )
dshow_stream_t *p_stream = p_sys->pp_streams[0]; dshow_stream_t *p_stream = p_sys->pp_streams[0];
/* Check if we need to force demuxers */ /* Check if we need to force demuxers */
if( !p_access->psz_demux || !*p_access->psz_demux )
{
if( p_stream->i_fourcc == VLC_CODEC_DV ) if( p_stream->i_fourcc == VLC_CODEC_DV )
{ {
free( p_access->psz_demux ); free( p_access->psz_demux );
...@@ -805,7 +803,6 @@ static int AccessOpen( vlc_object_t *p_this ) ...@@ -805,7 +803,6 @@ static int AccessOpen( vlc_object_t *p_this )
free( p_access->psz_demux ); free( p_access->psz_demux );
p_access->psz_demux = strdup( "mpgv" ); p_access->psz_demux = strdup( "mpgv" );
} }
}
/* Setup Access */ /* Setup Access */
p_access->pf_read = NULL; p_access->pf_read = NULL;
......
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