mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
qml: Don't forget to unref the actual sink element after setting it on glsinkbin
This commit is contained in:
parent
b10ab99e02
commit
d6c173d038
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue