Commit 70565f0e authored by Vincent Penquerc'h's avatar Vincent Penquerc'h
Browse files

matroskamux: remove obsolete variable, set but not used

Reported by andredieb on #gstreamer.
parent e967e27c
...@@ -1973,7 +1973,6 @@ gst_matroska_mux_subtitle_pad_setcaps (GstPad * pad, GstCaps * caps) ...@@ -1973,7 +1973,6 @@ gst_matroska_mux_subtitle_pad_setcaps (GstPad * pad, GstCaps * caps)
GstStructure *structure; GstStructure *structure;
const GValue *value = NULL; const GValue *value = NULL;
const GstBuffer *buf = NULL; const GstBuffer *buf = NULL;
gchar *id = NULL;
gboolean ret = TRUE; gboolean ret = TRUE;
mux = GST_MATROSKA_MUX (GST_PAD_PARENT (pad)); mux = GST_MATROSKA_MUX (GST_PAD_PARENT (pad));
...@@ -1989,9 +1988,6 @@ gst_matroska_mux_subtitle_pad_setcaps (GstPad * pad, GstCaps * caps) ...@@ -1989,9 +1988,6 @@ gst_matroska_mux_subtitle_pad_setcaps (GstPad * pad, GstCaps * caps)
structure = gst_caps_get_structure (caps, 0); structure = gst_caps_get_structure (caps, 0);
mimetype = gst_structure_get_name (structure); mimetype = gst_structure_get_name (structure);
/* keep track of default set in request_pad */
id = context->codec_id;
/* general setup */ /* general setup */
scontext->check_utf8 = 1; scontext->check_utf8 = 1;
scontext->invalid_utf8 = 0; scontext->invalid_utf8 = 0;
...@@ -2025,7 +2021,6 @@ gst_matroska_mux_subtitle_pad_setcaps (GstPad * pad, GstCaps * caps) ...@@ -2025,7 +2021,6 @@ gst_matroska_mux_subtitle_pad_setcaps (GstPad * pad, GstCaps * caps)
gst_matroska_mux_set_codec_id (context, gst_matroska_mux_set_codec_id (context,
GST_MATROSKA_CODEC_ID_SUBTITLE_VOBSUB); GST_MATROSKA_CODEC_ID_SUBTITLE_VOBSUB);
} else { } else {
id = NULL;
ret = FALSE; ret = FALSE;
goto exit; goto exit;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment