mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
decoder: h264: clean-ups.
Fix GST_VAAPI_PICTURE_IS_{INTER_VIEW,ANCHOR}() definitions to use the base GST_VAAPI_PICTURE_FLAG_IS_SET() macro.
This commit is contained in:
parent
428b038dba
commit
63fde28dfd
1 changed files with 2 additions and 2 deletions
|
@ -195,10 +195,10 @@ enum {
|
|||
GST_VAAPI_PICTURE_FLAG_LONG_TERM_REFERENCE)
|
||||
|
||||
#define GST_VAAPI_PICTURE_IS_INTER_VIEW(picture) \
|
||||
(GST_VAAPI_PICTURE_FLAGS(picture) & GST_VAAPI_PICTURE_FLAG_INTER_VIEW)
|
||||
(GST_VAAPI_PICTURE_FLAG_IS_SET(picture, GST_VAAPI_PICTURE_FLAG_INTER_VIEW))
|
||||
|
||||
#define GST_VAAPI_PICTURE_IS_ANCHOR(picture) \
|
||||
(GST_VAAPI_PICTURE_FLAGS(picture) & GST_VAAPI_PICTURE_FLAG_ANCHOR)
|
||||
(GST_VAAPI_PICTURE_FLAG_IS_SET(picture, GST_VAAPI_PICTURE_FLAG_ANCHOR))
|
||||
|
||||
#define GST_VAAPI_PICTURE_H264(picture) \
|
||||
((GstVaapiPictureH264 *)(picture))
|
||||
|
|
Loading…
Reference in a new issue