libobs: Increase texture encode buffering
Seems to solve lag encountered on the new AMF encoder. The SubmitInput call in the AMF encoder can occasionally stall for quite a long amount of time, but most take microseconds, so we can compensate by simply increasing the buffering (3 to 10 textures).master
parent
2e5f900fe6
commit
07df6548fd
|
@ -42,7 +42,7 @@
|
|||
#define NUM_TEXTURES 2
|
||||
#define NUM_CHANNELS 3
|
||||
#define MICROSECOND_DEN 1000000
|
||||
#define NUM_ENCODE_TEXTURES 3
|
||||
#define NUM_ENCODE_TEXTURES 10
|
||||
#define NUM_ENCODE_TEXTURE_FRAMES_TO_WAIT 1
|
||||
|
||||
static inline int64_t packet_dts_usec(struct encoder_packet *packet)
|
||||
|
|
Loading…
Reference in New Issue