[vdr] SetPlayMode() on radio channels

Thiemo rollercoaster at reel-multimedia.com
Wed Jan 31 15:13:25 CET 2007


Am Freitag, 26. Januar 2007 15:32 schrieb Klaus Schmidinger:
> Thiemo wrote:
> > Hi,
> >
> > is there a special reason that SetPlayMode() is always called with
> > "pmAudioVideo" even on radio channels instead of pmAudioOnly or
> > pmAudioOnlyBlack? It would make things much easier if it would do so (for
> > displaying a background image).
> > Can you give me a hint where I could change this?
>
> "pmAudioVideo" is the default play mode for VDR, and by itself VDR
> doesn't use anything else. This was introduced in case a plugin
> wants to implement a player that needs a different play mode.
>
> When replaying a recording, VDR sets up a cDvbPlayerControl in
maybe you got me wrong - i don't want this for replaying a recording but for 
live-broadcasts. (although replaying is an issue i did not think about yet).

currently its realy a pain finding out if a stream is audio-only or not in the 
mpeg-player (where it does not belong imho).

t.



More information about the vdr mailing list