summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-02-28 22:17:24 +0200
committerUoti Urpala <uau@mplayer2.org>2012-02-28 22:17:24 +0200
commitc3ef8607ae75c2ae93e94a5f32453c36fca558c8 (patch)
treee264635a227c7cbcae048af1606ad36675687b10 /sub
parent9f63c7f17f5c4945e050400c881a8ed1d82ff31e (diff)
downloadmpv-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 'sub')
0 files changed, 0 insertions, 0 deletions