Commit 2bd1272b authored by Felix Paul Kühne's avatar Felix Paul Kühne

core: add fake format for CVPixelBuffer

parent c14d7673
...@@ -336,6 +336,9 @@ ...@@ -336,6 +336,9 @@
/* D3D11VA opaque video surface for use with D3D11 */ /* D3D11VA opaque video surface for use with D3D11 */
#define VLC_CODEC_D3D11_OPAQUE VLC_FOURCC('D','X','1','1') #define VLC_CODEC_D3D11_OPAQUE VLC_FOURCC('D','X','1','1')
/* CVPixelBuffer opaque buffer type */
#define VLC_CODEC_CVPX_OPAQUE VLC_FOURCC('C','V','P','X')
/* Image codec (video) */ /* Image codec (video) */
#define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ') #define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ')
#define VLC_CODEC_PPM VLC_FOURCC('p','p','m',' ') #define VLC_CODEC_PPM VLC_FOURCC('p','p','m',' ')
......
...@@ -633,6 +633,7 @@ static const struct ...@@ -633,6 +633,7 @@ static const struct
{ { VLC_CODEC_ANDROID_OPAQUE, VLC_CODEC_MMAL_OPAQUE, { { VLC_CODEC_ANDROID_OPAQUE, VLC_CODEC_MMAL_OPAQUE,
VLC_CODEC_D3D9_OPAQUE, VLC_CODEC_D3D11_OPAQUE }, VLC_CODEC_D3D9_OPAQUE, VLC_CODEC_D3D11_OPAQUE },
FAKE_FMT() }, FAKE_FMT() },
{ { VLC_CODEC_CVPX_OPAQUE }, FAKE_FMT() },
{ { 0 }, FAKE_FMT() } { { 0 }, FAKE_FMT() }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment