mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
[MOVED FROM BAD 54/68] colorspace: remove incorrect check
This commit is contained in:
parent
530279424f
commit
02ab743f36
1 changed files with 0 additions and 1 deletions
|
@ -63,7 +63,6 @@ colorspace_convert_new (GstVideoFormat to_format, ColorSpaceColorSpec to_spec,
|
||||||
|| gst_video_format_is_yuv (from_format)
|
|| gst_video_format_is_yuv (from_format)
|
||||||
|| (gst_video_format_is_gray (from_format) &&
|
|| (gst_video_format_is_gray (from_format) &&
|
||||||
from_spec == COLOR_SPEC_GRAY), NULL);
|
from_spec == COLOR_SPEC_GRAY), NULL);
|
||||||
g_return_val_if_fail (to_format != from_format, NULL);
|
|
||||||
|
|
||||||
convert = g_malloc (sizeof (ColorspaceConvert));
|
convert = g_malloc (sizeof (ColorspaceConvert));
|
||||||
memset (convert, 0, sizeof (ColorspaceConvert));
|
memset (convert, 0, sizeof (ColorspaceConvert));
|
||||||
|
|
Loading…
Reference in a new issue