Changeset 6f3acaadd643d4f7056708dd74f0579f655de892

Show
Ignore:
Timestamp:
11/14/07 16:18:23 (10 months ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1195053503 +0000
git-parent:

[1bc8330a3f197a1a0ed072dc0347fc807bbccefa]

git-author:
Jean-Paul Saman <jpsaman@videolan.org> 1195053503 +0000
Message:

Fix double vlc_object_attach().

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/osd/osd.c

    rf8c1e19 r6f3acaa  
    6767        return NULL; 
    6868    } 
    69     vlc_object_attach( p_this, p_menu ); 
     69    vlc_object_yield( p_menu ); 
     70    vlc_object_attach( p_menu, p_this->p_libvlc ); 
    7071 
    7172    /* Stuff needed for Parser */ 
     
    156157        osd_UpdateState( p_osd->p_state, p_osd->i_x, p_osd->i_y, 
    157158                         p_osd->i_width, p_osd->i_height, NULL ); 
    158  
    159         vlc_object_yield( p_osd ); 
    160         vlc_object_attach( p_osd, p_this->p_libvlc ); 
    161159 
    162160        /* Signal when an update of OSD menu is needed */