mpeg2enc fix: actually accept "-u" option
Linards Ticmanis <[email protected]> Wed, 01 Feb 2012 15:16:04 +0100
| Newsgroups | gmane.comp.video.mjpeg.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------000202010500060009090205 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello developers, this small fix will make mpeg2enc actually accept the short form -u for the --cbr option. It's listed in the man page and the help output but currently doesn't work. Thanks for your consideration, and keep up the good work. Regards, -- Linards Ticmanis --------------000202010500060009090205 Content-Type: text/x-patch; name="mjpeg.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mjpeg.diff" diff -u -d -u -r1.83 mpeg2enc.cc --- mpeg2enc/mpeg2enc.cc 17 Oct 2010 15:19:48 -0000 1.83 +++ mpeg2enc/mpeg2enc.cc 1 Feb 2012 14:05:56 -0000 @@ -628,7 +628,7 @@ CHAPTERS = 256 }; static const char short_options[]= - "l:a:f:x:y:n:b:z:T:B:q:o:S:I:r:M:4:2:A:Q:X:D:g:G:v:V:F:N:pdsHcCPK:E:R:t:L:Z:"; + "l:a:f:x:y:n:b:z:T:B:q:o:S:I:r:M:4:2:A:Q:X:D:g:G:v:V:F:N:updsHcCPK:E:R:t:L:Z:"; #ifdef HAVE_GETOPT_LONG --------------000202010500060009090205 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d --------------000202010500060009090205 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mjpeg-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mjpeg-developer --------------000202010500060009090205--