Re: xvidtune -timeout does not work (patch included)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 9 Sep 2005, Evil Mr Henry wrote:

(I tried sending this to the listed maintainer, but didn't get anything back, so I'm trying this method)

The bug is that the -timeout [seconds] option (eg: xvidtune -timeout 5) doesn't work. If entered, the program will simply exit after displaying possible options. The problem is in the line:

if (argc > 1) {

(line # 1,556 in xfree86 version 4.3.0, in programs/xvidtune/xvidtune.c)

If the line is changed to:

if (argc > 1 && argc != 3) {

then the timeout setting works. (Changing the amount of time needed for the "test" button to automatically exit.)

I have committed something similar to this change and credited it to "Evil Mr Henry" ;-)

Thanks for reporting the problem.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Academic Information and        |  fax:    1-780-492-1729           |
|    Communications Technologies   |  email:  tsi@xxxxxxxxxxx          |
|  352 General Services Building   +-----------------------------------+
|  University of Alberta           |                                   |
|  Edmonton, Alberta               |     Standard disclaimers apply    |
|  T6G 2H1                         |                                   |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 developer and VP.  ATI driver and X server internals.
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux