mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 04:51:52 +00:00
Revert "ytdl: handle HLS with FFmpeg"
Apparently, this breaks youtube live and possibly other things.
This reverts commit 06519aae58
.
This commit is contained in:
parent
06519aae58
commit
985e83e217
@ -382,10 +382,7 @@ mp.add_hook("on_load", 10, function ()
|
||||
msg.debug('ytdl parsing took '..os.clock()-start_time..' seconds')
|
||||
|
||||
-- what did we get?
|
||||
if json["protocol"] == "m3u8" then
|
||||
msg.verbose("Playing directly with protocol " .. json["protocol"])
|
||||
return
|
||||
elseif not (json["direct"] == nil) and (json["direct"] == true) then
|
||||
if not (json["direct"] == nil) and (json["direct"] == true) then
|
||||
-- direct URL, nothing to do
|
||||
msg.verbose("Got direct URL")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user