VDR version 2.0.7 is now available at
ftp://ftp.tvdr.de/vdr/vdr-2.0.7.tar.bz2
A 'diff' against the previous version is available at
ftp://ftp.tvdr.de/vdr/Developer/vdr-2.0.6-2.0.7.diff
MD5 checksums:
090c6f5b75b4710e39528734ebf2dcc8 vdr-2.0.7.tar.bz2 035e2df20744f90d44017674521ebcd4 vdr-2.0.6-2.0.7.diff
This version fixes a few minor bugs that came up after the release of version 2.0.6.
The changes since version 2.0.6:
- Fixed a possible division by zero in frame rate detection. - Fixed a bug in the Makefile when installing plugins with LCLBLD=1 (thanks to Stefan Huelswitt). - Fixed jumping to an absolute position via the Red key in case replay was paused (reported by Dieter Ferdinand). - Now returning from removing deleted recordings after at most 10 seconds, or if the user presses a remote control key, to keep the system from getting unresponsive when removing a huge number of files (reported by Dieter Ferdinand). - Fixed generating the index file of an existing recording in case at the of a TS file there is less data in the buffer than needed by the frame detector. In such a case it was possible that frames were missed, and there was most likely a distortion when replaying that part of a recording. This is mostly a problem for recordings that consist of more than one *.ts file. Single file recordings could only lose some frames at their very end, which probably doesn't matter. At any rate, if you have generated an index file with VDR version 2.0.6 you may want to do so again with this version to make sure the index is OK.
Have fun!
Klaus
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 20.01.2015 um 10:23 schrieb Klaus Schmidinger:
VDR version 2.0.7 is now available at
Hallo Klaus,
just for the statistic ;)
gcc-4.9.2 with CXXFLAGS=" -std=c++11"
several warnings
<snipp> -o device.o device.c channels.c: In static member function ‘static tChannelID tChannelID::FromString(const char*)’: channels.c:32:82: warning: format ‘%a’ expects argument of type ‘float*’, but argument 3 has type ‘char**’ [-Wformat=] int fields = sscanf(s, "%a[^-]-%d-%d-%d-%d", &sourcebuf, &nid, &tid, &sid, &rid);
^ channels.c: In member function ‘bool cChannel::Parse(const char*)’: channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 3 has type ‘char**’ [-Wformat=] ncy, ¶mbuf, &sourcebuf, &srate, &vpidbuf, &apidbuf, &tpidbuf, &caidbuf, &sid, &nid, &tid, &rid);
^ channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 5 has type ‘char**’ [-Wformat=] channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 6 has type ‘char**’ [-Wformat=] channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 8 has type ‘char**’ [-Wformat=] channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 9 has type ‘char**’ [-Wformat=] channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 10 has type ‘char**’ [-Wformat=] channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 11 has type ‘char**’ [-Wformat=] ... -o dvbdevice.o dvbdevice.c diseqc.c: In member function ‘bool cDiseqc::Parse(const char*)’: diseqc.c:117:102: warning: format ‘%a’ expects argument of type ‘float*’, but argument 3 has type ‘char**’ [-Wformat=] nt fields = sscanf(s, "%a[^ ] %d %c %d %a[^\n]", &sourcebuf, &slof, &polarization, &lof, &commands);
^ diseqc.c:117:102: warning: format ‘%a’ expects argument of type ‘float*’, but argument 7 has type ‘char**’ [-Wformat=] ... -o font.o font.c epg.c: In member function ‘bool tComponent::FromString(const char*)’: epg.c:35:82: warning: format ‘%a’ expects argument of type ‘float*’, but argument 6 has type ‘char**’ [-Wformat=] ... -o sources.o sources.c sources.c: In member function ‘bool cSource::Parse(const char*)’: sources.c:34:62: warning: format ‘%a’ expects argument of type ‘float*’, but argument 3 has type ‘char**’ [-Wformat=] if (2 == sscanf(s, "%a[^ ] %a[^\n]", &codeBuf, &description)) ^ sources.c:34:62: warning: format ‘%a’ expects argument of type ‘float*’, but argument 4 has type ‘char**’ [-Wformat=] </snapp>
and of course, warnings about invalid suffix on literal; C++11 requires a space between literal and string macro in dvbsubtitle.c remux.c
Cheers Jörg
On 24.01.2015 16:18, Joerg Bornkessel wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 20.01.2015 um 10:23 schrieb Klaus Schmidinger:
VDR version 2.0.7 is now available at
Hallo Klaus,
just for the statistic ;)
gcc-4.9.2 with CXXFLAGS=" -std=c++11"
several warnings
<snipp> -o device.o device.c channels.c: In static member function ‘static tChannelID tChannelID::FromString(const char*)’: channels.c:32:82: warning: format ‘%a’ expects argument of type ‘float*’, but argument 3 has type ‘char**’ [-Wformat=] int fields = sscanf(s, "%a[^-]-%d-%d-%d-%d", &sourcebuf, &nid, &tid, &sid, &rid);
^
channels.c: In member function ‘bool cChannel::Parse(const char*)’: channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 3 has type ‘char**’ [-Wformat=] ncy, ¶mbuf, &sourcebuf, &srate, &vpidbuf, &apidbuf, &tpidbuf, &caidbuf, &sid, &nid, &tid, &rid);
^
channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 5 has type ‘char**’ [-Wformat=] channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 6 has type ‘char**’ [-Wformat=] channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 8 has type ‘char**’ [-Wformat=] channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 9 has type ‘char**’ [-Wformat=] channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 10 has type ‘char**’ [-Wformat=] channels.c:589:221: warning: format ‘%a’ expects argument of type ‘float*’, but argument 11 has type ‘char**’ [-Wformat=] ... -o dvbdevice.o dvbdevice.c diseqc.c: In member function ‘bool cDiseqc::Parse(const char*)’: diseqc.c:117:102: warning: format ‘%a’ expects argument of type ‘float*’, but argument 3 has type ‘char**’ [-Wformat=] nt fields = sscanf(s, "%a[^ ] %d %c %d %a[^\n]", &sourcebuf, &slof, &polarization, &lof, &commands);
^
diseqc.c:117:102: warning: format ‘%a’ expects argument of type ‘float*’, but argument 7 has type ‘char**’ [-Wformat=] ... -o font.o font.c epg.c: In member function ‘bool tComponent::FromString(const char*)’: epg.c:35:82: warning: format ‘%a’ expects argument of type ‘float*’, but argument 6 has type ‘char**’ [-Wformat=] ... -o sources.o sources.c sources.c: In member function ‘bool cSource::Parse(const char*)’: sources.c:34:62: warning: format ‘%a’ expects argument of type ‘float*’, but argument 3 has type ‘char**’ [-Wformat=] if (2 == sscanf(s, "%a[^ ] %a[^\n]", &codeBuf, &description)) ^ sources.c:34:62: warning: format ‘%a’ expects argument of type ‘float*’, but argument 4 has type ‘char**’ [-Wformat=]
</snapp>
Well, "%a" has always been a format character for an automatically allocated string ("The GNU C Library Reference Manual", Vol. 1, Chapter 12.14.6, "Dynamically Allocating String Conversions"). Why would that change with -std=c++11?
and of course, warnings about invalid suffix on literal; C++11 requires a space between literal and string macro in dvbsubtitle.c remux.c
I've already adopted that for the next version.
Klaus