瀏覽代碼

VLCPlaybackController: fix tvOS compilation warning

(cherry picked from commit 26303d3a78cf64ff598a7692f1923109b6751826)
Felix Paul Kühne 7 年之前
父節點
當前提交
a67b403b34
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Sources/VLCPlaybackController.h

+ 2 - 0
Sources/VLCPlaybackController.h

@@ -113,8 +113,10 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
 - (void)setAudioPassthrough:(BOOL)shouldPass;
 
 - (void)switchAspectRatio;
+#if !TARGET_OS_TV
 - (BOOL)updateViewpoint:(CGFloat)yaw pitch:(CGFloat)pitch roll:(CGFloat)roll fov:(CGFloat)fov absolute:(BOOL)absolute;
 - (NSInteger)currentMediaProjection;
+#endif
 - (void)recoverDisplayedMetadata;
 - (void)recoverPlaybackState;