[vlc-devel] [PATCH 1/2] access: make an access able to request a meta update
Rémi Denis-Courmont
remi at remlab.net
Fri Nov 28 17:36:30 CET 2014
Le 2014-11-28 18:20, Ludovic Fauvet a écrit :
> + if( p_access->info.i_update & ACCESS_UPDATE_META )
> + {
> + vlc_meta_t *p_meta = vlc_meta_New();
> + if( unlikely( p_meta == NULL ) )
> + return;
> +
> + access_Control( p_access, ACCESS_GET_META, p_meta );
> + es_out_ControlSetMeta( p_input->p->p_es_out, p_meta );
> + vlc_meta_Delete( p_meta );
I doubt that you can safely access the ES output from the access
thread. And I guess it will break if the access is from a slave or a
stream URL.
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list