File gstreamer-vaapi-1.28.1.patch of Package gstreamer-plugins-vaapi
diff --git a/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h265.c b/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidecoder_h265.c
index 5ba3f14cf5..afe6360925 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c
+++ b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c
@@ -456,7 +456,7 @@ static gboolean
nal_is_irap (guint8 nal_type)
{
if ((nal_type >= GST_H265_NAL_SLICE_BLA_W_LP) &&
- (nal_type <= RESERVED_IRAP_NAL_TYPE_MAX))
+ (nal_type <= GST_H265_RESERVED_IRAP_NAL_TYPE_MAX))
return TRUE;
return FALSE;
}