mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
flacenc: remove post-port bogus _unref
This commit is contained in:
parent
6e27903222
commit
38516ad367
1 changed files with 0 additions and 3 deletions
|
@ -814,7 +814,6 @@ gst_flac_enc_set_format (GstAudioEncoder * enc, GstAudioInfo * info)
|
||||||
encoder_already_initialized:
|
encoder_already_initialized:
|
||||||
{
|
{
|
||||||
g_warning ("flac already initialized -- fixme allow this");
|
g_warning ("flac already initialized -- fixme allow this");
|
||||||
gst_object_unref (flacenc);
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
setting_src_caps_failed:
|
setting_src_caps_failed:
|
||||||
|
@ -822,14 +821,12 @@ setting_src_caps_failed:
|
||||||
GST_DEBUG_OBJECT (flacenc,
|
GST_DEBUG_OBJECT (flacenc,
|
||||||
"Couldn't set caps on source pad: %" GST_PTR_FORMAT, caps);
|
"Couldn't set caps on source pad: %" GST_PTR_FORMAT, caps);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
gst_object_unref (flacenc);
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
failed_to_initialize:
|
failed_to_initialize:
|
||||||
{
|
{
|
||||||
GST_ELEMENT_ERROR (flacenc, LIBRARY, INIT, (NULL),
|
GST_ELEMENT_ERROR (flacenc, LIBRARY, INIT, (NULL),
|
||||||
("could not initialize encoder (wrong parameters?)"));
|
("could not initialize encoder (wrong parameters?)"));
|
||||||
gst_object_unref (flacenc);
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue