mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 03:16:33 +00:00
Some small modifications.
Original commit message from CVS: Some small modifications.
This commit is contained in:
parent
b619247000
commit
368f85114c
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,6 @@ gst_play_typefind (GstBin *bin, GstElement *element)
|
|||
gst_pad_disconnect (gst_element_get_pad (element, "src"),
|
||||
gst_element_get_pad (typefind, "sink"));
|
||||
gst_bin_remove (bin, typefind);
|
||||
gst_object_unref (GST_OBJECT (typefind));
|
||||
|
||||
return caps;
|
||||
}
|
||||
|
@ -174,6 +173,7 @@ int main(int argc,char *argv[])
|
|||
exit (-1);
|
||||
}
|
||||
|
||||
gst_object_ref (GST_OBJECT (disksrc));
|
||||
gst_bin_remove (GST_BIN (bin), disksrc);
|
||||
gst_object_destroy (GST_OBJECT (bin));
|
||||
|
||||
|
|
Loading…
Reference in a new issue