x-raw-bayer -> x-bayer
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 5 Mar 2012 11:42:27 +0000 (12:42 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 5 Mar 2012 11:42:27 +0000 (12:42 +0100)
Rename x-raw-bayer to x-bayer. We might want to merge this with x-raw eventually
but for now keep the x-raw namespace clean.

gst/videotestsrc/gstvideotestsrc.c
gst/videotestsrc/videotestsrc.c

index c5db376..6667ae1 100644 (file)
@@ -646,7 +646,7 @@ gst_video_test_src_setcaps (GstBaseSrc * bsrc, GstCaps * caps)
     if (!gst_video_info_from_caps (&info, caps))
       goto parse_failed;
 
-  } else if (gst_structure_has_name (structure, "video/x-raw-bayer")) {
+  } else if (gst_structure_has_name (structure, "video/x-bayer")) {
     if (!gst_video_test_src_parse_caps (caps, &info.width, &info.height,
             &info.fps_n, &info.fps_d, &info.colorimetry))
       goto parse_failed;
index 8118178..53ff9c1 100644 (file)
@@ -331,7 +331,7 @@ paintinfo_find_by_structure (const GstStructure * structure)
       }
     }
     return NULL;
-  } else if (strcmp (media_type, "video/x-raw-bayer") == 0) {
+  } else if (strcmp (media_type, "video/x-bayer") == 0) {
     const gchar *format;
 
     format = gst_structure_get_string (structure, "format");
@@ -432,7 +432,7 @@ paint_get_structure (struct format_list_struct * format)
       break;
     }
     case VTS_BAYER:
-      structure = gst_structure_new ("video/x-raw-bayer",
+      structure = gst_structure_new ("video/x-bayer",
           "format", G_TYPE_STRING, format->format, NULL);
       break;
     default: