mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user