mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Version 1.7.7
- The new function cDevice::GetVideoSize() returns the size and aspect ratio of the video material currently displayed. This function is used to determine the proper size of the OSD. Plugin authors should implement this function in classes derived from cDevice, if they are able to replay video. - The OSD and font sizes are now defined in percent of the actual video display size. The maximum OSD size has been raised to 1920x1080, to allow full screen OSD on HD systems. - The OSD size is now automatically adjusted to the actual video display (provided the output device implements the GetVideoSize() function). - cFrameDetector::Analyze() now syncs on the TS packet sync bytes (thanks to Oliver Endriss for reporting broken index generation after a buffer overflow).
This commit is contained in:
11
PLUGINS.html
11
PLUGINS.html
@@ -1939,6 +1939,17 @@ user - whether this goes through OSD facilities of the physical device (like
|
||||
a "full featured" DVB card) or through a graphics adapter that overlays its
|
||||
output with the video signal, doesn't matter.
|
||||
|
||||
<div class="modified">
|
||||
In order to be able to determine the proper size of the OSD, the device
|
||||
should implement the function
|
||||
|
||||
<p><table><tr><td class="code"><pre>
|
||||
virtual void GetVideoSize(int &Width, int &Height, eVideoAspect &Aspect);
|
||||
</pre></td></tr></table><p>
|
||||
|
||||
By default, an OSD size of 480x324 with an aspect ratio of 4:3 is assumed.
|
||||
</div modified>
|
||||
|
||||
<p>
|
||||
<b>Initializing new devices</b>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user