summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
Diffstat (limited to 'TODO')
-rw-r--r--TODO64
1 files changed, 60 insertions, 4 deletions
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 |
+ `-----------'