Ticket #297: gstreamer_pipeline_string.patch
| File gstreamer_pipeline_string.patch, 864 bytes (added by zub, 3 years ago) |
|---|
-
framework/framework/subsystems/odeviced/audio.py
old new 239 239 # however it should still be faster than creating the pipeline from 240 240 # individual elements in python, since it's all happening in compiled code 241 241 try: 242 pipeline = gst.parse_launch( "filesrc location= %s! %s ! alsasink" % ( file, decoder ) )242 pipeline = gst.parse_launch( "filesrc location=\"%s\" ! %s ! alsasink" % ( file, decoder ) ) 243 243 except gobject.GError, e: 244 244 logger.exception( "could not instanciate pipeline: %s" % e ) 245 245 return error_cb( PlayerError( "Could not instanciate pipeline due to an internal error." ) )
