Re: [libav-devel] [PATCHv2] arm: vp9: Add NEON itxfm routines

2016-11-10 Thread Janne Grunau
On 2016-10-18 21:07:30 +0300, Martin Storsjö wrote: > This work is sponsored by, and copyright, Google. > > For the transforms up to 8x8, we can fit all the data (including > temporaries) in registers and just do a straightforward transform > of all the data. For 16x16, we do a transform of 4x16 p

[libav-devel] [PATCH] crypto: Add encryption support

2016-11-10 Thread Luca Barbato
From: Christian Suloway Signed-off-by: Christian Suloway Signed-off-by: Michael Niedermayer Signed-off-by: Luca Barbato --- Now it is using a av_fast_malloc'd buffer, and all the other nits are addressed as well. libavformat/crypto.c | 166 ---

Re: [libav-devel] [PATCH 2/4] hwcontext_dxva2: fix handling of the mapping flags

2016-11-10 Thread Mark Thompson
On 10/11/16 22:36, Hendrik Leppkes wrote: > On Thu, Nov 10, 2016 at 10:04 PM, Mark Thompson wrote: >> On 10/11/16 14:39, Anton Khirnov wrote: >>> D3DLOCK_READONLY properly corresponds to the absence of the write flag, >>> not to the presence of the read flag, while D3DLOCK_DISCARD is >>> equivalen

Re: [libav-devel] [PATCH 2/4] hwcontext_dxva2: fix handling of the mapping flags

2016-11-10 Thread Hendrik Leppkes
On Thu, Nov 10, 2016 at 10:04 PM, Mark Thompson wrote: > On 10/11/16 14:39, Anton Khirnov wrote: >> D3DLOCK_READONLY properly corresponds to the absence of the write flag, >> not to the presence of the read flag, while D3DLOCK_DISCARD is >> equivalent to the overwrite flag. >> --- >> libavutil/hw

Re: [libav-devel] [RFC] avpacket: Mark src pointer as constant

