diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2018-02-17 00:16:35 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2018-02-17 00:16:35 +0200 |
commit | 825b9552baabb6027f9c15d1b6b76fa2cbba755d (patch) | |
tree | 0d253c35db4292765ae4f0b02aa7dd9fe00a5314 | |
parent | 903cb33dae68ed0fb6fce36b3f97d34b30ec61b7 (diff) |
advanced/pipeline-manipulation: Unref appsink after usage
-rw-r--r-- | markdown/application-development/advanced/pipeline-manipulation.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/markdown/application-development/advanced/pipeline-manipulation.md b/markdown/application-development/advanced/pipeline-manipulation.md index 47bb00a..ecc5f1b 100644 --- a/markdown/application-development/advanced/pipeline-manipulation.md +++ b/markdown/application-development/advanced/pipeline-manipulation.md @@ -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); |