Skip to content
This repository was archived by the owner on Sep 3, 2019. It is now read-only.

Commit 0b3d6a0

Browse files
committed
Change HEVC profile numbers to 100 through 104
libvdpau 1.0 contained an error in its HEVC picture info structures. Rather than try to maintain backward compatibility with the incorrect definition, the existing VdpPictureInfoHEVC was updated to contain the fixed definition. Since the new structure is no longer compatible with the ABI defined by libvdpau 1.0, change the profile numbers for HEVC so that software built against the incorrect definition will not recognize the new profiles. Signed-off-by: Aaron Plattner <[email protected]> Reviewed-by: José Hiram Soltren <[email protected]>
1 parent 8e1e235 commit 0b3d6a0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/vdpau/vdpau.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2485,15 +2485,15 @@ typedef uint32_t VdpDecoderProfile;
24852485
#define VDP_DECODER_PROFILE_H264_HIGH_444_PREDICTIVE ((VdpDecoderProfile)26)
24862486
/** \hideinitializer */
24872487
/** \brief MPEG-H Part 2 == H.265 == HEVC */
2488-
#define VDP_DECODER_PROFILE_HEVC_MAIN ((VdpDecoderProfile)50)
2488+
#define VDP_DECODER_PROFILE_HEVC_MAIN ((VdpDecoderProfile)100)
24892489
/** \hideinitializer */
2490-
#define VDP_DECODER_PROFILE_HEVC_MAIN_10 ((VdpDecoderProfile)51)
2490+
#define VDP_DECODER_PROFILE_HEVC_MAIN_10 ((VdpDecoderProfile)101)
24912491
/** \hideinitializer */
2492-
#define VDP_DECODER_PROFILE_HEVC_MAIN_STILL ((VdpDecoderProfile)52)
2492+
#define VDP_DECODER_PROFILE_HEVC_MAIN_STILL ((VdpDecoderProfile)102)
24932493
/** \hideinitializer */
2494-
#define VDP_DECODER_PROFILE_HEVC_MAIN_12 ((VdpDecoderProfile)53)
2494+
#define VDP_DECODER_PROFILE_HEVC_MAIN_12 ((VdpDecoderProfile)103)
24952495
/** \hideinitializer */
2496-
#define VDP_DECODER_PROFILE_HEVC_MAIN_444 ((VdpDecoderProfile)54)
2496+
#define VDP_DECODER_PROFILE_HEVC_MAIN_444 ((VdpDecoderProfile)104)
24972497

24982498
/** \hideinitializer */
24992499
#define VDP_DECODER_LEVEL_MPEG1_NA 0

0 commit comments

Comments
 (0)