From 7e101e656eca81675cb220c0d925c8c750eba08d Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Sat, 16 Apr 2011 14:54:07 +0000
Subject: added some TODO comments


diff --git a/src/writer.c b/src/writer.c
index 361d43e..3c63ccc 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -163,6 +163,14 @@ static int check_boundaries(writer_t* writer)
   localtime_r(&(now.tv_sec), &now_bd);
   log_printf(DEBUG, "it's now: %02d:%02d:%02d on %d.%d.%d", now_bd.tm_hour, now_bd.tm_min, now_bd.tm_sec, now_bd.tm_mday, now_bd.tm_mon+1, now_bd.tm_year+1900);
 
+      // TODO: check if boundary has been reached
+      //       if yes:
+      //         - open new file
+      //         - add new file
+      //         - remove old file
+      //         - calculate next filename and boundary
+      //         - call post processing script from fd_removed callback
+
   return 0;
 }
   
@@ -199,6 +207,8 @@ int writer_start(writer_t* writer)
   if(ret)
     return ret;
 
+      // TODO: add fd to fdsink
+
   writer->clock_id_ = gst_clock_new_periodic_id(writer->clock_, 0, writer->interval_);
   if(!writer->clock_id_) {
     log_printf(ERROR, "clock id could not be created");
-- 
cgit v0.10.2