Ticket #1931: glive.py.patch

File glive.py.patch, 990 bytes (added by alsroot, 14 years ago)
  • glive.py

    diff --git a/glive.py b/glive.py
    index a1a4610..db41016 100644
    a b class Glive: 
    304304                'filesrc location=%s ' \
    305305                '! wavparse ' \
    306306                '! audioconvert ' \
     307                '! audio/x-raw-int,rate=16000,channels=1,depth=16 ' \
    307308                '%s ' \
    308                 '! vorbisenc name=vorbisenc ' \
     309                '! speexenc quality=2 name=vorbisenc ' \
    309310                '! mux.' \
    310311                % (TMP_OGV, TMP_OGG, TMP_WAV, AUDIO_FILTER))
    311312
    312         taglist = self.getTags(Constants.TYPE_VIDEO)
    313         vorbisenc = self.mux_pipe.get_by_name('vorbisenc')
    314         vorbisenc.merge_tags(taglist, gst.TAG_MERGE_REPLACE_ALL)
     313        #taglist = self.getTags(Constants.TYPE_VIDEO)
     314        #vorbisenc = self.mux_pipe.get_by_name('vorbisenc')
     315        #vorbisenc.merge_tags(taglist, gst.TAG_MERGE_REPLACE_ALL)
    315316
    316317        def done(bus, message, self):
    317318            if message.type == gst.MESSAGE_ERROR: