[MPlayer-cvslog] r27662 - trunk/stream/tvi_dshow.c
voroshil
subversion at mplayerhq.hu
Wed Sep 24 22:49:27 CEST 2008
Author: voroshil
Date: Wed Sep 24 22:49:27 2008
New Revision: 27662
Log:
Add debug message about loaded frequency tables.
Replace printed code of input type with user-frendly "broadcast"/"cable" strings.
patch from Laurent laurent dot aml at gmail dot com
Modified:
trunk/stream/tvi_dshow.c
Modified: trunk/stream/tvi_dshow.c
==============================================================================
--- trunk/stream/tvi_dshow.c (original)
+++ trunk/stream/tvi_dshow.c Wed Sep 24 22:49:27 2008
@@ -883,7 +883,7 @@ static HRESULT load_freq_table(int nCoun
TRCCountryList *pCountryList;
int i, index;
- mp_msg(MSGT_TV, MSGL_DBG4, "tvi_dshow: load_freq_table called %d (%d)\n",nCountry,nInputType);
+ mp_msg(MSGT_TV, MSGL_DBG4, "tvi_dshow: load_freq_table called %d (%s)\n",nCountry,nInputType == TunerInputAntenna ? "broadcast" : "cable");
/* ASSERT(sizeof(TRCCountryList)==10); // need properly aligned structure */
if (!pplFreqTable || !pnFirst || !pnLen)
@@ -926,6 +926,7 @@ static HRESULT load_freq_table(int nCoun
}
for (i = 0; i < *pnLen; i++) {
(*pplFreqTable)[i] = plFreqTable[i + 2];
+ mp_msg(MSGT_TV, MSGL_DBG4, "tvi_dshow: load_freq_table #%d => (%ld)\n",i+*pnFirst,(*pplFreqTable)[i]);
}
FreeLibrary(hDLL);
return S_OK;
More information about the MPlayer-cvslog
mailing list