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.
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;
}
}
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");
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: