[FFmpeg-devel] [PATCH] avcodec/vlc: multi vlc fix

2023-09-17 Thread Paul B Mahol
Attached. From 1bd41c73a9113fd99c4f920dd9493fab258c6a84 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 17 Sep 2023 10:29:34 +0200 Subject: [PATCH] avcodec/vlc: add correct upper limit for recursive function Signed-off-by: Paul B Mahol --- libavcodec/vlc.c | 2 +- 1 file changed, 1 inser

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/utvideodec: add vlc multi support

2023-09-17 Thread Paul B Mahol
On Sat, Sep 16, 2023 at 6:40 PM Michael Niedermayer wrote: > On Fri, Sep 15, 2023 at 01:24:39AM +0200, Paul B Mahol wrote: > > On Fri, Sep 15, 2023 at 12:19 AM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > > > On Wed, Sep 06, 2023 at 10:19:29PM +, Christophe Gisquet wrote:

Re: [FFmpeg-devel] [PATCH 1/2] avdevice/android_camera: fix missing include for usleep

2023-09-17 Thread Andreas Rheinhardt
Zhao Zhili: > From: Zhao Zhili > > Signed-off-by: Zhao Zhili > --- > libavdevice/android_camera.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavdevice/android_camera.c b/libavdevice/android_camera.c > index 1934999c18..0425b27518 100644 > --- a/libavdevice/android_camera.c > ++

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/jni: make global variables static

2023-09-17 Thread Matthieu Bouron
On Sun, Sep 17, 2023 at 5:38 AM Zhao Zhili wrote: > From: Zhao Zhili > > Signed-off-by: Zhao Zhili > --- > libavcodec/jni.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/jni.c b/libavcodec/jni.c > index 85dcf2abaf..ae6490de9d 100644 > --- a/libavcodec/

Re: [FFmpeg-devel] [PATCH] avcodec/vlc: multi vlc fix

2023-09-17 Thread Michael Niedermayer
On Sun, Sep 17, 2023 at 10:39:21AM +0200, Paul B Mahol wrote: > Attached. > vlc.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > d870bba425f718274648fad97b10f71d1698b543 > 0001-avcodec-vlc-add-correct-upper-limit-for-recursive-fu.patch > From 1bd41c73a9113fd99c4f920dd9493fab258c6a

[FFmpeg-devel] [PATCH] configure: rework parsing --cpu arguments to support all features unless blacklisted

2023-09-17 Thread James Almer
Keeping an ever growing list of CPUs just to pass -march to the compiler and enable fast_cmov is a waste of time. Every CPU we know has limitations is already handled here, so just fallback to enabling everything when a passed in argument is not covered by those. This will enable optimizations for

[FFmpeg-devel] [PATCH 1/2] avcodec/pthread_frame: Remove FF_API_SLICE_OFFSET

2023-09-17 Thread Andreas Rheinhardt
Since 432adca5fedcb277b9a715a723cfd40735ec58f8 no decoder looks at the slice_count and slice_offset fields at all, so there is no reason to synchronize them between the worker and the user thread. Signed-off-by: Andreas Rheinhardt --- libavcodec/pthread_frame.c | 22 -- 1 fil

[FFmpeg-devel] [PATCH 2/2] avcodec/pthread_frame: Constify src pointees

2023-09-17 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/pthread_frame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c index 59989831a3..138576778d 100644 --- a/libavcodec/pthread_frame.c +++ b/libavcodec/pthread_frame.c @@

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/pthread_frame: Remove FF_API_SLICE_OFFSET

2023-09-17 Thread Paul B Mahol
LGTM ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/pthread_frame: Constify src pointees

2023-09-17 Thread Paul B Mahol
LGTM ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH] lavd/sdl2: postpone sdl2 window creation

2023-09-17 Thread Xiang, Haihao
From: Haihao Xiang Since 2d924b3, sdl2_write_header() and sdl2_write_packet() are called in two different threads. However SDL2 requires window creation and rendering should be done in the same thread, otherwise it shows nothing when specifying SDL2 output device. $ ffmpeg -f lavfi -i yuvtestsrc