comparison mpeg12.c @ 2555:d69789acdbc4 libavcodec

(10l) supported pix_fmts forgotten
author michael
date Tue, 08 Mar 2005 20:35:27 +0000
parents d541424f8020
children 0afef2899701
comparison
equal deleted inserted replaced
2554:84a8f374bf63 2555:d69789acdbc4
3140 sizeof(MpegEncContext), 3140 sizeof(MpegEncContext),
3141 encode_init, 3141 encode_init,
3142 MPV_encode_picture, 3142 MPV_encode_picture,
3143 MPV_encode_end, 3143 MPV_encode_end,
3144 .supported_framerates= frame_rate_tab+1, 3144 .supported_framerates= frame_rate_tab+1,
3145 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
3145 .capabilities= CODEC_CAP_DELAY, 3146 .capabilities= CODEC_CAP_DELAY,
3146 }; 3147 };
3147 3148
3148 AVCodec mpeg2video_encoder = { 3149 AVCodec mpeg2video_encoder = {
3149 "mpeg2video", 3150 "mpeg2video",
3152 sizeof(MpegEncContext), 3153 sizeof(MpegEncContext),
3153 encode_init, 3154 encode_init,
3154 MPV_encode_picture, 3155 MPV_encode_picture,
3155 MPV_encode_end, 3156 MPV_encode_end,
3156 .supported_framerates= frame_rate_tab+1, 3157 .supported_framerates= frame_rate_tab+1,
3158 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
3157 .capabilities= CODEC_CAP_DELAY, 3159 .capabilities= CODEC_CAP_DELAY,
3158 }; 3160 };
3159 #endif 3161 #endif
3160 3162
3161 #ifdef HAVE_XVMC 3163 #ifdef HAVE_XVMC