Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / filejpeg.C
index 65dc0e3b1c59e41716794e63597f84fc2d002486..75881b8b0c55c502a26a417f3fb97f3f91c92be4 100644 (file)
@@ -2,6 +2,7 @@
 /*
  * CINELERRA
  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
  *
  * 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
@@ -329,10 +330,12 @@ JPEGConfigVideo::JPEGConfigVideo(BC_WindowBase *parent_window, Asset *asset)
  : BC_Window(_(PROGRAM_NAME ": Video Compression"),
        parent_window->get_abs_cursor_x(1),
        parent_window->get_abs_cursor_y(1),
-       400, 200)
+       xS(400), yS(200))
 {
        this->parent_window = parent_window;
        this->asset = asset;
+// *** CONTEXT_HELP ***
+       context_help_set_keyword("Single File Rendering");
 }
 
 JPEGConfigVideo::~JPEGConfigVideo()
@@ -341,14 +344,15 @@ JPEGConfigVideo::~JPEGConfigVideo()
 
 void JPEGConfigVideo::create_objects()
 {
-       int x = 10, y = 10;
+       int xs10 = xS(10), ys10 = yS(10);
+       int x = xs10, y = ys10;
        lock_window("JPEGConfigVideo::create_objects");
        add_subwindow(new BC_Title(x, y, _("Quality:")));
        BC_ISlider *slider;
-       add_subwindow(slider = new BC_ISlider(x + 80, y,
-               0, 200, 200, 0, 100, asset->jpeg_quality, 0, 0,
+       add_subwindow(slider = new BC_ISlider(x + xS(80), y,
+               0, xS(200), xS(200), 0, xS(100), asset->jpeg_quality, 0, 0,
                &asset->jpeg_quality));
-       y += slider->get_h() + 10;
+       y += slider->get_h() + ys10;
        add_subwindow(new BC_CheckBox(x, y, 
                &asset->jpeg_sphere, _("Tag for spherical playback")));