Change-Id: Iafb18e9f6a472f72b60f56e86593da85541404d2
debug_log("it seems pad caps is directely used for autoplugging. removing fakesink now\n");
if ( ! __mmplayer_gst_remove_fakesink( player,
- &player->pipeline->mainbin[MMPLAYER_M_SRC_FAKESINK]) );
+ &player->pipeline->mainbin[MMPLAYER_M_SRC_FAKESINK]) )
{
/* NOTE : __mmplayer_pipeline_complete() can be called several time. because
* signaling mechanism ( pad-added, no-more-pad, new-decoded-pad ) from various
int res = access(backup_path, R_OK);
if (!res)
- remove(backup_path);
+ {
+ if (remove(backup_path) == -1)
+ return FALSE;
+ }
return TRUE;
}