avfvideosrc: fix bogus BGRA caps
authorTim-Philipp Müller <tim@centricular.com>
Wed, 10 Sep 2014 15:38:52 +0000 (16:38 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 10 Sep 2014 15:38:52 +0000 (16:38 +0100)
Remove 0.10-style endianness/*_mask/bpp/depth fields.

sys/applemedia/avfvideosrc.m

index 5fc6e02..ad649bc 100644 (file)
@@ -48,14 +48,7 @@ static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
         "height = " GST_VIDEO_SIZE_RANGE "; "
 
         "video/x-raw, "
-        "format = (string) { BGRA }, "
-        "bpp = (int) 32, "
-        "depth = (int) 32, "
-        "endianness = (int) BIG_ENDIAN, "
-        "red_mask = (int) 0x0000FF00, "
-        "green_mask = (int) 0x00FF0000, "
-        "blue_mask = (int) 0xFF000000, "
-        "alpha_mask = (int) 0x000000FF, "
+        "format = (string) BGRA, "
         "framerate = " GST_VIDEO_FPS_RANGE ", "
         "width = " GST_VIDEO_SIZE_RANGE ", "
         "height = " GST_VIDEO_SIZE_RANGE "; "