Skip to content

Commit

Permalink
Orange pi can work now only with VDP_YCBCR_FORMAT_YV12
Browse files Browse the repository at this point in the history
  • Loading branch information
topilski committed Apr 16, 2017
1 parent ebdf784 commit e0059f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion surface_video.c
Expand Up @@ -345,7 +345,7 @@ VdpStatus vdp_video_surface_query_get_put_bits_y_cb_cr_capabilities(VdpDevice de
return VDP_STATUS_INVALID_HANDLE;

if (surface_chroma_type == VDP_CHROMA_TYPE_420)
*is_supported = (bits_ycbcr_format == VDP_YCBCR_FORMAT_NV12) ||
*is_supported = // (bits_ycbcr_format == VDP_YCBCR_FORMAT_NV12) ||
(bits_ycbcr_format == VDP_YCBCR_FORMAT_YV12);
else
*is_supported = VDP_FALSE;
Expand Down

0 comments on commit e0059f8

Please sign in to comment.