From 3e45e85b25c43b696adf1e946f43eb99e3726ddf Mon Sep 17 00:00:00 2001 From: Frank <472730949@qq.com> Date: Mon, 20 Apr 2020 09:53:01 +0800 Subject: [PATCH] modify some comments --- M3U8KitTests/M3U8KitTests.m | 2 +- Source/M3U8MasterPlaylist.m | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/M3U8KitTests/M3U8KitTests.m b/M3U8KitTests/M3U8KitTests.m index aa476f1..3d45a99 100644 --- a/M3U8KitTests/M3U8KitTests.m +++ b/M3U8KitTests/M3U8KitTests.m @@ -40,7 +40,7 @@ - (void)testLoadURLAsynchronously { } [expectation fulfill]; }]; - [self waitForExpectationsWithTimeout:5 handler:nil]; + [self waitForExpectationsWithTimeout:15 handler:nil]; } - (void)testMasterM3U { diff --git a/Source/M3U8MasterPlaylist.m b/Source/M3U8MasterPlaylist.m index 06508ad..09a6979 100644 --- a/Source/M3U8MasterPlaylist.m +++ b/Source/M3U8MasterPlaylist.m @@ -106,7 +106,7 @@ - (void)parseMasterPlaylist { } - // Simply ignore the following tag + // Ignore the following tag, which is not implemented yet. // #EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=65531,PROGRAM-ID=1,CODECS="avc1.42c00c",RESOLUTION=320x180,URI="/talks/769/video/64k_iframe.m3u8?sponsor=Ripple" else if ([line hasPrefix:M3U8_EXT_X_I_FRAME_STREAM_INF]) { @@ -162,7 +162,7 @@ - (M3U8ExtXStreamInfList *)alternativeXStreamInfList { } } - // For the time being, it is only used when the resolution is selected. + // It is only used when the resolution is selected. // M3U8ExtXMediaList *xmlist = self.masterPlaylist.xMediaList.videoList; // for (int i = 0; i < xmlist.count; i ++) { // M3U8ExtXMedia *media = [xmlist extXMediaAtIndex:i];