From 2cf13b603f19ac6d3d95f6c5014ecbdbd40a61e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 16 Jun 2014 14:52:16 +0100 Subject: [PATCH] rtpvrawpay: remove unused variables --- gst/rtp/gstrtpvrawpay.c | 4 ---- gst/rtp/gstrtpvrawpay.h | 5 ----- 2 files changed, 9 deletions(-) diff --git a/gst/rtp/gstrtpvrawpay.c b/gst/rtp/gstrtpvrawpay.c index 427a75ef57..77df13b15e 100644 --- a/gst/rtp/gstrtpvrawpay.c +++ b/gst/rtp/gstrtpvrawpay.c @@ -113,7 +113,6 @@ gst_rtp_vraw_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps) gint pgroup, xinc, yinc; const gchar *depthstr, *samplingstr, *colorimetrystr; gchar *wstr, *hstr; - gint depth; GstVideoInfo info; rtpvrawpay = GST_RTP_VRAW_PAY (payload); @@ -140,7 +139,6 @@ gst_rtp_vraw_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps) /* these values are the only thing we can do */ depthstr = "8"; - depth = 8; switch (GST_VIDEO_INFO_FORMAT (&info)) { case GST_VIDEO_FORMAT_RGBA: @@ -182,7 +180,6 @@ gst_rtp_vraw_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps) samplingstr = "YCbCr-4:2:2"; pgroup = 5; xinc = 2; - depth = 10; depthstr = "10"; break; default: @@ -197,7 +194,6 @@ gst_rtp_vraw_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps) rtpvrawpay->pgroup = pgroup; rtpvrawpay->xinc = xinc; rtpvrawpay->yinc = yinc; - rtpvrawpay->depth = depth; GST_DEBUG_OBJECT (payload, "width %d, height %d, sampling %s", GST_VIDEO_INFO_WIDTH (&info), GST_VIDEO_INFO_HEIGHT (&info), samplingstr); diff --git a/gst/rtp/gstrtpvrawpay.h b/gst/rtp/gstrtpvrawpay.h index 7cd86b8b59..6ebaaa412c 100644 --- a/gst/rtp/gstrtpvrawpay.h +++ b/gst/rtp/gstrtpvrawpay.h @@ -48,11 +48,6 @@ struct _GstRtpVRawPay gint pgroup; gint xinc, yinc; -// guint yp, up, vp; -// gint ystride; -// gint uvstride; -// gboolean interlaced; - gint depth; }; struct _GstRtpVRawPayClass