Change-Id: Iecc3c25576b062ebe44b8199ef5fd1aaa7e19120
Name: libmm-camcorder
Summary: Camera and recorder library
-Version: 0.10.82
+Version: 0.10.83
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
err = _mmcamcorder_get_storage_info(dir_name, hcamcorder->root_directory, &hcamcorder->storage_info);
if (err != 0) {
_mmcam_dbg_err("get storage info failed");
+ g_free(dir_name);
+ dir_name = NULL;
return MM_ERROR_OUT_OF_STORAGE;
}
/* push buffer in appsrc to encode */
if (!sc->info_video) {
_mmcam_dbg_warn("sc->info_video is NULL!!");
- return FALSE;
+ return GST_PAD_PROBE_DROP;
}
if (sc->info_video->push_encoding_buffer == PUSH_ENCODING_BUFFER_RUN &&
ret = _mmcamcorder_get_storage_info(dir_name, hcamcorder->root_directory, &hcamcorder->storage_info);
if (ret != 0) {
_mmcam_dbg_err("get storage info failed");
+ g_free(dir_name);
+ dir_name = NULL;
return MM_ERROR_OUT_OF_STORAGE;
}