Revert "vtdec: disable the texture cache on OSX"

This reverts commit f02425c4af.
This commit is contained in:
Alessandro Decina 2015-11-17 19:31:53 +11:00
parent c1720963e4
commit a8b01eb6d1

View file

@ -114,7 +114,6 @@ CFSTR ("RequireHardwareAcceleratedVideoDecoder");
#define GST_VTDEC_VIDEO_FORMAT_STR "UYVY"
#endif
#ifdef HAVE_IOS
#define VIDEO_SRC_CAPS \
"video/x-raw(" GST_CAPS_FEATURE_MEMORY_GL_MEMORY "), " \
"format = (string) RGBA, " \
@ -124,10 +123,6 @@ CFSTR ("RequireHardwareAcceleratedVideoDecoder");
"texture-target = (string) 2D " \
" ; " \
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);