mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-27 00:38:30 -04:00
Merge branch 'master' into zma_to_thread
This commit is contained in:
commit
7575afc8d5
210 files changed
+3521
-4636
No files matched your search
+3
-1
@@ -559,6 +559,8 @@ int zm_send_packet_receive_frame(
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
// In this api the packet is always consumed, so return packet.bytes
|
||||
return packet.size;
|
||||
# else
|
||||
int frameComplete = 0;
|
||||
while ( !frameComplete ) {
|
||||
@@ -572,8 +574,8 @@ int zm_send_packet_receive_frame(
|
||||
return ret;
|
||||
}
|
||||
} // end while !frameComplete
|
||||
return ret;
|
||||
#endif
|
||||
return 0;
|
||||
} // end int zm_send_packet_receive_frame(AVCodecContext *context, AVFrame *frame, AVPacket &packet)
|
||||
|
||||
/* Returns < 0 on error, 0 if codec not ready, 1 on success
|
||||
|
||||
Reference in new issue
Block a user