diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2017-11-27 16:58:26 +0100 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2017-11-27 16:58:26 +0100 |
commit | 257aa3cdaee6884414353bede7297c31ca66c870 (patch) | |
tree | 184065fa6aff68dce1d8e3b6bbfcce728a874584 | |
parent | 61b3cc4c5a89e22f8271cf8c41894fcc287bb2e8 (diff) | |
download | gst-plugins-camera-n4-257aa3cdaee6884414353bede7297c31ca66c870.tar.gz gst-plugins-camera-n4-257aa3cdaee6884414353bede7297c31ca66c870.tar.bz2 gst-plugins-camera-n4-257aa3cdaee6884414353bede7297c31ca66c870.zip |
Remove unused first_frame field of struct _camerasrc_handle_tsubmit/tizen/20171201.015630accepted/tizen/unified/20171205.060613
Change-Id: I30dd4f3154e22e83d5c4d7f23b89f1047976c9c7
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
-rw-r--r-- | camerasrc/src/camerasrc.c | 4 | ||||
-rw-r--r-- | camerasrc/src/include/camerasrc-common.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/camerasrc/src/camerasrc.c b/camerasrc/src/camerasrc.c index 565695d..c781217 100644 --- a/camerasrc/src/camerasrc.c +++ b/camerasrc/src/camerasrc.c @@ -1234,7 +1234,6 @@ static int _camerasrc_initialize_handle(camerasrc_handle_t *handle) handle->af_usr_data = NULL; handle->af_cb = NULL; handle->isp_thread_cancel = FALSE; - handle->first_frame = 1; handle->frame_count = 0; handle->request_count = 0; handle->qbuf_count_sensor = 0; @@ -1623,8 +1622,6 @@ void *_camerasrc_rear_isp_thread_func(void *arg) p->qbuf_count_isp--; camsrc_debug("[ISP] DQBUF index %d", buf_index_isp); - } else { - camsrc_warning("primary camera first frame"); } /* Set ISP metadata */ @@ -3113,7 +3110,6 @@ int camerasrc_stop_stream(camsrc_handle_t handle) LOCK(p); p->timeperframe.denominator = 0; p->timeperframe.numerator = 0; - p->first_frame = 1; UNLOCK(p); camsrc_info("Stopping streaming and releasing buffers..."); diff --git a/camerasrc/src/include/camerasrc-common.h b/camerasrc/src/include/camerasrc-common.h index 1b508fe..8f1956e 100644 --- a/camerasrc/src/include/camerasrc-common.h +++ b/camerasrc/src/include/camerasrc-common.h @@ -423,7 +423,6 @@ typedef struct _camerasrc_handle_t { /* buffer information */ guint buffer_idx; guint queued_buffer_count; - int first_frame; struct v4l2_buffer queued_buf_list[CAMERASRC_USRPTR_MAX_BUFFER_NUM]; camerasrc_buffer_t *buffer_sensor; camerasrc_buffer_t *buffer_3aa_out; |