Ticket #123: 0001-framework-subsystems-odeviced-audio.py-add-Ogg-deco.patch

File 0001-framework-subsystems-odeviced-audio.py-add-Ogg-deco.patch, 1.2 KB (added by luca@…, 4 years ago)

[FSO-Git] framework/subsystems/odeviced/audio.py: add Ogg decoder

  • framework/subsystems/odeviced/audio.py

    From 20a5c72009431fdc245eb940ea88e364cf9614a1 Mon Sep 17 00:00:00 2001
    From: Luca Capello <luca@pca.it>
    Date: Sun, 26 Oct 2008 11:29:24 +0100
    Subject: [PATCH] framework/subsystems/odeviced/audio.py: add Ogg decoder
    
    This in part solves ticket #123 [1] (which is vital for Debian [2])
    or, better, in Michael's words: "that's just a quick bandaid which
    doesn't solve it in general, but I think it's the way to go until
    someone profiled gstreamer's decodebin and checked where it burns all
    these cycles" [3].
    
    Footnotes:
    [1] http://trac.freesmartphone.org/ticket/123
    [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495668
    [3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495668#63
    ---
     framework/subsystems/odeviced/audio.py |    1 +
     1 files changed, 1 insertions(+), 0 deletions(-)
    
    diff --git a/framework/subsystems/odeviced/audio.py b/framework/subsystems/odeviced/audio.py
    index 3e03931..321e6e2 100644
    a b class GStreamerPlayer( Player ): 
    103103        "mod": "modplug", 
    104104        "mp3": "mad", 
    105105        "wav": "wavparse", 
     106        "ogg": "oggdemux ! vorbisdec ! audioconvert" 
    106107        } 
    107108 
    108109    def __init__( self, *args, **kwargs ):