All of lore.kernel.org
 help / color / mirror / Atom feed
From: amaora <nemashinist@rambler.ru>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] Small patch for szap (from linuxtv-dvb-apps-1.1.1.tar.gz)
Date: Mon, 30 Jun 2008 20:52:46 +0400	[thread overview]
Message-ID: <48690F5E.40103@rambler.ru> (raw)

Hi,

I modified szap for change of a line output frequency. You could not 
include change in yours CVS/Mercurial/Downloads? It is necessary for 
szapfe (http://szapfe.sourceforge.net/), changes not greater,

69a70
 > static int refresh_rate = 1000;
87c88,89
<     "                 or -n numbers for zapping\n";
---
 >     "                 or -n numbers for zapping\n"
 >     "     -t number : refresh rate in msec (default 1000)\n";
197a200
 >    struct timeval t0, t1;
223c226,234
<       usleep(1000000);
---
 >     gettimeofday( &t0, NULL );
 >     gettimeofday( &t1, NULL );
 >     while ( abs( ( t1.tv_usec + t1.tv_sec * 1000000 ) -
 >         ( t0.tv_usec + t0.tv_sec * 1000000 ) ) < refresh_rate * 1000 )
 >     {
 >         usleep( 1000 );
 >         gettimeofday( &t1, NULL );
 >     }
 >
482c493
<    while ((opt = getopt(argc, argv, "hqrn:a:f:d:c:l:xi")) != -1) {
---
 >    while ((opt = getopt(argc, argv, "hqrn:a:f:d:c:l:xit:")) != -1) {
522a534,540
 >         break;
 >      case 't':
 >         refresh_rate = ( int ) strtoul( optarg, NULL, 0 );
 >         if ( refresh_rate <= 0 )
 >             refresh_rate = 1;
 >         break;
 >

Though I still doubt of necessity of this my software. Excuse for bad 
English. In advance thanks.

Regards,
amaora

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

                 reply	other threads:[~2008-06-30 16:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48690F5E.40103@rambler.ru \
    --to=nemashinist@rambler.ru \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.