mirror of https://github.com/Genymobile/scrcpy
Fix recording with old decoding/encoding API
The deprecated avcodec_decode_video2() should always the whole packet, so there is no need to loop (cf doc/examples/demuxing_decoding.c in FFmpeg). This hack changed the packet size and data pointer. This broke recording which used the same packet.pull/449/head
parent
84270e2d18
commit
bcd4090d51
Loading…
Reference in New Issue