check GIF list files to be the same size so not crashing
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / resamplert / resamplert.C
index 27f60270f6f14ec1331f147538cddbb6f26b3117..2b3b98d5fdc61b0ca967c76c88cc65e96ed1f3f1 100644 (file)
@@ -79,10 +79,10 @@ void ResampleRTConfig::boundaries()
 
 ResampleRTWindow::ResampleRTWindow(ResampleRT *plugin)
  : PluginClientWindow(plugin,
-       xS(210),
-       yS(160),
-       xS(200),
-       yS(160),
+       xS(180),
+       yS(110),
+       xS(180),
+       yS(110),
        0)
 {
        this->plugin = plugin;
@@ -182,8 +182,7 @@ ResampleRTResample::ResampleRTResample(ResampleRT *plugin)
 // To get the keyframes to work, resampling is always done in the forward
 // direction with the plugin converting to reverse.
 int ResampleRTResample::read_samples(Samples *buffer,
-       int64_t start,
-       int64_t len)
+       int64_t start, int64_t len, int direction)
 {
        int result = plugin->read_samples(buffer,
                0,