Use current FFmpeg profile constants and qualify video port status
This commit is contained in:
1 parent
af35d03399
commit
d01bc395fa
2 files changed
+3
-3
No files matched your search
@@ -148,7 +148,7 @@ void CallVideoEngine::transmit() {
|
||||
int64_t lastPts = -1, lastKey = -1;
|
||||
bool forceKey = true;
|
||||
while (m->running) {
|
||||
call_video_port_status state{};
|
||||
struct call_video_port_status state{};
|
||||
if (call_video_port_status(m->id, &state) < 0) break;
|
||||
uint64_t revision; bool enabled; int width, height, codec; int64_t pts;
|
||||
#ifdef HAVE_STREAM_CAPTURE
|
||||
|
||||
Reference in new issue
Block a user