[MPlayer-dev-eng] [PATCH] blue back tv feature (automute with no signal)

Vladimir Voroshilov voroshil at gmail.com
Fri May 25 07:44:50 CEST 2007


2007/5/25, Alban Bedel <albeu at free.fr>:
> On Thu, 24 May 2007 21:29:30 +0600
> "Vladimir Voroshilov" <voroshil at gmail.com> wrote:
>
> > > 3. no apropriate osd  message
> > >
> > > (3) i need a hint how to show "no signal" osd  msg all time until
> > > signal will appear.
> > Can anybody advise me how to show osd message from inside tvi_*.c
> > (i.e. from stream module)
>
> You can't. What you can do however is pooling the state from the main loop
> (using a control) and then display an OSD message when needed. Now if that's
> really worth it is probably debatable.
>
This seems like an another hack.
I don't think that "No signal" message is enough significant reason to
add such (only tv driver related) checks in main loop .

I'll prefer something like common
'add_osd_msg_to_queue(text,duration)" routine or similar (accessable
from stream layer).


-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at jabber.ru
ICQ: 95587719



More information about the MPlayer-dev-eng mailing list