mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +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:
|
||||
{
|
||||
g_warning ("flac already initialized -- fixme allow this");
|
||||
gst_object_unref (flacenc);
|
||||
return FALSE;
|
||||
}
|
||||
setting_src_caps_failed:
|
||||
|
@ -822,14 +821,12 @@ setting_src_caps_failed:
|
|||
GST_DEBUG_OBJECT (flacenc,
|
||||
"Couldn't set caps on source pad: %" GST_PTR_FORMAT, caps);
|
||||
gst_caps_unref (caps);
|
||||
gst_object_unref (flacenc);
|
||||
return FALSE;
|
||||
}
|
||||
failed_to_initialize:
|
||||
{
|
||||
GST_ELEMENT_ERROR (flacenc, LIBRARY, INIT, (NULL),
|
||||
("could not initialize encoder (wrong parameters?)"));
|
||||
gst_object_unref (flacenc);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue