qml: Don't forget to unref the actual sink element after setting it on glsinkbin
This commit is contained in:
parent
b10ab99e02
commit
d6c173d038
@ -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…
x
Reference in New Issue
Block a user