[vlc-devel] commit: intf-displays-cmml-description is always false ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Jan 19 19:06:02 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Jan 19 20:04:03 2009 +0200| [e298f31fe7c0397870d74b467d95a72547552d10] | committer: Rémi Denis-Courmont 

intf-displays-cmml-description is always false

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e298f31fe7c0397870d74b467d95a72547552d10
---

 modules/codec/cmml/intf.c |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/modules/codec/cmml/intf.c b/modules/codec/cmml/intf.c
index 06a3ac3..23647ff 100644
--- a/modules/codec/cmml/intf.c
+++ b/modules/codec/cmml/intf.c
@@ -287,25 +287,6 @@ static int DisplayPendingAnchor( intf_thread_t *p_intf, vout_thread_t *p_vout )
 
     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 */
         if( DisplayAnchor( p_intf, p_vout, psz_description, psz_url )
                 != VLC_SUCCESS )




More information about the vlc-devel mailing list