mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 04:11:26 +00:00
tagdemux: Remove unused variable
This commit is contained in:
parent
daa5b34d5f
commit
7173d4b1c2
1 changed files with 1 additions and 3 deletions
|
@ -314,8 +314,6 @@ gst_tag_demux_dispose (GObject * object)
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_tag_demux_add_srcpad (GstTagDemux * tagdemux, GstCaps * new_caps)
|
gst_tag_demux_add_srcpad (GstTagDemux * tagdemux, GstCaps * new_caps)
|
||||||
{
|
{
|
||||||
GstPad *srcpad = NULL;
|
|
||||||
|
|
||||||
if (tagdemux->priv->src_caps == NULL ||
|
if (tagdemux->priv->src_caps == NULL ||
|
||||||
!gst_caps_is_equal (new_caps, tagdemux->priv->src_caps)) {
|
!gst_caps_is_equal (new_caps, tagdemux->priv->src_caps)) {
|
||||||
|
|
||||||
|
@ -332,7 +330,7 @@ gst_tag_demux_add_srcpad (GstTagDemux * tagdemux, GstCaps * new_caps)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tagdemux->priv->srcpad == NULL) {
|
if (tagdemux->priv->srcpad == NULL) {
|
||||||
srcpad = tagdemux->priv->srcpad =
|
tagdemux->priv->srcpad =
|
||||||
gst_pad_new_from_template (gst_element_class_get_pad_template
|
gst_pad_new_from_template (gst_element_class_get_pad_template
|
||||||
(GST_ELEMENT_GET_CLASS (tagdemux), "src"), "src");
|
(GST_ELEMENT_GET_CLASS (tagdemux), "src"), "src");
|
||||||
g_return_val_if_fail (tagdemux->priv->srcpad != NULL, FALSE);
|
g_return_val_if_fail (tagdemux->priv->srcpad != NULL, FALSE);
|
||||||
|
|
Loading…
Reference in a new issue