⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fe_info.c

📁 dvbsnoop is a DVB/MPEG stream analyzer program. The program can be used to sniff, monitor, debug, d
💻 C
字号:
/*$Id: fe_info.c,v 1.6 2005/08/11 21:53:49 rasc Exp $ DVBSNOOP a dvb sniffer  and mpeg2 stream analyzer tool http://dvbsnoop.sourceforge.net/ (c) 2001-2004   Rainer.Scherg@gmx.de  (rasc) -- FrontProcessor Info --  DVB-API $Log: fe_info.c,v $Revision 1.6  2005/08/11 21:53:49  rascminor changes, man pageRevision 1.5  2004/03/27 22:34:03  rasc- frontend info  current parametersRevision 1.4  2004/03/21 18:02:45  rasccorrectionsRevision 1.3  2004/03/21 13:20:07  rascmore -feinfo, some restructs on FE codeRevision 1.2  2004/03/21 00:40:40  rascno messageRevision 1.1  2004/03/21 00:38:45  rascQuery FrontEnd Info  (option: -s feinfo)*/#include <stdint.h>#include <sys/time.h>#include <errno.h>#include "dvbsnoop.h"#include "fe_info.h"#include "fe_misc.h"#include "misc/cmdline.h"#include "misc/output.h"#include "dmx_error.h"#include "dvb_api.h"#if DVB_API_VERSION == 1  // -- not supported in DVB-API 1    int  do_FE_Info (OPTION *opt)  {	 fprintf (stderr,"FE_info function not supported in DVB-API 1\n");	 return 1;  }#elseint  do_FE_Info (OPTION *opt){  int        fd_fe = 0;  if (opt->inpPidFile) {	fprintf (stderr,"Error: FileMode not possible...\n");	return -1;  }   if((fd_fe = open(opt->devFE,O_RDONLY)) < 0){     IO_error(opt->devFE);     return -1;  }   indent (0);   out_NL (2);   out_nl (2,"---------------------------------------------------------");   out_nl (2,"FrontEnd Info...");   out_nl (2,"---------------------------------------------------------");   out_NL (2);   out_nl (2,"Device: %s",opt->devFE);   out_NL (2);  print_FE_BasicCapabilities (3, fd_fe);  print_FE_CurrentParameters (2, fd_fe);  close(fd_fe);  return 0;}#endif  // DVB-API Check

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -