Added gravity, scale type, and percentage based X,Y location settings. All the basic transformation methods are now working. You can layer, move, fade, snap, rotate, and scale clips on the screen.

This commit is contained in:
Jonathan Thomas
2012-11-12 01:25:35 -06:00
parent 4e2947018c
commit d47a94f1a0
3 changed files with 129 additions and 41 deletions

View File

@@ -205,10 +205,10 @@ void FFmpegReader::UpdateAudioInfo()
if (!info.has_video)
{
// Set a few important default video settings (so audio can be divided into frames)
info.fps.num = 30;
info.fps.num = 24;
info.fps.den = 1;
info.video_timebase.num = 1;
info.video_timebase.den = 30;
info.video_timebase.den = 24;
info.video_length = info.duration * info.fps.ToDouble();
}