Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-debian-packages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reform
reform-debian-packages
Commits
250b9c13
Unverified
Commit
250b9c13
authored
2 years ago
by
Johannes Schauer Marin Rodrigues
Browse files
Options
Downloads
Patches
Plain Diff
patch mpv
parent
ebd1d351
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/mpv
+42
-0
42 additions, 0 deletions
patches/mpv
with
42 additions
and
0 deletions
patches/mpv
0 → 100755
+
42
−
0
View file @
250b9c13
#!/bin/sh
set -e
# https://github.com/mpv-player/mpv/issues/11073
# https://bugs.debian.org/1027455
patch -p1 << 'EOF'
diff -Nru mpv-0.35.0/debian/patches/0001-Fix-for-IMX8MQ.patch mpv-0.35.0/debian/patches/0001-Fix-for-IMX8MQ.patch
--- mpv-0.35.0/debian/patches/0001-Fix-for-IMX8MQ.patch 1970-01-01 01:00:00.000000000 +0100
+++ mpv-0.35.0/debian/patches/0001-Fix-for-IMX8MQ.patch 2022-12-31 22:45:35.000000000 +0100
@@ -0,0 +1,25 @@
+From 0eacc1ee5df8be13eefb2870704feda43d3a5a64 Mon Sep 17 00:00:00 2001
+From: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
+Date: Sat, 31 Dec 2022 22:39:59 +0100
+Subject: [PATCH] Fix for IMX8MQ
+
+---
+ video/out/opengl/ra_gl.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/video/out/opengl/ra_gl.c b/video/out/opengl/ra_gl.c
+index 8eddb5fabc..bc26f5e7cf 100644
+--- a/video/out/opengl/ra_gl.c
++++ b/video/out/opengl/ra_gl.c
+@@ -590,7 +590,7 @@ static struct ra_buf *gl_buf_create(struct ra *ra,
+ {
+ GL *gl = ra_gl_get(ra);
+
+- if (params->host_mapped && !gl->BufferStorage)
++ if (params->host_mapped && gl->version < 440)
+ return NULL;
+
+ struct ra_buf *buf = talloc_zero(NULL, struct ra_buf);
+--
+2.39.0
+
diff -Nru mpv-0.35.0/debian/patches/series mpv-0.35.0/debian/patches/series
--- mpv-0.35.0/debian/patches/series 2022-11-12 20:30:38.000000000 +0100
+++ mpv-0.35.0/debian/patches/series 2022-12-31 22:45:35.000000000 +0100
@@ -1,2 +1,3 @@
0001-Add-keywords-to-desktop-file.patch
0002-io-stdin-used.patch
+0001-Fix-for-IMX8MQ.patch
EOF
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment