M3U Playlist container input: Disable for HLS
The built-in M3U container parser should not be used for HLS playlists, so they should end up in the playlist as-is, so that inputs can parse them in real time. Signed-off-by: Christopher Snowhill <kode54@gmail.com>CQTexperiment
parent
2541633c17
commit
547de6cf08
|
@ -129,6 +129,9 @@
|
|||
for (NSString *entry in [contents componentsSeparatedByString:@"\n"])
|
||||
{
|
||||
NSString *_entry = [entry stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
|
||||
|
||||
if ([_entry hasPrefix:@"#EXT-X-MEDIA-SEQUENCE"]) // Let FFmpeg handle HLS
|
||||
return @[];
|
||||
|
||||
if ([_entry hasPrefix:@"#"] || [_entry isEqualToString:@""]) //Ignore extra info
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue