diff --git a/oxtimeline/audio.py b/oxtimeline/audio.py index b732b29..b02fbc5 100644 --- a/oxtimeline/audio.py +++ b/oxtimeline/audio.py @@ -89,8 +89,8 @@ class Audio(gst.Pipeline): height = int((p * self.tile_height) / 256) * 2 crop = int((self.tile_height-height) / 2) if p: p += 20 - color = (p, p, p, 255) - color = (255,255,255,255) + color = (p, p, p) + color = (255,255,255) if start: end = self.tile_height - crop @@ -144,7 +144,7 @@ class Timeline(Audio): ntiles = int(math.ceil(float(self.frames)/self.input_tile_width)) self.tiles = [] for i in range(ntiles): - tile = Image.new("RGBA", (self.input_tile_width, height), (0, 0, 0, 0)) + tile = Image.new("RGB", (self.input_tile_width, height), (0, 0, 0)) self.tiles.append(tile) self.set_state(gst.STATE_PLAYING)