From a8b01eb6d1d59625f755cb2054246bdcdfcc92ce Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Tue, 17 Nov 2015 19:31:53 +1100 Subject: [PATCH] Revert "vtdec: disable the texture cache on OSX" This reverts commit f02425c4afcd85260a1b387aeddf863774257917. --- sys/applemedia/vtdec.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/applemedia/vtdec.c b/sys/applemedia/vtdec.c index a2339c3573..7160c0a9bc 100644 --- a/sys/applemedia/vtdec.c +++ b/sys/applemedia/vtdec.c @@ -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);