Re: [FFmpeg-devel] [PATCH] avformat/mux: factorize AVFormatContext->avoid_negative_ts initialization

2017-12-12 Thread Michael Niedermayer
On Mon, Dec 11, 2017 at 01:04:41AM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavformat/mux.c | 24 > 1 file changed, 8 insertions(+), 16 deletions(-) LGTM thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] lavf/mp3dec: fix mp3 file probe fail

2017-12-12 Thread Carl Eugen Hoyos
2017-12-11 11:43 GMT+01:00 wm4 : > You've been ignoring this issue, though. Please stop using this mailing list for your insults. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] lavf/mp3dec: fix mp3 file probe fail

2017-12-12 Thread Paul B Mahol
On 12/12/17, Carl Eugen Hoyos wrote: > 2017-12-11 11:43 GMT+01:00 wm4 : > >> You've been ignoring this issue, though. > > Please stop using this mailing list for your insults. Nobody insulted you, perhaps you should be really insulted anyway.

Re: [FFmpeg-devel] [PATCH] lavf/mp3dec: fix mp3 file probe fail

2017-12-12 Thread Carl Eugen Hoyos
2017-12-12 22:12 GMT+01:00 Paul B Mahol : > On 12/12/17, Carl Eugen Hoyos wrote: >> 2017-12-11 11:43 GMT+01:00 wm4 : >> >>> You've been ignoring this issue, though. >> >> Please stop using this mailing list for your insults. > > Nobody

Re: [FFmpeg-devel] [PATCH 2/3] qsv/h264enc: fix cavlc option setting useless issue

2017-12-12 Thread Carl Eugen Hoyos
2017-11-22 4:09 GMT+01:00 Li, Zhong : > It is due to the dulicate option "coder" (which should be > deprecated) is set to cabac Why don't you deprecate -cavlc instead? Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] lavf/mp3dec: fix mp3 file probe fail

2017-12-12 Thread wm4
On Tue, 12 Dec 2017 22:13:30 +0100 Carl Eugen Hoyos wrote: > 2017-12-12 22:12 GMT+01:00 Paul B Mahol : > > On 12/12/17, Carl Eugen Hoyos wrote: > >> 2017-12-11 11:43 GMT+01:00 wm4 : > >> > >>> You've been

Re: [FFmpeg-devel] [PATCH] lavf/mp3dec: fix mp3 file probe fail

2017-12-12 Thread James Almer
On 12/12/2017 4:38 AM, wm4 wrote: > On Mon, 11 Dec 2017 22:56:24 +0100 > Michael Niedermayer wrote: > >> On Mon, Dec 11, 2017 at 11:43:30AM +0100, wm4 wrote: >>> On Fri, 8 Dec 2017 18:51:52 +0100 >>> Carl Eugen Hoyos wrote: >>> 2017-12-08

Re: [FFmpeg-devel] [PATCH] lavf/mp3dec: fix mp3 file probe fail

2017-12-12 Thread Carl Eugen Hoyos
2017-12-12 22:26 GMT+01:00 wm4 : > On Tue, 12 Dec 2017 22:13:30 +0100 > Carl Eugen Hoyos wrote: > >> 2017-12-12 22:12 GMT+01:00 Paul B Mahol : >> > On 12/12/17, Carl Eugen Hoyos wrote: >> >> 2017-12-11 11:43

Re: [FFmpeg-devel] [PATCH] lavf/mp3dec: fix mp3 file probe fail

2017-12-12 Thread wm4
On Tue, 12 Dec 2017 18:28:28 -0300 James Almer wrote: > On 12/12/2017 4:38 AM, wm4 wrote: > > On Mon, 11 Dec 2017 22:56:24 +0100 > > Michael Niedermayer wrote: > > > >> On Mon, Dec 11, 2017 at 11:43:30AM +0100, wm4 wrote: > >>> On Fri, 8 Dec 2017

Re: [FFmpeg-devel] [PATCH] avformat/mux: factorize AVFormatContext->avoid_negative_ts initialization

2017-12-12 Thread James Almer
On 12/12/2017 4:30 PM, Michael Niedermayer wrote: > On Mon, Dec 11, 2017 at 01:04:41AM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> libavformat/mux.c | 24 >> 1 file changed, 8 insertions(+), 16 deletions(-) > > LGTM > > thx

Re: [FFmpeg-devel] checkasm/vf_hflip : add test for vf_hflip SIMD

