layer: add a missed callback 81/172281/2
authorBoram Park <boram1288.park@samsung.com>
Tue, 13 Mar 2018 03:12:00 +0000 (12:12 +0900)
committerBoram Park <boram1288.park@samsung.com>
Tue, 13 Mar 2018 06:59:27 +0000 (15:59 +0900)
Change-Id: Ia7b2b6a467a1ef7531e5f4be51f58f559c8ae97a

src/tdm_layer.c

index b36f37f..df7693a 100644 (file)
@@ -946,7 +946,7 @@ _tdm_layer_commit(tdm_layer *layer, tdm_layer_commit_handler func, void *user_da
                if (_tdm_layer_commit_possible(private_layer)) {
                        /* add to layer_commit_handler_list */
                        LIST_ADDTAIL(&layer_commit_handler->link, &private_output->layer_commit_handler_list);
-                       ret = tdm_output_commit_internal(private_layer->private_output, 0, NULL, NULL);
+                       ret = tdm_output_commit_internal(private_layer->private_output, 0, _tdm_layer_cb_output_commit, layer_commit_handler);
                        TDM_GOTO_IF_FAIL(ret == TDM_ERROR_NONE, commit_failed);
 
                        if (tdm_debug_module & TDM_DEBUG_COMMIT)