mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
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. |
||
|---|---|---|
| .. | ||
| data | ||
| prebuilt-deps | ||
| src | ||
| tests | ||
| meson.build | ||
| scrcpy-windows.manifest | ||
| scrcpy-windows.rc | ||
| scrcpy.1 | ||