Sebastian Dröge [Fri, 19 Feb 2016 10:38:37 +0000 (12:38 +0200)]
Back to development
Sebastian Dröge [Fri, 19 Feb 2016 10:00:24 +0000 (12:00 +0200)]
Release 1.7.2
Edward Hervey [Tue, 16 Feb 2016 15:32:38 +0000 (16:32 +0100)]
avcfg: rc-min-rate and rc-max-rate are now 64bit integers
Switch the gobject properties and internal handling to support that
Sebastian Dröge [Tue, 16 Feb 2016 07:11:08 +0000 (09:11 +0200)]
avvidenc: Set width/height and format in the AVFrame we pass to the encoder API
Sebastian Dröge [Tue, 16 Feb 2016 07:02:21 +0000 (09:02 +0200)]
docs: Update docs to not have unstaged changes after build again
There are some new codec IDs that we probably would like to map too, e.g.
Dirac/VC2 and Cineform HD.
Sebastian Dröge [Mon, 15 Feb 2016 15:06:05 +0000 (17:06 +0200)]
libav: Update to n3.0
Thiago Santos [Fri, 5 Feb 2016 21:10:53 +0000 (18:10 -0300)]
Automatic update of common submodule
From 86e4663 to b64f03f
Sebastian Dröge [Mon, 25 Jan 2016 19:13:10 +0000 (20:13 +0100)]
avaudenc: Also use av_free() instead of g_free()
Sebastian Dröge [Mon, 25 Jan 2016 19:08:11 +0000 (20:08 +0100)]
avaudenc: Use av_malloc() instead of GLib malloc() wrappers for memory freed by ffmpeg
It has its own allocator that is not necessarily doing the same as malloc and
will then usually crash. E.g. on Windows or when memalign() is available.
Edward Hervey [Thu, 21 Jan 2016 16:35:51 +0000 (17:35 +0100)]
avvidec: Bring mpeg video decoders up to PRIMARY rank
We should have done that ages ago ...
https://bugzilla.gnome.org/show_bug.cgi?id=574461
Sebastian Dröge [Thu, 21 Jan 2016 09:41:45 +0000 (11:41 +0200)]
libav: Ensure to link with -lavfilter
Sebastian Dröge [Wed, 20 Jan 2016 08:31:40 +0000 (10:31 +0200)]
avviddec: Use AVFrame API instead of deprecated AVPicture API
Sebastian Dröge [Tue, 19 Jan 2016 07:42:47 +0000 (09:42 +0200)]
av: Use av_image_get_buffer_size() instead of deprecated avpicture_get_size()
Sebastian Dröge [Tue, 19 Jan 2016 07:39:00 +0000 (09:39 +0200)]
avdemux: Use av_packet_unref() instead of deprecated av_free_packet()
Sebastian Dröge [Tue, 19 Jan 2016 07:36:01 +0000 (09:36 +0200)]
avvidenc: Use AVPacket.flags for detecting keyframes
AVCodec.coded_frame is deprecated and will disappear at some point
in the future.
Sebastian Dröge [Sat, 16 Jan 2016 14:43:16 +0000 (16:43 +0200)]
avdeinterlace: Chain up to parent class' dispose()
https://bugzilla.gnome.org/show_bug.cgi?id=757498
Sebastian Dröge [Sat, 16 Jan 2016 14:40:52 +0000 (16:40 +0200)]
libav: Bitrate field changed from int to int64_t, fix compiler warnings
Cast it to a gint64 for now though, as otherwise we will fail compilation
with ffmpeg 2.8.
https://bugzilla.gnome.org/show_bug.cgi?id=757498
Andreas Cadhalpun [Wed, 4 Nov 2015 20:18:56 +0000 (21:18 +0100)]
libav: Remove usage of deprecated API
https://bugzilla.gnome.org/show_bug.cgi?id=757498
Andreas Cadhalpun [Wed, 4 Nov 2015 20:16:18 +0000 (21:16 +0100)]
avdeinterlace: Port non-deprecated AVFilter API
https://bugzilla.gnome.org/show_bug.cgi?id=757498
Sebastian Dröge [Sat, 16 Jan 2016 10:09:31 +0000 (11:09 +0100)]
libav: Update to ffmpeg n2.8.5
Tim-Philipp Müller [Thu, 7 Jan 2016 17:13:29 +0000 (17:13 +0000)]
av: canonicalise av plugin name more consistently in more places
Use g_strdelimit(), make sure to include comma as well, which
isn't included in G_STR_DELIMITERS.
https://bugzilla.gnome.org/show_bug.cgi?id=734451
Sebastian Dröge [Thu, 24 Dec 2015 14:29:11 +0000 (15:29 +0100)]
Back to development
Sebastian Dröge [Thu, 24 Dec 2015 13:49:39 +0000 (14:49 +0100)]
Release 1.7.1
Sebastian Dröge [Thu, 24 Dec 2015 12:06:13 +0000 (13:06 +0100)]
avcodecmap: Add special mapping for mono channel layouts
In ffmpeg this is the same as FRONT_CENTER, but we distinguish between
FRONT_CENTER and MONO in GStreamer. Add an explicit mapping for this special
case in the translations functions.
https://bugzilla.gnome.org/show_bug.cgi?id=759846
Vineeth TM [Fri, 27 Nov 2015 02:16:07 +0000 (11:16 +0900)]
avviddec: remove realvideo slice_offset handling
Handling slice_offset in avviddec is resulting in invalid memory read.
Since rv decoders anyways handle slice_offset, removing the same to fix
memory mishandlings
https://bugzilla.gnome.org/show_bug.cgi?id=758726
Sebastian Dröge [Mon, 21 Dec 2015 11:41:02 +0000 (12:41 +0100)]
libav: Update to ffmpeg n2.8.4
Sebastian Dröge [Mon, 21 Dec 2015 11:34:11 +0000 (12:34 +0100)]
configure: Use -Bsymbolic-functions if available
While this is more useful for libraries, some of our plugins with multiple
files and some internal API can also benefit from this.
Sebastian Dröge [Wed, 16 Dec 2015 08:36:25 +0000 (09:36 +0100)]
docs: update to git
Nicolas Dufresne [Mon, 7 Dec 2015 14:11:30 +0000 (09:11 -0500)]
Automatic update of common submodule
From b319909 to 86e4663
Reynaldo H. Verdejo Pinochet [Wed, 2 Dec 2015 20:27:08 +0000 (12:27 -0800)]
Require libav provided by FFmpeg at run-time
Error out if system's libav* libraries are not
provided by FFmpeg. Libav-incompatible changes
were introduced to support the latter so we
can no longer support both.
https://bugzilla.gnome.org/show_bug.cgi?id=758183
Reynaldo H. Verdejo Pinochet [Tue, 24 Nov 2015 07:45:38 +0000 (23:45 -0800)]
Require libav provided by FFmpeg at build-time
Libav-incompatible changes were introduced to support
FFmpeg and we can no longer properly support Libav.
FFmpeg micro versions for libav* start at 100 (this was
done to differentiate from Libav builds). We use this
to bail at configure time if the system libav* libraries
are not provided by FFmpeg.
https://bugzilla.gnome.org/show_bug.cgi?id=758183
Sebastian Dröge [Tue, 1 Dec 2015 13:12:22 +0000 (15:12 +0200)]
libav: Update to n2.8.3
Sebastian Dröge [Mon, 30 Nov 2015 17:01:41 +0000 (19:01 +0200)]
avviddec: Make sure to use a buffer pool with the correct width/height configured on it for pushing buffers downstream
If downstream does not provide a (usable) pool, we would use our internal
pool. But the internal pool might be configured with a different width/height
because of padding, which then will cause problems if we push buffers from it
directly downstream.
Instead create a new pool if the width/height is different.
This prevents crashes with vaapisink and d3dvideosink for example.
Based on the debugging results and discussions with
Nicolas Dufresne <nicolas.dufresne@collabora.com>
https://bugzilla.gnome.org/show_bug.cgi?id=758344
Vineeth T M [Mon, 23 Nov 2015 01:31:39 +0000 (10:31 +0900)]
avviddec: Fix structure memory leak
gst_structure_copy already takes a reference for config_copy.
No need to take another reference while setting it to buffer pool
https://bugzilla.gnome.org/show_bug.cgi?id=758512
Reynaldo H. Verdejo Pinochet [Fri, 20 Nov 2015 18:48:47 +0000 (10:48 -0800)]
Remove unnecessary NULL checks before g_free()
g_free() is NULL-safe
(Includes unrelated formatting change to go through
indent checker commit hook)
Sebastian Dröge [Thu, 12 Nov 2015 09:44:25 +0000 (10:44 +0100)]
libav: Update to n2.8.2
Nicolas Dufresne [Sat, 7 Nov 2015 17:11:57 +0000 (12:11 -0500)]
avviddec: Don't fallback on allocation failure
Allocation should keep working, falling back causes the stride to
change which is not supported in direct rendering.
https://bugzilla.gnome.org/show_bug.cgi?id=756028
Vineeth TM [Mon, 2 Nov 2015 01:00:55 +0000 (10:00 +0900)]
avvidenc: Fix frame memory leak
The frame being passed to handle_frame should be unref'ed in all cases
https://bugzilla.gnome.org/show_bug.cgi?id=757453
Vineeth TM [Mon, 2 Nov 2015 01:20:02 +0000 (10:20 +0900)]
avdemux: Fix string memory leaks
https://bugzilla.gnome.org/show_bug.cgi?id=757454
Mark Nauwelaerts [Mon, 26 Oct 2015 18:54:10 +0000 (19:54 +0100)]
avviddec: _drain and _finish need slightly different handling
... since they handle separate cases in video decoder with different requirements.
Consider e.g. x264enc ! rtph264pay ! identity drop-probability=0.1 ! rtph264depay
to illustrate a need for such separation.
Tim-Philipp Müller [Wed, 21 Oct 2015 13:37:05 +0000 (14:37 +0100)]
Automatic update of common submodule
From b99800a to b319909
Sebastian Dröge [Tue, 20 Oct 2015 14:29:42 +0000 (17:29 +0300)]
Use new GST_ENABLE_EXTRA_CHECKS #define
https://bugzilla.gnome.org/show_bug.cgi?id=756870
Sebastian Dröge [Wed, 21 Oct 2015 11:28:34 +0000 (14:28 +0300)]
Automatic update of common submodule
From 9aed1d7 to b99800a
Sebastian Dröge [Fri, 16 Oct 2015 15:52:57 +0000 (18:52 +0300)]
avviddec: Fix bufferpool config double free by taking a copy as needed
Also free the config in two code paths where we leaked it before.
Sebastian Dröge [Wed, 14 Oct 2015 07:18:01 +0000 (10:18 +0300)]
libav: Update to n2.8.1
Thiago Santos [Sat, 10 Oct 2015 00:22:12 +0000 (21:22 -0300)]
avcodecmap: add jpeg2000 decoder mapping
Map the 3 possible jpeg2000 caps to JPEG2000 codec id
Sebastian Dröge [Sat, 3 Oct 2015 17:25:35 +0000 (18:25 +0100)]
avcodecmap: Don't allocate dummy codec data anymore, it causes crashes nowadays
Multithreaded encoders are going to free this dummy codec data twice, e.g.
with this pipeline
gst-launch-1.0 videotestsrc num-buffers=40 ! \
videoconvert ! avenc_mjpeg ! fakesink
Sebastian Dröge [Sat, 3 Oct 2015 17:14:05 +0000 (18:14 +0100)]
avvidenc: Pass the correct user_data to gst_buffer_new_wrapped_full()
Fixes crash with e.g.
gst-launch-1.0 videotestsrc num-buffers=40 ! \
videoconvert ! avenc_huffyuv ! fakesink
Sebastian Dröge [Fri, 2 Oct 2015 20:02:01 +0000 (23:02 +0300)]
libav: G_CONST_RETURN is deprecated since GLib 2.30
Sebastian Dröge [Fri, 2 Oct 2015 19:26:36 +0000 (22:26 +0300)]
Add configure check for GLib for consistency with other modules
Luis de Bethencourt [Fri, 2 Oct 2015 10:49:35 +0000 (11:49 +0100)]
avviddec: only free config when pool doesn't take ownership
Since gst_buffer_pool_set_config() takes ownership of the config structure,
it is only necessary to free the structure before using it when the true
branch of if (gst_buffer_pool_config_validate_params) hasn't run.
gst_buffer_pool_set_config() always takes ownership of the structure
regardless of success or failure. Which means the return, checked with
if (!working_pool), has no relation to the state of the structure.
Luis de Bethencourt [Fri, 28 Aug 2015 14:15:39 +0000 (15:15 +0100)]
avviddec: fix memory leak
Free config before overwriting.
CID #1320708
Sebastian Dröge [Fri, 25 Sep 2015 21:51:15 +0000 (23:51 +0200)]
Back to development
Sebastian Dröge [Fri, 25 Sep 2015 21:32:21 +0000 (23:32 +0200)]
Release 1.6.0
Sebastian Dröge [Fri, 18 Sep 2015 18:10:32 +0000 (20:10 +0200)]
Release 1.5.91
Tim-Philipp Müller [Fri, 28 Aug 2015 08:38:53 +0000 (09:38 +0100)]
avvidec: increase default alignment to 32 bytes
Change default alignment from 16 to 32 bytes, which fixes crashes
when decoding H.265 using AVX2-based decoder code paths and when
using ximagesink/glimagesink.
https://bugzilla.gnome.org/show_bug.cgi?id=754120
Tim-Philipp Müller [Fri, 11 Sep 2015 22:19:21 +0000 (23:19 +0100)]
avvideodec: ensure required mem alignment fixing avdec_h265 crashes with ximagesink/glimagesink
Make sure the alignment requirement in GstAllocationParams
matches the GstVideoAlignment requirements. This fixes
issues with avdec_h265 crashing in the avx2 code path when
used with playbin and ximagesink/glimagesink as videosink.
The internal video pool would allocate buffers with an
alignment of 15 even though GstVideoAlignment specified
a stride_align requirement of 31 (which comes from ffmpeg).
https://bugzilla.gnome.org/show_bug.cgi?id=754120
Sebastian Dröge [Sat, 12 Sep 2015 12:06:10 +0000 (14:06 +0200)]
libav: Update to ffmpeg n2.8
https://bugzilla.gnome.org/show_bug.cgi?id=754920
Jan Schmidt [Wed, 29 Jul 2015 15:24:54 +0000 (01:24 +1000)]
avvid/audenc: Set some tags in the output for downstream's info
Add the codec name and bitrate into the output for informational
purposes. Bitrate in particular is now used by flvmux to set
videodatarate and audiodatarate in the resulting stream
Nicolas Dufresne [Thu, 20 Aug 2015 15:02:11 +0000 (08:02 -0700)]
avviddec: Fix pool reallocation logic
Some check where incorect and also unsafe. The only reliable information
in get_buffer2 is the picture width/height really. The side effect is
that the width/height of the internal pool endup padded, so when we
switch we also need to switch to the a new width/height, hence we save
the pool info.
https://bugzilla.gnome.org/show_bug.cgi?id=753869
Sebastian Dröge [Wed, 19 Aug 2015 11:12:35 +0000 (14:12 +0300)]
Release 1.5.90
Nicolas Dufresne [Sun, 16 Aug 2015 17:08:16 +0000 (19:08 +0200)]
aviddec: Re-enable direct rendering
This is achieved by using a tempory internal pool. We can then switch to a
downstream pool if the downstream pool buffer have matching strides.
https://bugzilla.gnome.org/show_bug.cgi?id=752802
Thiago Santos [Mon, 17 Aug 2015 07:36:39 +0000 (04:36 -0300)]
avvidenc: use template subset check for accept-caps
It is faster than doing a query that propagates downstream and
should be enough
Thiago Santos [Mon, 17 Aug 2015 07:35:41 +0000 (04:35 -0300)]
avaudenc: use pad template caps for accept-caps
use template subset check for accept-caps
It is faster than doing a query that propagates downstream and
should be enough
Thiago Santos [Sun, 16 Aug 2015 17:14:27 +0000 (14:14 -0300)]
avaudenc: remove useless getcaps method
It just calls the exact same function as the default handler
Thiago Santos [Sun, 16 Aug 2015 17:13:05 +0000 (14:13 -0300)]
avvidenc: remove useless getcaps method
It just calls the exact same function as the default handler
Thiago Santos [Sat, 15 Aug 2015 10:30:26 +0000 (07:30 -0300)]
avauddec: let audiodecoder call the default pad query handler
Avoids repeating the same handling in many decoders
Thiago Santos [Sat, 15 Aug 2015 10:18:07 +0000 (07:18 -0300)]
avviddec: let videodecoder call the default pad query handler
Avoids repeating the same handling in many decoders
Sebastian Dröge [Sat, 15 Aug 2015 10:51:19 +0000 (12:51 +0200)]
libav: Update to n2.7.2
Thiago Santos [Fri, 14 Aug 2015 11:22:39 +0000 (08:22 -0300)]
avviddec: use template caps intersection for accept-caps
Avoid doing downstream caps queries when accept-caps should just
do a shallow caps check on the element itself
https://bugzilla.gnome.org/show_bug.cgi?id=753623
Thiago Santos [Fri, 14 Aug 2015 11:21:51 +0000 (08:21 -0300)]
avauddec: use template caps intersection for accept-caps
Avoid doing downstream caps queries when accept-caps should just
do a shallow caps check on the element itself
https://bugzilla.gnome.org/show_bug.cgi?id=753623
Jan Schmidt [Thu, 30 Jul 2015 13:07:39 +0000 (23:07 +1000)]
Map ffmpeg metadata to GStreamer tags
Update to the metadata API ffmpeg has had in
place for a long time now, and reenable output
of GStreamer tags from the demuxer.
https://bugzilla.gnome.org/show_bug.cgi?id=566605
Olivier Crête [Tue, 28 Jul 2015 21:54:23 +0000 (17:54 -0400)]
avviddec: Remove unused force parameter
This parameter has been always false for a long time.
Olivier Crête [Tue, 4 Aug 2015 01:40:12 +0000 (21:40 -0400)]
avviddec: Use caps-like size in get_buffer2()
The size in the AVFrame in get_buffer2 don't match the output size,
instead they match ffmpeg's memory requirements, so we can't compare
them from the values of the output AVFrame. Those are comparable to
the values in the passed AVCodecContext.
Olivier Crête [Tue, 4 Aug 2015 01:02:37 +0000 (21:02 -0400)]
avviddec: Reset current_dr on close and when not chosing it
https://bugzilla.gnome.org/show_bug.cgi?id=753189
Olivier Crête [Tue, 28 Jul 2015 20:16:10 +0000 (16:16 -0400)]
avviddec: Disable direct rendering before a frame has been produces
ffmpeg doesn't provide the final's image width & height in the get_buffer2()
callback, so it's not possible to create an output state for GstVideoDecoder
at this stage. So only try to do direct rendering if the buffer pool has already
been negotiated based on the final decoded size.
This partially reverts the effects of
2e621f8db
https://bugzilla.gnome.org/show_bug.cgi?id=752802
Sebastian Dröge [Tue, 28 Jul 2015 08:19:52 +0000 (11:19 +0300)]
Revert "For static builds, add the ffmpeg library directories to the linker flags"
This reverts commit
ac3437153dc6cb3d82cdda0d1f60ffc5600fdf67.
Doesn't actually make sense as it will put the (uninstalled) library paths
into the installed .la files. How does this all work?
Sebastian Dröge [Tue, 28 Jul 2015 08:02:47 +0000 (11:02 +0300)]
For static builds, add the ffmpeg library directories to the linker flags
Olivier Crête [Mon, 27 Jul 2015 22:49:49 +0000 (18:49 -0400)]
avviddec: Get code out of loop
Code was executed only on the first iteration, so just pull it out
of the loop entirely. This makes it clear it has nothing to do with the loop.
Olivier Crête [Mon, 27 Jul 2015 22:44:53 +0000 (18:44 -0400)]
avviddec: Only create the AVBuffer once the stride is validated
If it is created earlier and the stride is invalid, then the frame
will be freed and it won't be possible to use it in the fallback path.
Not doing this causes a segfault because it will try to use
already freed memory.
Olivier Crête [Mon, 27 Jul 2015 19:29:49 +0000 (15:29 -0400)]
avviddec: Re-enable direct rendering
Olivier Crete [Sat, 25 Jul 2015 06:54:20 +0000 (02:54 -0400)]
avauddec: Read channels from the channels field
If there is no layout, just read the channel count from the
channels field.
https://bugzilla.gnome.org/show_bug.cgi?id=752186
Olivier Crête [Thu, 23 Jul 2015 23:15:43 +0000 (19:15 -0400)]
avviddec: Ignore negotiation error on shutdown
https://bugzilla.gnome.org/show_bug.cgi?id=752800
Olivier Crête [Sat, 25 Jul 2015 07:05:25 +0000 (03:05 -0400)]
avauddec: Access field using accessors
Those fields are documented to only be safe to access using
accessors as their position is not part of the ABI.
James Smith [Wed, 22 Jul 2015 08:44:27 +0000 (09:44 +0100)]
Add support for musepack (mpc) sv8 audio
https://bugzilla.gnome.org/show_bug.cgi?id=732682
Vineeth T M [Thu, 16 Jul 2015 09:17:05 +0000 (18:17 +0900)]
avviddec: fix slice_offset memory leak
In case of real videos, slice_offset is being allocated,
but the same is not being freed.
https://bugzilla.gnome.org/show_bug.cgi?id=752404
Tim-Philipp Müller [Thu, 16 Jul 2015 16:24:48 +0000 (17:24 +0100)]
Update mailing list in doap file
Sebastian Dröge [Tue, 7 Jul 2015 14:52:49 +0000 (17:52 +0300)]
Disable iconv support to fix Windows build
It's needed only for subtitle charset conversion, and we don't
use the ffmpeg subtitle support anyway.
Also disable d3d11va and dxva2 support, we don't use the hardware
codec support.
Stefan Sauer [Fri, 3 Jul 2015 19:59:42 +0000 (21:59 +0200)]
Automatic update of common submodule
From f74b2df to 9aed1d7
Heinrich Fink [Thu, 2 Jul 2015 13:44:45 +0000 (15:44 +0200)]
Fix OSX build: Explicitly disable VDA h264 decoder
VideoDecodeAcceleration framework is deprecated in 10.11, and currently
cuases linker errors when compiling on OSX. Oddly, --disable-hwaccels
did not also disable h264_vda already.
https://bugzilla.gnome.org/show_bug.cgi?id=751838
Sebastian Dröge [Wed, 1 Jul 2015 20:40:02 +0000 (22:40 +0200)]
Make the LGPL build the default and require --enable-gpl to build a GPL licensed version
Sebastian Dröge [Wed, 1 Jul 2015 20:11:52 +0000 (22:11 +0200)]
avmux: Blacklist some subtitle and adaptive streaming muxers
Sebastian Dröge [Tue, 30 Jun 2015 10:05:46 +0000 (12:05 +0200)]
Switch from libav v11.4 to ffmpeg n2.7.1
ffmpeg seems to be the one of the two forks, which is most widely used by
Linux distributions and in general. Also Google is using it for e.g. Chrome
and has engineers working on finding and fixing security issues in it.
https://bugzilla.gnome.org/show_bug.cgi?id=751607
Sebastian Dröge [Tue, 30 Jun 2015 17:59:54 +0000 (19:59 +0200)]
avaudenc: Remember how many samples the codec consumed for telling the base class
Thomas Bluemel [Tue, 30 Jun 2015 17:18:53 +0000 (19:18 +0200)]
avauddec: Ensure input buffers have FF_INPUT_BUFFER_PADDING_SIZE padding, which is required by avcodec_decode_audio4 ()
Sebastian Dröge [Mon, 29 Jun 2015 11:29:05 +0000 (13:29 +0200)]
avmux: Ignore stream_segment,ssegment muxer that is provided by ffmpeg
The comma confuses our code, e.g. it's not a valid element name or structure
name.
Sebastian Dröge [Sun, 28 Jun 2015 14:54:35 +0000 (16:54 +0200)]
avvidenc: Fix compiler warning
gstavvidenc.c: In function 'gst_ffmpegvidenc_flush_buffers':
gstavvidenc.c:733:7: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
GstFFMpegVidEncClass *oclass =
^
cc1: all warnings being treated as errors
Sebastian Dröge [Sun, 28 Jun 2015 14:35:46 +0000 (16:35 +0200)]
avvidenc: Set AVFrame flags for interlacing per frame and not in set_format()
They will get overridden by av_frame_unref() with the defaults.
Sebastian Dröge [Sun, 28 Jun 2015 14:32:02 +0000 (16:32 +0200)]
av{aud,vid}enc: Create wrapped output buffers with GST_MEMORY_FLAG_READONLY
libav might still have references to the buffers itself and uses a writability
system similar to ours based on reference counts.
Sebastian Dröge [Sun, 28 Jun 2015 14:30:54 +0000 (16:30 +0200)]
avvidenc: Properly wrap and free the output AVPackets generated during draining