Module: Mesa Branch: master Commit: 5ff97f2644d7438a9fdc75a2a9bc850c7ce96783 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ff97f2644d7438a9fdc75a2a9bc850c7ce96783
Author: Leo Liu <[email protected]> Date: Wed Aug 23 13:18:21 2017 -0400 st/va: exclude the buffer reallocation for encode case Since encoder only support de-interlaced buffers. v2: move to parameter call to tell dec/enc Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]> --- src/gallium/state_trackers/va/picture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c index b2be7af8c4..47e63d3b30 100644 --- a/src/gallium/state_trackers/va/picture.c +++ b/src/gallium/state_trackers/va/picture.c @@ -622,7 +622,7 @@ vlVaEndPicture(VADriverContextP ctx, VAContextID context_id) screen = context->decoder->context->screen; interlaced = screen->get_video_param(screen, context->decoder->profile, - PIPE_VIDEO_ENTRYPOINT_BITSTREAM, + context->decoder->entrypoint, PIPE_VIDEO_CAP_SUPPORTS_INTERLACED); if (surf->buffer->interlaced != interlaced) { _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
