Esempio n. 1
0
 /// <summary>
 /// Sets the video bit rate
 /// </summary>
 public bool SetVideoBitRate(int minKbps, int maxKbps, bool isVBR)
 {
     try
     {
         if (hauppaugelib != IntPtr.Zero)
         {
             if (_IsHauppauge())
             {
                 hr.Set(_SetVidBitRate(maxKbps, minKbps, isVBR));
                 Log.Log.WriteFile("Hauppauge Set Bit Rate " + hr.ToDXString());
                 return(true);
             }
         }
     }
     catch (Exception ex)
     {
         Log.Log.WriteFile("Hauppauge Set Vid Rate " + ex.Message);
     }
     return(false);
 }