Hello,
in main.c the max hight and wight are hardcoded [1],
but that wrong because some driver (usb tv,
webcam)doesn't support this resolution.
xdtv should use
v4l_capability.minwidth, v4l_capability.minheight,
v4l_capability.maxwidth, v4l_capability.maxheight for
v4l interface or the equivalent for the other api....
[1]
if(grabbers[grabber]->is525(cur_norm)) {
cur_maxwidth = 640;
cur_maxheight = 480;
cur_maxfpsnum = 30000;
cur_maxfpsden = 1001;
} else {
cur_maxwidth = 768;
cur_maxheight = 576;
cur_maxfpsnum = 25;
cur_maxfpsden = 1;
}
Logged In: NO
so a patch please.
Logged In: YES
user_id=807408
Well, v4l_capability.minwidth does not exist anymore in
v4l2: under
v4l2 the grabbed image can have a different size than
the wanted one, but it is not really managed too :<
A temporary solution is running xdtv with the command:
xdtv -capt_width 320 -capt_height 240
(can be save in xdtvrc, and changed by the gui ['X' key])
or
xdtv -force_capt_width 320 -force_capt_height 240