summaryrefslogtreecommitdiff
path: root/gtk2_ardour/video_timeline.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/video_timeline.h')
-rw-r--r--gtk2_ardour/video_timeline.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/video_timeline.h b/gtk2_ardour/video_timeline.h
index fbf563ecf8..ee682fa05e 100644
--- a/gtk2_ardour/video_timeline.h
+++ b/gtk2_ardour/video_timeline.h
@@ -29,7 +29,7 @@
#include "video_image_frame.h"
#include "video_monitor.h"
#include "pbd/signals.h"
-#include "canvas.h"
+#include "canvas/group.h"
namespace ARDOUR {
class Session;
@@ -93,7 +93,7 @@ class VideoTimeLine : public sigc::trackable, public ARDOUR::SessionHandlePtr, p
void save_session ();
void close_session ();
void sync_session_state (); /* video-monitor does not actively report window/pos changes, query it */
- float get_apv(); /* audio frames per video frame; */
+ float get_apv(); /* audio samples per video frame; */
ARDOUR::framecnt_t get_duration () { return video_duration;}
ARDOUR::frameoffset_t get_offset () { return video_offset;}
ARDOUR::frameoffset_t quantify_frames_to_apv (ARDOUR::frameoffset_t offset) { return floor(offset/get_apv())*get_apv(); }
@@ -102,17 +102,17 @@ class VideoTimeLine : public sigc::trackable, public ARDOUR::SessionHandlePtr, p
protected:
PublicEditor *editor;
- ArdourCanvas::Group *videotl_bar_group;
+ ArdourCanvas::Group *videotl_group;
int bar_height;
std::string _xjadeo_bin;
void find_xjadeo ();
- ARDOUR::frameoffset_t video_start_offset; /**< unit: audio-frames - video-file */
- ARDOUR::frameoffset_t video_offset; /**< unit: audio-frames - session */
+ ARDOUR::frameoffset_t video_start_offset; /**< unit: audio-samples - video-file */
+ ARDOUR::frameoffset_t video_offset; /**< unit: audio-samples - session */
ARDOUR::frameoffset_t video_offset_p; /**< used for undo from editor_drag.cc */
- framepos_t video_duration; /**< unit: audio-frames */
+ framepos_t video_duration; /**< unit: audio-samples */
std::string video_filename;
bool local_file;
double video_aspect_ratio;