Re: [vdr] Stop live TV whilst in menu

2011-05-13 Thread Udo Richter
Am 13.05.2011 01:49, schrieb Dominic Evans:
 For example, currently if I want to watch two or three recordings one
 after another, I go to recordings menu, play 1 till end, hit back
 (returning me to recordings menu), play 2 till end and so on. Each
 time I go back to the recordings menu to choose the next recording,
 I'm forced to see and hear whatever happens to be showing at that time
 on the last channel tuned, even when it has no interest to me...

I know similar situations where I don't want to have live TV, for
example if this would tune to problematic channels (streamdev client) or
would interrupt other receivers.

Another good solution to this would be a real 'dummy' device, a
receiving device that permanently receives a still picture, and that
would be assigned to a free channel number. This would also be nice for
a playback-only VDR without receiving devices, to avoid the frequent
'channel not available' messages.

I've once tried to write such a plugin, however these attempts were
missing some code to turn a single mpeg still frame into an endless
sequence with proper time codes.

Cheers,

Udo

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Small fix for GCC 4.6 issue

2011-05-13 Thread Udo Richter
Am 13.05.2011 07:44, schrieb Tobi:
 8.5/9 of the C++ standard says
 
 If no initializer is specified for an object, and the object is of
 (possibly cv-qualified) nonPOD class type (or array thereof), the object
 shall be default-initialized; if the object is of const-qualified type,
 the underlying class type shall have a user-declared default constructor.

Interestingly irritating... Since I don't have an GCC4.6 at hand, I
*think* the source of the problem might be that cCursesFont has just an
default constructor. So it should also work if you add an empty
constructor cCursesFont::cCursesFont() { }  ???

I thought such an empty constructor would always behave the same as the
default constructor...

Does anyone know the background why the standard doesn't just use the
default constructor for const objects?


Cheers,

Udo

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr