mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-04-07 00:05:24 +00:00
JPEG: use restart interval 4 for UYVY
Seems to perform better for both 1080p and 2160p than 2.
This commit is contained in:
@@ -142,7 +142,7 @@ static bool configure_with(struct state_video_compress_jpeg *s, struct video_fra
|
||||
s->encoder_param.sampling_factor[2].vertical = 1;
|
||||
} else {
|
||||
s->encoder_param.interleaved = 1;
|
||||
s->encoder_param.restart_interval = s->restart_interval == -1 ? 2
|
||||
s->encoder_param.restart_interval = s->restart_interval == -1 ? 4
|
||||
: s->restart_interval;
|
||||
/* LUMA */
|
||||
s->encoder_param.sampling_factor[0].horizontal = 2;
|
||||
|
||||
Reference in New Issue
Block a user