reference count of gstreamer elements not decresing
new baby
mdamirraza at gmail.com
Tue Nov 13 05:06:27 UTC 2018
Hi ShilVin,
Thanks for your inputs, i did the following but still the reference count is
increasing, after restart of encoder.
To create gstreamer elements i am not using API's like GstElement *
gst_element_factory_create ()
GstElement * gst_element_factory_make ().
But directly using API's like gst_parse_launch() , g_main_loop_new() and
g_main_loop_run().
*Maybe there is different way of Unreferencing the Gstreamer Elements ? *?
g_main_loop_run(m_pstGstConfig->loop);
*Unreferencing *
*Can anyone help me to solve the issue , i have attached the Debug log with
level 4 {GST_DEBUG=4}, where i am restarting the Encoder 3 times (i called
the above code 3 times including Unrefrenceing code)* The Reference count
value is 0,1,2 in debug log
Debug Log File
gstreamerDebugLog.txt
<http://gstreamer-devel.966125.n4.nabble.com/file/t378175/gstreamerDebugLog.txt>
-----
adi
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list