mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-22 13:18:34 -05:00
UI: Increase minimum output resolution to 32x32
Some hardware encoders fail in indecipherable ways if you try to at certain low resolutions such as 17x17 or 19x19, but works at 20x20. However, there is no good way to determine what the minimum working resolution is for every possible encoder. There isn't that much difference between 8x8 and 32x32, except that the latter will reduce or eliminate such odd failure cases, so let's increase the minimum required output resolution by just a little bit.
This commit is contained in:
@@ -94,7 +94,7 @@ static inline bool ResTooHigh(uint32_t cx, uint32_t cy)
|
||||
|
||||
static inline bool ResTooLow(uint32_t cx, uint32_t cy)
|
||||
{
|
||||
return cx < 8 || cy < 8;
|
||||
return cx < 32 || cy < 32;
|
||||
}
|
||||
|
||||
/* parses "[width]x[height]", string, i.e. 1024x768 */
|
||||
|
||||
Reference in New Issue
Block a user