fixed bug in that lead to black frames

photos app showed black thumbnail for some movies records. this happen when audiobuffers were appended before any video buffer.