Merge branch 1.0-bugfix
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 23 May 2009 09:43:00 +0000 (12:43 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 23 May 2009 09:43:00 +0000 (12:43 +0300)
1  2 
modules/gui/macosx/controls.h
modules/gui/macosx/controls.m
modules/video_filter/alphamask.c
src/control/media_player.c

Simple merge
  
  - (id)voutView
  {
 -    id window;
 -    id voutView = nil;
 -    id embeddedViewList = [[VLCMain sharedInstance] embeddedList];
 -    NSEnumerator *enumerator = [[NSApp orderedWindows] objectEnumerator];
 -    while( !voutView && ( window = [enumerator nextObject] ) )
 +    id o_window;
 +    id o_voutView = nil;
 +    id o_embeddedViewList = [[VLCMain sharedInstance] embeddedList];
 +    NSEnumerator *o_enumerator = [[NSApp orderedWindows] objectEnumerator];
 +    while( !o_voutView && ( o_window = [o_enumerator nextObject] ) )
      {
          /* We have an embedded vout */
 -        if( [embeddedViewList windowContainsEmbedded: window] )
 +        if( [o_embeddedViewList windowContainsEmbedded: o_window] )
          {
 -            voutView = [embeddedViewList viewForWindow: window];
 +            o_voutView = [o_embeddedViewList viewForWindow: o_window];
          }
          /* We have a detached vout */
 -        else if( [[window className] isEqualToString: @"VLCVoutWindow"] )
 +        else if( [[o_window className] isEqualToString: @"VLCVoutWindow"] )
          {
 -            voutView = [window voutView];
 +            o_voutView = [o_window voutView];
          }
      }
 -    return [[voutView retain] autorelease];
 +    return [[o_voutView retain] autorelease];
  }
  
+ - (BOOL)aspectRatioIsLocked
+ {
+     return b_lockAspectRatio;
+ }
  - (IBAction)stop:(id)sender
  {
      intf_thread_t * p_intf = VLCIntf;
Simple merge
Simple merge