Fixed horizontal scaling of subtitles (cont'd)

This commit is contained in:
Klaus Schmidinger 2011-03-26 10:45:05 +01:00
parent 53942c3d9a
commit 16bd3bd5b9
2 changed files with 7 additions and 5 deletions

View File

@ -6567,6 +6567,9 @@ Video Disk Recorder Revision History
- Made updating the editing marks during replay react faster in case the marks - Made updating the editing marks during replay react faster in case the marks
file has just been written. file has just been written.
- Fixed horizontal scaling of subtitles (reported by Reinhard Nissl). - Fixed horizontal scaling of subtitles (reported by Reinhard Nissl).
- Stripped the note "The data returned by this function is only used for informational
purposes (if any)" from the description of cDevice::GetVideoSize(). The VideoAspect
is now used to properly scale subtitles.
- Fixed cUnbufferedFile::Seek() in case it is compiled without USE_FADVISE (thanks - Fixed cUnbufferedFile::Seek() in case it is compiled without USE_FADVISE (thanks
to Juergen Lock). to Juergen Lock).
- Fixed the Language header of the Serbian translation file (thanks to Ville Skyttä). - Fixed the Language header of the Serbian translation file (thanks to Ville Skyttä).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: device.h 2.23 2010/10/24 12:11:16 kls Exp $ * $Id: device.h 2.24 2011/03/21 17:58:41 kls Exp $
*/ */
#ifndef __DEVICE_H #ifndef __DEVICE_H
@ -405,10 +405,9 @@ public:
///< (default is PAL). ///< (default is PAL).
virtual void GetVideoSize(int &Width, int &Height, double &VideoAspect); virtual void GetVideoSize(int &Width, int &Height, double &VideoAspect);
///< Returns the With, Height and VideoAspect ratio of the currently ///< Returns the With, Height and VideoAspect ratio of the currently
///< displayed video material. The data returned by this function is ///< displayed video material. Width and Height are given in pixel
///< only used for informational purposes (if any). Width and ///< (e.g. 720x576) and VideoAspect is e.g. 1.33333 for a 4:3 broadcast,
///< Height are given in pixel (e.g. 720x576) and VideoAspect is ///< or 1.77778 for 16:9.
///< e.g. 1.33333 for a 4:3 broadcast, or 1.77778 for 16:9.
///< The default implementation returns 0 for Width and Height ///< The default implementation returns 0 for Width and Height
///< and 1.0 for VideoAspect. ///< and 1.0 for VideoAspect.
virtual void GetOsdSize(int &Width, int &Height, double &PixelAspect); virtual void GetOsdSize(int &Width, int &Height, double &PixelAspect);