Fix #35443: Animation player doesn't play some movie formats
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 21 May 2013 12:18:35 +0000 (12:18 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 21 May 2013 12:18:35 +0000 (12:18 +0000)
commit8360c14f14868663de898df1ea47839768d4afd6
treed3d2d4bc6069df91e0dcfa50635afb91949e2d51
parentc4ee1f265847db4fed34df05a32f4b0fa3612092
Fix #35443: Animation player doesn't play some movie formats

Need to initialize FFmpeg for animation player.

This is a bit confusing, but the only way to do this
properly and clear is to call IMB_ffmpeg_init from
playback_mode command line callback.

This is because this callback is blocking and
"usual" FFmpeg initializetion (which happens after
command line parsing) was never called.

Could be switched to separate FFmpeg initializtion
and debug level set but let's keep simple for now.
source/creator/creator.c