Revision 621f4c98

View differences:

libavcodec/vaapi_h264.c
55 55
{
56 56
    if (pic_structure == 0)
57 57
        pic_structure = pic->reference;
58
    pic_structure &= PICT_FRAME; /* PICT_TOP_FIELD|PICT_BOTTOM_FIELD */
58 59

  
59 60
    va_pic->picture_id = ff_vaapi_get_surface_id(pic);
60 61
    va_pic->frame_idx  = pic->long_ref ? pic->pic_id : pic->frame_num;

Also available in: Unified diff