mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-22 10:23:47 +00:00
rtpvrawpay: remove unused variables
This commit is contained in:
parent
a09e237b85
commit
2cf13b603f
2 changed files with 0 additions and 9 deletions
|
@ -113,7 +113,6 @@ gst_rtp_vraw_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps)
|
||||||
gint pgroup, xinc, yinc;
|
gint pgroup, xinc, yinc;
|
||||||
const gchar *depthstr, *samplingstr, *colorimetrystr;
|
const gchar *depthstr, *samplingstr, *colorimetrystr;
|
||||||
gchar *wstr, *hstr;
|
gchar *wstr, *hstr;
|
||||||
gint depth;
|
|
||||||
GstVideoInfo info;
|
GstVideoInfo info;
|
||||||
|
|
||||||
rtpvrawpay = GST_RTP_VRAW_PAY (payload);
|
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 */
|
/* these values are the only thing we can do */
|
||||||
depthstr = "8";
|
depthstr = "8";
|
||||||
depth = 8;
|
|
||||||
|
|
||||||
switch (GST_VIDEO_INFO_FORMAT (&info)) {
|
switch (GST_VIDEO_INFO_FORMAT (&info)) {
|
||||||
case GST_VIDEO_FORMAT_RGBA:
|
case GST_VIDEO_FORMAT_RGBA:
|
||||||
|
@ -182,7 +180,6 @@ gst_rtp_vraw_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps)
|
||||||
samplingstr = "YCbCr-4:2:2";
|
samplingstr = "YCbCr-4:2:2";
|
||||||
pgroup = 5;
|
pgroup = 5;
|
||||||
xinc = 2;
|
xinc = 2;
|
||||||
depth = 10;
|
|
||||||
depthstr = "10";
|
depthstr = "10";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -197,7 +194,6 @@ gst_rtp_vraw_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps)
|
||||||
rtpvrawpay->pgroup = pgroup;
|
rtpvrawpay->pgroup = pgroup;
|
||||||
rtpvrawpay->xinc = xinc;
|
rtpvrawpay->xinc = xinc;
|
||||||
rtpvrawpay->yinc = yinc;
|
rtpvrawpay->yinc = yinc;
|
||||||
rtpvrawpay->depth = depth;
|
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (payload, "width %d, height %d, sampling %s",
|
GST_DEBUG_OBJECT (payload, "width %d, height %d, sampling %s",
|
||||||
GST_VIDEO_INFO_WIDTH (&info), GST_VIDEO_INFO_HEIGHT (&info), samplingstr);
|
GST_VIDEO_INFO_WIDTH (&info), GST_VIDEO_INFO_HEIGHT (&info), samplingstr);
|
||||||
|
|
|
@ -48,11 +48,6 @@ struct _GstRtpVRawPay
|
||||||
|
|
||||||
gint pgroup;
|
gint pgroup;
|
||||||
gint xinc, yinc;
|
gint xinc, yinc;
|
||||||
// guint yp, up, vp;
|
|
||||||
// gint ystride;
|
|
||||||
// gint uvstride;
|
|
||||||
// gboolean interlaced;
|
|
||||||
gint depth;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstRtpVRawPayClass
|
struct _GstRtpVRawPayClass
|
||||||
|
|
Loading…
Reference in a new issue