Ticket #8843: not-so-sluggish.diff

File not-so-sluggish.diff, 645 bytes (added by markk, 14 years ago)
  • home/mark/trunk2/mythtv/libs/libmythtv/mythplayer.cpp

     
    112112    {
    113113        // TODO this may fail if events are lost and the queue size is wrong
    114114        m_queue_size--;
    115         PostNextEvent();
    116         while (m_queue_size < 3)
     115        int max_queue = m_mp->GetFFRewSkip() == 1 ? 3 : 1;
     116        while (m_queue_size < max_queue)
    117117            PostNextEvent();
    118118
    119119        if (m_mp && !m_mp->IsErrored())