From d9e4b27179102a8f082532abc8beaa603395e113 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 23 Aug 2013 01:24:27 +0200 Subject: FFMPEGMediaPlayer: Transform URI spaces '%20' to ' ' manually, libav doesn't work well w/ URI encoded names. --- src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes/jogamp/opengl/util/av') 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(); -- cgit v1.2.3