/*
* CINELERRA
- * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2008-2017 Adam Williams <broadcast at earthling dot net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
RecordGUI::~RecordGUI()
{
-TRACE("RecordGUI::~RecordGUI 1");
delete status_thread;
+ delete record_transport;
delete batch_source;
delete batch_mode;
delete batch_flash;
delete batch_start;
delete batch_duration;
delete load_mode;
-TRACE("RecordGUI::~RecordGUI 2");
}
x = x3 + x2 + x1 + 40;
add_subwindow(new BC_Title(x, y,
- File::formattostr(mwindow->plugindb, asset->format),
+ File::formattostr(asset->format),
MEDIUMFONT,
mwindow->theme->recordgui_fixed_color));
y += pad;
int RecordGUIDropFrames::keypress_event()
{
- if(get_keypress() == 'd') {
+ if( get_keypress() == caption[0] ) {
set_value(get_value() ? 0 : 1);
handle_event();
return 1;
int RecordGUIFillFrames::keypress_event()
{
- if(get_keypress() == 'f') {
+ if( get_keypress() == caption[0] ) {
set_value(get_value() ? 0 : 1);
handle_event();
return 1;
int RecordGUIPowerOff::keypress_event()
{
- if(get_keypress() == 'p') {
+ if( get_keypress() == caption[0] ) {
set_value(get_value() ? 0 : 1);
handle_event();
return 1;
int RecordGUICommCheck::keypress_event()
{
- if(get_keypress() == 'c') {
+ if( get_keypress() == caption[0] ) {
set_value(get_value() ? 0 : 1);
gui->record->update_skimming(get_value());
handle_event();
int RecordGUILabel::keypress_event()
{
- if(get_keypress() == 'l') {
+ if( get_keypress() == *get_text() ) {
handle_event();
return 1;
}
input_lock->unlock();
}
Thread::join();
+ delete input_lock;
}
void RecordStatusThread::reset_video()
return 1;
}
-
-