summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2013-05-14 11:53:07 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2013-05-14 11:53:38 +0900
commit48d2c105a44c941a37d8f080fdd95e4bf5773734 (patch)
tree6c2f1d78abd9311039d0278bc2b6d44c92434f0c
parentb5b255bcba395a7b6523a229ac7b07048772e188 (diff)
downloadgst-plugins-s5pc2xx-tizen_2.2.tar.gz
gst-plugins-s5pc2xx-tizen_2.2.tar.bz2
gst-plugins-s5pc2xx-tizen_2.2.zip
Change-Id: I830dcc3cfd39eddaecf4e473f8ae7053a1189c7d
-rw-r--r--camerasrc/src/camerasrc.c3
-rw-r--r--camerasrc/src/include/camerasrc-common.h2
-rw-r--r--packaging/gst-plugins-s5pc2xx.spec4
3 files changed, 4 insertions, 5 deletions
diff --git a/camerasrc/src/camerasrc.c b/camerasrc/src/camerasrc.c
index b5966fd..e89fdde 100644
--- a/camerasrc/src/camerasrc.c
+++ b/camerasrc/src/camerasrc.c
@@ -1717,7 +1717,7 @@ int camerasrc_realize(camsrc_handle_t handle)
}
}
#else /* USE_OPEN_CHK */
- if (!CAMERASRC_IS_DEV_CLOSED(p)) {
+ if (CAMERASRC_IS_DEV_CLOSED(p)) {
ret = __camerasrc_open_device(p);
if (ret != CAMERASRC_SUCCESS) {
camsrc_error("camera open failed %x", ret);
@@ -1770,7 +1770,6 @@ int camerasrc_unrealize(camsrc_handle_t handle)
}
#else /* USE_OPEN_CHK */
if(!CAMERASRC_IS_DEV_CLOSED(p)) {
-
if( !(p->is_async_open) ) {
close(p->dev_fd);
}
diff --git a/camerasrc/src/include/camerasrc-common.h b/camerasrc/src/include/camerasrc-common.h
index 3195eb7..861f9b3 100644
--- a/camerasrc/src/include/camerasrc-common.h
+++ b/camerasrc/src/include/camerasrc-common.h
@@ -96,8 +96,8 @@ extern "C" {
#define CAMERASRC_SECONDARY_EXTRA_INFO_PATH "/tmp/.camsecondaryextrainfo"
#define CAMERASRC_MAX_IMAGE_BUFFER_PLANES 3
-#define USE_OPEN_CHK /*< Using open check with temporary file */
#define USE_SENSOR_MODE 1
+//#define USE_OPEN_CHK /*< Using open check with temporary file */
/*#define USE_SKIP_FRAME*/ /*< Skip frame toggle */
/*#define USE_IOCTL_DEBUG*/ /*< For debugging ioctl name, argument, address, etc */
/*#define USE_FRAME_COPY_BOUNDARY_CHECK*/ /*< Copy boundary checks occurs seg fault when overrun */
diff --git a/packaging/gst-plugins-s5pc2xx.spec b/packaging/gst-plugins-s5pc2xx.spec
index 7fc612c..5fca014 100644
--- a/packaging/gst-plugins-s5pc2xx.spec
+++ b/packaging/gst-plugins-s5pc2xx.spec
@@ -1,7 +1,7 @@
Name: gst-plugins-s5pc2xx
Summary: Gstreamer codec plugins package for S5PC2XX series
-Version: 0.3.18
-Release: 4
+Version: 0.3.19
+Release: 0
Group: libs
License: LGPLv2+
Source0: %{name}-%{version}.tar.gz