*player = (player_h) pc;
if (player_msg_get_type(module_addr, ret_buf, POINTER)) {
pc->cb_info->data_fd = muse_client_new_data_ch();
- if (!muse_core_fd_is_valid(pc->cb_info->data_fd)) {
+ if ((pc->cb_info->data_fd < 0) || (!muse_core_fd_is_valid(pc->cb_info->data_fd))) {
LOGE("Failed to get data_fd");
ret = PLAYER_ERROR_INVALID_OPERATION;
goto ERROR;
g_print("[subtitle] A. Set(or change) subtitle path\n");
g_print("[subtitle] ss. Select(or change) subtitle track\n");
g_print("[Video Capture] C. Capture \n");
- g_print("[Video Codec] C1. Set vcodec type (1:HW, 2:SW)\t");
- g_print("C2. Get vcodec type\n");
+ g_print("[Video Codec] C1. Set codec type (1:HW, 2:SW)\t");
+ g_print("C2. Get codec type\n");
g_print("[next uri] su. set next uri. \t");
g_print("gu. get next uri. \t");
g_print("sg. set gapless. \n");
case CURRENT_STATUS_GET_TRACK_INFO:
{
value1 = atoi(cmd);
- get_track_info(fval);
+ get_track_info(value1);
reset_menu_state();
}
break;