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;
|
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)
|
||||||
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)
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue