1 Aralık Güncellemeleri
This commit is contained in:
1 parent
5e7c6d4706
commit
7c58d514f5
14 files changed
+175
-63
No files matched your search
@@ -0,0 +1,42 @@
|
||||
Submitted By: Marty Jack (martyj19 at comcast dot net)
|
||||
Date: 2022-07-23
|
||||
Initial Package Version: 5.1.0
|
||||
Origin: Rediffed from ffmpeg-5.0.1-api_addition-1.patch
|
||||
Upstream Status: Not accepted
|
||||
Description: The ffmpeg upstream is not willing to take this as a
|
||||
permanent fix and suggests that Chromium should change to keep the
|
||||
information locally to Chromium. Until that happens it appears
|
||||
that many distros are carrying this patch as a temporary
|
||||
expedient to allow building with system ffmpeg.
|
||||
|
||||
diff -Naur ffmpeg-5.1.orig/libavformat/avformat.h ffmpeg-5.1/libavformat/avformat.h
|
||||
--- ffmpeg-5.1.orig/libavformat/avformat.h 2022-07-22 13:58:39.000000000 -0400
|
||||
+++ ffmpeg-5.1/libavformat/avformat.h 2022-07-22 19:34:07.490051886 -0400
|
||||
@@ -1128,6 +1128,10 @@
|
||||
*/
|
||||
int64_t av_stream_get_end_pts(const AVStream *st);
|
||||
|
||||
+// Chromium: We use the internal field first_dts vvv
|
||||
+int64_t av_stream_get_first_dts(const AVStream *st);
|
||||
+// Chromium: We use the internal field first_dts ^^^
|
||||
+
|
||||
#define AV_PROGRAM_RUNNING 1
|
||||
|
||||
/**
|
||||
diff -Naur ffmpeg-5.1.orig/libavformat/demux_utils.c ffmpeg-5.1/libavformat/demux_utils.c
|
||||
--- ffmpeg-5.1.orig/libavformat/demux_utils.c 2022-07-22 13:58:39.000000000 -0400
|
||||
+++ ffmpeg-5.1/libavformat/demux_utils.c 2022-07-22 19:36:39.646735587 -0400
|
||||
@@ -29,6 +29,13 @@
|
||||
#include "demux.h"
|
||||
#include "internal.h"
|
||||
|
||||
+// Chromium: We use the internal field first_dts vvv
|
||||
+int64_t av_stream_get_first_dts(const AVStream *st)
|
||||
+{
|
||||
+ return cffstream(st)->first_dts;
|
||||
+}
|
||||
+// Chromium: We use the internal field first_dts ^^^
|
||||
+
|
||||
struct AVCodecParserContext *av_stream_get_parser(const AVStream *st)
|
||||
{
|
||||
return cffstream(st)->parser;
|
||||
@@ -1,23 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
name='ffmpeg'
|
||||
release='2'
|
||||
version='6.0.1'
|
||||
release='3'
|
||||
version='6.1'
|
||||
url='https://ffmpeg.org/'
|
||||
description='A complete, cross-platform solution to record, convert and stream audio and video.'
|
||||
email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
license=('GPLv3')
|
||||
source=("https://ffmpeg.org/releases/ffmpeg-$version.tar.xz")
|
||||
source=("https://ffmpeg.org/releases/ffmpeg-${version}.tar.xz"
|
||||
"ffmpeg-6.1-chromium_method-1.patch")
|
||||
depends=(gnutls libaom libass dav1d libjxl libdrm lcms2 lame opus libopenmpt libpulse
|
||||
gnutls librist libsrt libtheora v4l-utils vidstab libvpx libwebp x264 x265 xvidcore zimg zeromq)
|
||||
makedepends=(nasm)
|
||||
md5sums=('ce0e7f8abc6b72bb345d1b854760236d')
|
||||
group=()
|
||||
md5sums=('5898f671dca522f537c3b57d1d6b57a3' 'SKIP')
|
||||
group=(media.video)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
prepare(){
|
||||
patch -Np1 -i ../ffmpeg-6.1-chromium_method-1.patch
|
||||
}
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--disable-librtmp \
|
||||
@@ -68,7 +73,7 @@ setup(){
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
|
||||
Reference in new issue
Block a user