Revert "vtdec: disable the texture cache on OSX"
authorAlessandro Decina <alessandro.d@gmail.com>
Tue, 17 Nov 2015 08:31:53 +0000 (19:31 +1100)
committerAlessandro Decina <alessandro.d@gmail.com>
Wed, 16 Dec 2015 06:03:03 +0000 (17:03 +1100)
This reverts commit f02425c4afcd85260a1b387aeddf863774257917.

sys/applemedia/vtdec.c

index a2339c3..7160c0a 100644 (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);