Commit 55909b04 authored by Pierre Ynard's avatar Pierre Ynard

Revert "metachannels: force the use of the ffmpeg demuxer for mp4 (extension .m4v here)."

This reverts commit 11f64a07.
Not needed anymore
Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
parent 7d2af37a
......@@ -28,8 +28,6 @@ end
function parse()
local webpage = ''
local options
while true do
local line = vlc.readline()
if line == nil then break end
......@@ -45,12 +43,10 @@ function parse()
if( item.name == 'item' ) then
simplexml.add_name_maps( item )
local url = string.gsub( item.children_map['link'][1].children[1], '&amp;', '&' )
if( string.match( url, '%.m4v' ) ) then options = { ':play-and-pause', ':demux=avformat,ffmpeg' }
else options = { ':play-and-pause' } end
table.insert( tracks, { path = url,
title = item.children_map['title'][1].children[1],
arturl = item.children_map['media:thumbnail'][1].attributes['url'],
options = options } )
options = {':play-and-pause'} } )
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment