comparison mpeg12.c @ 2111:3c1dba53954e libavcodec

10l (fixes delayed frames during encoding)
author michael
date Wed, 30 Jun 2004 23:12:21 +0000
parents 5ab35105671a
children 50779a18844c
comparison
equal deleted inserted replaced
2110:96b05a70a154 2111:3c1dba53954e
2971 sizeof(MpegEncContext), 2971 sizeof(MpegEncContext),
2972 encode_init, 2972 encode_init,
2973 MPV_encode_picture, 2973 MPV_encode_picture,
2974 MPV_encode_end, 2974 MPV_encode_end,
2975 .supported_framerates= frame_rate_tab+1, 2975 .supported_framerates= frame_rate_tab+1,
2976 .capabilities= CODEC_CAP_DELAY,
2976 }; 2977 };
2977 2978
2978 #ifdef CONFIG_RISKY 2979 #ifdef CONFIG_RISKY
2979 2980
2980 AVCodec mpeg2video_encoder = { 2981 AVCodec mpeg2video_encoder = {
2984 sizeof(MpegEncContext), 2985 sizeof(MpegEncContext),
2985 encode_init, 2986 encode_init,
2986 MPV_encode_picture, 2987 MPV_encode_picture,
2987 MPV_encode_end, 2988 MPV_encode_end,
2988 .supported_framerates= frame_rate_tab+1, 2989 .supported_framerates= frame_rate_tab+1,
2990 .capabilities= CODEC_CAP_DELAY,
2989 }; 2991 };
2990 #endif 2992 #endif
2991 #endif 2993 #endif
2992 2994
2993 #ifdef HAVE_XVMC 2995 #ifdef HAVE_XVMC