[UTC][streamrecorder][Non-ACR] Change invalid value to -1
authorSeokHoon Lee <andy.shlee@samsung.com>
Tue, 11 Jul 2017 06:03:48 +0000 (15:03 +0900)
committerSeokHoon Lee <andy.shlee@samsung.com>
Tue, 11 Jul 2017 06:04:04 +0000 (15:04 +0900)
- Change invalid value to -1 in utc_media_streamrecorder_set_audio_channel_n1

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I3176451926ce719a97de05ccfe88e122e9344495

src/utc/streamrecorder/utc_media_streamrecorder.c

index be3e3005cb26ff6b297da60b45b26c11b3417236..0ef55a8d684eaf0d3a9cec4a5f80af6978d2b32d 100755 (executable)
@@ -596,7 +596,7 @@ int utc_media_streamrecorder_set_audio_channel_n1(void)
 
     ret = streamrecorder_enable_source_buffer(recorder, STREAMRECORDER_SOURCE_AUDIO);
     assert_eq(ret, STREAMRECORDER_ERROR_NONE);
-    ret = streamrecorder_set_audio_channel(recorder, 0);
+    ret = streamrecorder_set_audio_channel(recorder, -1);
     assert_eq(ret, STREAMRECORDER_ERROR_INVALID_PARAMETER);
 
     return 0;