[0.11] gst-plugins-good: matroskamux: remove obsolete variable, set but not used
Wim Taymans
wtay at kemper.freedesktop.org
Fri Feb 10 07:23:36 PST 2012
Module: gst-plugins-good
Branch: 0.11
Commit: 70565f0e75591cc1f748cb5bf5d0ac259abba7ec
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=70565f0e75591cc1f748cb5bf5d0ac259abba7ec
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date: Sat Jan 28 23:35:50 2012 +0000
matroskamux: remove obsolete variable, set but not used
Reported by andredieb on #gstreamer.
---
gst/matroska/matroska-mux.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index df80735..d79c222 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -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;
}
More information about the gstreamer-commits
mailing list