提交 0bb9e1a2 编写于 作者: Z Zhang Rui

ios: rename videotoolboxEnabled -> videoToolboxEnabled

上级 8a6389f9
......@@ -34,7 +34,7 @@ typedef struct IjkMediaPlayer IjkMediaPlayer;
@property(nonatomic) int maxFps;
@property(nonatomic) int frameDrop;
@property(nonatomic) BOOL pauseInBackground;
@property(nonatomic) BOOL videotoolboxEnabled;
@property(nonatomic) BOOL videoToolboxEnabled;
@property(nonatomic) int frameMaxWidth;
@property(nonatomic) BOOL autoReconnect;
......
......@@ -25,7 +25,7 @@
options.timeout = 30 * 1000 * 1000; // 30 seconds
options.userAgent = @"";
options.videotoolboxEnabled = YES;
options.videoToolboxEnabled = YES;
options.frameMaxWidth = 960;
options.autoReconnect = YES;
......@@ -43,7 +43,7 @@
ijkmp_set_option_int(mediaPlayer, IJKMP_OPT_CATEGORY_PLAYER, "max-fps", _maxFps);
ijkmp_set_option_int(mediaPlayer, IJKMP_OPT_CATEGORY_PLAYER, "framedrop", _frameDrop);
ijkmp_set_option_int(mediaPlayer, IJKMP_OPT_CATEGORY_PLAYER, "video-pictq-size", _frameBufferCount);
ijkmp_ios_set_videotoolbox_enabled(mediaPlayer, _videotoolboxEnabled);
ijkmp_ios_set_videotoolbox_enabled(mediaPlayer, _videoToolboxEnabled);
ijkmp_ios_set_frame_max_width(mediaPlayer, _frameMaxWidth);
if (self.autoReconnect == NO) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册