diff stream/tvi_dshow.c @ 25019:b64074f0f124

Not all cards supports changing country code. This patch makes failed call to put_CountryCode non-fatal.
author voroshil
date Wed, 14 Nov 2007 12:57:17 +0000
parents d81eef9beb1b
children 2cae9470f53b
line wrap: on
line diff
--- a/stream/tvi_dshow.c	Wed Nov 14 09:25:54 2007 +0000
+++ b/stream/tvi_dshow.c	Wed Nov 14 12:57:17 2007 +0000
@@ -2667,7 +2667,6 @@
 		       chanlist2country(priv->tv_param->chanlist));
             if(FAILED(hr)){
                 mp_msg(MSGT_TV,MSGL_DBG2, "tvi_dshow: Call to put_CountryCode failed. Error:0x%x\n",(unsigned int)hr);
-                break;
             }
 
             hr = OLE_CALL_ARGS(priv->pTVTuner, put_Mode, AMTUNER_MODE_TV);