2016-11-10 Thread Vittorio Giovara
( On Thu, Nov 10, 2016 at 3:34 PM, Luca Barbato wrote: > On 08/11/2016 21:04, Vittorio Giovara wrote: >> Seems right, is that the only instance in the header? > > Yes, anybody against in adding that as is? what about av_packet_clone()? -- Vittorio ___

Re: [libav-devel] [PATCH 4/4] hwcontext_dxva2: make sure the sw frame format is the right one during transfer

2016-11-10 Thread Mark Thompson
On 10/11/16 14:39, Anton Khirnov wrote: > --- > libavutil/hwcontext_dxva2.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/libavutil/hwcontext_dxva2.c b/libavutil/hwcontext_dxva2.c > index 9507492..2312d1b 100644 > --- a/libavutil/hwcontext_dxva2.c > +++ b/libavutil/hwcontext_dxva

Re: [libav-devel] [PATCH 2/4] hwcontext_dxva2: fix handling of the mapping flags

2016-11-10 Thread Mark Thompson
On 10/11/16 14:39, Anton Khirnov wrote: > D3DLOCK_READONLY properly corresponds to the absence of the write flag, > not to the presence of the read flag, while D3DLOCK_DISCARD is > equivalent to the overwrite flag. > --- > libavutil/hwcontext_dxva2.c | 12 +--- > 1 file changed, 9 insertio

Re: [libav-devel] [PATCH 3/4] hwcontext_dxva2: split transfer_data() into upload/download functions

2016-11-10 Thread Mark Thompson
On 10/11/16 14:39, Anton Khirnov wrote: > Just the presence of a hw frames context is not enough to detect whether > the transfer is an upload or a download, because hw frames mapped to > system memory will have a hw frames context attached. > --- > libavutil/hwcontext_dxva2.c | 53 >

Re: [libav-devel] [PATCH 1/4] hwcontext_dxva2: do not assume the destination format during mapping is always the right one

2016-11-10 Thread Mark Thompson
On 10/11/16 14:39, Anton Khirnov wrote: > Handle the cases where it is unsupported or unset. > --- > libavutil/hwcontext_dxva2.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/libavutil/hwcontext_dxva2.c b/libavutil/hwcontext_dxva2.c > index 600cf0e..8a05071 100644 > --- a/libavutil

Re: [libav-devel] [RFC] avpacket: Mark src pointer as constant

2016-11-10 Thread Luca Barbato
On 08/11/2016 21:04, Vittorio Giovara wrote: > Seems right, is that the only instance in the header? Yes, anybody against in adding that as is? It is not an ABI nor API change. lu ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.o

[libav-devel] [PATCH 2/4] lavu: Add AVSphericalMapping type and frame side data

2016-11-10 Thread Vittorio Giovara
While no decoder currently exports spherical information, this type represents a frame property that has to be passed through from container to frames. Signed-off-by: Vittorio Giovara --- Applied the necessary doxygen changes, still undecided on the `double` export for rotation values. Vittorio

[libav-devel] [PATCH 4/4] mov: Export spherical information

2016-11-10 Thread Vittorio Giovara
This implements Spherical Video V1 and V2, as described in the spatial-media collection by Google. Signed-off-by: Vittorio Giovara --- No changes. Vittorio Changelog | 1 + libavformat/isom.h | 6 ++ libavformat/mov.c | 304 + 3

[libav-devel] [PATCH 3/4] lavc: Add spherical packet side data API

2016-11-10 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara --- No changes. avprobe.c| 28 doc/APIchanges | 4 libavcodec/avcodec.h | 6 ++ libavcodec/utils.c | 1 + libavcodec/version.h | 4 ++-- libavformat/dump.c | 33 + 6 fil

[libav-devel] [PATCH 1/4] lavu: Add a video section to general documentation

2016-11-10 Thread Vittorio Giovara
Fill it with AVStereo3D and AVDisplayMatrix documentation. Apply the necessary changes to make verbatim code look good in doxygen. Signed-off-by: Vittorio Giovara --- libavutil/avutil.h | 6 ++ libavutil/display.h | 27 +++ libavutil/stereo3d.h | 39 ++

Re: [libav-devel] [PATCH 13/13] examples/decode_video: allocate the packet dynamically

2016-11-10 Thread Vittorio Giovara
On Thu, Nov 10, 2016 at 10:51 AM, Anton Khirnov wrote: > AVPackets on stack are discouraged. > --- > doc/examples/decode_video.c | 13 - > 1 file changed, 8 insertions(+), 5 deletions(-) > > diff --git a/doc/examples/decode_video.c b/doc/examples/decode_video.c > index 7414643..d6803e

Re: [libav-devel] [PATCH 10/13] examples/encode_video: allocate the packet dynamically

2016-11-10 Thread Vittorio Giovara
On Thu, Nov 10, 2016 at 10:51 AM, Anton Khirnov wrote: > AVPackets on stack are discouraged. > --- > doc/examples/encode_video.c | 15 --- > 1 file changed, 8 insertions(+), 7 deletions(-) > > diff --git a/doc/examples/encode_video.c b/doc/examples/encode_video.c > index 2ff6354..cb12

Re: [libav-devel] [PATCH 07/13] examples/decode_audio: allocate the packet dynamically

2016-11-10 Thread Vittorio Giovara
On Thu, Nov 10, 2016 at 10:51 AM, Anton Khirnov wrote: > AVPackets on stack are discouraged now. > --- > doc/examples/decode_audio.c | 11 ++- > 1 file changed, 6 insertions(+), 5 deletions(-) > > diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c > index c00d488..e7b2

Re: [libav-devel] [PATCH 2/3] libxvid: Use proper context in av_log() calls

2016-11-10 Thread Diego Biurrun
On Wed, Nov 09, 2016 at 10:25:28AM +0100, Diego Biurrun wrote: > --- > libavcodec/libxvid_rc.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) OKed by Vittorio on IRC. Diego ___ libav-devel mailing list libav-devel@libav.org https://lis

