diff options
author | Sven Gothel <[email protected]> | 2013-08-23 01:24:27 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-08-23 01:24:27 +0200 |
commit | d9e4b27179102a8f082532abc8beaa603395e113 (patch) | |
tree | 7786ceb8ad907d4d0bddcf706545ab797bbe0063 /src/jogl/classes/jogamp/opengl/util/av | |
parent | 474ce65081ecd452215bc07ab866666cb11ca8b1 (diff) |
FFMPEGMediaPlayer: Transform URI spaces '%20' to ' ' manually, libav doesn't work well w/ URI encoded names.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/util/av')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java b/src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java index 11073b2e3..f1213d751 100644 --- a/src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java +++ b/src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java @@ -211,7 +211,7 @@ public class FFMPEGMediaPlayer extends GLMediaPlayerImpl { System.err.println("initStream: p1 "+this); } - final String streamLocS=streamLoc.toString(); + final String streamLocS=streamLoc.toString().replaceAll("%20", " "); destroyAudioSink(); if( GLMediaPlayer.STREAM_ID_NONE == aid ) { audioSink = AudioSinkFactory.createNull(); |