You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
scrcpy/app
Romain Vimont a039124d5d Open recording file from the recorder thread
The recorder opened the target file from the packet sink open()
callback, called by the demuxer. Only then the recorder thread was
started.

One golden rule for the recorder is to never block the demuxer for I/O,
because it would impact mirroring. This rule is respected on recording
packets, but not for the initial recorder opening.

Therefore, start the recorder thread from sc_recorder_init(), open the
file immediately from the recorder thread, then make it wait for the
stream to start (on packet sink open()).

Now that the recorder can report errors directly (rather than making the
demuxer call fail), it is possible to report file opening error even
before the packet sink is open.
2 years ago
..
data Fix --encoder documentation 2 years ago
prebuilt-deps Upgrade FFmpeg custom builds for Windows 2 years ago
src Open recording file from the recorder thread 2 years ago
tests Forward action button to device 2 years ago
meson.build Upgrade FFmpeg (6.0) for Windows 2 years ago
scrcpy-windows.manifest Set DPI awareness for Windows 3 years ago
scrcpy-windows.rc Bump version to 1.25 2 years ago
scrcpy.1 Fix --encoder documentation 2 years ago