X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fplaybackprefs.C;h=a363f26fedf0259a3dc86f471564c31c99a77ecd;hb=6c0c8bd0e577001d1cc18c6c27d58e62f58a6bff;hp=b1e8bf66ecbe3a9575274ba1a840d8580abb7daa;hpb=94e8dc2b306135e7735b2618a54f0f7de7ac7a0c;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/playbackprefs.C b/cinelerra-5.0/cinelerra/playbackprefs.C index b1e8bf66..a363f26f 100644 --- a/cinelerra-5.0/cinelerra/playbackprefs.C +++ b/cinelerra-5.0/cinelerra/playbackprefs.C @@ -172,12 +172,7 @@ SET_TRACE vscaling_equation->create_objects(); SET_TRACE y += 35; - add_subwindow(new BC_Title(x, y, _("Preload buffer for Quicktime:"), MEDIUMFONT)); - sprintf(string, "" _LD "", pwindow->thread->edl->session->playback_preload); - PlaybackPreload *preload; - add_subwindow(preload = new PlaybackPreload(x + 210, y, pwindow, this, string)); - y += preload->get_h() + 5; add_subwindow(title1 = new BC_Title(x, y, _("DVD Subtitle to display:"))); PlaybackSubtitleNumber *subtitle_number; subtitle_number = new PlaybackSubtitleNumber(x + title1->get_w() + 10, @@ -325,21 +320,6 @@ int PlaybackMap51_2::handle_event() } -PlaybackPreload::PlaybackPreload(int x, int y, - PreferencesWindow *pwindow, PlaybackPrefs *playback, char *text) - : BC_TextBox(x, y, 100, 1, text) -{ - this->pwindow = pwindow; - this->playback = playback; -} - -int PlaybackPreload::handle_event() -{ - pwindow->thread->edl->session->playback_preload = atol(get_text()); - return 1; -} - - PlaybackInterpolateRaw::PlaybackInterpolateRaw( int x, int y, PreferencesWindow *pwindow, PlaybackPrefs *playback) : BC_CheckBox(x,