fix typo on https://review.tizen.org/gerrit/#/c/64393/ 83/66483/1 accepted/tizen/common/20160419.143347 accepted/tizen/ivi/20160419.085620 accepted/tizen/mobile/20160419.085545 accepted/tizen/tv/20160419.085537 accepted/tizen/wearable/20160419.085542 submit/tizen/20160419.070444
authorSeokHoon Lee <andy.shlee@samsung.com>
Tue, 19 Apr 2016 06:50:42 +0000 (15:50 +0900)
committerSeokHoon Lee <andy.shlee@samsung.com>
Tue, 19 Apr 2016 06:51:03 +0000 (15:51 +0900)
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I4669592230324f62ca157200f4057a4b97fda264

packaging/capi-media-streamrecorder.spec
src/streamrecorder_private.c

index 448d3e8..6fda5cf 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-streamrecorder
 Summary:    A Streamrecorder library in Tizen Native API
-Version:    0.0.5
+Version:    0.0.6
 Release:    0
 Group:      Multimedia/Other
 License:    Apache-2.0
index ea05dd6..6255d1d 100644 (file)
@@ -304,7 +304,7 @@ int _streamrecorder_unprepare(streamrecorder_h recorder)
                return __convert_streamrecorder_error_code(__func__, ret);
        }
 
-       if (state != STREAMRECORDER_STATE_CREATED) {
+       if (state != STREAMRECORDER_STATE_PREPARED) {
                LOGE("STREAMRECORDER_ERROR_INVALID_STATE (state:%d)", state);
                return STREAMRECORDER_ERROR_INVALID_STATE;
        }