Smack issue - Remove device open check tizen_2.1 tizen_2.2 2.2.1_release 2.2_release submit/tizen_2.1/20130515.030930 submit/tizen_2.2/20130714.145709
authorJeongmo Yang <jm80.yang@samsung.com>
Tue, 14 May 2013 02:53:07 +0000 (11:53 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Tue, 14 May 2013 02:53:38 +0000 (11:53 +0900)
Change-Id: I830dcc3cfd39eddaecf4e473f8ae7053a1189c7d

camerasrc/src/camerasrc.c
camerasrc/src/include/camerasrc-common.h
packaging/gst-plugins-s5pc2xx.spec

index b5966fd..e89fdde 100644 (file)
@@ -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);
                }
index 3195eb7..861f9b3 100644 (file)
@@ -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 */
index 7fc612c..5fca014 100644 (file)
@@ -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