mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
jasperenc: remove unused 'mimetype' variable
As mimetype is not used, we don't need to fetch it and therefore neither need the structure s.
This commit is contained in:
parent
1ea2eabd8c
commit
16331c0b9e
1 changed files with 0 additions and 4 deletions
|
@ -299,8 +299,6 @@ static gboolean
|
|||
gst_jasper_enc_sink_setcaps (GstPad * pad, GstCaps * caps)
|
||||
{
|
||||
GstJasperEnc *enc;
|
||||
GstStructure *s;
|
||||
const gchar *mimetype;
|
||||
GstVideoFormat format;
|
||||
gint width, height;
|
||||
gint fps_num, fps_den;
|
||||
|
@ -308,8 +306,6 @@ gst_jasper_enc_sink_setcaps (GstPad * pad, GstCaps * caps)
|
|||
gint i;
|
||||
|
||||
enc = GST_JASPER_ENC (GST_PAD_PARENT (pad));
|
||||
s = gst_caps_get_structure (caps, 0);
|
||||
mimetype = gst_structure_get_name (s);
|
||||
|
||||
/* get info from caps */
|
||||
if (!gst_video_format_parse_caps (caps, &format, &width, &height))
|
||||
|
|
Loading…
Reference in a new issue