mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2026-08-10 10:47:07 +00:00
fix build
This commit is contained in:
parent
99918c04ed
commit
2f3c3656f5
@ -1839,7 +1839,7 @@ int validate_config(std::shared_ptr<platf::display_t> disp, const encoder_t &enc
|
||||
|
||||
auto packets = mail::man->queue<packet_t>(mail::video_packets);
|
||||
while (!packets->peek()) {
|
||||
if (encode(1, *session, packets, nullptr, {})) {
|
||||
if (encode(1, *session, packets, nullptr, {}, 0)) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -8,6 +8,8 @@
|
||||
#include "thread_safe.h"
|
||||
#include "video_colorspace.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
extern "C" {
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libswscale/swscale.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user