X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fdvdcreate.C;h=6b7bccd31f4307464af6d1fd2ca4dd8167b761d6;hb=9db053d413fde01439cc72ec2109913dfda2ec7b;hp=c752ba812a8feda6437f8d59bf916157637fbcc1;hpb=29cc4023b50d6f7f9ab518978d8c9e839832b900;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/dvdcreate.C b/cinelerra-5.1/cinelerra/dvdcreate.C index c752ba81..6b7bccd3 100644 --- a/cinelerra-5.1/cinelerra/dvdcreate.C +++ b/cinelerra-5.1/cinelerra/dvdcreate.C @@ -83,7 +83,7 @@ const double CreateDVD_Thread::DVD_KAUDIO_RATE = 224; CreateDVD_MenuItem::CreateDVD_MenuItem(MWindow *mwindow) : BC_MenuItem(_("DVD Render..."), _("Shift-D"), 'D') { - set_shift(1); + set_shift(1); this->mwindow = mwindow; } @@ -339,7 +339,7 @@ int CreateDVD_Thread::create_dvd_jobs(ArrayList *jobs, jobs->append(job); strcpy(&job->edl_path[0], xml_filename); asset = job->asset; - + sprintf(&asset->path[0],"%s/dvd.ac3", asset_dir); asset->audio_data = 1; asset->format = FILE_AC3; @@ -491,7 +491,7 @@ BC_Window* CreateDVD_Thread::new_gui() if( output_h != dvd_norms[norm].h ) continue; int aspect = dvd_formats[i].aspect; double dvd_aspect_ratio = - (double)dvd_aspects[aspect].w / dvd_aspects[aspect].h; + (double)dvd_aspects[aspect].w / dvd_aspects[aspect].h; if( !EQUIV(aspect_ratio, dvd_aspect_ratio) ) continue; has_standard = i; break; } @@ -771,7 +771,7 @@ void CreateDVD_GUI::create_objects() tmp_x = x + title->get_w(); tmp_y = y; tmp_path = new CreateDVD_TmpPath(this, tmp_x, tmp_y, get_w()-tmp_x-35); add_subwindow(tmp_path); - btmp_path = new BrowseButton(thread->mwindow, this, tmp_path, + btmp_path = new BrowseButton(thread->mwindow->theme, this, tmp_path, tmp_x+tmp_path->get_w(), tmp_y, "/tmp", _("Work path"), _("Select a Work directory:"), 1); add_subwindow(btmp_path);