2017-12-12 Thread Michael Niedermayer
On Mon, Dec 11, 2017 at 11:28:53AM +0100, Martin Vignali wrote: > > > > It doesn't run (the test is skipped) on 32-bit VS 2017 with command: > > configure --enable-gpl --toolchain=msvc && make fate-rsync > > SAMPLES=../fate-suite && make fate SAMPLES=../fate-suite > > > > With exactly the same

Re: [FFmpeg-devel] [PATCH] lavf/mov: atom box parsing returneofcause play fail

2017-12-12 Thread Michael Niedermayer
On Mon, Dec 11, 2017 at 08:37:43PM +0800, Tiejun.Peng wrote: > yes, it is. > maybe we should add every stream's status and the whole file status can't be > fail only by one of streams. > but the modification will be too much and the effect is extensive. iam not sure i understand what you

[FFmpeg-devel] [PATCH v2 2/5] avformat/http: add "Opening" info logging to ff_http_do_new_request

2017-12-12 Thread Aman Gupta
From: Aman Gupta This mimics logging that was added in 53e0d5d7247 for security purposes. --- libavformat/http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/http.c b/libavformat/http.c index a3c36423fc..ffdf11cf7e 100644 --- a/libavformat/http.c +++

[FFmpeg-devel] [PATCH v2 1/5] avformat/http: ff_http_do_new_request() returns EINVAL if re-used with different hostname

2017-12-12 Thread Aman Gupta
From: Aman Gupta This will prevent improper use of ff_http_do_new_request() if the user tries to send a request for a different host to a previously connected persistent http/1.1 connection. --- libavformat/http.c | 16 1 file changed, 16 insertions(+) diff

[FFmpeg-devel] [PATCH v2 5/5] avformat/hls: add http_multiple option

2017-12-12 Thread Aman Gupta
From: Aman Gupta This improves network throughput of the hls demuxer by avoiding the latency introduced by downloading segments one at a time. The problem is particularly noticable over high-latency network connections: for instance, if RTT is 250ms, there will a 250ms idle

[FFmpeg-devel] [PATCH v2 0/5] avformat/hls: improve network performance

2017-12-12 Thread Aman Gupta
From: Aman Gupta This patchset improves the overall network performance of the hls demuxer when streaming from an HTTP/1.1 server, using two new options: http_persistent and http_multiple. Here is a very unscientific benchmark showing the throughput and fps increases achieved by

[FFmpeg-devel] [PATCH v2 3/5] avformat/hls: add http_persistent option

2017-12-12 Thread Aman Gupta
From: Aman Gupta This teaches the HLS demuxer to use the HTTP protocols multiple_requests=1 option, to take advantage of "Connection: Keep-Alive" when downloading playlists and segments from the HLS server. With the new option, you can avoid TCP connection and TLS negotiation

[FFmpeg-devel] [PATCH v2 4/5] avformat/hls: allow open_input to be re-used

2017-12-12 Thread Aman Gupta
From: Aman Gupta --- libavformat/hls.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 5c1895c180..f75c8f5eaa 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1145,7 +1145,7 @@ static void

Re: [FFmpeg-devel] [PATCH v2] libavcodec/mpegvideo_parser: improve detection of progressive mpeg2

2017-12-12 Thread Aman Gupta
On Fri, Dec 8, 2017 at 9:10 AM, Michael Niedermayer wrote: > On Thu, Dec 07, 2017 at 04:05:15PM -0800, Aman Gupta wrote: > > From: Aman Gupta > > > > Previously many progressive mpeg2video samples were detected as > interlaced > > by ffmpeg/ffprobe. For

Re: [FFmpeg-devel] [PATCH 01/23] avcodec: add color_range to AVCodec struct and use it

2017-12-12 Thread Michael Niedermayer
On Tue, Dec 12, 2017 at 02:55:59PM +0100, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/avcodec.h | 1 + > libavcodec/utils.c | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index

Re: [FFmpeg-devel] [PATCH] avfilter/formats: fix wrong function name in error message

2017-12-12 Thread Michael Niedermayer
On Tue, Dec 12, 2017 at 01:59:18PM +0800, Jun Zhao wrote: > > > On 2017/12/7 8:49, Jun Zhao wrote: > > > > On 2017/12/5 17:25, Hendrik Leppkes wrote: > >> On Tue, Dec 5, 2017 at 6:42 AM, Jun Zhao wrote: > >>> On 2017/12/5 2:32, Michael Niedermayer wrote: > On Mon, Dec

[FFmpeg-devel] [PATCH 2/2] patcheck: Add 'threshhold' to common typo list

