scrcpy/app
Romain Vimont 5052e15f7f Create recorder streams from packet sinks ops
Previously, the packet sink push() implementation just set the codec and
notified a wait condition. Then the recorder thread read the codec and
created the AVStream.

But this was racy: an AVFrame could be pushed before the creation of the
AVStream, causing its video_stream_index or audio_stream_index to be
initialized to -1.

Also, in the future, the AVStream initialization might need data
provided by the packet sink open(), so initialize it there (with a
mutex).
2023-03-11 15:57:25 +01:00
..
data Add --audio-codec=raw option 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 Create recorder streams from packet sinks ops 2023-03-11 15:57:25 +01:00
tests Remove sc_queue 2023-03-10 22:22:15 +01:00
meson.build Add audio player 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 --audio-codec=raw option 2023-03-10 22:22:15 +01:00