From b03406e31c5e5d4f8a4e065b03e68330885a3832 Mon Sep 17 00:00:00 2001 From: deva Date: Sun, 10 Apr 2005 20:38:45 +0000 Subject: lots of styff! --- TODO | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 60 insertions(+), 4 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 1bbef10..7e9ff73 100644 --- a/TODO +++ b/TODO @@ -16,9 +16,10 @@ Mainwindow: [x] - Make generic gui layout code. [x] - Make icons. [x] - Make statusbar. - [ ] - Make flashing record bar. - [ ] - Show network connection in statusbar. - [ ] - Show camera connection in statusbar. + [x] - Make flashing record bar. + [ ] - Show network connection status in statusbar. + [ ] - Show camera connection status in statusbar. + [x] - Save movie messagebox (yes/no/dunno) [ ] - Test it. CPRQueryDialog: @@ -30,6 +31,10 @@ CPRQueryDialog: [ ] - Make icons? [ ] - Test it. +Encoder: + [ ] - Send savestate signal. + [ ] - Make all data sent before deleting network object. (flush) + Decoder: [ ] - Enable sound decoding for the network stream. @@ -47,6 +52,9 @@ ImgEncoder: MovEncoder: [ ] - Enable sound. +Main: + [ ] - Save movie signal handling. + ========================================================================== TASKS (common) ========================================================================== @@ -85,4 +93,52 @@ Destructor: - Cleanup getNextFrame: - - returns: AVframe pointer \ No newline at end of file + - returns: AVframe pointer + +========================================================================== + SAVE THE MOVIE? +========================================================================== +When the stop button is clicked, a msg box pops up, "Save? [yes, no, dunno]" +network connection is no killed before this has been answered, and an empty +frame has been send to the server with the answer. + +On the serverside, a variable describing wether the file is to be saved (SAVE), +deleted (DELETE), og scheduled for later descision (LATER). + +It is initialized with LATER, in order to prevent errors due to a malfunction +leading to a disconnection. + +If a flag is recieved, the state is overwritten. + +If the state is SAVE, when the connection is terminated, the file is moved to +a folder containing permanent data store. + +If the state is DELETE, the file is moved to a folder containing files scheduled +for deletion, when more space is needed (no files are removed at this point) + +If the state is LATER, the file is moved to a folder containing files with this +purpose. + +A cron job examines this folder regularly (test how often). +If a file has been here for more than a week, the administrator is contacted by +email. + +========================================================================== + Semphores and mutexes in the client network architechture +========================================================================== +,-----------. +| DV stream | +`-----------' + | + V +,-----------. +| Decoder | +`-----------' + | \ + V \ +,-----------. \ +| Player | \ +`-----------' \ + \ ,-----------. + ->| Encoder | + `-----------' -- cgit v1.2.3