diff --git a/oxdbarchive/tools/extract_timeline.py b/oxdbarchive/tools/extract_timeline.py index 5f35998..9d134a1 100755 --- a/oxdbarchive/tools/extract_timeline.py +++ b/oxdbarchive/tools/extract_timeline.py @@ -94,8 +94,7 @@ class GstTimeline: self.bar = Image.new("RGB", (self.width_part + 1 ,bar_height)) img = Image.fromstring('RGB',input_d, gst_buffer) - height = 16 - img = img.resize((1, height), Image.ANTIALIAS) + img = img.resize((1, bar_height), Image.ANTIALIAS) self.frames += 1 for i in range(height): self.bar.putpixel((self.frames, i), img.getpixel((0,i)))