[vlc-commits] test.html: Add missing deinterlace modes

Daniel Amm git at videolan.org
Sun Jun 14 00:58:25 CEST 2015


npapi-vlc | branch: master | Daniel Amm <da2424 at t-online.de> | Sun Jun 14 00:35:41 2015 +0200| [a96a6ca26aa52fda28a0bfc112ee695fff43a8f3] | committer: Jean-Baptiste Kempf

test.html: Add missing deinterlace modes

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=a96a6ca26aa52fda28a0bfc112ee695fff43a8f3
---

 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 100644
--- 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>



More information about the vlc-commits mailing list