Commit 78461b33 authored by Filippo Carone's avatar Filippo Carone

do not catch VLCException in sample

parent 9760d127
...@@ -71,8 +71,6 @@ public class VLCExample ...@@ -71,8 +71,6 @@ public class VLCExample
Thread.sleep(100); Thread.sleep(100);
} }
try
{
Video video = new Video(jvlc); Video video = new Video(jvlc);
System.out.print(video.getWidth(mediaInstance)); System.out.print(video.getWidth(mediaInstance));
System.out.print("x"); System.out.print("x");
...@@ -88,11 +86,6 @@ public class VLCExample ...@@ -88,11 +86,6 @@ public class VLCExample
Thread.sleep(2000); Thread.sleep(2000);
System.out.println("Resizing to 300x300"); System.out.println("Resizing to 300x300");
video.setSize(300, 300); video.setSize(300, 300);
}
catch (VLCException e)
{
e.printStackTrace();
}
System.out.print("Muting..."); System.out.print("Muting...");
Audio audio = new Audio(jvlc); Audio audio = new Audio(jvlc);
......
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