From 8095d9dacfb4000ffaef330cfb8c1b0e716b8888 Mon Sep 17 00:00:00 2001 From: voroshil Date: Wed, 24 Sep 2008 20:49:27 +0000 Subject: 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27662 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tvi_dshow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/tvi_dshow.c b/stream/tvi_dshow.c index 2d6f2ff20b..726f469098 100644 --- a/stream/tvi_dshow.c +++ b/stream/tvi_dshow.c @@ -883,7 +883,7 @@ static HRESULT load_freq_table(int nCountry, int nInputType, 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 nCountry, int nInputType, } 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; -- cgit v1.2.3