Commit 1516cebd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

DTV: always override the demux (refs #11185)

...like other access plugins already do. The input thread does not care
if the original psz_demux value is overriden.
parent 06360b94
...@@ -479,11 +479,8 @@ static int Open (vlc_object_t *obj) ...@@ -479,11 +479,8 @@ static int Open (vlc_object_t *obj)
access->pf_block = Read; access->pf_block = Read;
access->pf_control = Control; access->pf_control = Control;
if (access->psz_demux == NULL || !access->psz_demux[0]) free (access->psz_demux);
{ access->psz_demux = strdup ("ts");
free (access->psz_demux);
access->psz_demux = strdup ("ts");
}
return VLC_SUCCESS; return VLC_SUCCESS;
error: error:
......
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