diff options
author | deva <deva> | 2005-04-10 20:38:45 +0000 |
---|---|---|
committer | deva <deva> | 2005-04-10 20:38:45 +0000 |
commit | b03406e31c5e5d4f8a4e065b03e68330885a3832 (patch) | |
tree | 0d636129516814509df07afd918daef086be3133 /TODO | |
parent | 55a7afdedc7cee2df9012f600dd51aff92ad1af3 (diff) |
lots of styff!
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 64 |
1 files changed, 60 insertions, 4 deletions
@@ -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 | + `-----------' |