comparison dxva2_vc1.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 a6908ae0e0b5
children
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
264 } 264 }
265 265
266 #if CONFIG_WMV3_DXVA2_HWACCEL 266 #if CONFIG_WMV3_DXVA2_HWACCEL
267 AVHWAccel wmv3_dxva2_hwaccel = { 267 AVHWAccel wmv3_dxva2_hwaccel = {
268 .name = "wmv3_dxva2", 268 .name = "wmv3_dxva2",
269 .type = CODEC_TYPE_VIDEO, 269 .type = AVMEDIA_TYPE_VIDEO,
270 .id = CODEC_ID_WMV3, 270 .id = CODEC_ID_WMV3,
271 .pix_fmt = PIX_FMT_DXVA2_VLD, 271 .pix_fmt = PIX_FMT_DXVA2_VLD,
272 .capabilities = 0, 272 .capabilities = 0,
273 .start_frame = start_frame, 273 .start_frame = start_frame,
274 .decode_slice = decode_slice, 274 .decode_slice = decode_slice,
277 }; 277 };
278 #endif 278 #endif
279 279
280 AVHWAccel vc1_dxva2_hwaccel = { 280 AVHWAccel vc1_dxva2_hwaccel = {
281 .name = "vc1_dxva2", 281 .name = "vc1_dxva2",
282 .type = CODEC_TYPE_VIDEO, 282 .type = AVMEDIA_TYPE_VIDEO,
283 .id = CODEC_ID_VC1, 283 .id = CODEC_ID_VC1,
284 .pix_fmt = PIX_FMT_DXVA2_VLD, 284 .pix_fmt = PIX_FMT_DXVA2_VLD,
285 .capabilities = 0, 285 .capabilities = 0,
286 .start_frame = start_frame, 286 .start_frame = start_frame,
287 .decode_slice = decode_slice, 287 .decode_slice = decode_slice,