Feature #436 » enable_deinterlacer.patch
tvheadend/src/webui/static/app/tvheadend.js 2011-04-14 04:03:52.000000000 +0200 | ||
---|---|---|
199 | 199 |
vlc.playlist.items.clear(); |
200 | 200 |
vlc.playlist.add(url); |
201 | 201 |
vlc.playlist.playItem(0); |
202 |
|
|
203 |
//enable yadif2x deinterlacer for vlc > 1.1 |
|
204 |
var point1 = vlc.VersionInfo.indexOf('.'); |
|
205 |
var point2 = vlc.VersionInfo.indexOf('.', point1+1); |
|
206 |
var majVersion = vlc.VersionInfo.substring(0,point1); |
|
207 |
var minVersion = vlc.VersionInfo.substring(point1+1,point2); |
|
208 |
if ((majVersion >= 1) && (minVersion >= 1)) |
|
209 |
vlc.video.deinterlace.enable("yadif2x"); |
|
202 | 210 |
} |
203 | 211 |
} |
204 | 212 |
}); |