diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pipelines.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipelines.c b/src/pipelines.c index 265162c..7434f0a 100644 --- a/src/pipelines.c +++ b/src/pipelines.c @@ -320,7 +320,7 @@ static gboolean create_recorder_elements(options_t* opt, GstElement* pipeline, s clock_gettime(CLOCK_REALTIME, &now); struct tm bd_time; localtime_r(&(now.tv_sec), &bd_time); - char recfile[1024]; //TODO: fix this hardcoded length + char recfile[1024]; recfile[0] = 0; strftime(recfile, sizeof(recfile), opt->rec_name_format_, &bd_time); g_object_set(G_OBJECT(sink), "location", recfile, NULL); |