diff --git a/gst/ffmpegcolorspace/gstffmpegcodecmap.c b/gst/ffmpegcolorspace/gstffmpegcodecmap.c index 6b31dd9f3c..8ce9c2493a 100644 --- a/gst/ffmpegcolorspace/gstffmpegcodecmap.c +++ b/gst/ffmpegcolorspace/gstffmpegcodecmap.c @@ -354,7 +354,7 @@ gst_ffmpeg_pixfmt_to_caps (enum PixelFormat pix_fmt, AVCodecContext * context) endianness = G_BYTE_ORDER; break; case PIX_FMT_V308: - fmt = GST_MAKE_FOURCC ('V', '3', '0', '8'); + fmt = GST_MAKE_FOURCC ('v', '3', '0', '8'); break; case PIX_FMT_AYUV4444: fmt = GST_MAKE_FOURCC ('A', 'Y', 'U', 'V'); @@ -617,7 +617,7 @@ gst_ffmpeg_caps_to_pixfmt (const GstCaps * caps, case GST_MAKE_FOURCC ('Y', 'V', 'U', '9'): context->pix_fmt = PIX_FMT_YVU410P; break; - case GST_MAKE_FOURCC ('V', '3', '0', '8'): + case GST_MAKE_FOURCC ('v', '3', '0', '8'): context->pix_fmt = PIX_FMT_V308; break; case GST_MAKE_FOURCC ('A', 'Y', 'U', 'V'): diff --git a/gst/videotestsrc/videotestsrc.c b/gst/videotestsrc/videotestsrc.c index 4fa5b04ea6..89c8767690 100644 --- a/gst/videotestsrc/videotestsrc.c +++ b/gst/videotestsrc/videotestsrc.c @@ -311,7 +311,7 @@ static void paint_setup_Y42B (paintinfo * p, unsigned char *dest); static void paint_setup_Y444 (paintinfo * p, unsigned char *dest); static void paint_setup_Y800 (paintinfo * p, unsigned char *dest); static void paint_setup_AYUV (paintinfo * p, unsigned char *dest); -static void paint_setup_V308 (paintinfo * p, unsigned char *dest); +static void paint_setup_v308 (paintinfo * p, unsigned char *dest); static void paint_setup_NV12 (paintinfo * p, unsigned char *dest); static void paint_setup_NV21 (paintinfo * p, unsigned char *dest); @@ -346,7 +346,7 @@ static void paint_hline_Y41B (paintinfo * p, int x, int y, int w); static void paint_hline_Y42B (paintinfo * p, int x, int y, int w); static void paint_hline_Y444 (paintinfo * p, int x, int y, int w); static void paint_hline_Y800 (paintinfo * p, int x, int y, int w); -static void paint_hline_V308 (paintinfo * p, int x, int y, int w); +static void paint_hline_v308 (paintinfo * p, int x, int y, int w); static void paint_hline_AYUV (paintinfo * p, int x, int y, int w); #if 0 @@ -367,7 +367,7 @@ struct fourcc_list_struct fourcc_list[] = { {VTS_YUV, "Y422", "Y422", 16, paint_setup_UYVY, paint_hline_YUY2}, {VTS_YUV, "UYNV", "UYNV", 16, paint_setup_UYVY, paint_hline_YUY2}, /* FIXME: UYNV? */ {VTS_YUV, "YVYU", "YVYU", 16, paint_setup_YVYU, paint_hline_YUY2}, - {VTS_YUV, "V308", "V308", 24, paint_setup_V308, paint_hline_V308}, + {VTS_YUV, "v308", "v308", 24, paint_setup_v308, paint_hline_v308}, {VTS_YUV, "AYUV", "AYUV", 32, paint_setup_AYUV, paint_hline_AYUV}, /* interlaced */ @@ -1395,7 +1395,7 @@ paint_setup_YV12 (paintinfo * p, unsigned char *dest) } static void -paint_setup_V308 (paintinfo * p, unsigned char *dest) +paint_setup_v308 (paintinfo * p, unsigned char *dest) { p->yp = dest; p->up = dest + 1; @@ -1446,7 +1446,7 @@ paint_setup_YVYU (paintinfo * p, unsigned char *dest) } static void -paint_hline_V308 (paintinfo * p, int x, int y, int w) +paint_hline_v308 (paintinfo * p, int x, int y, int w) { int offset;