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

intf-displays-cmml-description is always false

parent 9bdda527
...@@ -287,25 +287,6 @@ static int DisplayPendingAnchor( intf_thread_t *p_intf, vout_thread_t *p_vout ) ...@@ -287,25 +287,6 @@ static int DisplayPendingAnchor( intf_thread_t *p_intf, vout_thread_t *p_vout )
if( p_vout != NULL ) if( p_vout != NULL )
{ {
/* don't display anchor if main interface can display it */
p_primary_intf = vlc_object_find( p_intf->p_libvlc, VLC_OBJECT_INTF,
FIND_CHILD );
if( p_primary_intf )
{
if( var_Get( p_primary_intf, "intf-displays-cmml-description", &val )
== VLC_SUCCESS )
{
if( val.b_bool == true )
{
vlc_object_release( p_primary_intf );
return true;
}
}
vlc_object_release( p_primary_intf );
}
/* display anchor as subtitle on-screen */ /* display anchor as subtitle on-screen */
if( DisplayAnchor( p_intf, p_vout, psz_description, psz_url ) if( DisplayAnchor( p_intf, p_vout, psz_description, psz_url )
!= VLC_SUCCESS ) != VLC_SUCCESS )
......
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