浏览代码

VLCMediaPlayer: implementing mediaPlayerStateChanged is optional

Felix Paul Kühne 11 年之前
父节点
当前提交
db0273ccd7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Headers/Public/VLCMediaPlayer.h

+ 1 - 1
Headers/Public/VLCMediaPlayer.h

@@ -71,6 +71,7 @@ extern NSString * VLCMediaPlayerStateToString(VLCMediaPlayerState state);
  */
 @protocol VLCMediaPlayerDelegate
 
+@optional
 /**
  * Sent by the default notification center whenever the player's state has changed.
  * \details Discussion The value of aNotification is always an VLCMediaPlayerStateChanged notification. You can retrieve
@@ -78,7 +79,6 @@ extern NSString * VLCMediaPlayerStateToString(VLCMediaPlayerState state);
  */
 - (void)mediaPlayerStateChanged:(NSNotification *)aNotification;
 
-@optional
 /**
  * Sent by the default notification center whenever the player's time has changed.
  * \details Discussion The value of aNotification is always an VLCMediaPlayerTimeChanged notification. You can retrieve