diff --git a/gst/videotestsrc/gstvideotestsrc.c b/gst/videotestsrc/gstvideotestsrc.c index c5db376a1c..6667ae1209 100644 --- a/gst/videotestsrc/gstvideotestsrc.c +++ b/gst/videotestsrc/gstvideotestsrc.c @@ -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; diff --git a/gst/videotestsrc/videotestsrc.c b/gst/videotestsrc/videotestsrc.c index 811817886f..53ff9c1c4b 100644 --- a/gst/videotestsrc/videotestsrc.c +++ b/gst/videotestsrc/videotestsrc.c @@ -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: