comparison vaapi_mpeg2.c @ 11560:8a4984c5cacc libavcodec

Define AVMediaType enum, and use it instead of enum CodecType, which is deprecated and will be dropped at the next major bump.
author stefano
date Tue, 30 Mar 2010 23:30:55 +0000
parents 3b6b7fe1c27c
children
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
138 return 0; 138 return 0;
139 } 139 }
140 140
141 AVHWAccel mpeg2_vaapi_hwaccel = { 141 AVHWAccel mpeg2_vaapi_hwaccel = {
142 .name = "mpeg2_vaapi", 142 .name = "mpeg2_vaapi",
143 .type = CODEC_TYPE_VIDEO, 143 .type = AVMEDIA_TYPE_VIDEO,
144 .id = CODEC_ID_MPEG2VIDEO, 144 .id = CODEC_ID_MPEG2VIDEO,
145 .pix_fmt = PIX_FMT_VAAPI_VLD, 145 .pix_fmt = PIX_FMT_VAAPI_VLD,
146 .capabilities = 0, 146 .capabilities = 0,
147 .start_frame = vaapi_mpeg2_start_frame, 147 .start_frame = vaapi_mpeg2_start_frame,
148 .end_frame = vaapi_mpeg2_end_frame, 148 .end_frame = vaapi_mpeg2_end_frame,