advanced/pipeline-manipulation: Unref appsink after usage

This commit is contained in:
Sebastian Dröge 2018-02-17 00:16:35 +02:00
parent 903cb33dae
commit 825b9552ba

View file

@ -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);