mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +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 */
|
||||
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||
gst_object_unref (sink);
|
||||
gst_object_unref (pipeline);
|
||||
|
||||
exit (0);
|
||||
|
|
Loading…
Reference in a new issue