projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5302794
)
[MOVED FROM BAD 54/68] colorspace: remove incorrect check
author
David Schleef
<ds@schleef.org>
Mon, 22 Nov 2010 07:11:19 +0000
(23:11 -0800)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 15 Jun 2011 14:12:55 +0000
(16:12 +0200)
gst/colorspace/colorspace.c
patch
|
blob
|
history
diff --git
a/gst/colorspace/colorspace.c
b/gst/colorspace/colorspace.c
index b5baf358fc485b6ca45de739288af8370be605e8..334362ec6392fddcf69da31559343a98a9fbe0c5 100644
(file)
--- a/
gst/colorspace/colorspace.c
+++ b/
gst/colorspace/colorspace.c
@@
-63,7
+63,6
@@
colorspace_convert_new (GstVideoFormat to_format, ColorSpaceColorSpec to_spec,
|| gst_video_format_is_yuv (from_format)
|| (gst_video_format_is_gray (from_format) &&
from_spec == COLOR_SPEC_GRAY), NULL);
- g_return_val_if_fail (to_format != from_format, NULL);
convert = g_malloc (sizeof (ColorspaceConvert));
memset (convert, 0, sizeof (ColorspaceConvert));