[ANNOUNCE] VDR developer version 2.1.10

Message ID D409D836-0CBF-4C14-8EC2-0E398948251D@gmx.de
State New

Commit Message

Ingo Prochaska Feb. 11, 2015, 1:55 p.m. UTC

congrats for the first 15 years - go for the second quarter... ;

Thank you VERY! Much for the additional key config for binary skip - I really missed that one in 2.1.9.

I've two hotfixes for 2.1.10 and shofthddevice and dbus2vdr regarding PixmapMemory. It's git format-patch, so you can either use "patch" or "git am".

Cheers, Ingo

Am 11. Februar 2015 12:15:27 MEZ, schrieb Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>:
>VDR developer version 2.1.10 is now available at
>       ftp://ftp.tvdr.de/vdr/Developer/vdr-2.1.10.tar.bz2
>A 'diff' against the previous version is available at
>       ftp://ftp.tvdr.de/vdr/Developer/vdr-2.1.9-2.1.10.diff
>MD5 checksums:
>889f053463e2720f1ad6517cc19e82f6  vdr-2.1.10.tar.bz2
>c126fb89a79db55867ae9d9a869569aa  vdr-2.1.9-2.1.10.diff
>Approaching version 2.2.0:
>I have decided to release one more developer version because there were
>complaints about missing functionality from the "jumpingseconds" and
>"binary skip" patches regarding the Green/Yellow and Prev/Next keys,
>I didn't want to cause another "patch frenzy" in this newly refurbished
>area of VDR. The other (more important) reason for this additional
>developer release was the change in the return value of
>which is very important for plugins that implement their own version of
>cPixmap, e.g. for use with fast graphics hardware.
>If there are no more serious bug reports, the final version 2.2.0 of
>shall be released on February 19, 2015, which marks the 15th
>of VDR.
>So please test this developer version intensely and report any problems
>you might encounter as soon as possible.
>The following language files still have the given number of
>untranslated texts:
>ar.po: 54
>ca_ES.po: 54
>cs_CZ.po: 54
>da_DK.po: 187
>el_GR.po: 250
>es_ES.po: 54
>et_EE.po: 3
>fi_FI.po: 3
>hr_HR.po: 187
>hu_HU.po: 4
>it_IT.po: 3
>lt_LT.po: 3
>mk_MK.po: 3
>nn_NO.po: 315
>pl_PL.po: 54
>pt_PT.po: 82
>ro_RO.po: 3
>ru_RU.po: 54
>sk_SK.po: 54
>sl_SI.po: 55
>sr_RS.po: 54
>sv_SE.po: 54
>tr_TR.po: 187
>uk_UA.po: 3
>zh_CN.po: 54
>If nobody takes care of these, they will remain untranslated in version
>The changes since version 2.1.9:
>- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
>- Updated the Macedonian OSD texts (thanks to Dimitar Petrovski).
>- Updated the Romanian OSD texts (thanks to Lucian Muresan).
>- Updated the Ukrainian OSD texts (thanks to Yarema Aka Knedlyk).
>- Added "#REMOTE=LIRC" to Make.config.template (suggested by Martin
>- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
>- Increased the width of the left text column in the Setup menus to
>avoid cutting
>   off German texts.
>- Added an empty target to the Makefile to make sure the sub-make for
>libsi is always
>   called (thanks to Sören Moch).
>- Updated the Italian OSD texts (thanks to Diego Pierotto and Nino
>- Updated the Lithuanian OSD texts (thanks to Valdemaras Pipiras).
>- The new options "Setup/Replay/Skip distance with Green/Yellow keys"
>"Setup/Replay/Skip distance with Green/Yellow keys in repeat" can be
>used to
>configure the number of seconds to skip when pressing these keys once
>or pressing
>and holding them (based on a patch from Matthias Senzel, originally
>from Tobias
>   Faust).
>- The new option "Setup/Replay/Use Prev/Next keys for adaptive
>skipping" can be used
>to change the behavior of these keys during replay. They normally jump
>editing marks, but with this option set to 'yes' they will do adaptive
>- The new command line option --chartab can be used to set the default
>table to use for strings in the DVB data stream that don't begin with a
>character table indicator (suggested by Christopher Reimer). The old
>of using the environment variable VDR_CHARSET_OVERRIDE still works, but
>is now
>deprecated and may be removed in a future version. The value given in
>the --chartab
>   option takes precedence over that in VDR_CHARSET_OVERRIDE.
>- cOsd::RenderPixmaps() now returns a pointer to cPixmap instead of
>(suggested by Thomas Reufer). This is necessary to allow plugins with
>cPixmap implementations to use this function. Plugins that use this
>   with cPixmapMemory now need to add a dynamic cast to the call, as in
>   cPixmapMemory *pm = dynamic_cast<cPixmapMemory *>(RenderPixmaps()));
>They also need to call DestroyPixmap(pm) instead of "delete pm" to
>properly release
>   the resulting pixmap after use.
>   The dvbhddevice plugin has been modified accordingly.
>- A cPixmap with a negative layer no longer marks any portion of the
>OSD's view port
>as "dirty" when drawing on it. This may improve performance when
>drawing on a
>   hidden pixmap, because it avoids unnecessary refreshes of the OSD.
>- Added a missing initialization of "panning" to the constructor of
>- Updated the Dutch OSD texts (thanks to Erik Oomen).
>- Updated the French OSD texts (thanks to Régis Bossut).
>- Fixed the German translation of "Zap timeout".
>Have fun!
>vdr mailing list


diff --git a/osd.c b/osd.c
index 431afde..b0c4356 100644
--- a/osd.c
+++ b/osd.c
@@ -62,7 +62,7 @@  void cDBusOsd::Flush(void)
     int x, y;
     const uint8_t *pixel;
     png::image<png::rgba_pixel> *pngfile;
-    while (cPixmapMemory *pm = RenderPixmaps()) {
+    while (cPixmapMemory *pm = dynamic_cast<cPixmapMemory *>(RenderPixmaps())) {
           /*write = true;*/
           vp = &pm->ViewPort();
           vx = vp->X();
@@ -83,7 +83,7 @@  void cDBusOsd::Flush(void)
           delete pngfile;
-          delete pm;
+          DestroyPixmap(pm);