comparison vaapi_h264.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 471c370c6b05
children a01c36c52702
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
334 return 0; 334 return 0;
335 } 335 }
336 336
337 AVHWAccel h264_vaapi_hwaccel = { 337 AVHWAccel h264_vaapi_hwaccel = {
338 .name = "h264_vaapi", 338 .name = "h264_vaapi",
339 .type = CODEC_TYPE_VIDEO, 339 .type = AVMEDIA_TYPE_VIDEO,
340 .id = CODEC_ID_H264, 340 .id = CODEC_ID_H264,
341 .pix_fmt = PIX_FMT_VAAPI_VLD, 341 .pix_fmt = PIX_FMT_VAAPI_VLD,
342 .capabilities = 0, 342 .capabilities = 0,
343 .start_frame = start_frame, 343 .start_frame = start_frame,
344 .end_frame = end_frame, 344 .end_frame = end_frame,