mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-28 08:57:08 +00:00
libs: Let GST_VAAPI_RATECONTROL_MASK return unsigned int
The value return from GST_VAAPI_RATECONTROL_MASK will be used by GST_VAAPI_POPCOUNT32 as its inpput. GST_VAAPI_POPCOUNT32 can only deal with unsigned int. Otherwise there may be an error of out of range of integer if we define few more rate-control mode.
This commit is contained in:
parent
14ea838512
commit
f5c9d86f9c
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ typedef enum {
|
||||||
|
|
||||||
/* Define a mask for GstVaapiRateControl */
|
/* Define a mask for GstVaapiRateControl */
|
||||||
#define GST_VAAPI_RATECONTROL_MASK(RC) \
|
#define GST_VAAPI_RATECONTROL_MASK(RC) \
|
||||||
(1 << G_PASTE(GST_VAAPI_RATECONTROL_,RC))
|
(1U << G_PASTE(GST_VAAPI_RATECONTROL_,RC))
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue