Commit e58236de authored by Edward Wang's avatar Edward Wang Committed by Rémi Denis-Courmont

dvb: remove psz_demux hack

Ref #8449
Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 39faaf58
......@@ -172,8 +172,6 @@ static int Open( vlc_object_t *p_this )
}
/* Set up access */
free( p_access->psz_demux );
p_access->psz_demux = strdup( "m3u8" );
p_access->pf_read = NULL;
p_access->pf_control = Control;
p_access->pf_seek = NULL;
......@@ -373,6 +371,10 @@ static int Control( access_t *p_access, int i_query, va_list args )
*pb_bool = false;
break;
case ACCESS_GET_CONTENT_TYPE:
*va_arg( args, char** ) = strdup("application/vnd.apple.mpegurl"); // m3u8
return VLC_SUCCESS;
case ACCESS_GET_PTS_DELAY:
pi_64 = (int64_t*)va_arg( args, int64_t * );
*pi_64 = DEFAULT_PTS_DELAY;
......
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