annotate drivers/rage128_vid.c @ 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 0abb6e07e3cb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32239
0abb6e07e3cb Add an actual .c file for the rage128_vid kernel module.
diego
parents:
diff changeset
1 #define RAGE128
0abb6e07e3cb Add an actual .c file for the rage128_vid kernel module.
diego
parents:
diff changeset
2
0abb6e07e3cb Add an actual .c file for the rage128_vid kernel module.
diego
parents:
diff changeset
3 #include "radeon_vid.c"