[vlc-commits] dvb: count channels names, not number of services we have

Ilkka Ollakka git at videolan.org
Thu Mar 17 14:24:28 CET 2011


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu Mar 17 13:54:44 2011 +0200| [c6014f86c9144cda41ace248cb8489b18fc64bf4] | committer: Ilkka Ollakka

dvb: count channels names, not number of services we have

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c6014f86c9144cda41ace248cb8489b18fc64bf4
---

 modules/access/dvb/scan.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c
index a6af3c6..0b1c082 100644
--- a/modules/access/dvb/scan.c
+++ b/modules/access/dvb/scan.c
@@ -607,7 +607,7 @@ int scan_Next( scan_t *p_scan, scan_configuration_t *p_cfg )
 
     for( int i = 0; i < p_scan->i_service; i++ )
     {
-        if( p_scan->pp_service[i]->type != SERVICE_UNKNOWN )
+        if( p_scan->pp_service[i]->psz_name )
             i_service++;
     }
 



More information about the vlc-commits mailing list