comparison dxva2_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 4b64693d115d
children f85c4e46272e
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
423 commit_bitstream_and_slice_buffer); 423 commit_bitstream_and_slice_buffer);
424 } 424 }
425 425
426 AVHWAccel h264_dxva2_hwaccel = { 426 AVHWAccel h264_dxva2_hwaccel = {
427 .name = "h264_dxva2", 427 .name = "h264_dxva2",
428 .type = CODEC_TYPE_VIDEO, 428 .type = AVMEDIA_TYPE_VIDEO,
429 .id = CODEC_ID_H264, 429 .id = CODEC_ID_H264,
430 .pix_fmt = PIX_FMT_DXVA2_VLD, 430 .pix_fmt = PIX_FMT_DXVA2_VLD,
431 .capabilities = 0, 431 .capabilities = 0,
432 .start_frame = start_frame, 432 .start_frame = start_frame,
433 .decode_slice = decode_slice, 433 .decode_slice = decode_slice,