summaryrefslogtreecommitdiff
path: root/sys/applemedia
Commit message (Collapse)AuthorAgeFilesLines
* applemedia: silence a couple of MoltenVK warningsMatthew Waters2021-07-282-3/+20
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2433>
* vulkan: provide a custom VK_DEFINE_NON_DISPATCHABLE_HANDLEWim Taymans2021-04-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | If the application did not define one yet, define our own VK_DEFINE_NON_DISPATCHABLE_HANDLE that is independent of the architecture. Vulkan, by default, provides a define that depends on the architecture, which causes the symbol type to be different. This causes an architecture dependent .gir file, which then causes multilib installation problems because the .gir files can't be shared. Make it possible to override the format specifier and provide a default one that is compatible with the default non dispatchable handle. Return VK_NULL_HANDLE from functions that return a non-dispatchable handle. Fixes #1566 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2130>
* gst: don't use volatile to mean atomicMatthew Waters2021-03-226-6/+6
| | | | | | | | | | | | volatile is not sufficient to provide atomic guarantees and real atomics should be used instead. GCC 11 has started warning about using volatile with atomic operations. https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719 Discovered in https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/868 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2098>
* vtdec/vulkan: use Shared storage mode for IOSurface texturesMatthew Waters2020-09-231-1/+1
| | | | | | | | Fixes a debug assertion with i(Pad)OS 14: 'IOSurface textures must use MTLStorageModeShared' Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1592>
* build: update for gl pkg-config file splitMatthew Waters2020-08-071-1/+1
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1462>
* avfvideosrc: wait for permissions request dialog callbackKevin King2020-06-241-0/+11
| | | | | | | otherwise gstreamer gives up on transitioning the pipeline before the user has accepted Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1370>
* applemedia: Add some properties to GstAvfDeviceJames Westman2020-03-231-4/+36
| | | | | | | | | | | | | | | | Adds properties to the devices listed in GstDeviceMonitor by the applemedia plugin. These properties are: - device.api (always set to "avf") - avf.unique_id - avf.model_id - avf.manufacturer (except on iOS) - avf.has_flash - avf.has_torch Everything except device.api is taken directly from the AVCaptureDevice object provided by AVFoundation.
* avfvideosrc: element requests camera permissions even with capture-screen ↵Roman Shpuntov2019-12-111-0/+4
| | | | | | | | | | property is true https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/1137 macOS has different dialogs for camera capture and screen capture. No need to request screen capture permissions, the system detect screen capture automatically and create request dialog.
* vtdec: add support for outputing vulkan imagesMatthew Waters2019-12-099-30/+870
|
* applemedia: rename IOSurfaceMemory -> IOSurfaceGLMemoryMatthew Waters2019-12-096-134/+137
|
* videotexturecache: implement GL specifics as a subclassMatthew Waters2019-12-098-233/+373
|
* applemedia/videocache: make a GObject subclassMatthew Waters2019-12-094-43/+129
|
* avfvideosrc: don't leak texture cachesMatthew Waters2019-12-091-1/+2
| | | | | If decide_allocation is called multiple times, then we would continually overwrite the previous cache without freeing
* avfvideosrc: Explicitly request device video permissions for macOS 10.14+o0Ignition0o2019-12-021-0/+39
| | | | | | | Since macOS Mojave (10.14), video permissions have to be explicitly granted by a user in order to open a video device such as a camera. This commit adds a check for the current permission status, and tries to request for permission if applicable.
* documentation: fixed a heap o' typosAaron Boxer2019-11-052-5/+5
|
* vtdec: fix leak of CMFormatDescriptionRoman Shpuntov2019-11-041-0/+4
| | | | | | | | There was consideration for replacing the CMFormatDescription used on format changes in `set_format()` however on shutdown, we were leaking the CMFormatDescription at the end of processing. 'https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/1106'
* vtdec: memory leaks bugfixRoman Shpuntov2019-11-021-0/+6
| | | | | release 'videoDecoderSpecification' variable in 'gst_vtdec_create_session' function. release 'extensions' variable in 'create_format_description_from_codec_data' function.
* Remove autotools build systemTim-Philipp Müller2019-10-141-128/+0
|
* applemedia/videocache: remove unimplemented/used upload functionMatthew Waters2019-09-161-1/+0
|
* applemedia: add the '-fobjc-arc' for darwin/iosMatthew Waters2019-06-171-0/+9
| | | | We use ARC so we need to signal that to the compiler.
* meson: add more plugins to plugins listTim-Philipp Müller2019-05-301-0/+1
| | | | | Makes sure their path gets added to the uninstalled environment and makes sure they get included in the docs.
* doc: remove xml from commentsMathieu Duponchelle2019-05-292-6/+4
|
* build: Don't forget to dist applemedia/avfdeviceprovider.hNirbheek Chauhan2019-03-011-0/+1
| | | | Closes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/908
* applemedia: add Hardware tag to element metadataTim-Philipp Müller2019-02-194-5/+5
|
* Add device provider for AVFoundation capture devices.Josh Matthews2019-02-087-103/+443
|
* avfvideosrc: add device-name propertyVaL Doroshchuk2019-01-251-2/+14
| | | | This property is readonly and should show the name of selected capture device.
* sys: applemedia: meson: Add dependencies by using appleframeworksJustin Kim2018-12-141-1/+1
| | | | gst-build#13
* applemedia: install plugin pkg-config fileMatthew Waters2018-11-061-0/+1
|
* meson: Fix applemedia dependencies on iOSNirbheek Chauhan2018-09-011-4/+2
| | | | | These were accidentally not being found because they were incorrectly specified.
* meson: host_system is 'ios' when building for iOSNirbheek Chauhan2018-08-171-2/+2
| | | | The cross file sets this value, and we use 'ios' in Cerbero.
* meson: Add an option for the applemedia pluginNirbheek Chauhan2018-08-141-12/+16
|
* meson: enable applemediaAlessandro Decina2018-08-031-0/+88
|
* Fix code indentationTim-Philipp Müller2018-04-221-1/+1
|
* applemedia: don't include private cocoa gl headerTim-Philipp Müller2017-12-191-1/+0
|
* applemedia: fix build after gl move to -baseTim-Philipp Müller2017-12-191-1/+3
|
* gl: update plugins to use GstGL from -baseTim-Philipp Müller2017-12-191-6/+6
|
* vtenc: fix a warning when building in MacOS 10.12Josep Torra2017-12-121-1/+1
| | | | | vtenc.c:564:20: error: incompatible pointer types passing 'GstVTEnc *' (aka 'struct _GstVTEnc *') to parameter of type 'GstVideoEncoder *' (aka 'struct _GstVideoEncoder *')
* vtdec: destroy and create the GL context on start()/stop()Matthew Waters2017-10-301-2/+11
| | | | Removes a reference count loop
* vtdec: flush decoder on stopNicola Murino2017-10-301-0/+2
| | | | | | fix a memory leak if the decoder shut down before EOS https://bugzilla.gnome.org/show_bug.cgi?id=787311
* vtenc: flush encoder on stopNicola Murino2017-10-301-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=787311
* vtenc: fix memory leakNicola Murino2017-10-201-22/+55
| | | | | | | finish encoding and clean buffers queue on flush. This avoid a memory leak if the element shuts down before EOS https://bugzilla.gnome.org/show_bug.cgi?id=787311
* Request minimum buffer even if need_pool is FALSENicolas Dufresne2017-09-061-9/+9
| | | | | | | When tee is used, it will not request a pool, but still it wants to know how many buffers are required. https://bugzilla.gnome.org/show_bug.cgi?id=730758
* gl: fix build for ios/win32/android after 2fd84a6cMatthew Waters2017-08-283-2/+2
| | | | Some missing GL includes.
* applemedia: fix build after commit 2fd84a6cPhilippe Normand2017-08-221-0/+1
|
* vtenc: assume 25 fps for unknown framerateNicola Murino2017-08-091-2/+9
| | | | | | | This is better than reporting no latency at all and then later failing in live pipelines. https://bugzilla.gnome.org/show_bug.cgi?id=786036
* Fix up package name and origin in some pluginsTim-Philipp Müller2017-05-181-1/+1
|
* gst: Clear floating flag in constructor of all GstObject subclasses that are ↵Sebastian Dröge2017-05-173-0/+3
| | | | | | not owned by any parent https://bugzilla.gnome.org/show_bug.cgi?id=743062
* Remove plugin specific static build optionNicolas Dufresne2017-05-161-1/+1
| | | | | Static and dynamic plugins now have the same interface. The standard --enable-static/--enable-shared toggle are sufficient.
* qtkit: drop the qtkitvideosrc elementJosep Torra2017-05-034-818/+0
| | | | | | | | The QTKit framework had been deprecated for long in favour of AVFundation framework and we already have avfvideosrc that provides the same functionality. https://bugzilla.gnome.org/show_bug.cgi?id=782078
* docs: Port all docstring to gtk-doc markdownThibault Saunier2017-04-122-8/+8
|