Bug#296741: -v and -s together don't work right

2005-03-02 Thread Moritz Bunkus
Hey,

ups sorry, not wrong usage, indeed a bug. I've attached a patch. Marc,
you can prepare that new release now if you want :)

Thanks.

Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds

Index: ogminfo.c
===
--- ogminfo.c	(revision 2840)
+++ ogminfo.c	(revision 2841)
@@ -188,7 +188,7 @@
 }
 vorbis_comment_clear(vc);
   } else if ((stream-stype == 'a')  stream-vorbis) {
-if (verbose  1)
+if (verbose  2)
   return;
 fprintf(stdout, (%s) a%d: % 7ld bytes granulepos: % 10lld pno: % 10lld ,
  __FILE__, stream-sno, pack-bytes, ogg_page_granulepos(page),


pgpU9tLZtYGN1.pgp
Description: PGP signature


Bug#296741: -v and -s together don't work right

2005-02-28 Thread Moritz Bunkus
Hey,

wrong use of the program. -v is meant to output more info, -s is meant
to output only a few lines. Of course I could add an error message if
both are used at the same time.

Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds



pgpfgqCxr323q.pgp
Description: PGP signature


Bug#296741: -v and -s together don't work right

2005-02-24 Thread Anthony DeRobertis
Package: ogmtools
Version: 1:1.5-1
Severity: normal
File: /usr/bin/ogminfo

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When I use -v and -s together, I get over 4,800 lines of output. The
beginning is like this:

$ ogminfo -v -s /tmp/7/druworaspu/Satellite\ Dance.ogm | head -n 30
(ogminfo.c) (v1/serial 0) fps: 30.000 width height: 496x496 codec: 0x44495658 
(DIVX)
(ogminfo.c) (a1/serial 1) Vorbis audio (channels 2 rate 44100)
(ogminfo.c) v1: comment packet, length 31, no user comment fields available.
(ogminfo.c) a1: comment packet, length 190, 5 user comment fields:
(ogminfo.c) a1:   ALBUM=DGG 447 441-2
(ogminfo.c) a1:   TRACKNUMBER=1
(ogminfo.c) a1:   TITLE=Also sprach Zarathustra op. 30 - I. Einleitung
(ogminfo.c) a1:   ARTIST=R.Strauss - Karajan
(ogminfo.c) a1:   GENRE=Classical
(ogminfo.c) a1:   1 bytes granulepos:  10816 pno:  3  start:
  0.00ms  end:245.26ms sync_ok 
(ogminfo.c) a1:   1 bytes granulepos:  10816 pno:  4  start:
  0.00ms  end:245.26ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 386 bytes granulepos:  10816 pno:  5  start:
  0.00ms  end:245.26ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 402 bytes granulepos:  10816 pno:  6  start:
  0.00ms  end:245.26ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 402 bytes granulepos:  10816 pno:  7  start:
  0.00ms  end:245.26ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 394 bytes granulepos:  10816 pno:  8  start:
  0.00ms  end:245.26ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 400 bytes granulepos:  10816 pno:  9  start:
  0.00ms  end:245.26ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 410 bytes granulepos:  10816 pno: 10  start:
  0.00ms  end:245.26ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 391 bytes granulepos:  10816 pno: 11  start:
  0.00ms  end:245.26ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 420 bytes granulepos:  10816 pno: 12  start:
  0.00ms  end:245.26ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 409 bytes granulepos:  10816 pno: 13  start:
  0.00ms  end:245.26ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 406 bytes granulepos:  10816 pno: 14  start:
  0.00ms  end:245.26ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 407 bytes granulepos:  22080 pno: 15  start:
245.26ms  end:500.68ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 395 bytes granulepos:  22080 pno: 16  start:
245.26ms  end:500.68ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 414 bytes granulepos:  22080 pno: 17  start:
245.26ms  end:500.68ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 415 bytes granulepos:  22080 pno: 18  start:
245.26ms  end:500.68ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 410 bytes granulepos:  22080 pno: 19  start:
245.26ms  end:500.68ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 407 bytes granulepos:  22080 pno: 20  start:
245.26ms  end:500.68ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 402 bytes granulepos:  22080 pno: 21  start:
245.26ms  end:500.68ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 416 bytes granulepos:  22080 pno: 22  start:
245.26ms  end:500.68ms sync_ok IS_SYNCPOINT 
(ogminfo.c) a1: 412 bytes granulepos:  22080 pno: 23  start:
245.26ms  end:500.68ms sync_ok IS_SYNCPOINT 

- -- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (130, 'unstable'), (120, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-bohr
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ogmtools depends on:
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libdvdread3 0.9.4-5  Simple foundation for reading DVDs
ii  libgcc1 1:3.4.3-6GCC support library
ii  libogg0 1.1.0-1  Ogg Bitstream Library
ii  libstdc++5  1:3.3.5-8The GNU Standard C++ Library v3
ii  libvorbis0a 1.0.1-1  The Vorbis General Audio Compressi
ii  libvorbisenc2   1.0.1-1  The Vorbis General Audio Compressi

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCHckl+z+IwlXqWf4RArwxAJ9zLPqX20oRPuQNXDDDvtk19VZ7mQCfVVPf
/eBT4iDgQ32ABKZFaDwIHWA=
=8Tca
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]