Commit Graph

3806 Commits

Author SHA1 Message Date
Martin Pulec
e52874998c Keycontrol: function to obtain key name 2019-11-04 10:35:17 +01:00
Martin Pulec
7693b3e1e5 Keycontrol: change audio delay keys
Interferred with key bindings from GL. In addition, this mapping seems
to be more intuitive.
2019-11-04 10:18:34 +01:00
Martin Pulec
7816c539d2 GL: register keys to keycontrol
Register all available keybingins to keyboard control.
2019-11-04 09:55:01 +01:00
Martin Pulec
5eddc6546b Replaced function attributes pure with const
Const is actually more powerful than pure while all those function
satisfy those more strict requirements.
2019-11-04 07:53:10 +01:00
Martin Pulec
d0fdcf8616 File: fixed exiting when paused 2019-11-04 07:53:10 +01:00
Martin Pulec
447be38b31 Allow registration of should_exit observers
This should be more correct way than using the global should_exit
variable. Moreover, the observers like capturers doesn't need to
pool the should exit variable and can send signal themselves (that
may eg. trigger a CV).
2019-11-04 07:53:08 +01:00
Martin Pulec
0666ec2e3d Messaging: option to wait indefinitely for response
+ more documentation
+ new root message struct
2019-11-01 15:17:20 +01:00
Martin Pulec
b00cc83868 Import: accept also paths with video.info 2019-11-01 15:17:20 +01:00
Martin Pulec
670c45ddf9 Added playback covering import and file
+ Moved common playback keys initialization here
2019-11-01 15:17:16 +01:00
Martin Pulec
ff0fb6a310 Use fct attr used to preserve key_control syms
This prevents them from being removed by linker with the modular build.
2019-11-01 11:33:08 +01:00
Martin Pulec
6257703d9a Replaced coding_standards.html with CONTRIBUTING.md
And extending it somehow.
2019-11-01 11:32:36 +01:00
Martin Pulec
f14ff76d65 Updated splashscreen source 2019-11-01 07:53:48 +01:00
Martin Pulec
160ca45be0 Configure: small fixes
- typo in avformat
- disallow JACK trasport with modular build - it is not properly
  decoupled from UltraGrid
2019-10-31 15:27:19 +01:00
Martin Pulec
02bfed5b77 Keyboard control: changes
- changed preset 'q' to 'S' not to interfere with import
- check guarding also for custom keys (although currently it
  cannot be enabled)
2019-10-31 14:35:07 +01:00
Martin Pulec
f9c9b3d88c SDL2: register for fullscreen 2019-10-31 14:34:14 +01:00
Martin Pulec
445d9ef748 SDL2: register as module + use dynamic event number
+ reduce indention in the main loop
2019-10-31 11:49:00 +01:00
Martin Pulec
0ba6bca135 Updated .gitignore 2019-10-31 11:03:44 +01:00
Martin Pulec
c7f05bbcb2 Bump to new GPUJPEG 2019-10-31 11:02:12 +01:00
Martin Pulec
be388bf7cc Simplify the previous commit
Moved the registration logic directly to keyboard control.
2019-10-31 09:56:03 +01:00
Martin Pulec
306cc9563a GL: register fullscreen key 2019-10-31 09:56:03 +01:00
Martin Pulec
a700befec9 Module: function to get path 2019-10-31 09:56:03 +01:00
Martin Pulec
171672f620 Configure: use CUDA_PATH only if set
Use CUDA_PATH only if set - this prevents substitution of $CUDA_PATH/bin
to /bin, which may be symlink to /usr/bin resulting in incorrect CUDA
path root "/".
2019-10-31 09:56:03 +01:00
Martin Pulec
507a419bb1 Libavcodec common: return print_decoder_error
Needed by audio libavcodec, if linking with the object, there would be
needed to link also with VDPAU which doesn't look fortunate.
2019-10-31 09:56:03 +01:00
Martin Pulec
75fb7fb8c2 GL: Pass also Ctrl-modified keys 2019-10-31 09:55:52 +01:00
Martin Pulec
e2fa40169e SDL2: pass also Ctrl-modified keys 2019-10-31 08:04:39 +01:00
Martin Pulec
35757c31f3 Moved common key sending from displays 2019-10-31 08:04:36 +01:00
Martin Pulec
94a34ecbb9 SDL2: pass unknown keys to keycontrol 2019-10-30 14:59:49 +01:00
Martin Pulec
47ee74b5c8 Added 1 level of logging
+ clarified semantics of individual log levels
2019-10-30 13:51:38 +01:00
Martin Pulec
fffa4b801a Increase some log messages' level 2019-10-30 13:40:19 +01:00
Martin Pulec
db8556b97f Key control: fixed locking 2019-10-30 13:40:10 +01:00
Martin Pulec
a312f0882f GL: pass unknown keys to keyboard control
This allows the control of import/file playback (running on the local machine).
2019-10-30 13:36:51 +01:00
Martin Pulec
ca62e58d00 GL: change some interactive keys
- use 'p' for pause
- use 'c' to show/hide cursor
- show cursor status
2019-10-30 13:36:51 +01:00
Martin Pulec
89447df437 GL: enlarge/shrink works again
With freeglut 2.8.1 on X11 it requires glutPostRedisplay() for the
window to actually resize.

+ imrove grammar in help
+ log the size change
2019-10-30 13:36:43 +01:00
Martin Pulec
68f53099df Key control: print representation of Ctrl keys 2019-10-30 10:30:34 +01:00
Martin Pulec
adbc9c058b Key control: use BOLD() macro for readibility 2019-10-30 10:23:16 +01:00
Martin Pulec
111261847e Key control: print which options are guarded 2019-10-30 10:23:10 +01:00
Martin Pulec
288ff631fe Key control: simplified option guarding guarded 2019-10-30 08:52:20 +01:00
Martin Pulec
95d1e3d36b Key control: command to enter key
+ simplified the structure of keyboard_control::run() a bit
2019-10-30 08:33:37 +01:00
Martin Pulec
d0ddfaec03 Key control: restructuralize events a bit 2019-10-29 21:55:40 +01:00
Martin Pulec
c72b12491e Key control: use CV [Windows] 2019-10-29 21:55:40 +01:00
Martin Pulec
1821f62c1e Configure: small fix 2019-10-29 21:55:39 +01:00
Martin Pulec
2d5b594950 Messaging: moved config includes from hdr to src 2019-10-29 21:55:39 +01:00
Martin Pulec
81997fb396 Bump to new GPUJPEG 2019-10-29 21:55:35 +01:00
Martin Pulec
0cc3cc0aa4 File cap.: print time info when seeking 2019-10-29 07:50:44 +01:00
Martin Pulec
70dbf25c0b File cap.: implemented pause+quit 2019-10-25 11:25:42 +02:00
Martin Pulec
d6d124f77a File cap.: implemented seeking 2019-10-24 17:43:44 +02:00
Martin Pulec
b8be53fbec File cap.: multiple changes
- fixed a leak
- added a :loop option
- subscribe to seek events (not yet implemented)
2019-10-24 16:11:47 +02:00
Martin Pulec
c0db3c75d3 Bump to new GPUJPEG 2019-10-24 16:10:42 +02:00
Martin Pulec
75b881448d Module: added optional priv_magic member
Allows module to set its own magic number.
2019-10-24 08:37:01 +02:00
Martin Pulec
cad9f18fff File cap.: use audo_frame::dispose
Use audo_frame::dispose and remove double buffering for audio.
2019-10-24 08:36:55 +02:00