Skip to content

Commit

Permalink
Change order of audioconvert and audioresample in pipeline.
Browse files Browse the repository at this point in the history
As Michael noticed, this is now the right order.
Closes lp:1121132, thanks Michael.
  • Loading branch information
kassoulet committed Feb 10, 2013
1 parent 8a1be47 commit 64b57db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soundconverter/gstreamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,14 +503,14 @@ def init(self):
'gst-profile': self.add_audio_profile,
}
self.add_command('audiorate')
self.add_command('audioresample')
self.add_command('audioconvert')
self.add_command('audioresample')

# audio resampling support
if self.output_resample:
self.add_command('audio/x-raw-int,rate=%d' % self.resample_rate)
self.add_command('audioresample')
self.add_command('audioconvert')
self.add_command('audioresample')

if self.force_mono:
self.add_command('audio/x-raw-int,channels=1')
Expand Down

0 comments on commit 64b57db

Please sign in to comment.