Re: [FFmpeg-devel] [PATCH] lavf/protocols: Fix compile warning of discarding 'const' qualifier from pointer target type

2020-03-17 Thread Fu, Linjie
> From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Wednesday, March 18, 2020 12:52 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] lavf/protocols: Fix compile warning of > discarding 'const' qualifier from pointer target type > > Linjie Fu: > > Signed-off-by: Linji

Re: [FFmpeg-devel] [PATCH 1/3] lavformat: Prepare to make avio_enum_protocols const correct

2020-03-17 Thread Fu, Linjie
> From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Friday, November 22, 2019 18:02 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 1/3] lavformat: Prepare to make > avio_enum_protocols const correct > > Andreas Rheinhardt: > > A

Re: [FFmpeg-devel] [PATCH] web/download: update min. kernel version for linux binaries

2020-03-17 Thread Gyan Doshi
On 14-03-2020 07:15 pm, Carl Eugen Hoyos wrote: Am Sa., 14. März 2020 um 14:24 Uhr schrieb Gyan Doshi : On 14-03-2020 06:11 pm, Carl Eugen Hoyos wrote: Am Sa., 14. März 2020 um 13:19 Uhr schrieb Gyan Doshi : On 14-03-2020 04:29 pm, Carl Eugen Hoyos wrote: Am Sa., 14. März 2020 um 07:31 U

[FFmpeg-devel] [PATCH] FLIF16 GSOC Project - Added RGB to YCoCg macros

2020-03-17 Thread Kartik
From: Kartik K. Khullar --- FFmpeg/libavutil/colorspace.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/FFmpeg/libavutil/colorspace.h b/FFmpeg/libavutil/colorspace.h index ef6f610..bf53afe 100644 --- a/FFmpeg/libavutil/colorspace.h +++ b/FFmpeg/libavutil/colorspace.h @@ -94,6 +

[FFmpeg-devel] [PATCH] FLIF16 GSOC Project Range Transformation YCoCg

2020-03-17 Thread Kartik
From: Kartik K. Khullar --- FFmpeg/libavcodec/flif16transform.c | 53 + 1 file changed, 53 insertions(+) diff --git a/FFmpeg/libavcodec/flif16transform.c b/FFmpeg/libavcodec/flif16transform.c index e69de29..febf5e9 100644 --- a/FFmpeg/libavcodec/flif16transform.c +++

Re: [FFmpeg-devel] [PATCH] lavf/protocols: Fix compile warning of discarding 'const' qualifier from pointer target type

2020-03-17 Thread Andreas Rheinhardt
Linjie Fu: > Signed-off-by: Linjie Fu > --- > libavformat/protocols.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/protocols.c b/libavformat/protocols.c > index f1b8eab..cb19f77 100644 > --- a/libavformat/protocols.c > +++ b/libavformat/protocols.c > @

[FFmpeg-devel] [PATCH] lavf/protocols: Fix compile warning of discarding 'const' qualifier from pointer target type

2020-03-17 Thread Linjie Fu
Signed-off-by: Linjie Fu --- libavformat/protocols.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/protocols.c b/libavformat/protocols.c index f1b8eab..cb19f77 100644 --- a/libavformat/protocols.c +++ b/libavformat/protocols.c @@ -95,9 +95,9 @@ const AVClass

[FFmpeg-devel] [PATCH] lavfi/vf_dnn_processing: Fix compile warning of mixed declarations and code

2020-03-17 Thread Linjie Fu
Signed-off-by: Linjie Fu --- libavfilter/vf_dnn_processing.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_dnn_processing.c b/libavfilter/vf_dnn_processing.c index 7f40f85..fabe4f1 100644 --- a/libavfilter/vf_dnn_processing.c +++ b/libavfilter/vf_dnn_pr

Re: [FFmpeg-devel] [PATCH] avcodec/avcodec: Fix typos

2020-03-17 Thread James Almer
On 3/5/2020 2:02 AM, Andriy Gelman wrote: > From: Andriy Gelman > > Signed-off-by: Andriy Gelman > --- > libavcodec/avcodec.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 5a0fc3405c5..8cda2422efa 100644 > ---

Re: [FFmpeg-devel] [PATCH 5/5] avformat/mpeg: Don't use unintialized value

2020-03-17 Thread Andreas Rheinhardt
Michael Niedermayer: > On Sun, Jan 19, 2020 at 02:43:00PM +, Andreas Rheinhardt wrote: >> Michael Niedermayer: >>> On Tue, Oct 22, 2019 at 03:16:45PM +0200, Andreas Rheinhardt wrote: vobsub_read_packet() didn't check whether an index in array of AVPackets was valid and therefore used

Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/libaomenc.c: Add a libaom command-line option 'tune'

