summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-06-21 18:32:46 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-06-21 18:32:46 +0000
commit17c629440420dea4c4827540b28a3f3d1e1c1cc5 (patch)
tree542253b237cf020cd5968773ab64f96ba055af72 /ext
parentd9b0cf77a21cab38cad36b2e948a532645ac4a54 (diff)
Prefer 32 bits over 24 bits output
Original commit message from CVS: Prefer 32 bits over 24 bits output
Diffstat (limited to 'ext')
-rw-r--r--ext/dv/gstdvdec.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c
index 1034bb612..b64a692ab 100644
--- a/ext/dv/gstdvdec.c
+++ b/ext/dv/gstdvdec.c
@@ -95,12 +95,12 @@ GST_PAD_TEMPLATE_FACTORY (video_src_temp,
"dv_dec_src",
"video/raw",
"format", GST_PROPS_FOURCC(GST_MAKE_FOURCC('R','G','B',' ')),
- "bpp", GST_PROPS_INT(24),
- "depth", GST_PROPS_INT(24),
+ "bpp", GST_PROPS_INT(32),
+ "depth", GST_PROPS_INT(32),
"endianness", GST_PROPS_INT (G_LITTLE_ENDIAN),
- "red_mask", GST_PROPS_INT(0x0000ff),
- "green_mask", GST_PROPS_INT(0x00ff00),
- "blue_mask", GST_PROPS_INT(0xff0000),
+ "red_mask", GST_PROPS_INT(0x00ff0000),
+ "green_mask", GST_PROPS_INT(0x0000ff00),
+ "blue_mask", GST_PROPS_INT(0x000000ff),
"width", GST_PROPS_INT (720),
"height", GST_PROPS_INT_RANGE (NTSC_HEIGHT, PAL_HEIGHT)
),
@@ -108,12 +108,12 @@ GST_PAD_TEMPLATE_FACTORY (video_src_temp,
"dv_dec_src",
"video/raw",
"format", GST_PROPS_FOURCC(GST_MAKE_FOURCC('R','G','B',' ')),
- "bpp", GST_PROPS_INT(32),
- "depth", GST_PROPS_INT(32),
+ "bpp", GST_PROPS_INT(24),
+ "depth", GST_PROPS_INT(24),
"endianness", GST_PROPS_INT (G_LITTLE_ENDIAN),
- "red_mask", GST_PROPS_INT(0x00ff0000),
- "green_mask", GST_PROPS_INT(0x0000ff00),
- "blue_mask", GST_PROPS_INT(0x000000ff),
+ "red_mask", GST_PROPS_INT(0x0000ff),
+ "green_mask", GST_PROPS_INT(0x00ff00),
+ "blue_mask", GST_PROPS_INT(0xff0000),
"width", GST_PROPS_INT (720),
"height", GST_PROPS_INT_RANGE (NTSC_HEIGHT, PAL_HEIGHT)
)