Commit Graph

52 Commits

Author SHA1 Message Date
Robin Gareus f74b8227c5
Ignore LD-environment for video transcoding and Lua exec 2022-04-01 18:20:04 +02:00
Paul Davis c58a2a5749 video monitor: no need to test sigc::connection for connected() before disconnecting 2021-12-17 09:54:10 -07:00
Paul Davis 4484b60b13 Revert "extend API of ARDOUR_UI_UTILS::emulate_key_event() to allow it to pass modifiers too"
No need to extend/change this API, since relay_key_press() can already take a window argument.

This reverts commit 2e0fa8943a.
2021-06-06 08:11:26 -06:00
Paul Davis 2e0fa8943a extend API of ARDOUR_UI_UTILS::emulate_key_event() to allow it to pass modifiers too 2021-06-06 08:05:59 -06:00
Robin Gareus f72c2b93c5
Fix video-monitor display when seeking
see also 25c0bd9274

play, locate, play resulted in the video-monitor showing
the target frame shortly, and play a few frames from the old
location.

This was due to locate happening async. Click to locate
directly sends the new location:

```
VideoTimeLine::manual_seek_video_monitor
ARDOUR_UI::update_transport_clocks
CursorDrag::fake_locate
CursorDrag::start_grab
DragManager::start_grab

```

