vtdec: disable the texture cache on OSX
This a workaround until the incompatibility with CVOpenGLTextureCache and opengl3 contexts is fixed. https://bugzilla.gnome.org/show_bug.cgi?id=754786
This commit is contained in:
parent
4731451974
commit
f02425c4af
@ -108,11 +108,16 @@ CFSTR ("RequireHardwareAcceleratedVideoDecoder");
|
|||||||
#define GST_VTDEC_VIDEO_FORMAT_STR "UYVY"
|
#define GST_VTDEC_VIDEO_FORMAT_STR "UYVY"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_IOS
|
||||||
#define VIDEO_SRC_CAPS \
|
#define VIDEO_SRC_CAPS \
|
||||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES \
|
GST_VIDEO_CAPS_MAKE_WITH_FEATURES \
|
||||||
(GST_CAPS_FEATURE_MEMORY_GL_MEMORY, \
|
(GST_CAPS_FEATURE_MEMORY_GL_MEMORY, \
|
||||||
"RGBA") ";" \
|
"RGBA") ";" \
|
||||||
GST_VIDEO_CAPS_MAKE(GST_VTDEC_VIDEO_FORMAT_STR) ";"
|
GST_VIDEO_CAPS_MAKE(GST_VTDEC_VIDEO_FORMAT_STR) ";"
|
||||||
|
#else
|
||||||
|
#define VIDEO_SRC_CAPS \
|
||||||
|
GST_VIDEO_CAPS_MAKE(GST_VTDEC_VIDEO_FORMAT_STR) ";"
|
||||||
|
#endif
|
||||||
|
|
||||||
G_DEFINE_TYPE (GstVtdec, gst_vtdec, GST_TYPE_VIDEO_DECODER);
|
G_DEFINE_TYPE (GstVtdec, gst_vtdec, GST_TYPE_VIDEO_DECODER);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user