FFmpeg output fixes and small improvement
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 7 Feb 2012 17:11:56 +0000 (17:11 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 7 Feb 2012 17:11:56 +0000 (17:11 +0000)
commitdc72e792742ed36abf31a19cd0eac2949f5debf6
treee2e362e0ebc05ba4276d6fb3381d57a946817d2c
parentb49d25720986db7c3ce3837a32af94e4be9ea88f
FFmpeg output fixes and small improvement

Most part of this commit fixes issues with FFmpeg output with
currently supported codecs:

- avcodec_encode_video might return zero which doesn't mean error
  happened, but blender will handle this as error and will stop
  rendering to video file.
- Changing output video codec wouldn't update "expert" options
  set for video output which leads to some sideeffects like
  ignored Lossless option for x264 codec.

This fixes allowed to add QTRLE codec easily.
source/blender/blenkernel/BKE_writeffmpeg.h
source/blender/blenkernel/intern/writeffmpeg.c
source/blender/makesrna/intern/rna_scene.c