2017-12-12 Thread Kelly Ledford
Signed-off-by: Kelly Ledford --- tools/patcheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patcheck b/tools/patcheck index 26137d6b21..101a542ff3 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -68,7 +68,7 @@ $EGREP $OPT '^\+ *(const

[FFmpeg-devel] [PATCH 1/2] libavfilter/af_dcshift.c: Fixed repeated spelling error

2017-12-12 Thread Kelly Ledford
'threshhold' should be 'threshold' Signed-off-by: Kelly Ledford --- libavfilter/af_dcshift.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavfilter/af_dcshift.c b/libavfilter/af_dcshift.c index 6d33daee0b..e007efe05e

[FFmpeg-devel] [PATCH] avfilter/drawbox+drawgrid - add option to prevent overwriting, of source pixels

2017-12-12 Thread Gyan Doshi
As noted in ticket #6911, drawbox and drawgrids implement anomalous behaviour if the source or user-color has alpha - source pixels are destroyed. Patch introduces new boolean option, whose default value, allows both expected result and current behaviour. Regards, Gyan From

[FFmpeg-devel] [PATCH 10/23] avcodec/mjpegdec: remove YUVJ pixel format usage

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/mjpegdec.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 55676d8576..160bbfd34b 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@

[FFmpeg-devel] [PATCH 07/23] avcodec/proresenc: prores supports limited color range only

2017-12-12 Thread Paul B Mahol
Add .color_range field to encoder's AVCodec struct. Signed-off-by: Paul B Mahol --- libavcodec/proresenc_anatoliy.c | 2 ++ libavcodec/proresenc_kostya.c | 1 + 2 files changed, 3 insertions(+) diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c

[FFmpeg-devel] [PATCH 04/23] avfilter/buffersink: export color_range from filtergraph output

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/buffersink.c | 1 + libavfilter/buffersink.h | 1 + 2 files changed, 2 insertions(+) diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c index 0f87b5439a..897396cac4 100644 --- a/libavfilter/buffersink.c +++

[FFmpeg-devel] [PATCH 09/23] avcodec/mjpegdec: replace YUVJ pixel formats

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/mjpegdec.c| 18 +- libavcodec/tdsc.c| 2 +- tests/fate/vcodec.mak| 4 ++-- tests/ref/fate/api-mjpeg-codec-param | 4 ++-- tests/ref/fate/exif-image-embedded | 2

[FFmpeg-devel] [PATCH 14/23] avcodec/roqvideodec: replace YUVJ pixel format

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/roqvideodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c index 0ab7d399d6..c5b7bbe236 100644 --- a/libavcodec/roqvideodec.c +++ b/libavcodec/roqvideodec.c @@

[FFmpeg-devel] [PATCH 15/23] avcodec/mdec: replace YUVJ pixel format

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/mdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c index 330b761279..637158d231 100644 --- a/libavcodec/mdec.c +++ b/libavcodec/mdec.c @@ -227,7 +227,7 @@ static av_cold int

[FFmpeg-devel] [PATCH 17/23] avcodec/hevc_ps: do not use YUVJ pixel format

2017-12-12 Thread Paul B Mahol
Color range is already set. Signed-off-by: Paul B Mahol --- libavcodec/hevc_ps.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index a4f7ed60f7..19ec2d7ebf 100644 --- a/libavcodec/hevc_ps.c +++ b/libavcodec/hevc_ps.c @@ -578,8

[FFmpeg-devel] [PATCH 16/23] avcodec/h264_slice: do not use YUVJ pixel formats

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/h264_slice.c | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index aad5484588..a75ab08c29 100644 --- a/libavcodec/h264_slice.c +++

[FFmpeg-devel] [PATCH 11/23] avcodec/mjpegenc: add support for non-YUVJ formats

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/mjpegenc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index d2fcb8e191..4824406bcb 100644 --- a/libavcodec/mjpegenc.c +++ b/libavcodec/mjpegenc.c @@ -415,8

[FFmpeg-devel] [PATCH 12/23] avcodec/svq3: replace YUVJ pixel format

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/svq3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index a937b2f951..4c6d838a15 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -1158,7 +1158,7 @@ static

[FFmpeg-devel] [PATCH 23/23] avfilter: remove YUVJ pixel format usage

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/avf_showspectrum.c | 2 +- libavfilter/vaf_spectrumsynth.c| 4 +--- libavfilter/vf_atadenoise.c| 3 --- libavfilter/vf_avgblur.c | 4 +---

