资源简介
mjpg-streamer
代码片段和文件信息
/*******************************************************************************
# #
# MJPG-streamer allows to stream JPG frames from an input-plugin #
# to several output plugins #
# #
# Copyright (C) 2007 Tom Stöveken #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; version 2 of the License. #
# #
# This program is distributed in the hope that it will be useful #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not write to the Free Software #
# Foundation Inc. 59 Temple Place Suite 330 Boston MA 02111-1307 USA #
# #
*******************************************************************************/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include “utils.h“
#include “mjpg_streamer.h“
/* globals */
static globals global;
/******************************************************************************
Description.: Display a help message
Input Value.: argv[0] is the program name and the parameter progname
Return Value: -
******************************************************************************/
void help(char *progname)
{
fprintf(stderr “-----------------------------------------------------------------------\n“);
fprintf(stderr “Usage: %s\n“ \
“ -i | --input \“ [parameters]\“\n“ \
“ -o | --output \“ [parameters]\“\n“ \
“ [-h | --help ]........: display this help\n“ \
“ [-v | --version ].....: display version information\n“ \
“ [-b | --background]...: fork to the background daemon mode\n“ progname);
fprintf(stderr “---------------------------
- 上一篇:C编译器源代码187076
- 下一篇:DOS622镜像文件
评论
共有 条评论