cwindow_xscroll = cwindow_yscroll = 0;
cwindow_zoom = 1.0;
cwindow_click2play = 0;
- strcpy(default_atransition, "");
- strcpy(default_vtransition, "");
+ strcpy(default_atransition, INIT_ATRANSITION);
+ strcpy(default_vtransition, INIT_VTRANSITION);
default_transition_length = 1.0;
edit_handle_mode[0] = MOVE_ALL_EDITS;
edit_handle_mode[1] = MOVE_ONE_EDIT;
proxy_scale = 1;
proxy_use_scaler = 0;
proxy_auto_scale = 1;
+ proxy_beep = 0;
+ render_beep = 0;
decode_subtitles = 0;
subtitle_number = 0;
label_cells = 0;
cwindow_yscroll = defaults->get("CWINDOW_YSCROLL", 0);
cwindow_zoom = defaults->get("CWINDOW_ZOOM", (float)1);
cwindow_click2play = defaults->get("CWINDOW_CLICK2PLAY", 0);
- sprintf(default_atransition, _("Crossfade"));
+ sprintf(default_atransition, INIT_ATRANSITION);
defaults->get("DEFAULT_ATRANSITION", default_atransition);
- sprintf(default_vtransition, _("Dissolve"));
+ sprintf(default_vtransition, INIT_VTRANSITION);
defaults->get("DEFAULT_VTRANSITION", default_vtransition);
default_transition_length = defaults->get("DEFAULT_TRANSITION_LENGTH", (double)1);
edit_handle_mode[0] = defaults->get("EDIT_HANDLE_MODE0", MOVE_ALL_EDITS);
subtitle_number = defaults->get("SUBTITLE_NUMBER", subtitle_number);
label_cells = defaults->get("LABEL_CELLS", label_cells);
program_no = defaults->get("PROGRAM_NO", program_no);
+ proxy_beep = defaults->get("PROXY_BEEP", proxy_beep);
+ render_beep = defaults->get("RENDER_BEEP", render_beep);
boundaries();
defaults->update("SUBTITLE_NUMBER", subtitle_number);
defaults->update("LABEL_CELLS", label_cells);
defaults->update("PROGRAM_NO", program_no);
-
+ defaults->update("PROXY_BEEP", proxy_beep);
+ defaults->update("RENDER_BEEP", render_beep);
return 0;
}
subtitle_number = file->tag.get_property("SUBTITLE_NUMBER", subtitle_number);
label_cells = file->tag.get_property("LABEL_CELLS", label_cells);
program_no = file->tag.get_property("PROGRAM_NO", program_no);
-
+ proxy_beep = file->tag.get_property("PROXY_BEEP", proxy_beep);
+ render_beep = file->tag.get_property("RENDER_BEEP", render_beep);
boundaries();
}
file->tag.set_property("DECODE_SUBTITLES", decode_subtitles);
file->tag.set_property("SUBTITLE_NUMBER", subtitle_number);
+ file->tag.set_property("PROXY_BEEP", proxy_beep);
+ file->tag.set_property("RENDER_BEEP", render_beep);
file->append_tag();
file->tag.set_title("/SESSION");
proxy_scale = session->proxy_scale;
proxy_use_scaler = session->proxy_use_scaler;
proxy_auto_scale = session->proxy_auto_scale;
+ proxy_beep = session->proxy_beep;
+ render_beep = session->render_beep;
subtitle_number = session->subtitle_number;
decode_subtitles = session->decode_subtitles;
printf(" audio_tracks=%d audio_channels=%d sample_rate=%jd\n"
" video_tracks=%d frame_rate=%f output_w=%d output_h=%d aspect_w=%f aspect_h=%f\n"
" decode subtitles=%d subtitle_number=%d label_cells=%d program_no=%d\n"
- " proxy_scale=%d\n proxy_use_scaler=%d, proxy_auto_scale=%d\n",
+ " proxy_scale=%d\n proxy_use_scaler=%d, proxy_auto_scale=%d\n"
+ " proxy_beep=%d render_beep=%d\n",
audio_tracks, audio_channels, sample_rate, video_tracks,
frame_rate, output_w, output_h, aspect_w, aspect_h,
decode_subtitles, subtitle_number, label_cells, program_no,
- proxy_scale, proxy_use_scaler, proxy_auto_scale);
+ proxy_scale, proxy_use_scaler, proxy_auto_scale,
+ proxy_beep, render_beep);
}