gst-plugins-bad: apply cocoa set_render_rectangle patch

Closes #22415.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
master
Philippe Normand 2018-01-03 21:18:20 +00:00 committed by ilovezfs
parent 4f65e57cd2
commit b27dc0d3ec
1 changed files with 17 additions and 2 deletions

View File

@ -1,8 +1,23 @@
class GstPluginsBad < Formula
desc "GStreamer plugins less supported, not fully tested"
homepage "https://gstreamer.freedesktop.org/"
url "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.12.4.tar.xz"
sha256 "0c7857be16686d5c1ba6e34bd338664d3d4599d32714a8eca5c8a41a101e2d08"
revision 1
stable do
url "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.12.4.tar.xz"
sha256 "0c7857be16686d5c1ba6e34bd338664d3d4599d32714a8eca5c8a41a101e2d08"
# This patch allows video player applications to update the video frame
# rectangle used for rendering on widgets.
# Date: Tue, 26 Dec 2017 13:23:11 +0000
# Subject: [PATCH] gl: cocoa: Implement set_render_rectangle
# Commited in gst-plugins-base which is the new location of the GstGL library.
# Please remove this patch for the first 1.14 release.
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/5f5b837/gst-plugins-bad/0001-gl-cocoa-Implement-set_render_rectangle.patch"
sha256 "afa4d6948f70426173b82f49daca2ebb5fb350b1cd7c969e7a0d3f94fe794b08"
end
end
bottle do
sha256 "8d38081505c63703e4edfe3cf6d2f8437640a7eb44d8e5ebf6b52e3f6d4e8ea8" => :high_sierra