[FFmpeg-devel] [PATCH] lavd/avfoundation: overhaul
thilo.borgmann at mail.de
Tue Nov 24 19:27:57 CET 2015
this patchset fixes most if not all bugs reported to trac for me.
I'm sorry but splitting it up into really distinct patches that can be
tested separately did not work out for me so there are some unrelated
lines within. Also, applying patch 1/3 does not work on its own...
However I split them up as good as I can for better reviewing.
1/3: This patch basically switches from a one-frame buffer to Apple's
buffer queues, which also voids the need for posix thread
synchronization. This avoids frame drops and duplications as good as
possible as well as async audio recording.
Also, the previous run-time approach to get the final recording formats
for audio and video has been replaced by respective format queries.
Last, support for (possibly padded) planar pixel formats is added.
2/3: The available audio formats can be now be listed and choosen by
their respective index.
3/3: Comments & reindentions.
p.s. I would appreciate if someone could test more exessively on iOS
what I cannot easily do...
More information about the ffmpeg-devel