diff options
author | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-09-24 20:49:27 +0000 |
---|---|---|
committer | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-09-24 20:49:27 +0000 |
commit | 8095d9dacfb4000ffaef330cfb8c1b0e716b8888 (patch) | |
tree | 5ea830da1f4b1cf25838e6d17341bde30810343c /stream/tvi_dshow.c | |
parent | 7132e7d85232e99c7f856eb5fbbdb9e9af3fc5ec (diff) | |
download | mpv-8095d9dacfb4000ffaef330cfb8c1b0e716b8888.tar.bz2 mpv-8095d9dacfb4000ffaef330cfb8c1b0e716b8888.tar.xz |
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
Diffstat (limited to 'stream/tvi_dshow.c')
-rw-r--r-- | stream/tvi_dshow.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |