Browse Source

misc minor fixes

Felix Paul Kühne 11 years ago
parent
commit
43b66f5c2f

+ 1 - 1
Resources/VLCMovieViewController~iphone.xib

@@ -414,7 +414,7 @@
                             </connections>
                         </button>
                         <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="78">
-                            <rect key="frame" x="62" y="16" width="32" height="40"/>
+                            <rect key="frame" x="62" y="14" width="32" height="40"/>
                             <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
                             <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
                             <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>

+ 1 - 1
Sources/VLCConstants.h

@@ -57,5 +57,5 @@
 #if TARGET_IPHONE_SIMULATOR
 #define WifiInterfaceName @"en1"
 #else
-#define WifiInterfaceName@"en0"
+#define WifiInterfaceName @"en0"
 #endif

+ 3 - 2
Sources/VLCMovieViewController.m

@@ -641,6 +641,9 @@
         case UIEventSubtypeRemoteControlPreviousTrack:
             [self backward:nil];
 
+        case UIEventSubtypeRemoteControlStop:
+            [self closePlayback:nil];
+
         default:
             break;
     }
@@ -1257,8 +1260,6 @@
     NSString *albumName;
     NSString *trackNumber;
 
-    self.artworkImageView.hidden = self.trackNameLabel.hidden = self.artistNameLabel.hidden = self.albumNameLabel.hidden = !_mediaPlayer.hasVideoOut;
-
     if (item) {
         if (item.isAlbumTrack) {
             title = item.albumTrack.title;