--- tvheadend-backup3/src/webui/static/app/tvheadend.js 2011-04-14 01:28:40.000000000 +0200 +++ tvheadend/src/webui/static/app/tvheadend.js 2011-04-14 04:03:52.000000000 +0200 @@ -199,6 +199,14 @@ tvheadend.VLC = function(url) { vlc.playlist.items.clear(); vlc.playlist.add(url); vlc.playlist.playItem(0); + + //enable yadif2x deinterlacer for vlc > 1.1 + var point1 = vlc.VersionInfo.indexOf('.'); + var point2 = vlc.VersionInfo.indexOf('.', point1+1); + var majVersion = vlc.VersionInfo.substring(0,point1); + var minVersion = vlc.VersionInfo.substring(point1+1,point2); + if ((majVersion >= 1) && (minVersion >= 1)) + vlc.video.deinterlace.enable("yadif2x"); } } });