# Maintainer: goodguy <lists.cinelerra-cv.org>
pkgname=cin
pkgver=5.1
-pkgrel=20161030
+pkgrel=20161130
pkgdesc="Cinelerra git://git.cinelerra-cv.org/goodguy/cinelerra.git ($pkgrel)"
arch=('x86_64')
url="http://www.cinelerra-cv.org"
-%define ver 20161030
+%define ver 20161130
Summary: Multimedia Editing and construction
Name: cinelerra
Version: 5.1
-cin (1:5.1.20161030) unstable; urgency=low
+cin (1:5.1.20161130) unstable; urgency=low
[ guy goode ]
Source: cin
Section: video
Priority: optional
-Standards-Version: 5.1.20161030
+Standards-Version: 5.1.20161130
Homepage: http://www.cinelerra-cv.org/
Build-Depends: nasm, yasm, g++, gdb, build-essential, e2fsprogs,
// cause data to be stored directly in text
output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
- output.tag.set_title("MOTION");
+ output.tag.set_title("MOTIONCV");
output.tag.set_property("BLOCK_COUNT", config.block_count);
output.tag.set_property("GLOBAL_POSITIONS", config.global_positions);
output.tag.set_property("HORIZONTAL_ONLY", config.horizontal_only);
output.tag.set_property("VERTICAL_ONLY", config.vertical_only);
output.append_tag();
- output.tag.set_title("/MOTION");
+ output.tag.set_title("/MOTIONCV");
output.append_tag();
output.terminate_string();
}
int result = 0;
while( !(result = input.read_tag()) ) {
- if( input.tag.title_is("MOTION") ) {
+ if( input.tag.title_is("MOTIONCV") ) {
config.block_count = input.tag.get_property("BLOCK_COUNT", config.block_count);
config.global_positions = input.tag.get_property("GLOBAL_POSITIONS", config.global_positions);
config.rotate_positions = input.tag.get_property("ROTATE_POSITIONS", config.rotate_positions);
#include "pluginserver.h"
MotionCVWindow::MotionCVWindow(MotionCVMain *plugin)
- : PluginClientWindow(plugin, 815, 650, 815, 650, 0)
+ : PluginClientWindow(plugin, 815, 660, 815, 660, 0)
{
this->plugin = plugin;
}
add_subwindow(track_single =
new TrackSingleFrame(plugin, this, x1, y1));
add_subwindow(title =
- new BC_Title(x1 += track_single->get_w() + 20, y1, _("Frame number:")));
+ new BC_Title(x1=x2, y1, _("Frame number:")));
add_subwindow(track_frame_number =
new TrackFrameNumber(plugin, this, x1 += title->get_w(), y1));
add_subwindow(addtrackedframeoffset =
- new AddTrackedFrameOffset(plugin, this, x1, y1+=track_frame_number->get_h()));
+ new AddTrackedFrameOffset(plugin, this, x1=x2, y1+=track_frame_number->get_h()));
int pef = client->server->mwindow->edl->session->video_every_frame;
- add_subwindow(pef_title = new BC_Title(x1, y1+=addtrackedframeoffset->get_h() + 5,
+ add_subwindow(pef_title = new BC_Title(x1=x2, y1+=addtrackedframeoffset->get_h() + 5,
!pef ? _("For best results\n"
" Set: Play every frame\n"
" Preferences-> Playback-> Video Out") :
// cause data to be stored directly in text
output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
- output.tag.set_title("MOTION");
+ output.tag.set_title("MOTIONHV");
output.tag.set_property("BLOCK_COUNT", config.block_count);
// output.tag.set_property("GLOBAL_POSITIONS", config.global_positions);
output.tag.set_property("HORIZONTAL_ONLY", config.horizontal_only);
output.tag.set_property("VERTICAL_ONLY", config.vertical_only);
output.append_tag();
- output.tag.set_title("/MOTION");
+ output.tag.set_title("/MOTIONHV");
output.append_tag();
output.terminate_string();
}
if(!result)
{
- if(input.tag.title_is("MOTION"))
+ if(input.tag.title_is("MOTIONHV"))
{
config.block_count = input.tag.get_property("BLOCK_COUNT", config.block_count);
// config.global_positions = input.tag.get_property("GLOBAL_POSITIONS", config.global_positions);
#include "pluginserver.h"
MotionWindow::MotionWindow(MotionMain *plugin)
- : PluginClientWindow(plugin, 600, 650, 600, 650, 0)
+ : PluginClientWindow(plugin, 800, 660, 800, 660, 0)
{
this->plugin = plugin;
}
void MotionWindow::create_objects()
{
- int x1 = 10, x = 10, y = 10;
- int x2 = 310;
+ int x = 10, y = 10;
+ int x1 = x, x2 = get_w() / 2;
BC_Title *title;
add_subwindow(global = new MotionGlobal(plugin, this, x1, y));
add_subwindow(track_single =
new TrackSingleFrame(plugin, this, x1, y1));
add_subwindow(title =
- new BC_Title(x1 += track_single->get_w() + 20, y1, _("Frame number:")));
+ new BC_Title(x1=x2, y1, _("Frame number:")));
add_subwindow(track_frame_number =
new TrackFrameNumber(plugin, this, x1 += title->get_w(), y1));
add_subwindow(addtrackedframeoffset =
- new AddTrackedFrameOffset(plugin, this, x1, y1+=track_frame_number->get_h()));
+ new AddTrackedFrameOffset(plugin, this, x1=x2, y1+=track_frame_number->get_h()));
int pef = client->server->mwindow->edl->session->video_every_frame;
- add_subwindow(pef_title = new BC_Title(x1, y1+=addtrackedframeoffset->get_h() + 5,
+ add_subwindow(pef_title = new BC_Title(x1=x2, y1+=addtrackedframeoffset->get_h() + 5,
!pef ? _("For best results\n"
" Set: Play every frame\n"
" Preferences-> Playback-> Video Out") :
MotionWindow::MotionWindow(MotionMain2 *plugin)
- : PluginClientWindow(plugin,
- 600,
- 640,
- 600,
- 640,
- 0)
+ : PluginClientWindow(plugin, 680, 660, 680, 660, 0)
{
this->plugin = plugin;
}
void MotionWindow::create_objects()
{
- int x1[] = { 10, 310 };
+ int x1[] = { 10, get_w()/2 };
int x = 10, y = 10, y1 = 10;
BC_Title *title;