Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Plugin video error
On Mittwoch, 22. Januar 2003 19:46 Jan Ekholm wrote:
> I'm writing a small image viewer as a plugin, and it all goes pretty
> smoothly, but I do get a message like this in syslog:
>
> ERROR: attempt to use cPlayer::PlayVideo() without attaching to a cDevice!
>
> Well, usually 100 of them or so. All does seem to work as well as it could
> at this stage, but this message obviously means that something is wrong.
> Is the only missing thing an AttachPlayer() ? My image gets shown on the
> screen, albeit blocky and cropped, but that's a later problem.
>
> Any tips?
Did you use a cControl-Derive to control your cPlayer? In "usual" plugin terms
the player is attached automatically (I suppose) when your cControl-Class
calls
cControl(player = new cPlayer)
in the Constructor. I say I suppose, because I never had to atatch a player
manually.
The cControl must be launched (to gain control over vdr) via cControl::Launch
Hope to have helped,
Greetings,
Sascha Volkenandt
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index