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

Commit 4a07dbe

Browse files
xwu2gitjhou5
andauthored
gst-plugin-gva patch (#601)
* add CHECKPOINT_DISABLE=1 * add gst-gva patch * exclude 1604 Co-authored-by: jhou5 <[email protected]>
1 parent b64270d commit 4a07dbe

File tree

9 files changed

+10
-0
lines changed

9 files changed

+10
-0
lines changed

Xeon/centos-7/analytics/dev/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ RUN git clone ${VA_GSTREAMER_PLUGINS_REPO} && \
600600
cd gst-video-analytics && \
601601
git checkout ${VA_GSTREAMER_PLUGINS_VER} && \
602602
git submodule init && git submodule update && \
603+
sed -i "195s/) {/||g_strrstr(name, \"image\")) {/" gst/elements/gvapython/python_callback.cpp && \
603604
mkdir build && \
604605
cd build && \
605606
export CFLAGS="-std=gnu99 -Wno-missing-field-initializers" && \

Xeon/centos-7/analytics/gst/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ RUN git clone ${VA_GSTREAMER_PLUGINS_REPO} && \
554554
cd gst-video-analytics && \
555555
git checkout ${VA_GSTREAMER_PLUGINS_VER} && \
556556
git submodule init && git submodule update && \
557+
sed -i "195s/) {/||g_strrstr(name, \"image\")) {/" gst/elements/gvapython/python_callback.cpp && \
557558
mkdir build && \
558559
cd build && \
559560
export CFLAGS="-std=gnu99 -Wno-missing-field-initializers" && \

Xeon/ubuntu-18.04/analytics/dev/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ RUN git clone ${VA_GSTREAMER_PLUGINS_REPO} && \
612612
cd gst-video-analytics && \
613613
git checkout ${VA_GSTREAMER_PLUGINS_VER} && \
614614
git submodule init && git submodule update && \
615+
sed -i "195s/) {/||g_strrstr(name, \"image\")) {/" gst/elements/gvapython/python_callback.cpp && \
615616
mkdir build && \
616617
cd build && \
617618
export CFLAGS="-std=gnu99 -Wno-missing-field-initializers" && \

Xeon/ubuntu-18.04/analytics/gst/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ RUN git clone ${VA_GSTREAMER_PLUGINS_REPO} && \
564564
cd gst-video-analytics && \
565565
git checkout ${VA_GSTREAMER_PLUGINS_VER} && \
566566
git submodule init && git submodule update && \
567+
sed -i "195s/) {/||g_strrstr(name, \"image\")) {/" gst/elements/gvapython/python_callback.cpp && \
567568
mkdir build && \
568569
cd build && \
569570
export CFLAGS="-std=gnu99 -Wno-missing-field-initializers" && \

XeonE3/centos-7/analytics/dev/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,7 @@ RUN git clone ${VA_GSTREAMER_PLUGINS_REPO} && \
718718
cd gst-video-analytics && \
719719
git checkout ${VA_GSTREAMER_PLUGINS_VER} && \
720720
git submodule init && git submodule update && \
721+
sed -i "195s/) {/||g_strrstr(name, \"image\")) {/" gst/elements/gvapython/python_callback.cpp && \
721722
mkdir build && \
722723
cd build && \
723724
export CFLAGS="-std=gnu99 -Wno-missing-field-initializers" && \

XeonE3/centos-7/analytics/gst/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ RUN git clone ${VA_GSTREAMER_PLUGINS_REPO} && \
663663
cd gst-video-analytics && \
664664
git checkout ${VA_GSTREAMER_PLUGINS_VER} && \
665665
git submodule init && git submodule update && \
666+
sed -i "195s/) {/||g_strrstr(name, \"image\")) {/" gst/elements/gvapython/python_callback.cpp && \
666667
mkdir build && \
667668
cd build && \
668669
export CFLAGS="-std=gnu99 -Wno-missing-field-initializers" && \

XeonE3/ubuntu-18.04/analytics/dev/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,7 @@ RUN git clone ${VA_GSTREAMER_PLUGINS_REPO} && \
746746
cd gst-video-analytics && \
747747
git checkout ${VA_GSTREAMER_PLUGINS_VER} && \
748748
git submodule init && git submodule update && \
749+
sed -i "195s/) {/||g_strrstr(name, \"image\")) {/" gst/elements/gvapython/python_callback.cpp && \
749750
mkdir build && \
750751
cd build && \
751752
export CFLAGS="-std=gnu99 -Wno-missing-field-initializers" && \

XeonE3/ubuntu-18.04/analytics/gst/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,7 @@ RUN git clone ${VA_GSTREAMER_PLUGINS_REPO} && \
702702
cd gst-video-analytics && \
703703
git checkout ${VA_GSTREAMER_PLUGINS_VER} && \
704704
git submodule init && git submodule update && \
705+
sed -i "195s/) {/||g_strrstr(name, \"image\")) {/" gst/elements/gvapython/python_callback.cpp && \
705706
mkdir build && \
706707
cd build && \
707708
export CFLAGS="-std=gnu99 -Wno-missing-field-initializers" && \

template/gst-plugin-gva.m4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ RUN git clone ${VA_GSTREAMER_PLUGINS_REPO} && \
2121
cd gst-video-analytics && \
2222
git checkout ${VA_GSTREAMER_PLUGINS_VER} && \
2323
git submodule init && git submodule update && \
24+
ifelse(index(DOCKER_IMAGE,ubuntu1604),-1,` sed -i ```"195s/) {/||g_strrstr(name, \"image\")) {/"''' gst/elements/gvapython/python_callback.cpp && \
25+
')dnl
2426
mkdir build && \
2527
cd build && \
2628
export CFLAGS="-std=gnu99 -Wno-missing-field-initializers" && \

0 commit comments

Comments
 (0)