diff options
author | Matthew Waters <matthew@centricular.com> | 2015-09-18 21:14:46 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2015-09-18 21:31:15 +1000 |
commit | f02425c4afcd85260a1b387aeddf863774257917 (patch) | |
tree | ef08aa2a41693459ee16f78f803c7f057899e8b7 /sys | |
parent | 473145197404c02b00f659d3a303561d81ffce36 (diff) | |
download | gstreamer-plugins-bad-f02425c4afcd85260a1b387aeddf863774257917.tar.gz |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/applemedia/vtdec.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/applemedia/vtdec.c b/sys/applemedia/vtdec.c index 18ac16880..5c5a99491 100644 --- a/sys/applemedia/vtdec.c +++ b/sys/applemedia/vtdec.c @@ -108,11 +108,16 @@ CFSTR ("RequireHardwareAcceleratedVideoDecoder"); #define GST_VTDEC_VIDEO_FORMAT_STR "UYVY" #endif +#ifdef HAVE_IOS #define VIDEO_SRC_CAPS \ GST_VIDEO_CAPS_MAKE_WITH_FEATURES \ (GST_CAPS_FEATURE_MEMORY_GL_MEMORY, \ "RGBA") ";" \ 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); |