-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split Video Dumps on Resolution Change #3930
Split Video Dumps on Resolution Change #3930
Conversation
671a194
to
a7bc839
Compare
Review status: 0 of 6 files reviewed at latest revision, 2 unresolved discussions. Source/Core/VideoCommon/AVIDump.cpp, line 48 [r1] (raw file):
Source/Core/VideoCommon/AVIDump.cpp, line 171 [r2] (raw file):
This should go in its own function. This doesn't have anything to do with directly adding a new frame (particularly considering it stops and then starts a new video). Comments from Reviewable |
a7bc839
to
d5f22fa
Compare
Review status: 0 of 6 files reviewed at latest revision, 2 unresolved discussions. Source/Core/VideoCommon/AVIDump.cpp, line 48 [r1] (raw file):
|
c5c8637
to
3e44fe9
Compare
{ | ||
if (width != s_current_width || height != s_current_height) | ||
{ | ||
Stop(true); |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
2d42916
to
9f74b40
Compare
9f74b40
to
88dbaf1
Compare
Review status: 0 of 2 files reviewed at latest revision, 3 unresolved discussions. Source/Core/VideoCommon/AVIDump.cpp, line 295 [r3] (raw file):
|
@dolphin-emu-bot rebuild |
Works correctly in D3D11/12 and OpenGL. |
Reviewed 2 of 6 files at r4, 2 of 2 files at r5. Comments from Reviewable |
@@ -894,11 +893,11 @@ void Renderer::SwapImpl(u32 xfb_addr, u32 fb_width, u32 fb_stride, u32 fb_height | |||
} | |||
if (bAVIDumping) | |||
{ | |||
if (frame_data.empty() || w != s_record_width || h != s_record_height) | |||
if (frame_data.empty() || source_width != s_record_width || source_height != source_height) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Reviewed 2 of 6 files at r1, 2 of 6 files at r4, 2 of 2 files at r5. Source/Core/VideoBackends/D3D/Render.cpp, line 920 [r5] (raw file):
You could simplify this all to just:
Or swap the Actually, Comments from Reviewable |
1c77f31
to
8a1bb66
Compare
8a1bb66
to
f31adf9
Compare
Review status: 2 of 4 files reviewed at latest revision, 5 unresolved discussions. Source/Core/VideoBackends/D3D/Render.cpp, line 920 [r5] (raw file):
|
Reviewed 2 of 2 files at r6. Comments from Reviewable |
Also handles widescreen changes.
This change is![Reviewable](https://camo.githubusercontent.com/23b05f5fb48215c989e92cc44cf6512512d083132bd3daf689867c8d9d386888/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)