Re: [libav-devel] [PATCH 3/3] libxvid: Check return value of write() call

2016-11-10 Thread Diego Biurrun
On Wed, Nov 09, 2016 at 10:25:29AM +0100, Diego Biurrun wrote: > libavcodec/libxvid_rc.c:106:9: warning: ignoring return value of ‘write’, > declared with attribute warn_unused_result [-Wunused-result] > --- > libavcodec/libxvid_rc.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) OK

Re: [libav-devel] [PATCH] libxvid: Require availability of mkstemp()

2016-11-10 Thread Vittorio Giovara
On Thu, Nov 10, 2016 at 11:29 AM, Diego Biurrun wrote: > The replacement code uses tempnam(), which is dangerous. > Such a fringe feature is not worth the trouble. > --- > > Now without stray changes to the build system. > > configure | 2 +- > libavcodec/libxvid_rc.c | 17 ++--

[libav-devel] [PATCH] libxvid: Require availability of mkstemp()

2016-11-10 Thread Diego Biurrun
The replacement code uses tempnam(), which is dangerous. Such a fringe feature is not worth the trouble. --- Now without stray changes to the build system. configure | 2 +- libavcodec/libxvid_rc.c | 17 ++--- 2 files changed, 3 insertions(+), 16 deletions(-) diff --g

[libav-devel] [PATCH 04/13] examples/decode_audio: use a parser for splitting the input

2016-11-10 Thread Anton Khirnov
Do not rely on the decoder handling this, as it's not guaranteed to work. --- doc/examples/decode_audio.c | 82 + 1 file changed, 54 insertions(+), 28 deletions(-) diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c index b56a5ee..d21

[libav-devel] [PATCH 13/13] examples/decode_video: allocate the packet dynamically

2016-11-10 Thread Anton Khirnov
AVPackets on stack are discouraged. --- doc/examples/decode_video.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/examples/decode_video.c b/doc/examples/decode_video.c index 7414643..d6803ef 100644 --- a/doc/examples/decode_video.c +++ b/doc/examples/decode_

[libav-devel] [PATCH 02/13] examples/qsvdec: convert to the new decoding API

2016-11-10 Thread Anton Khirnov
--- doc/examples/qsvdec.c | 48 +--- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/doc/examples/qsvdec.c b/doc/examples/qsvdec.c index 141c581..46e6ddc 100644 --- a/doc/examples/qsvdec.c +++ b/doc/examples/qsvdec.c @@ -92,41 +92,43 @@ s

[libav-devel] [PATCH 01/13] examples/qsvdec: switch to the hwcontext API

2016-11-10 Thread Anton Khirnov
The code now does not depend on VA and will work on windows as well. --- configure | 2 +- doc/examples/qsvdec.c | 317 -- 2 files changed, 52 insertions(+), 267 deletions(-) diff --git a/configure b/configure index acc74f2..bc0ba79 10

[libav-devel] [PATCH 08/13] examples/decode_audio: flush the decoder

2016-11-10 Thread Anton Khirnov
--- doc/examples/decode_audio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c index e7b27d3..3e2a0c1 100644 --- a/doc/examples/decode_audio.c +++ b/doc/examples/decode_audio.c @@ -179,6 +179,9 @@ int main(int argc, char **argv)

[libav-devel] [PATCH 06/13] examples/decode_audio: handle planar audio now produced by the MP2 decoder

2016-11-10 Thread Anton Khirnov
--- doc/examples/decode_audio.c | 30 +- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c index 5e128f8..c00d488 100644 --- a/doc/examples/decode_audio.c +++ b/doc/examples/decode_audio.c @@ -29,6 +

[libav-devel] [PATCH 05/13] examples/decode_audio: use the new audio decoding API

2016-11-10 Thread Anton Khirnov
--- doc/examples/decode_audio.c | 34 -- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c index d2150a6..5e128f8 100644 --- a/doc/examples/decode_audio.c +++ b/doc/examples/decode_audio.c @@ -4

[libav-devel] [PATCH 03/13] examples/encode_audio: switch to the new audio encoding API

