figure out new segment on the fly right in FrameDump::Start()
This commit is contained in:
1 parent
a7d4be79ae
commit
15e6e7ddd2
1 file changed
+1
-2
@@ -84,9 +84,8 @@ bool FrameDump::Start(int w, int h)
|
|||||||
|
|
||||||
s_width = w;
|
s_width = w;
|
||||||
s_height = h;
|
s_height = h;
|
||||||
|
|
||||||
s_last_frame_is_valid = false;
|
|
||||||
s_last_pts = 0;
|
s_last_pts = 0;
|
||||||
|
s_last_frame_is_valid = s_file_index != 0;
|
||||||
|
|
||||||
InitAVCodec();
|
InitAVCodec();
|
||||||
bool success = CreateVideoFile();
|
bool success = CreateVideoFile();
|
||||||
|
|||||||
Reference in new issue
Block a user