summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins80/files/patch-ext_mpeg2enc_gstmpeg2encoptions.cc
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-04-20 06:16:18 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-04-20 06:16:18 +0000
commit8673c7ec800a8bcc6da14c506081a3cb76e2b8ea (patch)
treead3f495c08f0cc331b6958d319f699d021175c19 /multimedia/gstreamer-plugins80/files/patch-ext_mpeg2enc_gstmpeg2encoptions.cc
parentFix plist problems. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_4_0'.release/5.4.0
Diffstat (limited to 'multimedia/gstreamer-plugins80/files/patch-ext_mpeg2enc_gstmpeg2encoptions.cc')
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-ext_mpeg2enc_gstmpeg2encoptions.cc26
1 files changed, 0 insertions, 26 deletions
diff --git a/multimedia/gstreamer-plugins80/files/patch-ext_mpeg2enc_gstmpeg2encoptions.cc b/multimedia/gstreamer-plugins80/files/patch-ext_mpeg2enc_gstmpeg2encoptions.cc
deleted file mode 100644
index aabbc2971c4d..000000000000
--- a/multimedia/gstreamer-plugins80/files/patch-ext_mpeg2enc_gstmpeg2encoptions.cc
+++ /dev/null
@@ -1,26 +0,0 @@
---- ext/mpeg2enc/gstmpeg2encoptions.cc.orig Mon Jul 5 19:54:18 2004
-+++ ext/mpeg2enc/gstmpeg2encoptions.cc Mon Jul 5 20:05:37 2004
-@@ -267,11 +267,23 @@
- * Class init stuff.
- */
-
-+#if !defined(_SC_NPROCESSORS_ONLN) && defined(__FreeBSD__)
-+#include <sys/types.h>
-+#include <sys/sysctl.h>
-+#endif
-+
- GstMpeg2EncOptions::GstMpeg2EncOptions ():
- MPEG2EncOptions ()
- {
- /* autodetect number of CPUs */
-+#if !defined(_SC_NPROCESSORS_ONLN) && defined(__FreeBSD__)
-+ /* We need to use a sysctl to get the number of CPUs. */
-+ size_t len = sizeof (num_cpus);
-+
-+ sysctlbyname ("hw.ncpu", &num_cpus, &len, NULL, 0);
-+#else
- num_cpus = sysconf (_SC_NPROCESSORS_ONLN);
-+#endif
- if (num_cpus < 0)
- num_cpus = 1;
- if (num_cpus > 32)