scrcpy/app
Romain Vimont 6e05d7047a Call avcodec_receive_frame() in a loop
Since in scrcpy a video packet passed to avcodec_send_packet() is always
a complete video frame, it is sufficient to call avcodec_receive_frame()
exactly once.

In practice, it also works for audio packets: the decoder produces
exactly 1 frame for 1 input packet.

In theory, it is an implementation detail though, so
avcodec_receive_frame() should be called in a loop.
2023-03-10 22:22:15 +01:00
..
data Add --require-audio 2023-03-10 22:22:15 +01:00
prebuilt-deps Upgrade FFmpeg custom builds for Windows 2023-03-10 22:22:15 +01:00
src Call avcodec_receive_frame() in a loop 2023-03-10 22:22:15 +01:00
tests Add two-step write feature to bytebuf 2023-03-10 22:22:15 +01:00
meson.build Introduce bytebuf util 2023-03-10 22:22:15 +01:00
scrcpy-windows.manifest Set DPI awareness for Windows 2021-12-20 19:13:02 +01:00
scrcpy-windows.rc Bump version to 1.25 2022-12-22 12:33:29 +01:00
scrcpy.1 Add --require-audio 2023-03-10 22:22:15 +01:00