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

Search child of playlist rather than anywhere

parent 2f49119c
...@@ -480,10 +480,9 @@ ...@@ -480,10 +480,9 @@
- (IBAction)telxTransparent:(id)sender - (IBAction)telxTransparent:(id)sender
{ {
intf_thread_t * p_intf = VLCIntf;
vlc_object_t *p_vbi; vlc_object_t *p_vbi;
p_vbi = (vlc_object_t *) vlc_object_find_name( p_intf, p_vbi = (vlc_object_t *) vlc_object_find_name( pl_Get( VLCIntf ),
"zvbi", FIND_ANYWHERE ); "zvbi", FIND_CHILD );
if( p_vbi ) if( p_vbi )
{ {
var_SetBool( p_vbi, "vbi-opaque", [sender state] ); var_SetBool( p_vbi, "vbi-opaque", [sender state] );
...@@ -510,8 +509,8 @@ ...@@ -510,8 +509,8 @@
i_page = 'b' << 16; i_page = 'b' << 16;
if( i_page == 0 ) return; if( i_page == 0 ) return;
p_vbi = (vlc_object_t *) vlc_object_find_name( p_intf, p_vbi = (vlc_object_t *) vlc_object_find_name( pl_Get( VLCIntf ),
"zvbi", FIND_ANYWHERE ); "zvbi", FIND_CHILD );
if( p_vbi ) if( p_vbi )
{ {
var_SetInteger( p_vbi, "vbi-page", i_page ); var_SetInteger( p_vbi, "vbi-page", i_page );
......
...@@ -352,7 +352,7 @@ static VLCExtended *_o_sharedInstance = nil; ...@@ -352,7 +352,7 @@ static VLCExtended *_o_sharedInstance = nil;
else else
{ {
msg_Dbg( p_intf, "we found a vout to adjust, let's look for the filter" ); msg_Dbg( p_intf, "we found a vout to adjust, let's look for the filter" );
p_filter = vlc_object_find_name( p_intf, "adjust", FIND_ANYWHERE ); p_filter = vlc_object_find_name( pl_Get(p_intf), "adjust", FIND_CHILD );
if(! p_filter ) if(! p_filter )
{ {
......
...@@ -686,7 +686,7 @@ void ExtV4l2::showEvent( QShowEvent *event ) ...@@ -686,7 +686,7 @@ void ExtV4l2::showEvent( QShowEvent *event )
void ExtV4l2::Refresh( void ) void ExtV4l2::Refresh( void )
{ {
vlc_object_t *p_obj = (vlc_object_t*)vlc_object_find_name( p_intf, "v4l2", FIND_ANYWHERE ); vlc_object_t *p_obj = (vlc_object_t*)vlc_object_find_name( pl_Get(p_intf), "v4l2", FIND_CHILD );
help->hide(); help->hide();
if( box ) if( box )
{ {
...@@ -830,7 +830,7 @@ void ExtV4l2::ValueChange( bool value ) ...@@ -830,7 +830,7 @@ void ExtV4l2::ValueChange( bool value )
void ExtV4l2::ValueChange( int value ) void ExtV4l2::ValueChange( int value )
{ {
QObject *s = sender(); QObject *s = sender();
vlc_object_t *p_obj = (vlc_object_t*)vlc_object_find_name( p_intf, "v4l2", FIND_ANYWHERE ); vlc_object_t *p_obj = (vlc_object_t*)vlc_object_find_name( pl_Get(p_intf), "v4l2", FIND_CHILD );
if( p_obj ) if( p_obj )
{ {
char *psz_var = strdup( qtu( s->objectName() ) ); char *psz_var = strdup( qtu( s->objectName() ) );
......
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