asset.width = edl->session->output_w;
asset.height = edl->session->output_h;
asset.interlace_mode = edl->session->interlace_mode;
- asset.tcstart = (int64_t) (edl->session->get_frame_offset() +
- edl->local_session->get_selectionstart() *
- edl->session->frame_rate);
- asset.tcend = (int64_t) (edl->session->get_frame_offset() +
- edl->local_session->get_selectionend() *
- edl->session->frame_rate);
}
else
{
asset.video_data = 0;
asset.layers = 0;
- asset.tcstart = 0;
- asset.tcend = 0;
}
if(asset.audio_data &&
{
asset.audio_data = 1;
asset.channels = edl->session->audio_channels;
- asset.tcstart = (int64_t) (edl->session->get_frame_offset() +
- edl->local_session->get_selectionstart() *
- edl->session->sample_rate);
- asset.tcend = (int64_t) (edl->session->get_frame_offset() +
- edl->local_session->get_selectionend() *
- edl->session->sample_rate);
}
else
{
asset.audio_data = 0;
asset.channels = 0;
- asset.tcstart = 0;
- asset.tcend = 0;
}
if(!asset.audio_data &&
sprintf(string2, _("Rendering took %s"), string);
mwindow->gui->lock_window("");
- mwindow->gui->show_message(string2);
+ mwindow->gui->set_default_message(string2);
mwindow->gui->stop_hourglass();
mwindow->gui->unlock_window();
}