Skip to content
Snippets Groups Projects
Commit 23c60f76 authored by littlejohn's avatar littlejohn
Browse files

Do not use absolute paths in java VlcClient

parent ced0913d
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ class VLCPlayerFrame extends Frame {
add( fullScreenButton, gridBagConstraints);
jTextField1.setText("file:///home/little/a.avi");
jTextField1.setText("file://a.avi");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
......@@ -143,7 +143,7 @@ class VLCPlayerFrame extends Frame {
private void setButtonActionPerformed(java.awt.event.ActionEvent evt) {
try {
jvlc.playlist.add("file:///home/little/a.avi", "a.avi");
jvlc.playlist.add("file://a.avi", "a.avi");
jvlc.playlist.play(-1, null);
} catch (VLCException e) {
// TODO Auto-generated catch block
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment