mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
matroskamux: remove obsolete variable, set but not used
Reported by andredieb on #gstreamer.
This commit is contained in:
parent
e967e27c36
commit
70565f0e75
1 changed files with 0 additions and 5 deletions
|
@ -1973,7 +1973,6 @@ gst_matroska_mux_subtitle_pad_setcaps (GstPad * pad, GstCaps * caps)
|
|||
GstStructure *structure;
|
||||
const GValue *value = NULL;
|
||||
const GstBuffer *buf = NULL;
|
||||
gchar *id = NULL;
|
||||
gboolean ret = TRUE;
|
||||
|
||||
mux = GST_MATROSKA_MUX (GST_PAD_PARENT (pad));
|
||||
|
@ -1989,9 +1988,6 @@ gst_matroska_mux_subtitle_pad_setcaps (GstPad * pad, GstCaps * caps)
|
|||
structure = gst_caps_get_structure (caps, 0);
|
||||
mimetype = gst_structure_get_name (structure);
|
||||
|
||||
/* keep track of default set in request_pad */
|
||||
id = context->codec_id;
|
||||
|
||||
/* general setup */
|
||||
scontext->check_utf8 = 1;
|
||||
scontext->invalid_utf8 = 0;
|
||||
|
@ -2025,7 +2021,6 @@ gst_matroska_mux_subtitle_pad_setcaps (GstPad * pad, GstCaps * caps)
|
|||
gst_matroska_mux_set_codec_id (context,
|
||||
GST_MATROSKA_CODEC_ID_SUBTITLE_VOBSUB);
|
||||
} else {
|
||||
id = NULL;
|
||||
ret = FALSE;
|
||||
goto exit;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue