Name: libmm-streamrecorder
Summary: Media Stream Recorder library
-Version: 0.0.4
+Version: 0.0.5
Release: 0
Group: Multimedia/Other
License: Apache-2.0
%build
#export CFLAGS+=" -DGST_EXT_TIME_ANALYSIS"
export CFLAGS+=" -Wall -Wextra -Wno-array-bounds -Wno-empty-body -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow -Wwrite-strings -Wswitch-default -Wno-unused-but-set-parameter -Wno-unused-but-set-variable"
+export CFLAGS+=" -DSYSCONFDIR=\\\"%{_sysconfdir}\\\""
./autogen.sh
%configure --disable-static
make %{?jobs:-j%jobs}
extern "C" {
#endif
-#define MM_STREAMRECORDER_INI_DEFAULT_PATH "/usr/etc/mmfw_streamrecorder.ini"
+#define MM_STREAMRECORDER_INI_DEFAULT_PATH SYSCONFDIR"/multimedia/mmfw_streamrecorder.ini"
#define STREAMRECORDER_INI_MAX_STRLEN 256
#define STREAMRECORDER_INI_MAX_ELEMENT 10
}\
}
-#if 0
-#define MM_STREAMRECORDER_INI_DEFAULT_PATH "/usr/etc/mmfw_transcode.ini"
-#define STREAMRECORDER_INI_MAX_STRLEN 100
-#endif
/*=======================================================================================
| ENUM DEFINITIONS |
========================================================================================*/
debug_fenter();
if (g_stat(MM_STREAMRECORDER_INI_DEFAULT_PATH, &ini_buff) < 0) {
- _mmstreamrec_dbg_err("failed to get mmfw_wfd_sink ini status\n");
+ _mmstreamrec_dbg_err("failed to get mmfw_streamrecorder.ini status\n");
} else {
if (ini_buff.st_size < 5) {
- _mmstreamrec_dbg_err("mmfw_wfd_sink.ini file size=%d, Corrupted! So, Removed\n", (int)ini_buff.st_size);
+ _mmstreamrec_dbg_err("mmfw_streamrecorder.ini file size=%d, Corrupted! So, Removed\n", (int)ini_buff.st_size);
g_remove(MM_STREAMRECORDER_INI_DEFAULT_PATH);
}
}