mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
advanced/pipeline-manipulation: Unref appsink after usage
This commit is contained in:
parent
903cb33dae
commit
825b9552ba
1 changed files with 1 additions and 0 deletions
|
@ -881,6 +881,7 @@ main (int argc, char *argv[])
|
||||||
|
|
||||||
/* cleanup and exit */
|
/* cleanup and exit */
|
||||||
gst_element_set_state (pipeline, GST_STATE_NULL);
|
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||||
|
gst_object_unref (sink);
|
||||||
gst_object_unref (pipeline);
|
gst_object_unref (pipeline);
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
|
|
Loading…
Reference in a new issue