2020-03-17 Thread James Zern
Hi, On Thu, Mar 5, 2020 at 6:38 PM Wang Cao wrote: > > Signed-off-by: Wang Cao > --- > Made changes according to the review. > - Bump the MICRO version of libavcodec. > - Use enum for 'tune' option consts for better consistency > > doc/encoders.texi | 11 +++ > libavcodec/libaomenc

[FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Fix [u]int64_t specifier string

2020-03-17 Thread Andreas Rheinhardt
PRId64 and PRIu64 already expand to the complete specifier; adding another 'd' at the end is wrong and just leads to warnings that say that only an option like '-frames:v 2d' will be used, although said option won't be accepted at all ('Expected int64 for frames:v but found 2d'). Signed-off-by: An

Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/libaomenc.c: Add super-resolution options to libaom wrapper

2020-03-17 Thread James Zern
Hi, On Thu, Mar 5, 2020 at 6:20 PM Wang Cao wrote: > > Signed-off-by: Wang Cao > --- > The changes are made according to the code review > - Bump the MICRO version > - Use enum for Super resolution mode consts. The original enum in libaom > is not public so a enum is defined and matched the or

Re: [FFmpeg-devel] [PATCH v9 2/4] avcodec/hevc_sei: add support for user data unregistered SEI message

2020-03-17 Thread Limin Wang
On Wed, Mar 18, 2020 at 12:13:33AM +, Derek Buitenhuis wrote: > On 17/03/2020 23:11, Limin Wang wrote: > > The user data unregistered allows arbitrary data to be carried in the > > bitstream, > > for example, ROI info, time info etc. For the real support patch, please > > refer to > > the pen

Re: [FFmpeg-devel] [PATCH, v3] lavc/vp9: fix reference frame dimensions check for SINGLE_REFERENCE mode

2020-03-17 Thread Fu, Linjie
> From: ffmpeg-devel On Behalf Of > Carl Eugen Hoyos > Sent: Tuesday, March 17, 2020 23:04 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH, v3] lavc/vp9: fix reference frame > dimensions check for SINGLE_REFERENCE mode > > Am Di., 17. März

[FFmpeg-devel] [PATCH]lavf/subviewerdec: Support higher sub-second precision

2020-03-17 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #8575 for me, Google describes such files. Please comment, Carl Eugen From 39d0748782bb3e37fb2f92c679ffa58b239374c7 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 18 Mar 2020 02:11:33 +0100 Subject: [PATCH] lavf/subviewerdec: Support higher sub-second

Re: [FFmpeg-devel] [PATCH v9 2/4] avcodec/hevc_sei: add support for user data unregistered SEI message

2020-03-17 Thread Derek Buitenhuis
On 17/03/2020 23:11, Limin Wang wrote: > The user data unregistered allows arbitrary data to be carried in the > bitstream, > for example, ROI info, time info etc. For the real support patch, please > refer to > the pending patch series 7, 8 in below link: > https://patchwork.ffmpeg.org/project/f

Re: [FFmpeg-devel] [PATCH] scale_vulkan: add support for RGB->YUV conversions

2020-03-17 Thread Lynne
Mar 15, 2020, 10:33 by d...@lynne.ee: > Patch attached. > Pushed. ___ 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 sub

[FFmpeg-devel] [PATCH] MAINTAINERS: add myself and my gpg key

2020-03-17 Thread Lynne
Patch attached. >From 8929300730a68db0353c347d28aa29325fb93bdb Mon Sep 17 00:00:00 2001 From: Lynne Date: Tue, 17 Mar 2020 22:56:03 + Subject: [PATCH] MAINTAINERS: add myself and my gpg key --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS inde

Re: [FFmpeg-devel] [PATCH v9 2/4] avcodec/hevc_sei: add support for user data unregistered SEI message

2020-03-17 Thread Limin Wang
On Tue, Mar 17, 2020 at 05:25:29PM +, Derek Buitenhuis wrote: > On 17/03/2020 10:54, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/hevc_sei.c | 31 +++ > > libavcodec/hevc_sei.h

[FFmpeg-devel] [PATCH 2/2] MAINTAINERS: Don't mention Google+

2020-03-17 Thread Andreas Rheinhardt
It has been shut down in April 2019. Signed-off-by: Andreas Rheinhardt --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 71e9ee8a00..b960c89ebd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -55,7 +55,6 @@ fate.ffmpeg.org Ti

