You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Made a few fixes to the frame mapper
This commit is contained in:
@@ -41,6 +41,9 @@ void DummyReader::Open() throw(InvalidFile)
|
||||
info.video_timebase.num = fps.GetFraction().den;
|
||||
info.video_timebase.den = fps.GetFraction().num;
|
||||
info.video_length = round(info.duration * info.fps.ToDouble());
|
||||
info.acodec = "raw";
|
||||
info.channels = channels;
|
||||
info.sample_rate = sample_rate;
|
||||
|
||||
// Calculate the DAR (display aspect ratio)
|
||||
Fraction size(info.width * info.pixel_ratio.num, info.height * info.pixel_ratio.den);
|
||||
|
||||
Reference in New Issue
Block a user