Skip to content

Commit a63f915

Browse files
committed
steamcompmgr: Disable ffmpeg NV12 dump test
1 parent 6eeb9ce commit a63f915

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/steamcompmgr.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3070,6 +3070,10 @@ paint_all( global_focus_t *pFocus, bool async )
30703070
fwrite(mappedData, 1, pScreenshotTexture->totalSize(), file );
30713071
fclose(file);
30723072

3073+
bScreenshotSuccess = true;
3074+
xwm_log.infof("Screenshot saved to %s", oScreenshotInfo->szScreenshotPath.c_str());
3075+
3076+
#if 0
30733077
char cmd[4096];
30743078
sprintf(cmd, "ffmpeg -f rawvideo -pixel_format nv12 -video_size %dx%d -i %s %s_encoded.png", pScreenshotTexture->width(), pScreenshotTexture->height(), oScreenshotInfo->szScreenshotPath.c_str(), oScreenshotInfo->szScreenshotPath.c_str() );
30753079

@@ -3081,8 +3085,8 @@ paint_all( global_focus_t *pFocus, bool async )
30813085
xwm_log.errorf( "Failed to save screenshot to %s", oScreenshotInfo->szScreenshotPath.c_str() );
30823086
} else {
30833087
xwm_log.infof("Screenshot saved to %s", oScreenshotInfo->szScreenshotPath.c_str());
3084-
bScreenshotSuccess = true;
30853088
}
3089+
#endif
30863090
}
30873091
else
30883092
{

0 commit comments

Comments
 (0)