You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Merge pull request #346 from jeffski/fix-text-24hr-memory-issue
Reduce duration of Image/Text Readers to 1 hour (#327)
This commit is contained in:
@@ -82,7 +82,7 @@ void ImageReader::Open()
|
||||
info.height = image->size().height();
|
||||
info.pixel_ratio.num = 1;
|
||||
info.pixel_ratio.den = 1;
|
||||
info.duration = 60 * 60 * 24; // 24 hour duration
|
||||
info.duration = 60 * 60 * 1; // 1 hour duration
|
||||
info.fps.num = 30;
|
||||
info.fps.den = 1;
|
||||
info.video_timebase.num = 1;
|
||||
|
||||
@@ -123,7 +123,7 @@ void QtImageReader::Open()
|
||||
info.height = image->height();
|
||||
info.pixel_ratio.num = 1;
|
||||
info.pixel_ratio.den = 1;
|
||||
info.duration = 60 * 60 * 24; // 24 hour duration
|
||||
info.duration = 60 * 60 * 1; // 1 hour duration
|
||||
info.fps.num = 30;
|
||||
info.fps.den = 1;
|
||||
info.video_timebase.num = 1;
|
||||
|
||||
@@ -127,7 +127,7 @@ void TextReader::Open()
|
||||
info.height = image->size().height();
|
||||
info.pixel_ratio.num = 1;
|
||||
info.pixel_ratio.den = 1;
|
||||
info.duration = 60 * 60 * 24; // 24 hour duration
|
||||
info.duration = 60 * 60 * 1; // 1 hour duration
|
||||
info.fps.num = 30;
|
||||
info.fps.den = 1;
|
||||
info.video_timebase.num = 1;
|
||||
|
||||
Reference in New Issue
Block a user