Mercurial > mplayer.hg
diff sub/av_sub.c @ 34659:c7db9db9105c
vf screenshot: Fix breakage after lavc API changes
The avcodec_open2() function wants a valid avctx->pix_fmt to
be set in the AVCodecContext prior to its invocation.
Thanks to Ivan for working this out for vo png already.
author | al |
---|---|
date | Sun, 19 Feb 2012 22:09:30 +0000 |
parents | f3d53cd55376 |
children | d180a74b1a89 |