update caps.status 60/169560/1
authorJunkyeong Kim <jk0430.kim@samsung.com>
Wed, 7 Feb 2018 11:45:15 +0000 (20:45 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Wed, 7 Feb 2018 11:45:21 +0000 (20:45 +0900)
Change-Id: Ia5efe95c836403fe2ca6297850de52c03b9a3db0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/tdm_output.c

index c8a292b..63fe459 100644 (file)
@@ -223,6 +223,7 @@ tdm_output_cb_status(tdm_output *output_backend, tdm_output_conn_status status,
                TDM_INFO("output(%d) %s", private_output->pipe, tdm_status_str(status));
 
                _tdm_output_update(output_backend, user_data);
+               private_output->caps.status = status;
 
                output_status.base.type = TDM_THREAD_CB_OUTPUT_STATUS;
                output_status.base.length = sizeof output_status;
@@ -246,6 +247,7 @@ tdm_output_cb_status(tdm_output *output_backend, tdm_output_conn_status status,
 
        if (!tdm_thread_is_running())
                _tdm_output_update(output_backend, user_data);
+       private_output->caps.status = status;
 
        value.u32 = status;
        tdm_output_call_change_handler_internal(private_output,