avimux: Don't override maximum audio chunk size with the scale again just before...
authorSebastian Dröge <sebastian@centricular.com>
Wed, 27 Apr 2016 11:09:03 +0000 (14:09 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 27 Apr 2016 11:09:03 +0000 (14:09 +0300)
commite538608b3f90539003de21c1db238f3c9b946e30
tree5bd22d188d9ca7b53d5ecda527e8f9c440e59da0
parent34dc1298e9c03a6f2f8f367b344b4c6525bd1d83
avimux: Don't override maximum audio chunk size with the scale again just before writing it

set_fields() should only be called in the beginning, otherwise we will never
remember the maximum audio chunk size and write a wrong block align... which
then causes wrong timestamps and other problems.
gst/avi/gstavimux.c