Skip to content

Commit

Permalink
figure out new segment on the fly right in FrameDump::Start()
Browse files Browse the repository at this point in the history
  • Loading branch information
feos committed Nov 24, 2019
1 parent a7d4be7 commit 15e6e7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Core/VideoCommon/FrameDump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ bool FrameDump::Start(int w, int h)

s_width = w;
s_height = h;

s_last_frame_is_valid = false;
s_last_pts = 0;
s_last_frame_is_valid = s_file_index != 0;

InitAVCodec();
bool success = CreateVideoFile();
Expand Down

0 comments on commit 15e6e7d

Please sign in to comment.