Hi, Torgeir Veimo wrote:
I fear not. The NO SIGNAL picture is already sent when transmission of the previous channel ends. At that time there is no information available about the ratio of the next stream.xine blends the OSD into raw video data and later the image get's scaled (usually with hardware support (xv, vidix)) according to the stream's aspect ratio.Also, is it hard to not scale the OSD with the picture? It changes ratio together with the current program/channel ratio.
Would it be possible to scale the no signal picture to that of the stream currently being buffered up?
The real problem is that I do the scaling in VDR and not in xine (or at least on request of xine). When VDR wants to show an OSD then xine is asked about the resolution of the current stream. xine's decoder might already have the new resolution but xine's output stage is still showing NO SIGNAL which might have a different resolution.This would make the OSD which appears at the same time as the no signal picture to have the same ratio as the next channel being shown, avoiding the change of ratio for the OSD.