Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
Re: sys/uvideo: don't skip frame immediately when buffer unavailable (regression from v1.256)
To:
Marcus Glocker <marcus@nazgul.ch>
Cc:
tech@openbsd.org
Date:
Wed, 16 Apr 2025 23:37:28 +0200

Download raw body.

Thread
On Wed, 16 Apr 2025 22:13:23 +0200,
Marcus Glocker <marcus@nazgul.ch> wrote:
> 
> The glitches when using motion with my cams are gone.
> 
> But when reading the diff, I'm currently just not happy how we try to
> solve a specific application behavior in the driver.  It feels like a
> hack, misusing buffers which had another purpose, and it makes the
> code hard to understand IMO.
> 
> I'm sorry, but I need to think over this more further to get a better
> understanding.
>  

No need to be sorry.

Thanks for the test and confirmation that it helps.

I agree with you that juggling with buffers is wrong approach.

I'll sent later this week a cleaner version of it.

-- 
wbr, Kirill