From d8f698fe202784d407db0c72ea43ef4d402b3e05 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 5 Mar 2012 12:42:27 +0100 Subject: [PATCH] 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. --- gst/videotestsrc/gstvideotestsrc.c | 2 +- gst/videotestsrc/videotestsrc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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: