Skip to content

Commit

Permalink
check frame count
Browse files Browse the repository at this point in the history
  • Loading branch information
Anime4000 committed Jun 30, 2017
1 parent e5224fd commit 38f7f8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ifme/MediaEncoding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ private int VideoEncoding(MediaQueue queue)

if (!vc.Args.FrameCount.IsDisable())
{
framecount = $"{vc.Args.FrameCount} {item.FrameCount + Properties.Settings.Default.FrameCountOffset}";
if (item.FrameCount > 0)
framecount = $"{vc.Args.FrameCount} {item.FrameCount + Properties.Settings.Default.FrameCountOffset}";
}

// begin encoding
Expand Down

0 comments on commit 38f7f8a

Please sign in to comment.