Ticket #9949: 0001-dev.laptop.org-9949-workaround-disable-video-during-.patch

File 0001-dev.laptop.org-9949-workaround-disable-video-during-.patch, 1.1 kB (added by Quozl, 4 years ago)

workaround, disable video during audio record

  • glive.py

    From 9e675bfb7acc9533f6dce27060cc0bd574aa2447 Mon Sep 17 00:00:00 2001
    From: James Cameron <quozl@laptop.org>
    Date: Mon, 1 Feb 2010 12:59:00 +1100
    Subject: [PATCH] dev.laptop.org #9949 workaround, disable video during audio record
    
    ---
     glive.py |   10 +---------
     1 files changed, 1 insertions(+), 9 deletions(-)
    
    diff --git a/glive.py b/glive.py
    index d681d44..1441dfe 100644
    a b  
    353353                    '! filesink location=%s ' \ 
    354354                    % TMP_OGG 
    355355 
    356             if camera_presents: 
    357                 self.audio_pipe = gst.parse_launch( \ 
    358                         '%s ' \ 
    359                         '! queue ' \ 
    360                         '! %s ' \ 
    361                         '%s ' \ 
    362                         % (self.src_str, self.play_str, audio_pipe)) 
    363             else: 
    364                 self.audio_pipe = gst.parse_launch(audio_pipe) 
     356            self.audio_pipe = gst.parse_launch(audio_pipe) 
    365357 
    366358            def message_cb(bus, message, self): 
    367359                if message.type == gst.MESSAGE_ERROR: