Mercurial > mplayer.hg
comparison help/help_mp-de.h @ 34635:7e0f50b4921c
Fix vo_png after FFmpeg merge.
Now avcodec_open2() function wants a valid avctx->pix_fmt to be set,
but the current vo_png opens the encoder in preinit() function,
long before the exact pixel format is know.
The fix moves the avcodec_open2() function to vo_png::config() and
adds a check for changed pixel format in case there are more config() calls.
author | iive |
---|---|
date | Tue, 14 Feb 2012 17:06:09 +0000 |
parents | b2c3288a3483 |
children | 48e5512bc17f |
comparison
equal
deleted
inserted
replaced
34634:0ef7177a063b | 34635:7e0f50b4921c |
---|