Re: [FFmpeg-devel] [RFC] avcodec/avcodec.h: Add encryption info side data

2017-12-14 Thread Jacob Trimble
On Fri, Dec 8, 2017 at 10:06 AM, Jacob Trimble wrote: > On Tue, Dec 5, 2017 at 5:22 PM, Derek Buitenhuis > wrote: >> On 12/6/2017 12:36 AM, Jacob Trimble wrote: >>> Would a 0-length array work? Otherwise I would need to have it be a >>> 1-length array and

Re: [FFmpeg-devel] [PATCH] avcodec/Makefile: Fix opus parser dependency.

2017-12-08 Thread Jacob Trimble
On Fri, Dec 8, 2017 at 10:39 AM, Michael Niedermayer wrote: > On Thu, Dec 07, 2017 at 11:30:13AM -0800, Jacob Trimble wrote: >> The opus.c file uses variables that are defined in opustab.c. The >> opus parser needs to include that file to avoid linker errors when >> n

Re: [FFmpeg-devel] [RFC] avcodec/avcodec.h: Add encryption info side data

2017-12-08 Thread Jacob Trimble
On Tue, Dec 5, 2017 at 5:22 PM, Derek Buitenhuis wrote: > On 12/6/2017 12:36 AM, Jacob Trimble wrote: >> Would a 0-length array work? Otherwise I would need to have it be a >> 1-length array and have to account for that when calculating the size >> to allocate; it would also

[FFmpeg-devel] [PATCH] avcodec/Makefile: Fix opus parser dependency.

2017-12-07 Thread Jacob Trimble
The opus.c file uses variables that are defined in opustab.c. The opus parser needs to include that file to avoid linker errors when not including the opus encoder/decoder. Signed-off-by: Jacob Trimble --- libavcodec/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

Re: [FFmpeg-devel] [PATCH] avcodec/nvdec: Fix capability check with old drivers.

2017-12-07 Thread Jacob Trimble
On Thu, Nov 30, 2017 at 12:35 PM, Jacob Trimble wrote: > Copied the check from cuviddec.c (*_cuvid decoders) to allow the > capability check to be optional for older drivers. > > Signed-off-by: Jacob Trimble > --- > libavcodec/nvdec.c | 12 > 1 file c

Re: [FFmpeg-devel] [RFC] avcodec/avcodec.h: Add encryption info side data

2017-12-05 Thread Jacob Trimble
On Tue, Dec 5, 2017 at 3:25 PM, Derek Buitenhuis wrote: > On 12/5/2017 11:00 PM, Jacob Trimble wrote: >> Also, can I use the flexible array member feature, it was introduced >> in C99? Would a 0-length array be better? > > No, I don't think this would be OK inside a pu

[FFmpeg-devel] [RFC] avcodec/avcodec.h: Add encryption info side data

2017-12-05 Thread Jacob Trimble
Mon Sep 17 00:00:00 2001 From: Jacob Trimble Date: Tue, 5 Dec 2017 14:52:22 -0800 Subject: [PATCH] avpacket: Add encryption info side data. Signed-off-by: Jacob Trimble --- libavcodec/avcodec.h | 65 1 file changed, 65 insertions(+) diff --git

[FFmpeg-devel] [PATCH] configure: Fix dependencies of aac_at decoder.

2017-11-30 Thread Jacob Trimble
Signed-off-by: Jacob Trimble --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 1fa16e9dba..d05388638d 100755 --- a/configure +++ b/configure @@ -2890,6 +2890,7 @@ trace_headers_bsf_select="cbs_h264 cbs_h265 cbs_mpeg2" # external

[FFmpeg-devel] [PATCH] avcodec/nvdec: Fix capability check with old drivers.

2017-11-30 Thread Jacob Trimble
Copied the check from cuviddec.c (*_cuvid decoders) to allow the capability check to be optional for older drivers. Signed-off-by: Jacob Trimble --- libavcodec/nvdec.c | 12 1 file changed, 12 insertions(+) diff --git a/libavcodec/nvdec.c b/libavcodec/nvdec.c index c7a02ff40f

