Message ID | D409D836-0CBF-4C14-8EC2-0E398948251D@gmx.de |
---|---|
State | New |
Headers |
Received: from localhost ([127.0.0.1] helo=www.linuxtv.org) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from <vdr-bounces@linuxtv.org>) id 1YLXlW-0005zF-H5; Wed, 11 Feb 2015 14:55:42 +0100 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from <nvertigo@gmx.de>) id 1YLXlU-0005zA-2P for vdr@linuxtv.org; Wed, 11 Feb 2015 14:55:41 +0100 X-tubIT-Incoming-IP: 212.227.15.19 Received: from mout.gmx.net ([212.227.15.19]) by mail.tu-berlin.de (exim-4.72/mailfrontend-5) with esmtps [UNKNOWN:AES256-GCM-SHA384:256] for <vdr@linuxtv.org> id 1YLXlS-0007dh-7E; Wed, 11 Feb 2015 14:55:39 +0100 Received: from bussard ([2.202.64.38]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LdHqj-1Xv2eP3VgH-00iSSS for <vdr@linuxtv.org>; Wed, 11 Feb 2015 14:55:37 +0100 User-Agent: K-9 Mail for Android In-Reply-To: <54DB39CF.70402@tvdr.de> References: <54DB39CF.70402@tvdr.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----00EZMDHDJVKRSLHZN5TJ93P9QHH15H" Content-Transfer-Encoding: 7bit From: Ingo Prochaska <nvertigo@gmx.de> Date: Wed, 11 Feb 2015 14:55:35 +0100 To: VDR Mailing List <vdr@linuxtv.org> Message-ID: <D409D836-0CBF-4C14-8EC2-0E398948251D@gmx.de> X-Provags-ID: V03:K0:RIzYFKF4yTSmVvAXG42itPwYrrJGdYcvar6YxfCrGz/tP3BBac2 xr1QUJgHAug/r5MFwA6HPvS4ftPpuY9bpKLzPom1+u29ZBEEpnX9CQ9TTkPNDo6tT7xFDI5 Yw7C537hsAPD8aIPDfvWZKFpvZiW6C4ftBjOJ2xnXCzrG9Uv8FG0uDhc3YisiSA2xX+/3we G/R0AFG3TiYrfeJc7rGPQ== X-UI-Out-Filterresults: notjunk:1; X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2015.2.11.134819 X-PMX-Spam: Gauge=X, Probability=10%, Report=' BASE64_ENC_TEXT 0.5, MSGID_ADDED_BY_MTA 0.05, BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_10000_PLUS 0, REFERENCES 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_MIXED 0, __FORWARDED_MSG 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __IN_REP_TO 0, __LINES_OF_YELLING 0, __MIME_HTML 0, __MIME_VERSION 0, __MSGID_APPLEMAIL 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_NEGATE 0, __TAG_EXISTS_HTML 0, __TO_MALFORMED_2 0, __URI_NS , __USER_AGENT 0' X-LSpam-Score: 3.4 (+++) X-LSpam-Report: No, score=3.4 required=5.0 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, URIBL_DBL_ABUSE_BOTCC=2.5 autolearn=no Subject: Re: [vdr] [ANNOUNCE] VDR developer version 2.1.10 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: VDR Mailing List <vdr@linuxtv.org> List-Id: VDR Mailing List <vdr.linuxtv.org> List-Unsubscribe: <http://www.linuxtv.org/cgi-bin/mailman/options/vdr>, <mailto:vdr-request@linuxtv.org?subject=unsubscribe> List-Archive: <http://www.linuxtv.org/pipermail/vdr> List-Post: <mailto:vdr@linuxtv.org> List-Help: <mailto:vdr-request@linuxtv.org?subject=help> List-Subscribe: <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>, <mailto:vdr-request@linuxtv.org?subject=subscribe> Sender: vdr-bounces@linuxtv.org Errors-To: vdr-bounces@linuxtv.org |
Commit Message
Ingo Prochaska
Feb. 11, 2015, 1:55 p.m. UTC
Hello, 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, >and >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 >cOsd::RenderPixmaps(), >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 >VDR >shall be released on February 19, 2015, which marks the 15th >anniversary >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 >2.2.0. > >DEADLINE FOR SUBMITTING TRANSLATIONS IS WEDNESDAY, FEBRUARY 18! > > >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 >Dauskardt). >- 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 >Gerbino). >- Updated the Lithuanian OSD texts (thanks to Valdemaras Pipiras). >- The new options "Setup/Replay/Skip distance with Green/Yellow keys" >and >"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 >between >editing marks, but with this option set to 'yes' they will do adaptive >skipping. >- The new command line option --chartab can be used to set the default >character >table to use for strings in the DVB data stream that don't begin with a >proper >character table indicator (suggested by Christopher Reimer). The old >mechanism >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 >cPixmapMemory >(suggested by Thomas Reufer). This is necessary to allow plugins with >derived >cPixmap implementations to use this function. Plugins that use this >function > 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 >cPixmapMemory. >- 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! > >Klaus > >_______________________________________________ >vdr mailing list >vdr@linuxtv.org >http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
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) counter++; delete pngfile; - delete pm; + DestroyPixmap(pm); } } #endif