Subject: [PATCH 2/2] h264parse: fix build with older GStreamer 1.x stacks
---
- gst/videoparsers/gsth264parse.c | 2 ++
- gst/videoparsers/gsth264parse.h | 1 +
+ gst/vaapi/gsth264parse.c | 2 ++
+ gst/vaapi/gsth264parse.h | 1 +
2 files changed, 3 insertions(+)
-diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c
+diff --git a/gst/vaapi/gsth264parse.c b/gst/vaapi/gsth264parse.c
index 9e74f2d..b6fd35b 100644
---- a/gst/videoparsers/gsth264parse.c
-+++ b/gst/videoparsers/gsth264parse.c
+--- a/gst/vaapi/gsth264parse.c
++++ b/gst/vaapi/gsth264parse.c
@@ -165,7 +165,9 @@ gst_h264_parse_init (GstH264Parse * h264parse)
{
h264parse->frame_out = gst_adapter_new ();
}
-diff --git a/gst/videoparsers/gsth264parse.h b/gst/videoparsers/gsth264parse.h
+diff --git a/gst/vaapi/gsth264parse.h b/gst/vaapi/gsth264parse.h
index 58d818c..617e616 100644
---- a/gst/videoparsers/gsth264parse.h
-+++ b/gst/videoparsers/gsth264parse.h
+--- a/gst/vaapi/gsth264parse.h
++++ b/gst/vaapi/gsth264parse.h
@@ -27,6 +27,7 @@
#include <gst/gst.h>