[FFmpeg-devel] [PATCH] avformat/mov: Propagate errors in mov_switch_root.

2017-11-20 Thread Jacob Trimble
Signed-off-by: Jacob Trimble --- libavformat/mov.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 0b8f8ad24b..b6cdf3a52a 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -6753,6 +6753,7 @@ static int should_retry

[FFmpeg-devel] [PATCH] avformat/mov: Propagate errors in mov_switch_root.

2017-11-16 Thread Jacob Trimble
Signed-off-by: Jacob Trimble --- libavformat/mov.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index d49d820d2b..c5f07595df 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -6747,6 +6747,7 @@ static int should_retry

Re: [FFmpeg-devel] [PATCH] configure: quote compiler paths

2017-09-21 Thread Jacob Trimble
On Thu, Sep 21, 2017 at 10:03 AM, Nicolas George wrote: > Le jour de la Récompense, an CCXXV, Jacob Trimble a écrit : >> But without this, you can't have a compiler path that has a space in >> it. Plus, AFAIK, there is no way to escape the space through a bash >> vari

Re: [FFmpeg-devel] [PATCH] configure: quote compiler paths

2017-09-21 Thread Jacob Trimble
On Wed, Sep 20, 2017 at 4:29 PM, Michael Niedermayer wrote: > > On Tue, Sep 19, 2017 at 04:54:16PM -0700, Jacob Trimble wrote: > > Signed-off-by: Jacob Trimble > > --- > > configure | 16 > > 1 file changed, 8 insertions(+), 8 deletions(-

[FFmpeg-devel] [PATCH] configure: quote compiler paths

2017-09-19 Thread Jacob Trimble
Signed-off-by: Jacob Trimble --- configure | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 2de20a02a4..16aa09be05 100755 --- a/configure +++ b/configure @@ -920,14 +920,14 @@ check_cc(){ log check_cc "$@" c

Re: [FFmpeg-devel] [PATCH] libavformat/mov: Fix inserting frames before current_frame.

2017-08-17 Thread Jacob Trimble
On Mon, Aug 7, 2017 at 9:24 AM, Jacob Trimble wrote: > Ping > > On Thu, Jul 27, 2017 at 10:34 AM, Jacob Trimble wrote: >> When using streaming input, it may be possible to see frames that appear >> before the current_frame. When these frames are inserted into the >&g

Re: [FFmpeg-devel] [PATCH] libavformat/mov: Fix inserting frames before current_frame.

2017-08-07 Thread Jacob Trimble
Ping On Thu, Jul 27, 2017 at 10:34 AM, Jacob Trimble wrote: > When using streaming input, it may be possible to see frames that appear > before the current_frame. When these frames are inserted into the > index, the current_frame needs to be updated so it is still pointing > at th

[FFmpeg-devel] [PATCH] libavformat/mov: Fix inserting frames before current_frame.

2017-07-27 Thread Jacob Trimble
When using streaming input, it may be possible to see frames that appear before the current_frame. When these frames are inserted into the index, the current_frame needs to be updated so it is still pointing at the same frame. Signed-off-by: Jacob Trimble --- libavformat/mov.c | 12

[FFmpeg-devel] [PATCH] libavformat/mov: Fix inserting frames before current_frame

2017-07-26 Thread Jacob Trimble
When using streaming input, it may be possible to see frames that appear before the current_frame. When these frames are inserted into the index, the current_frame needs to be updated so it is still pointing at the same frame. Signed-off-by: Jacob Trimble --- libavformat/mov.c | 12

[FFmpeg-devel] Reading Frames in File Order

2017-07-20 Thread Jacob Trimble
I am writing a program that will use libavformat to demux media segments. I will need to parse media segments that may appear in any order and produce playable regions of content. For example, think YouTube streaming; there are regions of buffered content and seeking can produce media segments tha

<    1   2