Skip to contentSkip to conversation

package/ffmpeg: fix build without pthreads

PATCH New Bernd Kuhls 3 participants 3 messages Mar 2, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ffmpeg: fix build without pthreads

Fixes
http://autobuild.buildroot.org/results/4c7/4c77c15eaa2e44d0854cf24ab872e7b2ef83ebd6/

---
 package/ffmpeg/0002-ffmpeg-pthreads.patch | 34 +++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 package/ffmpeg/0002-ffmpeg-pthreads.patch
package/ffmpeg/0002-ffmpeg-pthreads.patch new file +34 -0
new file mode 100644
index 0000000000..c6d75d2297
@@ -0,0 +1,34 @@
+From patchwork Wed Oct 25 13:32:36 2017
+Content-Type: text/plain; charset="utf-8"
+MIME-Version: 1.0
+Content-Transfer-Encoding: 7bit
+Subject: [FFmpeg-devel] configure: v4l2_m2m depends on pthreads
+From: Mark Thompson <[email protected]>
+X-Patchwork-Id: 5688
+Message-Id: <[email protected]>
+To: FFmpeg development discussions and patches <[email protected]>
+Date: Wed, 25 Oct 2017 14:32:36 +0100
+
+Fixes build with --disable-pthreads.
+
+Downloaded from upstream patchworks:
+https://patchwork.ffmpeg.org/patch/5688/
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index c86e578..76523c8 100755
+--- a/configure
++++ b/configure
+@@ -2780,7 +2780,7 @@ omx_rpi_select="omx"
+ qsvdec_select="qsv"
+ qsvenc_select="qsv"
+ vaapi_encode_deps="vaapi"
+-v4l2_m2m_deps_any="linux_videodev2_h"
++v4l2_m2m_deps="linux_videodev2_h pthreads"
+ 
+ hwupload_cuda_filter_deps="cuda"
+ scale_npp_filter_deps="cuda libnpp"
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/ffmpeg: fix build without pthreads

Hi Bernd,

Le 02/03/2018 ? 20:16, Bernd Kuhls a ?crit?:

Quoted 4 lines

Fixes
http://autobuild.buildroot.org/results/4c7/4c77c15eaa2e44d0854cf24ab872e7b2ef83ebd6/

Thanks !

Best regards,
Romain

Quoted 46 lines
---
 package/ffmpeg/0002-ffmpeg-pthreads.patch | 34 +++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 package/ffmpeg/0002-ffmpeg-pthreads.patch
package/ffmpeg/0002-ffmpeg-pthreads.patch new file +34 -0
new file mode 100644
index 0000000000..c6d75d2297
@@ -0,0 +1,34 @@
+From patchwork Wed Oct 25 13:32:36 2017
+Content-Type: text/plain; charset="utf-8"
+MIME-Version: 1.0
+Content-Transfer-Encoding: 7bit
+Subject: [FFmpeg-devel] configure: v4l2_m2m depends on pthreads
+From: Mark Thompson <[email protected]>
+X-Patchwork-Id: 5688
+Message-Id: <[email protected]>
+To: FFmpeg development discussions and patches <[email protected]>
+Date: Wed, 25 Oct 2017 14:32:36 +0100
+
+Fixes build with --disable-pthreads.
+
+Downloaded from upstream patchworks:
+https://patchwork.ffmpeg.org/patch/5688/
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index c86e578..76523c8 100755
+--- a/configure
++++ b/configure
+@@ -2780,7 +2780,7 @@ omx_rpi_select="omx"
+ qsvdec_select="qsv"
+ qsvenc_select="qsv"
+ vaapi_encode_deps="vaapi"
+-v4l2_m2m_deps_any="linux_videodev2_h"
++v4l2_m2m_deps="linux_videodev2_h pthreads"
+ 
+ hwupload_cuda_filter_deps="cuda"
+ scale_npp_filter_deps="cuda libnpp"
#2 lore raw

PATCH 1/1 package/ffmpeg: fix build without pthreads

In reply to Bernd Kuhls

Hello,

Quoted 8 lines · Bernd Kuhls

Fixes
http://autobuild.buildroot.org/results/4c7/4c77c15eaa2e44d0854cf24ab872e7b2ef83ebd6/

---
 package/ffmpeg/0002-ffmpeg-pthreads.patch | 34 +++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 package/ffmpeg/0002-ffmpeg-pthreads.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com