Menu

Commit [r2409]  Maximize  Restore  History

Set the default number of cpus to 1 and _not_ the number that sysconf() reports.

Using sysconf() had the unfortunate side effect of *silently* changing the
behaviour of the encoder if you happened to be on a multicpu system. This
tended to produce different results when using the same mpeg2enc options on
different machines. It should also be noted that the resulting .m1v/.m2v file
is different when using -M 2 than it is when using -M 0 or -M 1 (bug? could be)

sms00 2004-08-10

changed /trunk/mjpeg_play/docs/mpeg2enc.1
changed /trunk/mjpeg_play/mpeg2enc/mpeg2encoptions.cc
/trunk/mjpeg_play/docs/mpeg2enc.1 Diff Switch to side-by-side view
Loading...
/trunk/mjpeg_play/mpeg2enc/mpeg2encoptions.cc Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.