]> granicus.if.org Git - handbrake/commit
mux: flush cached buffers when closing
authorJohn Stebbins <jstebbins@jetheaddev.com>
Wed, 14 Oct 2015 15:07:16 +0000 (08:07 -0700)
committerJohn Stebbins <jstebbins@jetheaddev.com>
Wed, 14 Oct 2015 15:07:16 +0000 (08:07 -0700)
commitd03a8da5ca622300f5475b9f299fb735ca808475
treed17b02a40d8e3d86c0a1a657e6e6674829458581
parent4945defa3f0adf091c3373e1e83d75f70bf49bc8
mux: flush cached buffers when closing

When an encode is cancelled, cached mux buffers are not currently
written to the output file.  Since we don't start writing output till
50MB of data has been cached, this can result in no data being written
when an encode is cancelled early.
libhb/muxcommon.c