2016-11-10 Thread Anton Khirnov
--- doc/examples/encode_audio.c | 59 + 1 file changed, 43 insertions(+), 16 deletions(-) diff --git a/doc/examples/encode_audio.c b/doc/examples/encode_audio.c index db2440f..a32fcc9 100644 --- a/doc/examples/encode_audio.c +++ b/doc/examples/encode_au

[libav-devel] [PATCH 10/13] examples/encode_video: allocate the packet dynamically

2016-11-10 Thread Anton Khirnov
AVPackets on stack are discouraged. --- doc/examples/encode_video.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/examples/encode_video.c b/doc/examples/encode_video.c index 2ff6354..cb12836 100644 --- a/doc/examples/encode_video.c +++ b/doc/examples/encod

[libav-devel] [PATCH 07/13] examples/decode_audio: allocate the packet dynamically

2016-11-10 Thread Anton Khirnov
AVPackets on stack are discouraged now. --- doc/examples/decode_audio.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c index c00d488..e7b27d3 100644 --- a/doc/examples/decode_audio.c +++ b/doc/examples/decod

[libav-devel] [PATCH 11/13] examples/decode_video: use a parser for splitting the input

2016-11-10 Thread Anton Khirnov
Do not rely on the decoder handling this, as it's not guaranteed to work. --- doc/examples/decode_video.c | 113 ++-- 1 file changed, 56 insertions(+), 57 deletions(-) diff --git a/doc/examples/decode_video.c b/doc/examples/decode_video.c index 43819ec..4c1

[libav-devel] [PATCH 09/13] examples/encode_video: switch to the new encoding API

2016-11-10 Thread Anton Khirnov
--- doc/examples/encode_video.c | 59 - 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/doc/examples/encode_video.c b/doc/examples/encode_video.c index 3fd2d56..2ff6354 100644 --- a/doc/examples/encode_video.c +++ b/doc/examples/encode_vi

[libav-devel] [PATCH 12/13] examples/decode_video: switch to the new decoding API

2016-11-10 Thread Anton Khirnov
--- doc/examples/decode_video.c | 43 +++ 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/doc/examples/decode_video.c b/doc/examples/decode_video.c index 4c1068b..7414643 100644 --- a/doc/examples/decode_video.c +++ b/doc/examples/decode_vide

Re: [libav-devel] [PATCH] hlsenc: Add encryption support

