mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed cDvbSubtitleConverter::SetOsdData()
This commit is contained in:
parent
4d30033936
commit
73ccde16e8
@ -1120,6 +1120,7 @@ Rolf Ahrenberg <rahrenbe@cc.hut.fi>
|
|||||||
for fixing handling DVB subtitles and implementing decoding textual DVB subtitles
|
for fixing handling DVB subtitles and implementing decoding textual DVB subtitles
|
||||||
for adding file name and line number to LOG_ERROR_STR()
|
for adding file name and line number to LOG_ERROR_STR()
|
||||||
for replacing all calls to sleep() with cCondWait::SleepMs()
|
for replacing all calls to sleep() with cCondWait::SleepMs()
|
||||||
|
for fixing cDvbSubtitleConverter::SetOsdData()
|
||||||
|
|
||||||
Ralf Klueber <ralf.klueber@vodafone.com>
|
Ralf Klueber <ralf.klueber@vodafone.com>
|
||||||
for reporting a bug in cutting a recording if there is only a single editing mark
|
for reporting a bug in cutting a recording if there is only a single editing mark
|
||||||
|
3
HISTORY
3
HISTORY
@ -6781,7 +6781,7 @@ Video Disk Recorder Revision History
|
|||||||
- Replaced all calls to sleep() with cCondWait::SleepMs() (thanks to Rolf Ahrenberg).
|
- Replaced all calls to sleep() with cCondWait::SleepMs() (thanks to Rolf Ahrenberg).
|
||||||
- Fixed a crash with malformed SI data (patch from vdr-portal).
|
- Fixed a crash with malformed SI data (patch from vdr-portal).
|
||||||
|
|
||||||
2012-01-07: Version 1.7.23
|
2012-01-11: Version 1.7.23
|
||||||
|
|
||||||
- Removed the '.pl' suffix from svdrpsend.pl (sorry, I missed that one).
|
- Removed the '.pl' suffix from svdrpsend.pl (sorry, I missed that one).
|
||||||
- Fixed bonding more than two devices.
|
- Fixed bonding more than two devices.
|
||||||
@ -6806,3 +6806,4 @@ Video Disk Recorder Revision History
|
|||||||
- cEvent::FixEpgBugs() now replaces any newline characters in stream component
|
- cEvent::FixEpgBugs() now replaces any newline characters in stream component
|
||||||
descriptions with blanks (thanks to Torsten Lang for reporting a problem with
|
descriptions with blanks (thanks to Torsten Lang for reporting a problem with
|
||||||
EPG data from BSkyB's "MTV MUSIC", S28.2E-2-2010-7012).
|
EPG data from BSkyB's "MTV MUSIC", S28.2E-2-2010-7012).
|
||||||
|
- Fixed cDvbSubtitleConverter::SetOsdData() (thanks to Rolf Ahrenberg).
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* Original author: Marco Schlüßler <marco@lordzodiac.de>
|
* Original author: Marco Schlüßler <marco@lordzodiac.de>
|
||||||
* With some input from the "subtitle plugin" by Pekka Virtanen <pekka.virtanen@sci.fi>
|
* With some input from the "subtitle plugin" by Pekka Virtanen <pekka.virtanen@sci.fi>
|
||||||
*
|
*
|
||||||
* $Id: dvbsubtitle.c 2.20 2011/09/18 11:23:15 kls Exp $
|
* $Id: dvbsubtitle.c 2.21 2012/01/11 10:34:07 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -995,7 +995,7 @@ void cDvbSubtitleConverter::SetOsdData(void)
|
|||||||
double VideoAspect;
|
double VideoAspect;
|
||||||
cDevice::PrimaryDevice()->GetOsdSize(OsdWidth, OsdHeight, OsdAspect);
|
cDevice::PrimaryDevice()->GetOsdSize(OsdWidth, OsdHeight, OsdAspect);
|
||||||
cDevice::PrimaryDevice()->GetVideoSize(VideoWidth, VideoHeight, VideoAspect);
|
cDevice::PrimaryDevice()->GetVideoSize(VideoWidth, VideoHeight, VideoAspect);
|
||||||
if (OsdWidth == displayWidth && OsdHeight == displayHeight || VideoWidth == 0) {
|
if (OsdWidth == displayWidth && OsdHeight == displayHeight || DoubleEqual(VideoAspect, 1.0)) {
|
||||||
osdFactorX = osdFactorY = 1.0;
|
osdFactorX = osdFactorY = 1.0;
|
||||||
osdDeltaX = osdDeltaY = 0;
|
osdDeltaX = osdDeltaY = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user