[FFmpeg-devel] [PATCH 22/23] avformat/rtpenc_jpeg: remove usage of YUVJ formats

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/rtpenc_jpeg.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavformat/rtpenc_jpeg.c b/libavformat/rtpenc_jpeg.c index 38eb2e68eb..e0e7afebfc 100644 --- a/libavformat/rtpenc_jpeg.c +++

[FFmpeg-devel] [PATCH 20/23] avfilter/vf_blackdetect: use color_range from inlink

2017-12-12 Thread Paul B Mahol
Remove YUVJ pixel format usage. Signed-off-by: Paul B Mahol --- libavfilter/vf_blackdetect.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/libavfilter/vf_blackdetect.c b/libavfilter/vf_blackdetect.c index 06ef9988d1..ff4b9eebb9 100644 ---

[FFmpeg-devel] [PATCH 18/23] avcodec/roqvideoenc: do not use YUVJ pixel format

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/roqvideoenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c index ac05123dc6..18f7dd5368 100644 --- a/libavcodec/roqvideoenc.c +++ b/libavcodec/roqvideoenc.c

[FFmpeg-devel] [PATCH 19/23] libavcodec/hevcdec: remove usage of YUVJ pixel format

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/hevcdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c index 433a7056ea..d1b54b1db5 100644 --- a/libavcodec/hevcdec.c +++ b/libavcodec/hevcdec.c @@ -363,7 +363,6 @@ static enum

[FFmpeg-devel] [PATCH 21/23] avfilter/vf_setrange: change outlink color_range too

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_setparams.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavfilter/vf_setparams.c b/libavfilter/vf_setparams.c index 8427f98ba8..98a4aa2ad3 100644 --- a/libavfilter/vf_setparams.c +++

[FFmpeg-devel] [PATCH 13/23] avcodec/fraps: replace YUVJ pixel format

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/fraps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c index 7a7673f73f..b2025b5d3f 100644 --- a/libavcodec/fraps.c +++ b/libavcodec/fraps.c @@ -218,7 +218,7 @@ static int

[FFmpeg-devel] [PATCH 02/23] avfilter/avfilter: add color_range to AVFilterLink struct

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/avfilter.c | 2 ++ libavfilter/avfilter.h | 2 ++ libavfilter/video.c| 8 +++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index b98b32bacb..4a579bb49d 100644

[FFmpeg-devel] [PATCH 05/23] avfilter/vf_scale: make use of color_range from filter links

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_scale.c | 8 1 file changed, 8 insertions(+) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 9f45032e85..802f841cc3 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -303,9 +303,15 @@

[FFmpeg-devel] [PATCH 08/23] avcodec/mpeg4videoenc: mark as limited color range only

2017-12-12 Thread Paul B Mahol
lavf-mkv changes only because of metadata. Signed-off-by: Paul B Mahol --- libavcodec/mpeg4videoenc.c | 1 + libavcodec/mpegvideo_enc.c | 4 tests/ref/lavf/mkv | 8 tests/ref/seek/lavf-mkv| 44 ++-- 4 files

[FFmpeg-devel] [PATCH 01/23] avcodec: add color_range to AVCodec struct and use it

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/avcodec.h | 1 + libavcodec/utils.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 5db6a81320..df715fd5ee 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@

[FFmpeg-devel] [PATCH 03/23] avfilter/buffersrc: recognize color_range as additonal parameter and set it to input link

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/buffersrc.c | 18 ++ libavfilter/buffersrc.h | 5 + 2 files changed, 23 insertions(+) diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index cd56f8ca45..51a1a9fb49 100644 ---

[FFmpeg-devel] [PATCH 06/23] avfilter: negotiate color_range between filters

2017-12-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- fftools/ffmpeg.c| 2 ++ fftools/ffmpeg_filter.c | 56 +--- libavcodec/utils.c | 13 -- libavfilter/avfilter.c | 9 --- libavfilter/avfilter.h | 4 ++-

Re: [FFmpeg-devel] [PATCH 01/23] avcodec: add color_range to AVCodec struct and use it

2017-12-12 Thread wm4
On Tue, 12 Dec 2017 14:55:59 +0100 Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/avcodec.h | 1 + > libavcodec/utils.c | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index

Re: [FFmpeg-devel] [PATCH] lavc/utils: remove unnecessary locking

2017-12-12 Thread wm4
On Tue, 12 Dec 2017 08:50:01 +0100 Hendrik Leppkes wrote: > On Tue, Dec 12, 2017 at 12:25 AM, Aaron Levinson > wrote: > > On 12/8/2017 2:27 AM, Michael Niedermayer wrote: > >> > >> On Fri, Dec 08, 2017 at 09:49:25AM +0100, Hendrik Leppkes wrote:

