Skip to content

Commit a1428f8

Browse files
Merge branch 'dev-0.10'
2 parents d746c6d + 4d17599 commit a1428f8

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dnl please read gstreamer/docs/random/autotools before changing this file
55
dnl initialize autoconf
66
dnl releases only do -Wall, git and prerelease does -Werror too
77
dnl use a three digit version number for releases, and four for git/pre
8-
AC_INIT([GStreamer Inference],[0.10.0.1],[https://github.com/RidgeRun/gst-inference/issues],[gst-inference])
8+
AC_INIT([GStreamer Inference],[0.10.1.1],[https://github.com/RidgeRun/gst-inference/issues],[gst-inference])
99

1010
AG_GST_INIT
1111

gst-libs/gst/r2inference/gstvideoinference.c

+5-6
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ gst_video_inference_process_model (GstVideoInference * self, GstBuffer * buffer,
907907
GST_ELEMENT_ERROR (self, STREAM, FAILED,
908908
("Subclass didn't implement post-process"), (NULL));
909909
ret = GST_FLOW_ERROR;
910-
goto buffer_free;
910+
goto out;
911911
}
912912

913913
buffer_model = gst_buffer_make_writable (buffer);
@@ -939,7 +939,7 @@ gst_video_inference_process_model (GstVideoInference * self, GstBuffer * buffer,
939939
if (!video_inference_prepare_postprocess (klass->inference_meta_info,
940940
buffer_model, info_model, meta_model)) {
941941
ret = GST_FLOW_ERROR;
942-
goto prediction_free;
942+
goto buffer_free;
943943
}
944944

945945
/* Subclass Processing */
@@ -949,7 +949,7 @@ gst_video_inference_process_model (GstVideoInference * self, GstBuffer * buffer,
949949
GST_ELEMENT_ERROR (self, STREAM, FAILED, ("Subclass failed at preprocess"),
950950
(NULL));
951951
ret = GST_FLOW_ERROR;
952-
goto prediction_free;
952+
goto buffer_free;
953953
}
954954

955955
/* Check if bypass pad was requested, if not, forward buffer */
@@ -976,13 +976,12 @@ gst_video_inference_process_model (GstVideoInference * self, GstBuffer * buffer,
976976
ret = gst_video_inference_forward_buffer (self, gst_buffer_ref (buffer_model),
977977
priv->src_model);
978978

979-
prediction_free:
980-
g_free (prediction_data);
981-
982979
buffer_free:
983980
gst_buffer_unref (buffer_model);
984981

985982
out:
983+
g_free (prediction_data);
984+
986985
return ret;
987986
}
988987

meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project('GStreamer Inference', ['c', 'cpp'], default_options : ['cpp_std=c++11'],
2-
version : '0.10.0.1',
2+
version : '0.10.1.1',
33
meson_version : '>= 0.50',)
44

55
project_name = meson.project_name()

0 commit comments

Comments
 (0)