[FFmpeg-devel] [PATCH 1/2] MAINTAINERS: Add myself as maintainer for matroska*

2020-03-17 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 55e2b385b5..71e9ee8a00 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -434,9 +434,9 @@ Muxers/Demuxers: lmlm4.c

[FFmpeg-devel] [PATCH] avformat/webmdashenc: Don't use custom option for bitexactness

2020-03-17 Thread Andreas Rheinhardt
The WebM DASH Manifest muxer can write manifests for live streams and these contain an entry that depends on the time the manifest is written; an AVOption to make the output reproducible has been added for tests. But this is unnecessary, as there already is a method for reproducible output: The AVF

[FFmpeg-devel] [PATCH 2/2] avcodec/bsf: Beautify log messages from bitstream filters

2020-03-17 Thread Andreas Rheinhardt
Up until now, the name of every AVBSFContext for logging purposes was "AVBSFContext", so that the default logging callback produced output like "[AVBSFContext @ 0x55813bae92c0] Extradata". This has been changed to "[trace_headers @ 0x60a00700] Extradata" by adding an item_name- function to the

[FFmpeg-devel] [PATCH 1/2] avcodec/bsf: Don't set defaults for AVClass without options

2020-03-17 Thread Andreas Rheinhardt
This happened for AVBSFContext. Signed-off-by: Andreas Rheinhardt --- libavcodec/bsf.c | 4 1 file changed, 4 deletions(-) diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c index 9dbf6a636d..d0e0d46068 100644 --- a/libavcodec/bsf.c +++ b/libavcodec/bsf.c @@ -45,8 +45,6 @@ void av_bsf_free(A

Re: [FFmpeg-devel] sws_scale function exception access

2020-03-17 Thread Michael Niedermayer
On Tue, Mar 17, 2020 at 11:13:22AM +0800, BYHYKCHKIO WEIINZWLM wrote: > Hello, > > I have a vulnerability about FFmpage to report. > > Regarding the sws_scale function in the swscale.c file, when the parameter > SwsContext is 0, the program access address is abnormal, causing the > program to cra

Re: [FFmpeg-devel] [PATCH 08/17] avformat/webmdashenc: Fix memleak upon realloc failure

2020-03-17 Thread Paul B Mahol
lgtm On 12/26/19, Andreas Rheinhardt wrote: > The classical ptr = av_realloc(ptr, size). > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/webmdashenc.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/libavformat/webmdashenc.c b/libavformat/webmdashenc.c

Re: [FFmpeg-devel] [PATCH 08/17] avformat/webmdashenc: Fix memleak upon realloc failure

2020-03-17 Thread Andreas Rheinhardt
Andreas Rheinhardt: > The classical ptr = av_realloc(ptr, size). > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/webmdashenc.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/libavformat/webmdashenc.c b/libavformat/webmdashenc.c > index d2f0e0ec4d..e8b7

Re: [FFmpeg-devel] [PATCH v3][GSOC] avfilter: add atone filter

2020-03-17 Thread Paul B Mahol
On 3/17/20, Marshall Murmu wrote: > I hope this one's simple enough It is not simple at all. How do you plan to extend it and add other instruments and so on later? Use some state variable, which will hold current number of samples outputted per tone and use loops. There is filter private cont

Re: [FFmpeg-devel] [PATCH v9 2/4] avcodec/hevc_sei: add support for user data unregistered SEI message

2020-03-17 Thread Derek Buitenhuis
On 17/03/2020 10:54, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/hevc_sei.c | 31 +++ > libavcodec/hevc_sei.h | 6 ++ > libavcodec/hevcdec.c| 14 ++ > t

Re: [FFmpeg-devel] [PATCH v9 4/4] avcodec/h264: create user data unregistered SEI side data for H.264

2020-03-17 Thread James Almer
On 3/17/2020 1:05 PM, Kieran Kunhya wrote: > On Tue, 17 Mar 2020 at 11:25, wrote: > >> From: Limin Wang >> >> Signed-off-by: Limin Wang >> > > I've seen whole planes (e.g Alpha) taking up 10s or 100s of KB put in SEI, > do we really want to export this all as side data? Frame side data is ref

Re: [FFmpeg-devel] [PATCH v9 4/4] avcodec/h264: create user data unregistered SEI side data for H.264

2020-03-17 Thread Kieran Kunhya
On Tue, 17 Mar 2020 at 11:25, wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > I've seen whole planes (e.g Alpha) taking up 10s or 100s of KB put in SEI, do we really want to export this all as side data? Kieran ___ ffmpeg-devel mailing lis

[FFmpeg-devel] [PATCH v3][GSOC] avfilter: add atone filter

2020-03-17 Thread Marshall Murmu
I hope this one's simple enough --- Changelog| 1 + configure| 4 + doc/filters.texi | 29 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/asrc_atone.c | 188 +++ libavfilter/ve

[FFmpeg-devel] [PATCH v3] examples/extract_mvs.c: don't disply motionless vectors

2020-03-17 Thread numberwolf
Signed-off-by: numberwolf --- Here, don't need show motionless vectors,because they're useless. doc/examples/extract_mvs.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/examples/extract_mvs.c b/doc/examples/extract_mvs.c index de31ccd..f6d19b7 100644 --- a/doc/examples/extract

Re: [FFmpeg-devel] [PATCH, v3] lavc/vp9: fix reference frame dimensions check for SINGLE_REFERENCE mode

2020-03-17 Thread Carl Eugen Hoyos
Am Di., 17. März 2020 um 10:45 Uhr schrieb Linjie Fu : > > With the description in frame size with refs semantics (SPEC 7.2.5), > it is a requirement of bitstream conformance that for at least one > reference frame has the valid dimensions. > > Modify the check to make sure the decoder works well i

[FFmpeg-devel] [PATCH, v4] lavc/vp9: fix reference frame dimensions check for SINGLE_REFERENCE mode

2020-03-17 Thread Linjie Fu
With the description in frame size with refs semantics (SPEC 7.2.5), it is a requirement of bitstream conformance that for at least one reference frame has the valid dimensions. Modify the check to make sure the decoder works well in SINGLE_REFERENCE mode that not all reference frames have valid d

Re: [FFmpeg-devel] [PATCH v1 2/2] avfilter/vf_overlay: remove the duplicated framesync option

2020-03-17 Thread Limin Wang
On Tue, Mar 17, 2020 at 01:09:59PM +0100, Paul B Mahol wrote: > NAK > > Was added explicitly by Michael, to keep all scripts working. > So you should not sent such patches. Sorry, I have realized it'll break the short option without eof_action. please ignore the patch. > > On 3/17/20, lance.lmw

Re: [FFmpeg-devel] [PATCH v2][GSOC] avfilter: add atone filter

2020-03-17 Thread Paul B Mahol
Hi, On 3/17/20, Marshall Murmu wrote: > Fixing noteon/off logic > > --- > Changelog| 1 + > configure| 4 + > doc/filters.texi | 29 ++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/asrc_atone.c | 197 ++

[FFmpeg-devel] [PATCH v2][GSOC] avfilter: add atone filter

2020-03-17 Thread Marshall Murmu
Fixing noteon/off logic --- Changelog| 1 + configure| 4 + doc/filters.texi | 29 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/asrc_atone.c | 197 +++ libavfilter/version.h

Re: [FFmpeg-devel] [PATCH v2] not display motionless vectors in examples/extract_mvs.c

2020-03-17 Thread Moritz Barsnick
On Tue, Mar 17, 2020 at 01:21:15 +0800, numberwolf wrote: > Subject: not display motionless vectors in examples/extract_mvs.c Please do have a look at other commits in the repository. This would be examples/extract_mvs: don't display motionless vectors. > Here, dont need show motionless vectors,

Re: [FFmpeg-devel] [PATCH v1 2/2] avfilter/vf_overlay: remove the duplicated framesync option

2020-03-17 Thread Paul B Mahol
NAK Was added explicitly by Michael, to keep all scripts working. So you should not sent such patches. On 3/17/20, lance.lmw...@gmail.com wrote: > From: Limin Wang > > After applied the patch, we can change default eof_action from repeat to > pass still. > > ./ffmpeg -y -filter_complex > "movie

[FFmpeg-devel] [PATCH v3] avcodec/v4l2_m2m: handle the v4l2 eos event

2020-03-17 Thread Ming Qian
when the last frame of capture is dequeueed, driver may send this V4L2_EVENT_EOS event, if this event is received, then we can set the capture port done if the v4l2 m2m driver don't support V4L2_EVENT_EOS, just output some error message, not make it error. Without this patch imx8qm often hangs at

[FFmpeg-devel] [PATCH v2] avcodec/v4l2_m2m: fix setting the frame rate

2020-03-17 Thread Ming Qian
v4l2 set the frame rate through frame intervals, not set frame rate directly. the frame rate and frame intervals are reciprocal. so in libavdevice/v4l2.c we can see the following code: tpf->numerator = framerate_q.den; tpf->denominator = framerate_q.num; Signed-off-by: Ming Qian

[FFmpeg-devel] [PATCH v9 4/4] avcodec/h264: create user data unregistered SEI side data for H.264

2020-03-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264_sei.c | 30 +-- libavcodec/h264_sei.h | 2 + libavcodec/h264_slice.c | 14 tests/ref/fate/mov-zombie | 195 ++ 4 files changed, 171 insertions(+), 70 deletions(-) d

[FFmpeg-devel] [PATCH v2] avcodec/v4l2_m2m: handle the v4l2 eos event

2020-03-17 Thread Ming Qian
when the last frame of capture is dequeueed, driver may send this V4L2_EVENT_EOS event, if this event is received, then we can set the capture port done if the v4l2 m2m driver don't support V4L2_EVENT_EOS, just output some error message, not make it error. Without this patch imx8qm often hangs at

Re: [FFmpeg-devel] [PATCH 7/7] avformat: add hca demuxer

2020-03-17 Thread Paul B Mahol
Gonna apply this updated set soon. ___ 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 v9 1/4] avutil: add AV_FRAME_DATA_SEI_UNREGISTERED side data type