CursorDrag::finished unset _dragging_playhead before the
call to resuest_locate(). Meanwhile playback continues.
2021-05-05 17:11:24 +02:00
Robin Gareus 70442ae7e3
Ask xjadeo to use ArdourMono font for OSD 2019-11-09 06:34:31 +01:00
Robin Gareus a8f9ba4a5e
Preview video frame when dragging 2019-11-09 06:00:01 +01:00
Robin Gareus 4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Robin Gareus a390d8d3ca
Use enum for exec stderr parameter (2/2) 2019-03-05 22:49:18 +01:00
Paul Davis 58e9bb0a14 move away from "sync source" concepts 2018-10-05 14:15:02 -04:00
Robin Gareus 93625b108e Use "frame" for video-frames, fixes video-monitor state.
revert/amend/undo 30b087ab for video-related units
2018-01-21 11:27:26 +01:00
Paul Davis 7db12f6b12 convert codebase to use Temporal for various time types 2017-09-24 12:03:54 -04:00
Paul Davis 30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Tim Mayberry 47f1183a15 Use XMLNode::set_property API in VideoMonitor class 2017-04-19 09:36:57 +10:00
Robin Gareus 1479e2d772 Fix video-monitor "sync-source" changes 2016-12-10 15:54:47 +01:00
Paul Davis cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Paul Davis 9010262bed first compilable version of tabbable design.
I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile
2016-02-22 15:31:21 -05:00
Tim Mayberry b5c9a92a58 Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers 2015-01-01 19:04:14 +07:00
Robin Gareus 730e09ce65 another round of compiler warning fixes 2014-10-23 05:31:40 +02:00
Robin Gareus a968df97de update video NO_OFFSET to 64 bit 2014-10-01 00:26:21 +02:00
Robin Gareus dfbc9da79a update clocks and video-frames at FPS 2014-08-30 20:57:27 +02:00
Robin Gareus cd96ae8e8a fix for video-monitor (xjadeo >= 0.7.8 is started w/o jack-transport) 2014-07-25 12:59:41 +02:00
Robin Gareus 8d2c280438 update video-monitor override flags
(new OSX/openGL menu bar in upcoming xjadeo 0.8)
2014-07-25 12:59:40 +02:00
Robin Gareus a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
Robin Gareus 889f62328b update for xjadeo 0.7.7 (don't connect to jackd by default) 2014-06-07 17:28:46 +02:00
Robin Gareus 543099afba rework SystemExec - use vfork wrapper (and lots of related stuff) 2014-03-13 16:58:07 +01:00
John Emmas 300b484cf6 Merge branch 'master' into windows+cc
Conflicts (hopefully resolved):
	gtk2_ardour/ardour_ui.cc
	gtk2_ardour/ardour_ui.h
	gtk2_ardour/ardour_ui_options.cc
2013-10-06 11:56:03 +01:00
John Emmas 19bb2b33a8 Merge remote-tracking branch 'remotes/origin/cairocanvas' into windows
Conflicts (hopefully resolved):
	gtk2_ardour/marker.cc
	gtk2_ardour/midi_region_view.h
	gtk2_ardour/region_gain_line.h
	gtk2_ardour/utils.cc
	gtk2_ardour/video_image_frame.cc
	gtk2_ardour/wscript
	libs/backends/jack/wscript
2013-09-21 09:17:25 +01:00
Paul Davis 960a47330a switch from JACK_Slave to Engine_Slave 2013-09-19 17:34:23 -04:00
Tim Mayberry 486720de61 Use Glib::usleep for portability 2013-07-22 13:44:32 +10:00
Paul Davis f00b3b7f11 merge with master 2013-06-13 23:00:24 -04:00
Robin Gareus 9b9ebee02c remove inadvertently committed debug message 2013-06-11 00:49:36 +02:00
Robin Gareus 8b5f990267 vtl: send A/V offset to video-monitor when launched 2013-06-10 19:43:23 +02:00
Robin Gareus 3940ec3fa7 vtl: fix for not-saving video-monitor settings 2013-06-10 19:10:12 +02:00
Robin Gareus 70a422c1c7 vtl: remove cruft 2013-06-10 19:10:12 +02:00
Robin Gareus 717a38982a vtl: reduce ardour<>xjadeo communication
avoid duplcate OSD related messages.
2013-06-10 19:10:12 +02:00
Robin Gareus b203da5eb9 vtl: fix duplicate saved settings 2013-06-10 19:10:12 +02:00
Robin Gareus 5b7b56236b move emulate_key_event() to utils 2013-06-10 01:54:55 +02:00
Robin Gareus 06ab2f9c10 do not allow to change timecode-offset in xjadeo while ardour has control 2013-06-10 01:05:00 +02:00
Robin Gareus d4a656fc35 properly fake/forward keyboard events from video-monitor 2013-06-10 00:52:24 +02:00
Robin Gareus 85ceefd70a handle async communication from xjadeo 2013-06-09 22:56:34 +02:00
Robin Gareus 788b14365e fix video-monitor session settings
save settings when xjadeo terminates,
not only on explicit session save/quit.
2013-06-09 22:56:33 +02:00
Robin Gareus ce0aa96838 NOOP - use PBD's std::string to number functions 2013-06-08 09:03:26 +02:00
Paul Davis 40944574c6 the big rework of window management. probably not complete at thsi point, but this is mostly functional 2013-05-04 22:02:05 -04:00
Robin Gareus 74f2472c7d vtl: more frame->sample renames and cleaning 2013-04-17 09:10:47 +02:00
Paul Davis abba366fce fix some unused argument warnings 2013-04-16 14:04:07 -04:00
Robin Gareus 66ee2c8e59 enable videotimeline by default 2013-04-11 19:49:48 +02:00
Robin Gareus ed1f310f10 vtl: rework session-needs-save logic
* videotimeline now immediately marks the session dirty on
  every state-changing operation
* video-montor is polled every 2.5 seconds for menu-relevant state info
  (ontop, OSD,..) and every 30 seconds for full state (window pos, size,..)
* new interface to query the video-monitor for its state and wait for
  all replies - terminating the process and using ::wait() is no longer
  required
* Ardour> quit and Ardour > close-session does no longer close the video
  session to enforce video-monitor state sync but uses above new interface
2013-04-09 04:05:46 +02:00
Robin Gareus 1040801ffe vtl: video-monitor letterbox & orig-zoom to menu 2013-04-04 01:05:49 +02:00
Robin Gareus 9301991f6e vtl: video-monitor interaction
* Menu > View > Video Monitor -- bi-directional communication
with xjadeo for window-state and OSD.
* fix saving state on session close (wait for xjadeo to terminate)
2013-04-03 22:29:37 +02:00