summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/libmm-camcorder.spec2
-rwxr-xr-xsrc/mm_camcorder_gstcommon.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec
index 74ec2a7..de45d6f 100755
--- a/packaging/libmm-camcorder.spec
+++ b/packaging/libmm-camcorder.spec
@@ -1,6 +1,6 @@
Name: libmm-camcorder
Summary: Camera and recorder library
-Version: 0.10.240
+Version: 0.10.241
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
diff --git a/src/mm_camcorder_gstcommon.c b/src/mm_camcorder_gstcommon.c
index 58f9b2b..bf2e9b3 100755
--- a/src/mm_camcorder_gstcommon.c
+++ b/src/mm_camcorder_gstcommon.c
@@ -1612,9 +1612,6 @@ pipeline_creation_error:
if (element_list)
g_list_free(element_list);
- if (video_caps)
- gst_caps_unref(video_caps);
-
if (videoscale_caps)
gst_caps_unref(videoscale_caps);