Andreas Rheinhardt
d92f38c179
avdevice: Constify all devices
...
This is possible now that the next-API is gone.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
Martin Storsjö
c810a9502c
avfoundation: Fix building on iOS
...
Apparently the changes from 3c9185bf3a
aren't enough; even with that in place, I got errors like this
when trying to build for iOS:
src/libavdevice/avfoundation.m:135:5: error:
'AVCaptureDeviceTransportControlsPlaybackMode' is unavailable: not
available on iOS
AVCaptureDeviceTransportControlsPlaybackMode observed_mode;
^
5 years ago
Thilo Borgmann
64b80cb04b
lavd/avfoundation.m: Do not use transport controls for screen capture devices.
5 years ago
Thilo Borgmann
3c9185bf3a
lavd/avfoundation.m: Remove transport controls for iOS.
5 years ago
Thilo Borgmann
39fbd06314
lavd/avfoundation: Add basic transport control observation for capable devices.
5 years ago
Thilo Borgmann
2ca14d84ee
lavd/avfoundation.m: Add an option to drop late frames.
...
Retains current behaviour by the default value.
5 years ago
Jun Zhao
3aeb681f07
libavdevice: Update the class name as uniform style
...
Update the class name to uniform indev/outdev style.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
5 years ago
Thilo Borgmann
70a4f46e48
lavd/avfoundation: Set correct default value 0 for option capture_raw_data.
5 years ago
Thilo Borgmann
5c2e0e417a
lavd/avfoundation: Reindent after last commit.
5 years ago
Thilo Borgmann
02f65678ba
lavd/avfoundation: Support muxed type of devices including raw muxed data capture.
5 years ago
Thilo Borgmann
3a5f9ab814
lavd/avfoundation: Refine some log messages.
5 years ago
Thilo Borgmann
7d4df4b339
lavd/avfoundation: Change binary Options to boolean type.
5 years ago
Thilo Borgmann
48cf952411
lavd/avfoundation: Remove useless index increment.
5 years ago
Rick Kern
a259501e5a
lavd/avfoundation: Fix skewed video output
...
Fixes ticket #5654 .
The linesize can be greater than the minimum required. This copies the
frame taking linesize into account.
Signed-off-by: Rick Kern <kernrj@gmail.com>
6 years ago
Marton Balint
4bb0409820
avdevice: migrate to AVFormatContext->url
...
Signed-off-by: Marton Balint <cus@passwd.hu>
7 years ago
Diego Biurrun
543f00c78e
avfoundation: Drop silly _dec suffix from filename
7 years ago
Vittorio Giovara
85c2bf9d2c
avfoundation: update to use AVCodecParameters
8 years ago
Alexandre Lision
4f979418c7
avfoundation: Simple capture
...
Originally based on the capture written by
Thilo Borgmann <thilo.borgmann@mail.de>.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago