Conversation

Jarkko Sakkinen

Should a video driver offer

A. A set of fixed frame sizes.
B. A variable width and height based minimum and maximum geometry.

?

#linux #kernel #media
1
2
0

@oleksandr @jarkko speaking from a position of authority

because i wrote a video driver ten million years ago

it was not a very good one

1
0
0
@lkundrak @oleksandr hmm... so i keep width and height variable and turn min/max geometry to plain compile-time macros (v4l2-loopback allows to define hard limits at run-time which does not sound like too good idea...)

thanks (i guess) :-)
1
0
0
@lkundrak @oleksandr as per security. Also, I think for the sake of security i limit the video driver to be only capture device. A pure producer is least harmful as per security (and simplifies the implementation whole a lot).
0
0
0