[vlc-commits] commit: transcoding video, sends NULL when ending. Should fix sending all the encoded frames to sout (Ilkka Ollakka )
git at videolan.org
git at videolan.org
Thu Apr 29 20:54:22 CEST 2010
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed Apr 28 15:47:03 2010 +0300| [14054532b429237a6de66a9aaf6f17fc69793178] | committer: Ilkka Ollakka
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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=14054532b429237a6de66a9aaf6f17fc69793178
---
modules/codec/avcodec/encoder.c | 187 +++++++++++++++--------------
modules/codec/dirac.c | 1 +
modules/codec/omxil/omxil.c | 4 +-
modules/codec/theora.c | 1 +
modules/codec/x264.c | 26 +++--
modules/stream_out/transcode/transcode.c | 1 +
modules/stream_out/transcode/video.c | 13 ++
7 files changed, 132 insertions(+), 101 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=14054532b429237a6de66a9aaf6f17fc69793178
More information about the vlc-commits
mailing list