Revision 36ad2b3e libavcodec/vaapi.c

View differences:

libavcodec/vaapi.c
185 185
    if (commit_slices(vactx) < 0)
186 186
        goto done;
187 187
    if (vactx->n_slice_buf_ids > 0) {
188
        if (render_picture(vactx, ff_vaapi_get_surface(s->current_picture_ptr)) < 0)
188
        if (render_picture(vactx, ff_vaapi_get_surface_id(s->current_picture_ptr)) < 0)
189 189
            goto done;
190 190
        ff_draw_horiz_band(s, 0, s->avctx->height);
191 191
    }

Also available in: Unified diff