applemedia: vtenc: Register a hardware-only vtenc_h264_hw element on OSX
authorHeinrich Fink <hfink@toolsonair.com>
Wed, 1 Jun 2016 11:43:32 +0000 (13:43 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 2 Jun 2016 08:22:09 +0000 (11:22 +0300)
commitab70d79c4303319ce0a7da72bf11e0eb60b0912c
tree2343e11e77541cea598db00ba1a554d32862393d
parent3d8d60baa87442b5a38383309481bc15c3fade15
applemedia: vtenc: Register a hardware-only vtenc_h264_hw element on OSX

Similar to vtdec_hw, this commit adds a vtenc_h264_hw element that fails
caps negotiation unless a hardware encoder could actually be acquired.
This is useful in situations where a fallback to a software encoder
other than the vtenc_h264 software encoder is desired (e.g. to x264enc).

https://bugzilla.gnome.org/show_bug.cgi?id=767104
sys/applemedia/vtenc.c
sys/applemedia/vtenc.h