[vlc-devel] [PATCH 05/17] test.html: Add missing deinterlace modes

Daniel Amm da2424 at t-online.de
Sun Jun 14 00:35:41 CEST 2015


---
 share/test/test.html | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/share/test/test.html b/share/test/test.html
index 156f7ef..e032a3e 100755
--- a/share/test/test.html
+++ b/share/test/test.html
@@ -373,8 +373,17 @@ function close()
     </tr>
     <tr>
         <td colspan="2">Deinterlacing:
-            <input type="button" value="BLEND" onClick='getVLC("vlc").video.deinterlace.enable("blend");'>
-            <input type="button" value="  X  " onClick='getVLC("vlc").video.deinterlace.enable("x");'>
+            <select id="deinterlaceSelect">
+                <option value="blend">Blend</option>
+                <option value="bob">Bob</option>
+                <option value="discard">Discard</option>
+                <option value="linear">Linear</option>
+                <option value="mean">Mean</option>
+                <option value="x">X</option>
+                <option value="yadif">Yadif</option>
+                <option value="yadif2x">Yadif2x</option>
+            </select>
+            <input type="button" onClick="getVLC('vlc').video.deinterlace.enable(document.getElementById('deinterlaceSelect').value);" value="Enable">
             <input type="button" value="Disable" onClick='getVLC("vlc").video.deinterlace.disable();'>
         </td>
     </tr>
-- 
2.1.4




More information about the vlc-devel mailing list