[MPlayer-dev-eng] [PATCH] TV auto scan and channel list in file

Bernd Ernesti mplayer-dev-eng at lists.veego.de
Sun Aug 26 16:32:26 CEST 2007


On Sun, Aug 26, 2007 at 07:57:02PM +0700, Vladimir Voroshilov wrote:
> Hi, Bernd
> 
> 2007/8/26, Bernd Ernesti <mplayer-dev-eng at lists.veego.de>:
[..]

>  > But this doesn't fix the default autostart mode for me.
> >
> > The tv_start_scan code path was not used because the "start scan" output didn't
> > happen.
> 
> One possible case excluded.
> I've got your situation only once - when i've updated tv_param_t in
> tv.h and forget to do make distclean. Just to exclude another case:
> did you "make distclean" after r24125?

Yes, because I use two tree. One which I only update and the second one which
will be synchronized with rsync, including the delete option.

So there are no old files left.

Ok, digging in the source code and adding more debug output revealed that
scan was set to 50. Huh? Yes, thats my fault, because I only send a patch
for stream/tv.h but forgot about stream/stream_tv.c. The later didn't
produce a compile error, but now the initalization is out of sync.
Maybe I could blame Diego for not catching it, but ...

So, the bsd tv scan code works now, after someone will commit the tvi_bsdbt848.c
changes.

Regards,
Bernd

-------------- next part --------------
Index: stream/stream_tv.c
===================================================================
--- stream/stream_tv.c	(revision 24154)
+++ stream/stream_tv.c	(working copy)
@@ -66,8 +66,8 @@
 #if defined(HAVE_ALSA9) || defined(HAVE_ALSA1X)
     0,             //alsa
 #endif
+#endif
     NULL,          //adevice
-#endif
     0,             //brightness
     0,             //contrast
     0,             //hue


More information about the MPlayer-dev-eng mailing list