Commit graph

42 commits

Author SHA1 Message Date
Andreas Frisch
2eb4b3dda3 wait until capture is paused before pluggin screensaver, prevents dangeling buffer in fd, hopefully fixes failing wakeup from screensaver to preview 2016-06-09 18:20:57 +02:00
Andreas Frisch
e8f90fd3f8 reset a block ids after removal, don't perform deferred state change to PREVIEW if previous state was anything else than COOLDOWN 2016-06-06 14:41:58 +02:00
Andreas Frisch
517cc232e6 Revert "use glsinkbin for screensaver playback (fixes occasionally missing video)"
This reverts commit bf6c5abbc1.
2016-06-06 14:08:17 +02:00
Andreas Frisch
bf6c5abbc1 use glsinkbin for screensaver playback (fixes occasionally missing video) 2016-06-06 13:51:44 +02:00
Andreas Frisch
051a0e95b5 implement state change watchdog, reinit camera in camera thread only 2016-06-06 10:58:43 +02:00
Andreas Frisch
0616c2ba21 bug fixes: init x11 threading, fix printer led, don't switch from video to photo bins until photo successfully taken, fix out-of-focus error handling 2016-06-05 15:42:01 +02:00
Andreas Frisch
22d0223ae6 add touch event sounds using libcanberra 2016-06-03 12:48:33 +02:00
Andreas Frisch
57a05a2447 implement printer led stripe, change some debug levels 2016-06-03 11:47:44 +02:00
Andreas Frisch
a751a991d2 implement slider to select number of copies. limits and default specified in .ini 2016-06-02 16:21:10 +02:00
Andreas Frisch
4f17559d92 add arduino led control class 2016-06-02 00:39:16 +02:00
Andreas Frisch
168114db6f background uploading 2016-05-30 12:57:28 +02:00
Andreas Frisch
b3d2aaf9d9 implement facebook upload functionality (curl backend + gui) 2016-05-30 12:35:31 +02:00
Andreas Frisch
89ead66d65 implement incrementing filename template 2016-05-29 23:53:14 +02:00
Andreas Frisch
a3279c36d9 hide cursor on video playback 2016-05-29 21:57:34 +02:00
Andreas Frisch
054ac50c13 fix a few memleaks 2016-05-25 16:26:04 +02:00
Andreas Frisch
739282afbd fix state machine if camera connection is lost during screensaver, allow screensaver playback on background click in STATE NONE 2016-05-25 13:58:32 +02:00
Andreas Frisch
d3273796b1 implement "screensaver" (a.k.a. camera-saver), interrupt preview after x seconds and show video/audio/photo specified in ini 2016-05-25 13:30:28 +02:00
Andreas Frisch
701e8c9ab7 cooldown break before ready to take more photos, fix countdown shadow in css 2016-05-10 19:01:32 +02:00
Andreas Frisch
ae21398a5a load ui template at runtime, configurable in ini file, load print offsets from ini 2016-05-10 16:39:41 +02:00
Andreas Frisch
971acbbb83 make things configurable 2016-05-09 15:50:05 +02:00
Andreas Frisch
69a04e1450 use new lcms instead of icc plugin, able to operate without colormanagement, don't unref lcms instance (so that the lut can be reused) 2016-05-05 16:45:12 +02:00
Andreas Frisch
636bfe5f35 new capture state for failed snapshots fixes non-disappearing spinner 2016-05-03 00:42:57 +02:00
Andreas Frisch
444d17b548 implement ICC color compensation element 2016-04-30 22:02:29 +02:00
Andreas Frisch
af17cdfcfc allow pretriggering 2016-04-30 02:10:37 +02:00
Andreas Frisch
ffe5bd6f69 declare processing functions correctly, move code around 2016-04-29 18:07:58 +02:00
Andreas Frisch
782dcda299 fix print orientation, move post-processing into seperate mutex-protected main-thread functions, fix preview after snapshot, fix audio after snapshot, cleanup privat structure layout, implement change_state and get_state_name functions 2016-04-29 17:58:32 +02:00
Andreas Frisch
c13627dbf3 get rid of redundant format conversion elements 2016-04-29 16:07:14 +02:00
Andreas Frisch
12a27949ce implement printing (orientation to be fixed) 2016-04-29 15:51:42 +02:00
Andreas Frisch
f215cab262 query printer status on touch if no media remaining 2016-04-28 19:59:00 +02:00
Andreas Frisch
02e0e536a2 run-time loaded user-customizable strings lookup 2016-04-28 19:05:06 +02:00
Andreas Frisch
4443c43ad6 implement printer media query, implement status bar with clock 2016-04-28 16:19:25 +02:00
Andreas Frisch
7a9ebb08b9 don't keep readding libgphoto logger hook in cam_init tries (without printing stuff) 2016-04-27 23:31:44 +02:00
Andreas Frisch
dfa8d25edd Revert "don't keep readding libgphoto logger hook in cam_init tries"
This reverts commit a94aa343d9.
2016-04-27 23:30:28 +02:00
Andreas Frisch
a94aa343d9 don't keep readding libgphoto logger hook in cam_init tries 2016-04-27 23:26:38 +02:00
Andreas Frisch
35fb3a5990 write jpg output file 2016-04-27 18:07:13 +02:00
Andreas Frisch
91c2777057 use templated signals 2016-04-27 13:05:29 +02:00
Andreas Frisch
327a0d84e5 add second beep sound 2016-04-26 23:59:01 +02:00
Andreas Frisch
4a26a8ef02 switch to gtksink, fixes overlaying widgets with transparency, implement spinner and countdown label 2016-04-26 16:58:22 +02:00
Andreas Frisch
f54dcb4785 move photo capture into thread 2016-04-26 13:27:20 +02:00
Andreas Frisch
1ce8391fa4 transfer window and ui stuff into seperate files 2016-04-26 12:34:43 +02:00
Andreas Frisch
e3706e3b4c be GtkApplication, show output in window, snapshot on click 2016-04-25 22:14:38 +02:00
Andreas Frisch
2aeb0484e7 add GObject-based test application to capture preview video from libgphoto2 (can viewed with "gst-play-1.0 moviepipe") 2016-04-24 21:39:53 +02:00