Commit Graph

3791 Commits

Author SHA1 Message Date
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
Martin Pulec
71f48ff9ac Miscellaneous documentation improvements
- Doxygen code fixes
- preprocess Doxygen as C++
- Makefile targets for man and Doxygen
2019-10-24 08:32:55 +02:00
Martin Pulec
fd3f76739e Link fixes
missing hwaccel libs for GL display
2019-10-23 10:25:27 +02:00
Martin Pulec
a6dd67032b Libavcodec common: moved functions from hdr to src 2019-10-23 09:54:57 +02:00
Martin Pulec
bec25a6de3 Added audio_frame::dispose 2019-10-23 09:54:57 +02:00
Martin Pulec
ffec41208f Added initial file input 2019-10-23 09:54:49 +02:00
Martin Pulec
043abf3a06 Link fixes 2019-10-22 14:14:34 +02:00
Martin Pulec
06b521f2d0 Libavcodec common: UV<->AV pixfmt conversion funcs
Use form UV<->AV pixfmt conversions functions rather than the C++ map in
order to maintain compatibility with C code.
2019-10-22 13:46:06 +02:00
Martin Pulec
763d354794 Lavc: moved UG<->libav codec map to common 2019-10-21 13:49:23 +02:00
Martin Pulec
ee78756239 Main: missing param in warning 2019-10-17 16:13:08 +02:00
Martin Pulec
6cd2cd3c35 DShow: updates
- accept any codec string for the fixed syntax
- prefer UG codec names in mode listing
- prefer UG codec names  also for the change described in a first item of this
  enum (but take subtype names as a fallback)
2019-10-16 09:49:08 +02:00
Martin Pulec
002c55dd17 get_framerate_n/d: Fixed a warning
+ added unittests to make sure it works correctly
2019-10-16 09:49:05 +02:00
Milos Liska
f3a9e44f7f Copyright update 2019-10-16 05:16:22 +02:00
Milos Liska
4bea9a4a08 Small fix to parameters display in help 2019-10-15 10:28:26 +02:00
Martin Pulec
e2848647fa Print compressed size and time in verbose mode 2019-10-11 10:21:30 +02:00
Martin Pulec
8864f88c61 Key control: improvements
- guard the recently added commands ('C', 'q', 's')
- display output related commands to cout instead with logger to prevent
  dismissing important messages (suspended output/verbose=0) which would
  confuse user (that may not know that the output is suspended)
- missing log_level restore in read_command() on EOF
2019-10-11 10:21:30 +02:00