Hi,
while loading the 200MB flash video.Gstreamer is taking long
time.Following is the code snippet.
How we can optimize this.
GstState l_gstState;
GstState l_gstPendingState;
do
{
if((m_eState ==
CPlayerEngineEnumerations::ERRORSTATE))
{
break;
}
qint32 l_iMilliSecond = 1000;
//5 seconds in nanoseconds
GstClockTime l_gstTimeOut =
(GstClockTime)(5) * l_iMilliSecond * l_iMilliSecond * l_iMilliSecond;
ETG_TRACE_USR4 (("NewPlaySlot: Waiting
10 sec for complete state transition by Getting state"));
l_gstStateChange =
gst_element_get_state(m_pPipeline,
&l_gstState,
&l_gstPendingState,
l_gstTimeOut);
} while(l_gstState != GST_STATE_PLAYING);
Thanks and Regards,
Y.K.JAYACHAND
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel