restore capture fps filter, keep fix_intermediate_fps re-encode
This commit is contained in:
@@ -58,8 +58,9 @@ impl GraphicsCaptureApiHandler for CaptureHandler {
|
||||
setup.width
|
||||
};
|
||||
|
||||
// Capture all frames at the rate they arrive. No fps filter in capture -
|
||||
// the export pipeline handles frame rate conversion.
|
||||
// Capture at declared rate, apply fps filter to normalize timestamps.
|
||||
// fix_intermediate_fps re-encodes with measured actual rate after.
|
||||
filter_parts.push(format!("fps={}", setup.fps));
|
||||
|
||||
if working_width > MAX_ENCODE_WIDTH {
|
||||
filter_parts.push(format!("scale={}:-2", MAX_ENCODE_WIDTH));
|
||||
|
||||
Reference in New Issue
Block a user