Prefer 32 bits over 24 bits output

Original commit message from CVS:
Prefer 32 bits over 24 bits output
This commit is contained in:
Wim Taymans 2002-06-21 18:32:46 +00:00
parent d9b0cf77a2
commit 17c6294404

View file

@ -95,12 +95,12 @@ GST_PAD_TEMPLATE_FACTORY (video_src_temp,
"dv_dec_src", "dv_dec_src",
"video/raw", "video/raw",
"format", GST_PROPS_FOURCC(GST_MAKE_FOURCC('R','G','B',' ')), "format", GST_PROPS_FOURCC(GST_MAKE_FOURCC('R','G','B',' ')),
"bpp", GST_PROPS_INT(24), "bpp", GST_PROPS_INT(32),
"depth", GST_PROPS_INT(24), "depth", GST_PROPS_INT(32),
"endianness", GST_PROPS_INT (G_LITTLE_ENDIAN), "endianness", GST_PROPS_INT (G_LITTLE_ENDIAN),
"red_mask", GST_PROPS_INT(0x0000ff), "red_mask", GST_PROPS_INT(0x00ff0000),
"green_mask", GST_PROPS_INT(0x00ff00), "green_mask", GST_PROPS_INT(0x0000ff00),
"blue_mask", GST_PROPS_INT(0xff0000), "blue_mask", GST_PROPS_INT(0x000000ff),
"width", GST_PROPS_INT (720), "width", GST_PROPS_INT (720),
"height", GST_PROPS_INT_RANGE (NTSC_HEIGHT, PAL_HEIGHT) "height", GST_PROPS_INT_RANGE (NTSC_HEIGHT, PAL_HEIGHT)
), ),
@ -108,12 +108,12 @@ GST_PAD_TEMPLATE_FACTORY (video_src_temp,
"dv_dec_src", "dv_dec_src",
"video/raw", "video/raw",
"format", GST_PROPS_FOURCC(GST_MAKE_FOURCC('R','G','B',' ')), "format", GST_PROPS_FOURCC(GST_MAKE_FOURCC('R','G','B',' ')),
"bpp", GST_PROPS_INT(32), "bpp", GST_PROPS_INT(24),
"depth", GST_PROPS_INT(32), "depth", GST_PROPS_INT(24),
"endianness", GST_PROPS_INT (G_LITTLE_ENDIAN), "endianness", GST_PROPS_INT (G_LITTLE_ENDIAN),
"red_mask", GST_PROPS_INT(0x00ff0000), "red_mask", GST_PROPS_INT(0x0000ff),
"green_mask", GST_PROPS_INT(0x0000ff00), "green_mask", GST_PROPS_INT(0x00ff00),
"blue_mask", GST_PROPS_INT(0x000000ff), "blue_mask", GST_PROPS_INT(0xff0000),
"width", GST_PROPS_INT (720), "width", GST_PROPS_INT (720),
"height", GST_PROPS_INT_RANGE (NTSC_HEIGHT, PAL_HEIGHT) "height", GST_PROPS_INT_RANGE (NTSC_HEIGHT, PAL_HEIGHT)
) )