2020-03-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- haven't got further feedback after 2 month, so I rebased the patches on ffmpeg master, please the core developer help to push to master. doc/APIchanges | 6 ++ libavutil/frame.c | 1 + libavutil/frame.h | 8 libavutil/versio

[FFmpeg-devel] [PATCH v9 3/4] avfilter/vf_showinfo: display H.26[45] user data unregistered sei message

2020-03-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 37 + 1 file changed, 37 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 79b79db..36b9bf1 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilt

[FFmpeg-devel] [PATCH v1 2/2] avfilter/vf_overlay: remove the duplicated framesync option

2020-03-17 Thread lance . lmwang
From: Limin Wang After applied the patch, we can change default eof_action from repeat to pass still. ./ffmpeg -y -filter_complex "movie=./input.mkv,setpts=PTS-STARTPTS[main];movie=./overlay.mkv:loop=2,setpts=PTS-STARTPTS[overlay];[main][overlay]overlay=10:10: enable='between(t,0,25):eof_acti

[FFmpeg-devel] [PATCH v1] avfilter/src_movie: Fix the loop function of dynamic logo

2020-03-17 Thread lance . lmwang
From: Limin Wang The following command will attempt to create the input and overlay test sequence for you. ./ffmpeg -f lavfi -i color=white:duration=100:r=25:size=1280x720 input.mkv ./ffmpeg -f lavfi -i "testsrc=duration=5:size=320x240:rate=25" overlay.mkv Please try with below command and co

