]> git.sesse.net Git - vlc/commit
transcoding video, sends NULL when ending. Should fix sending all the encoded frames...
authorIlkka Ollakka <ileoo@videolan.org>
Wed, 28 Apr 2010 12:47:03 +0000 (15:47 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 29 Apr 2010 18:54:08 +0000 (21:54 +0300)
commit14054532b429237a6de66a9aaf6f17fc69793178
tree1dc132b49c6aadc1b3ebf49a7a08172049831d50
parentd8bc8db8f074a4c9fe38910688d5d7caa8989e21
transcoding video, sends NULL when ending. Should fix sending all the encoded frames to sout

Sends NULL-pict to encode when it's closing time, then encoder knows to
flush buffers and check that it has outputted all the frames.

Contains changes to x264/avcodec-module to implement that on encoder-side.
Add quick check on omxil/dirac/theora for that, so they don't crash.
And add likely-macro to x264/avcodec in check of NULL

If someone more familiar with dirac/theora/omxil encoder-modules could
check if they have buffers that need to be outputted, would be nice.

Fixes some tickets, but I failed to find any of those in trac.
modules/codec/avcodec/encoder.c
modules/codec/dirac.c
modules/codec/omxil/omxil.c
modules/codec/theora.c
modules/codec/x264.c
modules/stream_out/transcode/transcode.c
modules/stream_out/transcode/video.c