diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-02-28 22:17:24 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-02-28 22:17:24 +0200 |
commit | c3ef8607ae75c2ae93e94a5f32453c36fca558c8 (patch) | |
tree | e264635a227c7cbcae048af1606ad36675687b10 /defaultopts.c | |
parent | 9f63c7f17f5c4945e050400c881a8ed1d82ff31e (diff) | |
download | mpv-c3ef8607ae75c2ae93e94a5f32453c36fca558c8.tar.bz2 mpv-c3ef8607ae75c2ae93e94a5f32453c36fca558c8.tar.xz |
vo_png: set AVCodecContext parameters before opening it
Instead of opening avctx in preinit() and setting paramters later,
(re)open it in config() where parameters can be set first. This fixes
a failure to open the codec with new libavcodec versions that check
pix_fmt during avcodec_open2().
Diffstat (limited to 'defaultopts.c')
0 files changed, 0 insertions, 0 deletions