[FFmpeg-devel] [PATCH v9 2/4] avcodec/hevc_sei: add support for user data unregistered SEI message

2020-03-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/hevc_sei.c | 31 +++ libavcodec/hevc_sei.h | 6 ++ libavcodec/hevcdec.c| 14 ++ tests/ref/fate/hevc-monochrome-crop | 3 +++ 4 files changed, 54 in

[FFmpeg-devel] 回复: [EXT] Re: [PATCH] avcodec/v4l2_buffers: don't prevent enqueue capture buffer to driver

2020-03-17 Thread Ming Qian
Yes, I have meet some hang issue on nxp's imx platform. On nxp's imx platform, there is a stream buffer in the v4l2 decoder driver. So driver may cache some frames in driver, if without this patch, after the draining is set to 1, the v4l2 capture buffer won't be enqueued to driver any more, it le

[FFmpeg-devel] [PATCH, v3] lavc/vp9: fix reference frame dimensions check for SINGLE_REFERENCE mode

2020-03-17 Thread Linjie Fu
With the description in frame size with refs semantics (SPEC 7.2.5), it is a requirement of bitstream conformance that for at least one reference frame has the valid dimensions. Modify the check to make sure the decoder works well in SINGLE_REFERENCE mode that not all reference frames have valid d

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/dxva2_hevc: add support for parsing HEVC Range Extension data

2020-03-17 Thread Steve Lhomme
On 2020-03-15 13:05, Hendrik Leppkes wrote: On Sun, Mar 15, 2020 at 8:12 AM Steve Lhomme wrote: Where is this struct specified? I don't see it in the latest released Windows SDK. It is not. It is reversed engineered from the existing structure and wild guessing based on the HEVC Range Extens