Fix recorder waiting when stream disabled
In the recorder, if the video or audio stream is disabled, do not wait for its initialization (it will never happen) to process the header. In that case (scrcpy --no-audio --record=file.mp4), this caused the whole content to be buffered in memory, and written only on exit.
R
Romain Vimont committed
9d3c656414ac096ae30e42c22671c72a6bd491af
Parent: 379caf8