# HG changeset patch # User voroshil # Date 1222289367 0 # Node ID 6fe56f6147eabc912a02f43d60fcebc032791d99 # Parent d04568721d397f0f6bce674668940e291e30fb4a 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 diff -r d04568721d39 -r 6fe56f6147ea stream/tvi_dshow.c --- a/stream/tvi_dshow.c Wed Sep 24 20:42:15 2008 +0000 +++ b/stream/tvi_dshow.c Wed Sep 24 20:49:27 2008 +0000 @@ -883,7 +883,7 @@ 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 @@ } 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;