Re: [FFmpeg-devel] [PATCH] lavc/utils: remove unnecessary locking

2017-12-12 Thread wm4
On Tue, 12 Dec 2017 09:08:51 +0100 Hendrik Leppkes wrote: > On Tue, Dec 12, 2017 at 9:04 AM, wm4 wrote: > > On Tue, 12 Dec 2017 08:50:01 +0100 > > Hendrik Leppkes wrote: > > > >> On Tue, Dec 12, 2017 at 12:25 AM, Aaron Levinson

[FFmpeg-devel] [PATCH] configure: Fix detection of vp9 decoder/encoder

2017-12-12 Thread Felix Matouschek
This fixes the detection of the vp9 decoder/encoder. The vp9 decoder/encoder needs libm to successfully link, -lm was missing in the check_lib calls for vp9 in configure.From 0b5bbd7c30f3a76b2e0ab6ceae2bfaebe944b279 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date:

Re: [FFmpeg-devel] [PATCH v2 2/2] libavcodec/mediacodec: use AVMediaCodecDeviceContext hw_device_ctx if set

2017-12-12 Thread Matthieu Bouron
On Mon, Dec 11, 2017 at 10:10:24PM +, Mark Thompson wrote: > On 11/12/17 12:34, Matthieu Bouron wrote: > >> > >> New patch attached fixing errors in get_format() by keeping the original > >> AVCodecHWConfigInternal (ad-hoc) and adding a new one (hw-device) with the > >> device_type field set

Re: [FFmpeg-devel] [PATCH 01/27] avcodec: add color_range to AVCodec struct and use it

2017-12-12 Thread Paul B Mahol
On 12/11/17, Hendrik Leppkes wrote: > On Mon, Dec 11, 2017 at 3:36 PM, James Almer wrote: >> On 12/11/2017 11:28 AM, Hendrik Leppkes wrote: >>> On Mon, Dec 11, 2017 at 2:22 PM, Paul B Mahol wrote: On 12/11/17, Hendrik Leppkes

Re: [FFmpeg-devel] [PATCH 24/29] avcodec/qsv: remove YUVJ pixel format usage

2017-12-12 Thread Bang He
hi, why need to remove this format? On Sun, Dec 10, 2017 at 9:14 PM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/qsv.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c > index

Re: [FFmpeg-devel] [PATCH 24/29] avcodec/qsv: remove YUVJ pixel format usage

2017-12-12 Thread Paul B Mahol
On 12/12/17, Bang He wrote: > hi, why need to remove this format? Because it is deprecated. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] lavc/utils: remove unnecessary locking

2017-12-12 Thread Hendrik Leppkes
On Tue, Dec 12, 2017 at 9:04 AM, wm4 wrote: > On Tue, 12 Dec 2017 08:50:01 +0100 > Hendrik Leppkes wrote: > >> On Tue, Dec 12, 2017 at 12:25 AM, Aaron Levinson >> wrote: >> > On 12/8/2017 2:27 AM, Michael Niedermayer wrote:

Re: [FFmpeg-devel] [PATCH 2/2] libavcodec/mjpeg: remove YUVJ mentions

2017-12-12 Thread Paul B Mahol
On 12/11/17, Michael Niedermayer wrote: > On Mon, Dec 11, 2017 at 10:58:41PM +0100, Paul B Mahol wrote: >> On 12/11/17, Michael Niedermayer wrote: >> > On Mon, Dec 11, 2017 at 12:09:33PM -0500, Vittorio Giovara wrote: >> >> >* On 12/8/17, Paul B

Re: [FFmpeg-devel] [PATCH] configure: Fix detection of vp9 decoder/encoder

2017-12-12 Thread James Almer
On 12/12/2017 6:55 AM, Felix Matouschek wrote: > This fixes the detection of the vp9 decoder/encoder. > > The vp9 decoder/encoder needs libm to successfully link, -lm was missing > in the check_lib calls for vp9 in configure. > > 0001-configure-Fix-detection-of-vp9-decoder-encoder.patch > > >

Re: [FFmpeg-devel] [PATCH] configure: Fix detection of vp9 decoder/encoder

2017-12-12 Thread Felix Matouschek
Am 12.12.2017 15:37, schrieb James Almer: No, this is not correct. If anything has to be added here, it would be $libm_extralibs. -lm is not needed/available on some systems. Ok, changed it. Also, you should be using pkg-config. Its job is to make sure all the cflags and ldflags are correct