diff options
Diffstat (limited to 'gst/alpha')
-rw-r--r-- | gst/alpha/gstalpha.c | 5 | ||||
-rw-r--r-- | gst/alpha/gstalphacolor.c | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/gst/alpha/gstalpha.c b/gst/alpha/gstalpha.c index 182f0907..01bcbde8 100644 --- a/gst/alpha/gstalpha.c +++ b/gst/alpha/gstalpha.c @@ -472,11 +472,6 @@ gst_alpha_set_ayuv (guint8 * src, guint8 * dest, gint width, gint height, { gint b_alpha = (gint) (alpha * 255); gint y, x; - gint size; - gint stride; - - stride = gst_video_format_get_row_stride (GST_VIDEO_FORMAT_AYUV, 0, width); - size = gst_video_format_get_size (GST_VIDEO_FORMAT_AYUV, width, height); for (y = 0; y < height; y++) { for (x = 0; x < width; x++) { diff --git a/gst/alpha/gstalphacolor.c b/gst/alpha/gstalphacolor.c index aa2a03fc..a5882946 100644 --- a/gst/alpha/gstalphacolor.c +++ b/gst/alpha/gstalphacolor.c @@ -112,13 +112,10 @@ static GstCaps * gst_alpha_color_transform_caps (GstBaseTransform * btrans, GstPadDirection direction, GstCaps * caps) { - GstAlphaColor *alpha = NULL; const GstCaps *tmpl_caps = NULL; GstCaps *result = NULL, *local_caps = NULL; guint i; - alpha = GST_ALPHA_COLOR (btrans); - local_caps = gst_caps_copy (caps); for (i = 0; i < gst_caps_get_size (local_caps); i++) { |