[FFmpeg-devel] [PATCH 3/3] avfilter/avfiltergraph: add an auto hwmap filter

2022-06-28 Thread Tong Wu
When two formats lists cannot be merged, a scale filter is auto-inserted. However, when it comes to hardware map, we have to manually add a hwmap filter to do the conversion. This patch introduces an auto hwmap filter to do the hwmap conversion automatically and modifies the negotiation structures,

[FFmpeg-devel] [PATCH 2/3] avfilter/vf_hwmap: get the AVHWDeviceType from outlink format

2022-06-28 Thread Tong Wu
When a derive_device_type is not specified, the hwmap filter should be able to retrieve AVHWDeviceType from outlink->format and create corresponding hwdevice context. Signed-off-by: Tong Wu --- libavfilter/vf_hwmap.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(

[FFmpeg-devel] [PATCH 1/3] avutil/hwcontext: add a function to get the AVHWDeviceType

2022-06-28 Thread Tong Wu
Add a function to get the corresponding AVHWDeviceType from a given hardware pixel format. Signed-off-by: Tong Wu --- libavutil/hwcontext.c | 12 libavutil/hwcontext.h | 9 + 2 files changed, 21 insertions(+) diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c index

Re: [FFmpeg-devel] [PATCH v4 5/7] avformat/movenc: utilize existing AC-3 parsing workflow for AC-3

2022-06-28 Thread Jan Ekström
On Mon, Jun 27, 2022 at 10:12 AM Jan Ekström wrote: > > On Thu, Jun 23, 2022 at 1:11 PM Jan Ekström wrote: > > > > On Thu, Jun 23, 2022 at 11:57 AM Andreas Rheinhardt > > wrote: > > > > > > Jan Ekström: > > > > From: Jan Ekström > > > > > > > > Signed-off-by: Jan Ekström > > > > --- > > > > l

Re: [FFmpeg-devel] [RFC] Bug in colorspace.c

2022-06-28 Thread Hendrik Leppkes
On Tue, Jun 28, 2022 at 11:38 PM Soft Works wrote: > > Hi, > > in colorspace.c, there are two functions with contradicting behavior > regarding reading/writing the max_luminance value from/to > AVMasteringDisplayMetadata. The code seems to be unchanged since > 3 years: > > > 1. ff_determine_signal

Re: [FFmpeg-devel] [PATCH v1] avformat/hlsenc: Add resend_headers option

2022-06-28 Thread Steven Liu
huheng 于2022年6月27日周一 21:30写道: > > Add pat and pmt table at start of each segment in single_file mode enhanced > compatibility of hls stream. Because some hls clients separate parsing segment > of hls stream, the absence of pat/pmt will cause parsing to fail. > > Signed-off-by: huheng > --- > lib

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: Use HLS version 2 if rounded durations are enabled

2022-06-28 Thread Steven Liu
Steven Liu 于2022年6月27日周一 10:44写道: > > 于2022年6月27日周一 10:28写道: > > > > Yes. Version 3 is just Version 2 with floating point durations. > LGTM Will apply soon. Thanks Steven ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailma

Re: [FFmpeg-devel] [PATCH] avformat/hls:use EXT-X-START instead of live_start_index if it's in playlist

2022-06-28 Thread Steven Liu
Steven Liu 于2022年6月27日周一 11:05写道: > > Li Kai 于2022年6月27日周一 10:58写道: > > > > OK, I got it. > > > looks ok to me, waiting for other reviewers comments, and will apply > this v4 patch if no more comments. Will apply soon. Thanks Steven ___ ffmpeg-devel

[FFmpeg-devel] [REQUEST] Miove Mail List to GitLab or GitHub.

2022-06-28 Thread Juan Pablo Cuervo
This is just a flood of mails. Gitlab requires 2-step verification,download & install Authy Desktop, Before Requesting Web Authorization Code in GitLab, its time sync sensitive. 6-Digits is Ok, Create New Generic Orange paste code phassphrase Not Weblink, if fails, refresh web tab F5 for a new c

[FFmpeg-devel] [RFC] Bug in colorspace.c

2022-06-28 Thread Soft Works
Hi, in colorspace.c, there are two functions with contradicting behavior regarding reading/writing the max_luminance value from/to AVMasteringDisplayMetadata. The code seems to be unchanged since 3 years: 1. ff_determine_signal_peak() sd = av_frame_get_side_data(in, AV_FRAME_DATA_MASTERIN

Re: [FFmpeg-devel] [PATCH 4/6] avcodec: add common fflcms2 boilerplate

2022-06-28 Thread Andreas Rheinhardt
Michael Niedermayer: > On Tue, Jun 28, 2022 at 03:41:09PM +0200, Niklas Haas wrote: >> From: Niklas Haas >> >> Handling this in general code makes more sense than handling it in >> individual codec files, because it would be a lot of unnecessary code >> duplication for the plenty of formats that s

Re: [FFmpeg-devel] [PATCH 4/6] avcodec: add common fflcms2 boilerplate

2022-06-28 Thread Michael Niedermayer
On Tue, Jun 28, 2022 at 03:41:09PM +0200, Niklas Haas wrote: > From: Niklas Haas > > Handling this in general code makes more sense than handling it in > individual codec files, because it would be a lot of unnecessary code > duplication for the plenty of formats that support exporting ICC > prof

Re: [FFmpeg-devel] [PATCH] avformat/aaxdec: Check for empty segments

2022-06-28 Thread Michael Niedermayer
On Tue, Jun 28, 2022 at 08:26:54AM -0300, James Almer wrote: > > > On 6/28/2022 2:21 AM, Anton Khirnov wrote: > > Quoting Michael Niedermayer (2022-06-27 10:43:47) > > > Fixes: Timeout > > > Fixes: > > > 48154/clusterfuzz-testcase-minimized-ffmpeg_dem_AAX_fuzzer-5149094353436672 > > > > > > Fou

Re: [FFmpeg-devel] [PATCH] avformat/mov: Only read the primary item for AVIF

2022-06-28 Thread James Zern
On Tue, Jun 28, 2022 at 11:56 AM Vignesh Venkatasubramanian wrote: > > Update the still AVIF parser to only read the primary item. With this > patch, AVIF still images with exif/icc/alpha channel will no longer > fail to parse. > > For example, this patch enables parsing of files in: > https://git

[FFmpeg-devel] [PATCH] avfilter/xstack: Add support for fixed size grid

2022-06-28 Thread Vignesh Venkatasubramanian
Add a short hand parameter for making a fixed size grid. The existing xstack layout parameter syntax gets tedious if all one wants is a matrix like grid of the input streams. Add a grid option to the xstack filter that simplifies this use case by simply specifying the number of rows and columns ins

Re: [FFmpeg-devel] [PATCH] avformat/mov: Only read the primary item for AVIF

2022-06-28 Thread Vignesh Venkatasubramanian
On Tue, Jun 28, 2022 at 11:21 AM James Zern wrote: > > On Mon, Jun 13, 2022 at 9:32 AM Vignesh Venkatasubramanian > wrote: > > > > On Fri, Jun 10, 2022 at 10:34 AM Vignesh Venkatasubramanian > > wrote: > > > > > > On Thu, Jun 9, 2022 at 12:50 AM Gyan Doshi wrote: > > > > > > > > > > > > > > > >

[FFmpeg-devel] [PATCH] avformat/mov: Only read the primary item for AVIF

2022-06-28 Thread Vignesh Venkatasubramanian
Update the still AVIF parser to only read the primary item. With this patch, AVIF still images with exif/icc/alpha channel will no longer fail to parse. For example, this patch enables parsing of files in: https://github.com/AOMediaCodec/av1-avif/tree/master/testFiles/Microsoft Adding two fate te

[FFmpeg-devel] [fate] add webp/dual_transform.webp

2022-06-28 Thread James Zern
Reviving this from samples-requ...@ffmpeg.org. The patch has been merged, all that is needed is to add the file and enable the test. The file can be downloaded from gitiles without needing to clone the repo [1]. This is to add coverage for a fix for 9368 [2][3]. [1] curl "https://chromium.google

Re: [FFmpeg-devel] [PATCH] avformat/mov: Only read the primary item for AVIF

2022-06-28 Thread James Zern
On Mon, Jun 13, 2022 at 9:32 AM Vignesh Venkatasubramanian wrote: > > On Fri, Jun 10, 2022 at 10:34 AM Vignesh Venkatasubramanian > wrote: > > > > On Thu, Jun 9, 2022 at 12:50 AM Gyan Doshi wrote: > > > > > > > > > > > > On 2022-06-08 10:51 pm, Vignesh Venkatasubramanian wrote: > > > > On Thu, J

[FFmpeg-devel] [PATCH] avcodec/encode: Avoid check whose result is known in advance

2022-06-28 Thread Andreas Rheinhardt
encode_send_frame_internal() is always only called if the buffer packet is empty and except when we are dealing with an audio codec that does not allow variable frame size it stays that way until a call to av_frame_ref() at the end of encode_send_frame_internal(). In case we are dealing with the sm

[FFmpeg-devel] [PATCH] avcodec/audiotoolboxenc: return AVERROR_EXTERNAL immediately when encode error

2022-06-28 Thread Steven Liu
Just return AVERROR_EXTERNAL immediately when encode error. The other logic should keep the old behavior before commit 7c05b7951. Suggested-By: Zhao Zhili Signed-off-by: Steven Liu --- libavcodec/audiotoolboxenc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcod

Re: [FFmpeg-devel] [PATCH] avcodec/audiotoolboxenc: return EAGAIN if frame_queue.available is 0 and not at->eof

2022-06-28 Thread Steven Liu
> 在 2022年6月28日,23:22,Jan Ekström 写道: > > On Tue, Jun 28, 2022 at 5:43 PM Steven Liu wrote: >> >> There will return success and failure after commit >> 7c05b7951cb47716230c95744240bc60ec5f9433. >> But the AudioConverterFillComplexBuffer will return 1 and *got_packet_ptr is >> 0 >> when frame_

[FFmpeg-devel] FFmpeg patch to add idr_interval option to libavcodec/qsvenc_mpeg2.c

2022-06-28 Thread Greg Stewart
Hello, Please find attached a base64 encoded patch. This patch exposes the "idr_interval" option to the mpeg2_qsv encoder (libavcodec/qsvenc_mpeg2.c) identically to how was done for the h264_qsv encoder (libavcodec/qsvenc_h264.c). Thank you, Greg Stewart greg.stew...@edisen.com RnJvbSBjZGU2ZW

Re: [FFmpeg-devel] [PATCH] avcodec/audiotoolboxenc: return EAGAIN if frame_queue.available is 0 and not at->eof

2022-06-28 Thread Jan Ekström
On Tue, Jun 28, 2022 at 5:43 PM Steven Liu wrote: > > There will return success and failure after commit > 7c05b7951cb47716230c95744240bc60ec5f9433. > But the AudioConverterFillComplexBuffer will return 1 and *got_packet_ptr is 0 > when frame_queue.available == 0 and at->eof == 0. So should retur

Re: [FFmpeg-devel] [PATCH] checkasm: Provide enough alignment in the new motion test

2022-06-28 Thread Martin Storsjö
On Tue, 28 Jun 2022, Martin Storsjö wrote: This fixes the checkasm test in some setups on x86. --- tests/checkasm/motion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/checkasm/motion.c b/tests/checkasm/motion.c index f337dd6f95..0112822174 100644 --- a/tests/chec

Re: [FFmpeg-devel] [PATCH] avcodec/audiotoolboxenc: return EAGAIN if frame_queue.available is 0 and not at->eof

2022-06-28 Thread zhilizhao(赵志立)
> On Jun 28, 2022, at 10:42 PM, Steven Liu wrote: > > There will return success and failure after commit > 7c05b7951cb47716230c95744240bc60ec5f9433. > But the AudioConverterFillComplexBuffer will return 1 and *got_packet_ptr is 0 > when frame_queue.available == 0 and at->eof == 0. So should r

[FFmpeg-devel] [PATCH] avcodec/audiotoolboxenc: return EAGAIN if frame_queue.available is 0 and not at->eof

2022-06-28 Thread Steven Liu
There will return success and failure after commit 7c05b7951cb47716230c95744240bc60ec5f9433. But the AudioConverterFillComplexBuffer will return 1 and *got_packet_ptr is 0 when frame_queue.available == 0 and at->eof == 0. So should return EAGAIN here, this because the encode function should return

[FFmpeg-devel] [PATCH 6/6] avcodec/encode:: generate ICC profiles

2022-06-28 Thread Niklas Haas
From: Niklas Haas Only if requested, and only if the codec signals support for ICC profiles. Implementation roughly matches the functionality of the existing vf_iccgen filter, albeit with some reduced flexibility and no caching. Ideally, we'd also only do this on the first frame (e.g. mjpeg, apn

[FFmpeg-devel] [PATCH 5/6] avcodec/decode: parse ICC profiles

2022-06-28 Thread Niklas Haas
From: Niklas Haas Implementation for the decode side of the ICC profile API, roughly matching the behavior of the existing vf_iccdetect filter. Closes: #9673 Signed-off-by: Niklas Haas --- libavcodec/decode.c | 57 - 1 file changed, 56 insertions(+)

[FFmpeg-devel] [PATCH 4/6] avcodec: add common fflcms2 boilerplate

2022-06-28 Thread Niklas Haas
From: Niklas Haas Handling this in general code makes more sense than handling it in individual codec files, because it would be a lot of unnecessary code duplication for the plenty of formats that support exporting ICC profiles (jpg, png, tiff, webp, jxl, ...). encode.c and decode.c will be in

[FFmpeg-devel] [PATCH 3/6] avcodec: add API for automatic handling of icc profiles

2022-06-28 Thread Niklas Haas
From: Niklas Haas This functionally already exists, but as pointed out in #9672 and #9673, requiring users to manually include filters is clumsy, error-prone and hard to use together with tools like ffplay. To streamline ICC profile support, add a new AVCodecContext option to globally enable rea

[FFmpeg-devel] [PATCH 2/6] avcodec/codec_internal: add cap for ICC profile support

2022-06-28 Thread Niklas Haas
From: Niklas Haas Codecs that can read/write ICC profiles deserve a special capability so the common logic in encode.c/decode.c can decide whether or not there needs to be any special handling for ICC profiles. The motivation here is to be able to use it to decide whether or not an ICC profile ne

[FFmpeg-devel] [PATCH 1/6] fflcms2: move to libavcodec

2022-06-28 Thread Niklas Haas
From: Niklas Haas We will need this helper inside libavcodec in the future, so move it there, leaving behind an #include to the raw source file in its old location in libvfilter. This approach is inspired by the handling of vulkan.c, and avoids us needing to expose any of it publicly (or semi-pub

[FFmpeg-devel] ICC profile support in avcodec

2022-06-28 Thread Niklas Haas
Hi, I'm not entirely sure I'm happy with this series. I would appreciate any sort of comment. The motivating use case is given in #9672 and #9673 - basically, it's somewhat expected that ffmpeg should, out of the box, handle files with embedded ICC profiles, mapping between them and its internal

[FFmpeg-devel] [PATCH 2/2] fftools/ffmpeg_filter: Fix audio_drift_threshold check

2022-06-28 Thread Michael Niedermayer
Variant 2 Found-by: mkver Signed-off-by: Michael Niedermayer --- fftools/ffmpeg_filter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 0845c631a5..a204c4f65f 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_

[FFmpeg-devel] [PATCH 1/2] fftools/ffmpeg_filter: Fix audio_drift_threshold check

2022-06-28 Thread Michael Niedermayer
Variant 1 Found-by: mkver Signed-off-by: Michael Niedermayer --- fftools/ffmpeg_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 0845c631a5..048815170a 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_fi

Re: [FFmpeg-devel] [PATCH] avcodec/encode: change the assert0 from (ret <= 0) to (ret >= 0)

2022-06-28 Thread Steven Liu
Andreas Rheinhardt 于2022年6月28日周二 19:52写道: > > Steven Liu: > > Because the codec->cb.encode return 0 is successed, > > and the negative error code should failed. > > > > Signed-off-by: Steven Liu > > --- > > libavcodec/encode.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > dif

Re: [FFmpeg-devel] [PATCH] avcodec/encode: change the assert0 from (ret <= 0) to (ret >= 0)

2022-06-28 Thread Andreas Rheinhardt
Steven Liu: > Because the codec->cb.encode return 0 is successed, > and the negative error code should failed. > > Signed-off-by: Steven Liu > --- > libavcodec/encode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/encode.c b/libavcodec/encode.c > index b68

[FFmpeg-devel] [PATCH] avcodec/encode: change the assert0 from (ret <= 0) to (ret >= 0)

2022-06-28 Thread Steven Liu
Because the codec->cb.encode return 0 is successed, and the negative error code should failed. Signed-off-by: Steven Liu --- libavcodec/encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/encode.c b/libavcodec/encode.c index b68bf1e184..b43a16f708 100644 --- a

Re: [FFmpeg-devel] [PATCH] avcodec/encode: remove the = from assert0(ret <= 0)

2022-06-28 Thread Andreas Rheinhardt
Steven Liu: > Because the codec->cb.encode return 0 is successed, > so should only check negative error code. > > Signed-off-by: Steven Liu > --- > libavcodec/encode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/encode.c b/libavcodec/encode.c > index b68b

[FFmpeg-devel] [PATCH] avcodec/encode: remove the = from assert0(ret <= 0)

2022-06-28 Thread Steven Liu
Because the codec->cb.encode return 0 is successed, so should only check negative error code. Signed-off-by: Steven Liu --- libavcodec/encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/encode.c b/libavcodec/encode.c index b68bf1e184..5cd9615da0 100644 --- a/

[FFmpeg-devel] [PATCH 8/8] avcodec/tests/snowenc: Remove unused-but-set variable

2022-06-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/tests/snowenc.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/libavcodec/tests/snowenc.c b/libavcodec/tests/snowenc.c index 07af1f2cf9..146f9fae51 100644 --- a/libavcodec/tests/snowenc.c +++ b/libavcodec/tests/snowenc.c @@ -118,11 +118,6

[FFmpeg-devel] [PATCH 7/8] avcodec/qoidec: Remove unused-but-set variable

2022-06-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/qoidec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/qoidec.c b/libavcodec/qoidec.c index 8a119f7606..1e052f659b 100644 --- a/libavcodec/qoidec.c +++ b/libavcodec/qoidec.c @@ -69,10 +69,9 @@ static int qoi_decod

[FFmpeg-devel] [PATCH 6/8] avcodec/j2kenc: Remove unused-but-set variable

2022-06-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/j2kenc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index 0b761d0b00..ce77a6d964 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -288,13 +288,11 @@ static void tag_tree_code(Jpeg2000

[FFmpeg-devel] [PATCH 5/8] avcodec/imc: Remove unused-but-set variable

2022-06-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/imc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/imc.c b/libavcodec/imc.c index 94b9ac674c..978ea74b74 100644 --- a/libavcodec/imc.c +++ b/libavcodec/imc.c @@ -877,7 +877,7 @@ static int imc_decode_block(AVCod

[FFmpeg-devel] [PATCH 4/8] avcodec/hevc_ps: Remove unused-but-set variable

2022-06-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/hevc_ps.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index a955f585d9..0a122a2d6c 100644 --- a/libavcodec/hevc_ps.c +++ b/libavcodec/hevc_ps.c @@ -122,7 +122,6 @@ int ff_hevc_decode_short_term_

[FFmpeg-devel] [PATCH 3/8] avfilter/vf_atadenoise: Remove unused-but-set variables

2022-06-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_atadenoise.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/libavfilter/vf_atadenoise.c b/libavfilter/vf_atadenoise.c index 54cde782f6..2178c62faf 100644 --- a/libavfilter/vf_atadenoise.c +++ b/libavfilter/vf_atadenoise.c @@ -154,7 +1

[FFmpeg-devel] [PATCH 2/8] avformat/mlpdec: Remove unused-but-set variable

2022-06-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/mlpdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/mlpdec.c b/libavformat/mlpdec.c index 4834f697f3..f4fed65851 100644 --- a/libavformat/mlpdec.c +++ b/libavformat/mlpdec.c @@ -34,12 +34,11 @@ static int av

Re: [FFmpeg-devel] [PATCH] avformat/aaxdec: Check for empty segments

2022-06-28 Thread James Almer
On 6/28/2022 2:21 AM, Anton Khirnov wrote: Quoting Michael Niedermayer (2022-06-27 10:43:47) Fixes: Timeout Fixes: 48154/clusterfuzz-testcase-minimized-ffmpeg_dem_AAX_fuzzer-5149094353436672 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

[FFmpeg-devel] [PATCH 1/8] avformat/bintext: Remove set-but-unused variable

2022-06-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- Maybe this was meant to be used somehow? libavformat/bintext.c | 8 1 file changed, 8 deletions(-) diff --git a/libavformat/bintext.c b/libavformat/bintext.c index 0465b86f4b..b6f14a03e5 100644 --- a/libavformat/bintext.c +++ b/libavformat/bintext.

[FFmpeg-devel] [PATCH] checkasm: Provide enough alignment in the new motion test

2022-06-28 Thread Martin Storsjö
This fixes the checkasm test in some setups on x86. --- tests/checkasm/motion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/checkasm/motion.c b/tests/checkasm/motion.c index f337dd6f95..0112822174 100644 --- a/tests/checkasm/motion.c +++ b/tests/checkasm/motion.c

Re: [FFmpeg-devel] [PATCH] avutil/wchar_filename: Make the header C++ compatible

2022-06-28 Thread Martin Storsjö
On Tue, 28 Jun 2022, Andreas Rheinhardt wrote: When compiling decklink, this header is included from a C++ file (albeit inside 'extern "C"') and this causes compilation failures because of an implicit void* -> char* conversion. So add an explicit cast. Should fix ticket #9819. Signed-off-by: An

Re: [FFmpeg-devel] [PATCH v2 1/2] avformat: add AVFormatContext.first_pkt_wallclock

2022-06-28 Thread Gyan Doshi
On 2022-06-28 01:20 pm, Andreas Rheinhardt wrote: Gyan Doshi: On 2022-06-28 10:43 am, Anton Khirnov wrote: Quoting Gyan Doshi (2022-06-25 10:29:50) Stores wallclock time for the first packet received. Used for crude sync offset among inputs. ---   doc/APIchanges |  3 +++   libavfo

Re: [FFmpeg-devel] [PATCH v2 1/2] avformat: add AVFormatContext.first_pkt_wallclock

2022-06-28 Thread Andreas Rheinhardt
Gyan Doshi: > > > On 2022-06-28 10:43 am, Anton Khirnov wrote: >> Quoting Gyan Doshi (2022-06-25 10:29:50) >>> Stores wallclock time for the first packet received. >>> Used for crude sync offset among inputs. >>> --- >>>   doc/APIchanges |  3 +++ >>>   libavformat/avformat.h | 10