Skip to content

Commit

Permalink
video-surface: pretend that 4096x4096 is supported
Browse files Browse the repository at this point in the history
  • Loading branch information
i-rinat committed Sep 27, 2016
1 parent a860f26 commit 1dc6bdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api-video-surface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -488,10 +488,10 @@ QueryCapabilitiesImpl(VdpDevice device, VdpChromaType surface_chroma_type, VdpBo
*is_supported = 1;

if (max_width)
*max_width = 1920;
*max_width = 4096;

if (max_height)
*max_height = 1080;
*max_height = 4096;

return VDP_STATUS_OK;
}
Expand Down

0 comments on commit 1dc6bdb

Please sign in to comment.