mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
sys/ximage/gstximagesrc.c: Fix presumably copy'n'pasto for 16bpp depth.
Original commit message from CVS: * sys/ximage/gstximagesrc.c: (composite_pixel): Fix presumably copy'n'pasto for 16bpp depth.
This commit is contained in:
parent
7735292ec2
commit
3d1e70c2d1
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-12-24 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* sys/ximage/gstximagesrc.c: (composite_pixel):
|
||||||
|
Fix presumably copy'n'pasto for 16bpp depth.
|
||||||
|
|
||||||
2006-12-24 Tim-Philipp Müller <tim at centricular dot net>
|
2006-12-24 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* gst/matroska/matroska-mux.c:
|
* gst/matroska/matroska-mux.c:
|
||||||
|
|
|
@ -265,7 +265,7 @@ composite_pixel (GstXContext * xcontext, guchar * dest, guchar * src)
|
||||||
color = *dest;
|
color = *dest;
|
||||||
break;
|
break;
|
||||||
case 16:
|
case 16:
|
||||||
color = GUINT16_FROM_LE (*(guint32 *) (dest));
|
color = GUINT16_FROM_LE (*(guint16 *) (dest));
|
||||||
break;
|
break;
|
||||||
case 32:
|
case 32:
|
||||||
color = GUINT32_FROM_LE (*(guint32 *) (dest));
|
color = GUINT32_FROM_LE (*(guint32 *) (dest));
|
||||||
|
|
Loading…
Reference in a new issue