x-raw-bayer -> x-bayer

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.
This commit is contained in:
Wim Taymans 2012-03-05 12:42:27 +01:00
parent abca785f0f
commit d8f698fe20
2 changed files with 3 additions and 3 deletions

View 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;

View 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: