diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-07-22 17:00:14 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-07-22 17:00:14 +0300 |
commit | d6c173d03873c5f6cfb8b5419ead0ff87c99e742 (patch) | |
tree | b4f0548580284084411d0fb990a7cec0e737d047 /tests | |
parent | b10ab99e02b7ce8ed59b7c376a1856411a072543 (diff) |
qml: Don't forget to unref the actual sink element after setting it on glsinkbin
Diffstat (limited to 'tests')
-rw-r--r-- | tests/examples/qt/qml/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/examples/qt/qml/main.cpp b/tests/examples/qt/qml/main.cpp index 801468b03..bc5d28824 100644 --- a/tests/examples/qt/qml/main.cpp +++ b/tests/examples/qt/qml/main.cpp @@ -52,6 +52,7 @@ int main(int argc, char *argv[]) g_assert (src && sink && sinkbin); g_object_set (sinkbin, "sink", sink, NULL); + g_object_unref (sink); gst_bin_add_many (GST_BIN (pipeline), src, sinkbin, NULL); gst_element_link_many (src, sinkbin, NULL); |