2016-11-10 Thread Luca Barbato
On 10/11/2016 10:18, Anton Khirnov wrote: >> +static void fill_random(char hex[33]) >> +{ >> +uint8_t buf[16]; >> +int i; >> + >> +for (i = 0; i < sizeof(buf); i++) >> +buf[i] = av_get_random_seed(); >> + >> +ff_data_to_hex(hex, buf, sizeof(buf), 0); >> +hex[32] = '\0';

[libav-devel] [PATCH 1/4] hwcontext_dxva2: do not assume the destination format during mapping is always the right one

2016-11-10 Thread Anton Khirnov
Handle the cases where it is unsupported or unset. --- libavutil/hwcontext_dxva2.c | 4 1 file changed, 4 insertions(+) diff --git a/libavutil/hwcontext_dxva2.c b/libavutil/hwcontext_dxva2.c index 600cf0e..8a05071 100644 --- a/libavutil/hwcontext_dxva2.c +++ b/libavutil/hwcontext_dxva2.c @@

[libav-devel] [PATCH 4/4] hwcontext_dxva2: make sure the sw frame format is the right one during transfer

2016-11-10 Thread Anton Khirnov
--- libavutil/hwcontext_dxva2.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavutil/hwcontext_dxva2.c b/libavutil/hwcontext_dxva2.c index 9507492..2312d1b 100644 --- a/libavutil/hwcontext_dxva2.c +++ b/libavutil/hwcontext_dxva2.c @@ -315,6 +315,9 @@ static int dxva2_transfer_data_t

[libav-devel] [PATCH 3/4] hwcontext_dxva2: split transfer_data() into upload/download functions

2016-11-10 Thread Anton Khirnov
Just the presence of a hw frames context is not enough to detect whether the transfer is an upload or a download, because hw frames mapped to system memory will have a hw frames context attached. --- libavutil/hwcontext_dxva2.c | 53 - 1 file changed, 33

[libav-devel] [PATCH 2/4] hwcontext_dxva2: fix handling of the mapping flags

2016-11-10 Thread Anton Khirnov
D3DLOCK_READONLY properly corresponds to the absence of the write flag, not to the presence of the read flag, while D3DLOCK_DISCARD is equivalent to the overwrite flag. --- libavutil/hwcontext_dxva2.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/libavutil/hwcont

Re: [libav-devel] [PATCH] hevc: Add HEVC IDCT 4x4 for PPC

2016-11-10 Thread Diego Biurrun
On Thu, Nov 10, 2016 at 02:59:15PM +0100, Diego Biurrun wrote: > On Thu, Nov 10, 2016 at 02:41:05PM +0100, Alexandra Hájková wrote: > > --- /dev/null > > +++ b/libavcodec/ppc/hevcdsp.c > > @@ -0,0 +1,107 @@ > > +if (!PPC_ALTIVEC(av_get_cpu_flags())) > > +return; > > + > > +if (bit_d

Re: [libav-devel] [PATCH] hevc: Add HEVC IDCT 4x4 for PPC

2016-11-10 Thread Diego Biurrun
On Thu, Nov 10, 2016 at 02:41:05PM +0100, Alexandra Hájková wrote: > --- /dev/null > +++ b/libavcodec/ppc/hevcdsp.c > @@ -0,0 +1,107 @@ > +/* SIMD-optimized IDCT functions for HEVC decoding > + > +av_cold void ff_hevc_dsp_init_ppc(HEVCDSPContext *c, const int bit_depth) > +{ > + > +#if HAVE_ALTIVEC

[libav-devel] [PATCH] hevc: Add HEVC IDCT 4x4 for PPC

2016-11-10 Thread Alexandra Hájková
From: Alexandra Hajkova --- libavcodec/hevcdsp.c | 2 + libavcodec/hevcdsp.h | 1 + libavcodec/ppc/Makefile | 1 + libavcodec/ppc/hevcdsp.c | 107 ++ libavcodec/ppc/hevcdsp_template.c | 50 ++

Re: [libav-devel] [PATCH 1/2] arm: Clear the gp register alias at the end of functions

2016-11-10 Thread Martin Storsjö
On Thu, 10 Nov 2016, Martin Storsjö wrote: We reset .Lpic_gp to zero at the start of each function, which means that the logic within movrelx for clearing gp when necessary will be missed. This fixes using movrelx in different functions with a different helper register. --- libavutil/arm/asm.S

Re: [libav-devel] [PATCH 2/2] arm: vp9mc: Use a different helper register for PIC loads

2016-11-10 Thread Martin Storsjö
On Thu, 10 Nov 2016, Martin Storsjö wrote: This fixes crashes since 557c1675cf in linux PIC builds. Previously, movrelx silently used r12 as helper register, which doesn't work when r12 is the destination register. --- libavcodec/arm/vp9mc_neon.S | 4 ++-- 1 file changed, 2 insertions(+), 2 dele

[libav-devel] [PATCH 1/2] arm: Clear the gp register alias at the end of functions

2016-11-10 Thread Martin Storsjö
We reset .Lpic_gp to zero at the start of each function, which means that the logic within movrelx for clearing gp when necessary will be missed. This fixes using movrelx in different functions with a different helper register. --- libavutil/arm/asm.S | 3 +++ 1 file changed, 3 insertions(+) dif

[libav-devel] [PATCH 2/2] arm: vp9mc: Use a different helper register for PIC loads

2016-11-10 Thread Martin Storsjö
This fixes crashes since 557c1675cf in linux PIC builds. Previously, movrelx silently used r12 as helper register, which doesn't work when r12 is the destination register. --- libavcodec/arm/vp9mc_neon.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/arm/vp9mc_

Re: [libav-devel] [PATCH] hlsenc: Add encryption support

2016-11-10 Thread Anton Khirnov
Quoting Luca Barbato (2016-11-02 16:34:56) > Partially based on Christian Suloway work. > --- > > Now with documentation. > > doc/muxers.texi | 13 > libavformat/hlsenc.c | 189 > ++- > 2 files changed, 184 insertions(+), 18 deletions(

Re: [libav-devel] [PATCH 1/2] crypto: Add encryption support

2016-11-10 Thread Anton Khirnov
Quoting Luca Barbato (2016-11-02 16:33:38) > From: Christian Suloway > > Signed-off-by: Christian Suloway > Signed-off-by: Michael Niedermayer > Signed-off-by: Luca Barbato > --- > libavformat/crypto.c | 164 > --- > 1 file changed, 144 inserti

Re: [libav-devel] [PATCHv3 2/3] aarch64: vp9: Add NEON optimizations of VP9 MC functions

2016-11-10 Thread Janne Grunau
On 2016-11-05 14:15:02 +0200, Martin Storsjö wrote: > This work is sponsored by, and copyright, Google. > > These are ported from the ARM version; it is essentially a 1:1 > port with no extra added features, but with some hand tuning > (especially for the plain copy/avg functions). The ARM version

Re: [libav-devel] [PATCH 3/3] arm: vp9mc: Minor adjustments from review of the aarch64 version

2016-11-10 Thread Janne Grunau
On 2016-11-05 14:15:03 +0200, Martin Storsjö wrote: > This work is sponsored by, and copyright, Google. > > The speedup for the large horizontal filters is surprisingly > big on A7 and A53, while it's within measurement noise on > A8 and A9. > > CortexA7A8

Re: [libav-devel] [PATCH 3/3] aarch64: h264idct: Use the offset parameter to movrel

2016-11-10 Thread Janne Grunau
On 2016-11-09 12:00:50 +0200, Martin Storsjö wrote: > --- > libavcodec/aarch64/h264idct_neon.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/aarch64/h264idct_neon.S > b/libavcodec/aarch64/h264idct_neon.S > index ee23977..1c43c1f 100644 > --- a/libavcodec/aar

Re: [libav-devel] [PATCH 2/3] aarch64: vp9mc: Use movrel macro with separate offset parameter

2016-11-10 Thread Janne Grunau
On 2016-11-09 12:00:49 +0200, Martin Storsjö wrote: > --- > This goes on top of the latest version of the main aarch64 vp9 mc patch. > --- > libavcodec/aarch64/vp9mc_neon.S | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/aarch64/vp9mc_neon.S b/libavcodec/aa

Re: [libav-devel] [PATCH 1/3] aarch64: Add an offset parameter to the movrel macro

2016-11-10 Thread Janne Grunau
On 2016-11-09 12:00:48 +0200, Martin Storsjö wrote: > With apple tools, the linker fails with errors like these, if the > offset is negative: > > ld: in section __TEXT,__text reloc 8: symbol index out of range for > architecture arm64 > --- > libavutil/aarch64/asm.S | 14 ++ > 1 file

Re: [libav-devel] [PATCH] hevc: Add HEVC IDCT 4x4 for PPC

2016-11-10 Thread Anton Khirnov
Quoting Alexandra Hájková (2016-11-05 14:32:58) > --- > Applied review comments as discussed. > Tested on both LE and BE. The patch does not apply. -- Anton Khirnov ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/list

Re: [libav-devel] [PATCH 2/2 v3] matroskaenc: write updated STREAMINFO metadata for FLAC streams if available

2016-11-10 Thread Anton Khirnov
Quoting James Almer (2016-11-09 22:38:24) > FLAC streams originating from the FLAC encoder send updated and more > complete STREAMINFO metadata as part of the last packet, so write that > to CodecPrivate instead of the incomplete one available in extradata > during init. > > Signed-off-by: James A