Properly fix the reference counting bug I had with adding elements to bins.
authorGeorge Kiagiadakis <kiagiadakis.george@gmail.com>
Sun, 23 May 2010 08:34:51 +0000 (11:34 +0300)
committerGeorge Kiagiadakis <kiagiadakis.george@gmail.com>
Sun, 23 May 2010 08:34:51 +0000 (11:34 +0300)
commitea552c6f4a3a391820986a47c8b1273241ec5d14
tree03e050e3740f990581ed9a8c3680765d58da1574
parentdf6fb01938f66679311735de1146042fe8c00561
Properly fix the reference counting bug I had with adding elements to bins.
Apparently GstBin adds a new reference to the elements that are added in it,
except if they are floating, in which case it takes the floating reference.
src/QGst/bin.cpp
src/QGst/elementfactory.cpp