Ticket #297: gstreamer_pipeline_string.patch

File gstreamer_pipeline_string.patch, 864 bytes (added by zub, 3 years ago)

quote the ringtone filename in odeviced/audio.py

  • framework/framework/subsystems/odeviced/audio.py

    old new  
    239239                # however it should still be faster than creating the pipeline from 
    240240                # individual elements in python, since it's all happening in compiled code 
    241241                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 ) ) 
    243243                except gobject.GError, e: 
    244244                    logger.exception( "could not instanciate pipeline: %s" % e ) 
    245245                    return error_cb( PlayerError( "Could not instanciate pipeline due to an internal error." ) )