MediaImpl:: do not call updateRate() on GST_MESSAGE_ASYNC_DONE (bug #51)

GST_MESSAGE_ASYNC_DONE is received when elements finish changing state. If we
initiate an updateRate here, we keep generating seek events in a loop forever,
pausing and re-starting the pipeline without reason.
This commit is contained in:
Vasilis Liaskovitis
2014-10-21 21:45:15 +02:00
parent 7d1ba1e756
commit c4c7d9a8ef
-2
View File
@@ -647,8 +647,6 @@ void MediaImpl::_checkMessages()
g_print ("Seeking is ENABLED from %" GST_TIME_FORMAT " to %" GST_TIME_FORMAT "\n",
GST_TIME_ARGS (start), GST_TIME_ARGS (end));
// Update playback rate.
_updateRate();
}
else
{