platform/upstream/gst-libav.git
9 years agoavviddec: If a flow return during draining is not OK, don't drain any further
Sebastian Dröge [Mon, 9 Mar 2015 21:02:19 +0000 (22:02 +0100)]
avviddec: If a flow return during draining is not OK, don't drain any further

9 years agoavviddec: Error out if we try to allocate a buffer without being negotiated
Sebastian Dröge [Mon, 9 Mar 2015 21:01:43 +0000 (22:01 +0100)]
avviddec: Error out if we try to allocate a buffer without being negotiated

Otherwise we just run into assertions because we should've errored out
already.

9 years agoavdemux: remove duplicate goto block
Luis de Bethencourt [Thu, 5 Mar 2015 14:25:16 +0000 (14:25 +0000)]
avdemux: remove duplicate goto block

9 years agoavdemux: check AVIO Context has been allocated
Luis de Bethencourt [Thu, 5 Mar 2015 14:23:44 +0000 (14:23 +0000)]
avdemux: check AVIO Context has been allocated

9 years agoAdd drain() vfunc implementation that does the same as finish()
Jan Schmidt [Sat, 7 Feb 2015 18:35:19 +0000 (05:35 +1100)]
Add drain() vfunc implementation that does the same as finish()

finish() is called at EOS, drain() is called at all other times
when the decoder should be drained out. gst-libav decoder behaviour
is the same in both cases, so use the same implementation

See https://bugzilla.gnome.org/show_bug.cgi?id=734617

9 years agoavviddec: Implement SKIP and new SKIP_KEY_UNITS_ONLY flags
Jan Schmidt [Thu, 11 Dec 2014 10:07:44 +0000 (21:07 +1100)]
avviddec: Implement SKIP and new SKIP_KEY_UNITS_ONLY flags

Respect any skip flags set in the incoming segment.

https://bugzilla.gnome.org/show_bug.cgi?id=735666

9 years agolibav: Update to v11.2
Sebastian Dröge [Sat, 17 Jan 2015 21:13:36 +0000 (22:13 +0100)]
libav: Update to v11.2

9 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 12 Jan 2015 15:13:15 +0000 (16:13 +0100)]
Automatic update of common submodule

From f2c6b95 to bc76a8b

9 years agoAutomatic update of common submodule
Sebastian Dröge [Thu, 18 Dec 2014 09:56:03 +0000 (10:56 +0100)]
Automatic update of common submodule

From ef1ffdc to f2c6b95

9 years agolibav: Update to v11.1
Sebastian Dröge [Fri, 12 Dec 2014 08:57:35 +0000 (09:57 +0100)]
libav: Update to v11.1

9 years agoav: use GMutex instead of deprecated GStaticMutex
Aurélien Zanelli [Thu, 27 Nov 2014 19:44:31 +0000 (20:44 +0100)]
av: use GMutex instead of deprecated GStaticMutex

https://bugzilla.gnome.org/show_bug.cgi?id=740822

9 years agoAutomatic update of common submodule
Edward Hervey [Thu, 27 Nov 2014 16:12:26 +0000 (17:12 +0100)]
Automatic update of common submodule

From 7bb2bce to ef1ffdc

9 years agovideodec: Ensure update_pool is initialized
Nicolas Dufresne [Sun, 16 Nov 2014 21:11:53 +0000 (16:11 -0500)]
videodec: Ensure update_pool is initialized

This was probably not causing any issues, but we would randomly
and needlessly update the pool in the query due to uninitialized
variable.

10 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 27 Oct 2014 17:00:07 +0000 (18:00 +0100)]
Automatic update of common submodule

From 84d06cd to 7bb2bce

10 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 21 Oct 2014 12:03:27 +0000 (13:03 +0100)]
Automatic update of common submodule

From a8c8939 to 84d06cd

10 years agoAutomatic update of common submodule
Stefan Sauer [Tue, 21 Oct 2014 10:59:52 +0000 (12:59 +0200)]
Automatic update of common submodule

From 36388a1 to a8c8939

10 years agoavauddec: drain samples until libav doesn't have more data
Aleix Conchillo Flaqué [Mon, 22 Sep 2014 21:00:07 +0000 (14:00 -0700)]
avauddec: drain samples until libav doesn't have more data

We use have_data (that comes from libav), instead of only trying 10
times, to know if there are more samples available. The old code was
machine dependent as different amount of samples could be decoded by
different type of (more powerful) machines, and 10 times was not always
sufficient.

https://bugzilla.gnome.org/show_bug.cgi?id=737144

10 years agolibav: Update to v11
Sebastian Dröge [Mon, 15 Sep 2014 19:50:05 +0000 (22:50 +0300)]
libav: Update to v11

10 years agoavviddec: drain frames until libav doesn't have more data
IBM Thinklab [Thu, 11 Sep 2014 23:37:33 +0000 (19:37 -0400)]
avviddec: drain frames until libav doesn't have more data

We use have_data (that comes from libav), instead of only trying 10 times,
to know if there are more frames available. The old code was machine
dependant as different amount of frames could be decoded by different
type of (more powerful) machines, and 10 times was not always sufficient.

https://bugzilla.gnome.org/show_bug.cgi?id=736515

10 years agolibav: Update to v11_beta1
Sebastian Dröge [Wed, 27 Aug 2014 09:39:49 +0000 (12:39 +0300)]
libav: Update to v11_beta1

10 years agolibav: Minor changes to build properly with v11alpha1
Sebastian Dröge [Tue, 12 Aug 2014 13:17:11 +0000 (16:17 +0300)]
libav: Minor changes to build properly with v11alpha1

10 years agolibav: Update to v11alpha1
Sebastian Dröge [Tue, 12 Aug 2014 12:54:04 +0000 (15:54 +0300)]
libav: Update to v11alpha1

10 years agoavviddec: After draining frames, flush the libav decoder
Jan Schmidt [Fri, 8 Aug 2014 10:04:20 +0000 (20:04 +1000)]
avviddec: After draining frames, flush the libav decoder

Makes sure that there's really nothing stale left in the decoder
after draining.

https://bugzilla.gnome.org/show_bug.cgi?id=734661

10 years agoavviddec: Don't lose frames on EOS
Aleix Conchillo Flaqué [Mon, 11 Aug 2014 12:16:55 +0000 (14:16 +0200)]
avviddec: Don't lose frames on EOS

have_data is not propagated from gst_ffmpegviddec_video_frame to
gst_ffmpegviddec_frame. have_data is only set to 1 in
gst_ffmpegviddec_frame if a frame pointer is passed. However, this is
not true while draining, which means that have_data from libav will be
ignored.

https://bugzilla.gnome.org/show_bug.cgi?id=734608

10 years agoavauddec: Bump the rank of avdec_aac so it is used by default
Thibault Saunier [Wed, 6 Aug 2014 08:14:17 +0000 (10:14 +0200)]
avauddec: Bump the rank of avdec_aac so it is used by default

https://bugzilla.gnome.org/show_bug.cgi?id=676131

10 years agolibav: Update to v10.3
Sebastian Dröge [Mon, 4 Aug 2014 13:06:50 +0000 (15:06 +0200)]
libav: Update to v10.3

10 years agoMakefile: Add usage of build-checks step
Edward Hervey [Fri, 1 Aug 2014 08:41:28 +0000 (10:41 +0200)]
Makefile: Add usage of build-checks step

Allows building checks without running them

10 years agoBack to development
Sebastian Dröge [Sat, 19 Jul 2014 16:04:49 +0000 (18:04 +0200)]
Back to development

10 years agoRelease 1.4.0 1.4.0
Sebastian Dröge [Sat, 19 Jul 2014 15:49:04 +0000 (17:49 +0200)]
Release 1.4.0

10 years agoRelease 1.3.91 1.3.91
Sebastian Dröge [Fri, 11 Jul 2014 09:49:03 +0000 (11:49 +0200)]
Release 1.3.91

10 years agoRelease 1.3.90 1.3.90
Sebastian Dröge [Sat, 28 Jun 2014 09:44:41 +0000 (11:44 +0200)]
Release 1.3.90

10 years agolibav: Update to v10.2
Sebastian Dröge [Sat, 28 Jun 2014 07:59:49 +0000 (09:59 +0200)]
libav: Update to v10.2

10 years agoBack to development
Sebastian Dröge [Sun, 22 Jun 2014 17:36:14 +0000 (19:36 +0200)]
Back to development

10 years agoRelease 1.3.3 1.3.3
Sebastian Dröge [Sun, 22 Jun 2014 17:27:47 +0000 (19:27 +0200)]
Release 1.3.3

10 years agoavvidenc: Make sure to fixate caps before setting them on the pad
Sebastian Dröge [Sat, 21 Jun 2014 16:29:32 +0000 (18:29 +0200)]
avvidenc: Make sure to fixate caps before setting them on the pad

After the recent addition of negotiation support for MPEG4 part 2
profiles via caps it can happen that the generated caps at this
point still contain multiple profiles. For example if downstream
does not care. Just fixate anything here and use those caps.

10 years agoavcodecmap: place supported profiles in mpeg4 caps
Wim Taymans [Fri, 6 Jun 2014 14:52:28 +0000 (16:52 +0200)]
avcodecmap: place supported profiles in mpeg4 caps

Place the supported profiles in the srcpad caps of the mpeg4 encoder.

10 years agoavcodecmap: remove deprecated media types
Wim Taymans [Fri, 6 Jun 2014 14:25:43 +0000 (16:25 +0200)]
avcodecmap: remove deprecated media types

Remove x-xvid and x-3ivx. The last place where they were used are
in the srcpad caps of the decoder but since the decoder will never
actually output those caps we can safely remove them.

10 years agocodecmap: don't expose more deprecated media types
Wim Taymans [Fri, 6 Jun 2014 14:19:07 +0000 (16:19 +0200)]
codecmap: don't expose more deprecated media types

x-xvid is deprecated, we don't want to expose it on the encoder, just
leave it only exposed on the decoder.

10 years agoRevert "avcodecmap: do more reverse mapping of MPEG4"
Wim Taymans [Fri, 6 Jun 2014 14:16:27 +0000 (16:16 +0200)]
Revert "avcodecmap: do more reverse mapping of MPEG4"

This reverts commit e066785ad05f9119e3c1eded46260bcabd556b4d.

x-xvid and x-3ivx are removed, we don't want to expose them again.

10 years agoavaudenc: add a comment about using -1 in _finish_frame
Vincent Penquerc'h [Fri, 6 Jun 2014 11:40:57 +0000 (12:40 +0100)]
avaudenc: add a comment about using -1 in _finish_frame

See https://bugzilla.gnome.org/show_bug.cgi?id=729268

10 years agoavaudenc: avoid using wrong number of samples
Vincent Penquerc'h [Wed, 30 Apr 2014 14:30:45 +0000 (15:30 +0100)]
avaudenc: avoid using wrong number of samples

If audio_in is NULL, we'll send a NULL frame to libav, to flush
the codec. In that case, we won't know how many samples the codec
will have used, so we use -1 (for don't know) when letting the
base class know about the buffer.

Coverity 1195177

10 years agoavvidenc: Fix indention and "bracketing" of goto labels
Sebastian Dröge [Mon, 2 Jun 2014 07:27:17 +0000 (09:27 +0200)]
avvidenc: Fix indention and "bracketing" of goto labels

Should fix CID 1219865, which looks like the code analysis
algorithm was just confused.

10 years agoavcodecmap: handle simple and advanced-simple profile in MPEG4
Wim Taymans [Thu, 29 May 2014 16:24:20 +0000 (18:24 +0200)]
avcodecmap: handle simple and advanced-simple profile in MPEG4

Always enable 4MV flag for MPEG4
Pare the profile property and enable more features for advanced-simple
profile.
video/x-xvid is advanced-simple profile so enable more features.
We now also support encoding of video/x-xvid so add this to the caps.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=651320

10 years agoavvidenc: do all negotiation before opening the decoder
Wim Taymans [Thu, 29 May 2014 16:16:42 +0000 (18:16 +0200)]
avvidenc: do all negotiation before opening the decoder

We first want to complete negotiation before opening the encoder.
Negotiation might configure flags and other things that might be needed
when opening the encoder.

10 years agoavcodecmap: do more reverse mapping of MPEG4
Wim Taymans [Thu, 29 May 2014 15:00:23 +0000 (17:00 +0200)]
avcodecmap: do more reverse mapping of MPEG4

We previously mapped some caps to MPEG4 and codec_tag so we can use the
codec_tag again to map to the original caps.

10 years agoavdemux: use GstFlowCombiner
Thiago Santos [Mon, 26 May 2014 19:04:50 +0000 (16:04 -0300)]
avdemux: use GstFlowCombiner

To remove replicated code from all demuxers to a single standard way
of aggregating flow returns

10 years agoavdemux: remove legacy check from pad-alloc times
Thiago Santos [Mon, 26 May 2014 19:02:11 +0000 (16:02 -0300)]
avdemux: remove legacy check from pad-alloc times

The 'no_buffer' error case is from the 0.10 era when a pad_alloc was
made before decoding the data and avdemuxer could check again the
flow returns for a not-linked. This isn't a valid use case anymore in
1.0

10 years agoBack to development
Sebastian Dröge [Wed, 21 May 2014 11:23:36 +0000 (13:23 +0200)]
Back to development

10 years agoRelease 1.3.2 1.3.2
Sebastian Dröge [Wed, 21 May 2014 11:06:36 +0000 (13:06 +0200)]
Release 1.3.2

10 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 21 May 2014 08:53:31 +0000 (10:53 +0200)]
Automatic update of common submodule

From 211fa5f to 1f5d3c3

10 years agoavvidenc: Add thread-count parameter for libav encoders
Gavin Hurlbut [Tue, 18 Mar 2014 05:26:52 +0000 (22:26 -0700)]
avvidenc: Add thread-count parameter for libav encoders

As some libav encoders (such as MPEG2) use a thread_count parameter to control
how many threads to use, and since it was always being set to 0 (which uses
the default), suboptimal threading can sometimes be chosen.  This extends the
libav encoders to allow for a max-threads parameter which is passed into
the internal structure to control this knob if applicable to the encoder.

https://bugzilla.gnome.org/show_bug.cgi?id=726612

10 years agogstavviddec: Sanitize and fix qos handling.
Mathieu Duponchelle [Tue, 13 May 2014 18:17:17 +0000 (20:17 +0200)]
gstavviddec: Sanitize and fix qos handling.

gst_video_decoder_get_max_decding_time doesn't return a GstClockTime
but a GstClockTimeDiff, and thus one needs to compare it against
G_MAXINT_64.

The returning of a boolean and the extra subsequent code in _video_frame
was uselessly complicated.

The previous behaviour led to artefacts when the decoder tried to
hurry up.

https://bugzilla.gnome.org/show_bug.cgi?id=730075

10 years agoUpdate to libav 10.1
Sebastian Dröge [Wed, 14 May 2014 08:19:44 +0000 (10:19 +0200)]
Update to libav 10.1

10 years agovideodec: Don't use non-growable pool
Nicolas Dufresne [Thu, 27 Mar 2014 22:53:53 +0000 (18:53 -0400)]
videodec: Don't use non-growable pool

As we don't know how many output buffers we need to operate, we need to
avoid pool that can't grow. Otherwise the pipeline may stall, waiting
for buffers. For now, we require it to be able to grow to at least
32 buffers, which I think is a fair amount of buffers for decoders.

https://bugzilla.gnome.org/show_bug.cgi?id=726299

10 years agoBack to development
Sebastian Dröge [Sat, 3 May 2014 18:48:40 +0000 (20:48 +0200)]
Back to development

10 years agoRelease 1.3.1 1.3.1
Sebastian Dröge [Sat, 3 May 2014 16:34:52 +0000 (18:34 +0200)]
Release 1.3.1

10 years agoAutomatic update of common submodule
Sebastian Dröge [Sat, 3 May 2014 08:17:23 +0000 (10:17 +0200)]
Automatic update of common submodule

From bcb1518 to 211fa5f

10 years agolibav: avoid dividing by zero on insane fps/par
Vincent Penquerc'h [Wed, 30 Apr 2014 15:14:50 +0000 (16:14 +0100)]
libav: avoid dividing by zero on insane fps/par

While there, fix mixup in num/den with par (copied from fps,
apparently, and fps inverts fps to time base).

Coverity 1139696

10 years agoavvidenc: guard against division by zero
Vincent Penquerc'h [Wed, 30 Apr 2014 14:59:04 +0000 (15:59 +0100)]
avvidenc: guard against division by zero

and other nonsensical time base values while we're at it.

Coverity 1139699

10 years agoavaudenc: Fix leak of AVBufferRef
Sebastian Dröge [Tue, 29 Apr 2014 07:13:44 +0000 (09:13 +0200)]
avaudenc: Fix leak of AVBufferRef

AVPacket contains AVBufferRef which may leak unless unreffed properly.

https://bugzilla.gnome.org/show_bug.cgi?id=726814

10 years agoavvidenc: Fix leak of AVBufferRef
Stian Selnes [Fri, 21 Mar 2014 09:10:14 +0000 (10:10 +0100)]
avvidenc: Fix leak of AVBufferRef

AVPacket contains AVBufferRef which may leak unless unreffed properly.

https://bugzilla.gnome.org/show_bug.cgi?id=726814

10 years agoavaudenc: Fix compile without gst debug
Edward Hervey [Mon, 14 Apr 2014 11:37:02 +0000 (13:37 +0200)]
avaudenc: Fix compile without gst debug

We can just re-use the encoder variable

10 years agoavdemux: Remove unused variable
Edward Hervey [Tue, 8 Apr 2014 06:05:24 +0000 (08:05 +0200)]
avdemux: Remove unused variable

CID #1139943

10 years agocodecmap: Add missing break
Edward Hervey [Tue, 8 Apr 2014 06:00:55 +0000 (08:00 +0200)]
codecmap: Add missing break

CID #1139752

10 years agoavcodecmap: Add mapping for Apple Intermediate Codec
Sebastian Dröge [Sun, 6 Apr 2014 07:02:46 +0000 (09:02 +0200)]
avcodecmap: Add mapping for Apple Intermediate Codec

https://bugzilla.gnome.org/show_bug.cgi?id=727673

10 years agoUpdate to libav v10
Sebastian Dröge [Sat, 29 Mar 2014 09:45:16 +0000 (10:45 +0100)]
Update to libav v10

10 years agoavvidenc: discard input frame upon encoding error
Mark Nauwelaerts [Sat, 22 Mar 2014 16:10:24 +0000 (17:10 +0100)]
avvidenc: discard input frame upon encoding error

10 years agoadd docs directory to spec file
Christian Fredrik Kalager Schaller [Wed, 5 Mar 2014 16:40:13 +0000 (17:40 +0100)]
add docs directory to spec file

10 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 28 Feb 2014 08:36:02 +0000 (09:36 +0100)]
Automatic update of common submodule

From fe1672e to bcb1518

10 years agodocs: also reactivate make dist for the docs
Stefan Sauer [Thu, 27 Feb 2014 20:49:42 +0000 (21:49 +0100)]
docs: also reactivate make dist for the docs

10 years agoAutomatic update of common submodule
Stefan Sauer [Wed, 26 Feb 2014 21:14:28 +0000 (22:14 +0100)]
Automatic update of common submodule

From 1a07da9 to fe1672e

10 years agodocs: try to make the generated docs more useful
Stefan Sauer [Wed, 26 Feb 2014 21:05:23 +0000 (22:05 +0100)]
docs: try to make the generated docs more useful

Generate the section.txt file. Update the -docs.sgml file with the new sections.
If we want to actually see the baseclasses, we should define them with a _get_type() function
and have the wrapped types subclass them.

10 years agodocs: add the inspected data
Stefan Sauer [Wed, 26 Feb 2014 18:13:01 +0000 (19:13 +0100)]
docs: add the inspected data

Not even this file was previously in the repo.

10 years agodocs: make the docs build again
Stefan Sauer [Wed, 26 Feb 2014 11:01:52 +0000 (12:01 +0100)]
docs: make the docs build again

They are still bad, but if we don't want to have them, we should rather remove this totally.

10 years agoconfigure: add missing docs/plugins/Makefile
Stefan Sauer [Wed, 26 Feb 2014 10:52:07 +0000 (11:52 +0100)]
configure: add missing docs/plugins/Makefile

10 years agodocs: install prebuilt plugin docs if gtk-doc is disabled
Stefan Sauer [Wed, 26 Feb 2014 10:40:08 +0000 (11:40 +0100)]
docs: install prebuilt plugin docs if gtk-doc is disabled

Sync to the Makefile.am from gst-plugin-base where it is done right.
Fixes #725034

10 years agoavvidenc: make all properties work again
Mark Nauwelaerts [Sun, 23 Feb 2014 10:40:14 +0000 (11:40 +0100)]
avvidenc: make all properties work again

... as previously broken due to additional compliance property
(see 13ffed87b1597fa60ccee293f71c3993ec59d1b2).

10 years agoavmux: stream-start and segment event before data-flow
Mark Nauwelaerts [Sat, 22 Feb 2014 20:54:08 +0000 (21:54 +0100)]
avmux: stream-start and segment event before data-flow

10 years agoavviddec: rename hevc decoder element to h265 for consistency
Thijs Vermeir [Thu, 20 Feb 2014 19:39:29 +0000 (20:39 +0100)]
avviddec: rename hevc decoder element to h265 for consistency

We use h265 for the parser, typefinder, caps, etc. everywhere.

https://bugzilla.gnome.org/show_bug.cgi?id=724823

10 years agoavvidec: don't crash on EOS when no buffers have been received
Tim-Philipp Müller [Fri, 21 Feb 2014 13:18:47 +0000 (13:18 +0000)]
avvidec: don't crash on EOS when no buffers have been received

Fixes crash on EOS when no buffers have been received for some
reason, e.g. because the parser didn't output any.

fakesrc num-buffers=0 format=time ! avdec_h264 ! fakesink

10 years agolibav: Update to v10 beta1
Sebastian Dröge [Fri, 21 Feb 2014 08:28:16 +0000 (09:28 +0100)]
libav: Update to v10 beta1

10 years agoavaudenc: fix audio encoder flushing according to libav docs
Thiago Santos [Thu, 20 Feb 2014 20:25:35 +0000 (17:25 -0300)]
avaudenc: fix audio encoder flushing according to libav docs

 * @param[in] frame AVFrame containing the raw audio data to be encoded.
 *                  May be NULL when flushing an encoder that has the
 *                  CODEC_CAP_DELAY capability set.

The AVFrame itself should be null, not the frame.data pointer

https://bugzilla.gnome.org/show_bug.cgi?id=724536

10 years agogst-libs: handle make dist for out-of-tree build
Mark Nauwelaerts [Sun, 16 Feb 2014 14:58:15 +0000 (15:58 +0100)]
gst-libs: handle make dist for out-of-tree build

10 years agoavmux: Fix invalid address passing to av_opt_set_int()
Dmitry Melnichenko [Tue, 4 Feb 2014 16:17:32 +0000 (18:17 +0200)]
avmux: Fix invalid address passing to av_opt_set_int()

https://bugzilla.gnome.org/show_bug.cgi?id=723615

10 years agoavvidenc: avoid busy-looping when flushing frames
Mark Nauwelaerts [Sat, 1 Feb 2014 13:40:24 +0000 (14:40 +0100)]
avvidenc: avoid busy-looping when flushing frames

... such as when receiving EOS event.

10 years agoAutomatic update of common submodule
Edward Hervey [Thu, 30 Jan 2014 09:45:05 +0000 (10:45 +0100)]
Automatic update of common submodule

From d48bed3 to 1a07da9

10 years agoavdemux: Don't go into pull mode when the sequential flag is set
Sjoerd Simons [Fri, 24 Jan 2014 20:58:35 +0000 (21:58 +0100)]
avdemux: Don't go into pull mode when the sequential flag is set

When the scheduling query results has GST_SCHEDULING_FLAG_SEQUENTIAL set
in its flags don't go into pull mode to prevent over-eager seeking.

https://bugzilla.gnome.org/show_bug.cgi?id=722935

10 years agoavmux: Force DV audio input format to 48kHz, 2 channels
Tim 'mithro' Ansell [Tue, 21 Jan 2014 11:58:42 +0000 (22:58 +1100)]
avmux: Force DV audio input format to 48kHz, 2 channels

libavformat only supports muxing 16bit, 48kHz stereo into DV containers.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=722672

10 years agolibav: Update to version 10_alpha2
Sebastian Dröge [Sun, 19 Jan 2014 09:33:01 +0000 (10:33 +0100)]
libav: Update to version 10_alpha2

10 years agoavviddec: Add output-corrupt property
Aleix Conchillo Flaqué [Fri, 17 Jan 2014 20:38:23 +0000 (12:38 -0800)]
avviddec: Add output-corrupt property

The output-corrupt property will set the CODEC_FLAG_OUTPUT_CORRUPT flag
in the codec context. The user can now decide whether libav outputs
corrupt frames or not.

Previous libav versions had this flag always set.

https://bugzilla.gnome.org/show_bug.cgi?id=722453

10 years agoavauddec: Mark frames as corrupted if libav tells us they are
Sebastian Dröge [Thu, 16 Jan 2014 12:45:58 +0000 (13:45 +0100)]
avauddec: Mark frames as corrupted if libav tells us they are

This is currently only implemented by the h264 codec and no audio codec.

https://bugzilla.gnome.org/show_bug.cgi?id=722290

10 years agoavviddec: Mark frames as corrupted if libav tells us they are
Sebastian Dröge [Thu, 16 Jan 2014 12:44:56 +0000 (13:44 +0100)]
avviddec: Mark frames as corrupted if libav tells us they are

This is currently only implemented by the h264 codec.

https://bugzilla.gnome.org/show_bug.cgi?id=722290

10 years agogst-libav: fix context leaks
Vincent Penquerc'h [Wed, 15 Jan 2014 09:02:33 +0000 (09:02 +0000)]
gst-libav: fix context leaks

A AVCodecContext needs cleaning up before being freed.
Go through all of the allocations/setups to ensure none of them
can leak a context or its contents.

10 years agoavviddec: set output chroma-site
Wim Taymans [Mon, 13 Jan 2014 15:31:05 +0000 (16:31 +0100)]
avviddec: set output chroma-site

Use libav provided chroma-site and place it on the output caps.

10 years agoavviddec: release buffers when not direct rendering
Wim Taymans [Fri, 10 Jan 2014 16:18:53 +0000 (17:18 +0100)]
avviddec: release buffers when not direct rendering

New libav will not call the release_buffer callback anymore when
avcodec_default_get_buffer() is called from get_buffer. Releasing of the
memory in a picture should now be done by registering a callback to the
avbuffer objects in the picture. There is some compatibility code to
wrap the memory we provide in get_buffer in avbuffer with a callback to
release_buffer but that is not done when avcodec_default_get_buffer()
is called.

Work around this by adding a dummy avbuffer object to the picture that
will release the frame.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=721077

10 years agoavauddec: Give MP3 decoder a MARGINAL rank too
Sebastian Dröge [Fri, 10 Jan 2014 12:16:20 +0000 (13:16 +0100)]
avauddec: Give MP3 decoder a MARGINAL rank too

There's no reason why this decoder should not be autoplugged

10 years agoav: Enable HEVC / h265 support
Sebastian Dröge [Mon, 6 Jan 2014 12:36:39 +0000 (13:36 +0100)]
av: Enable HEVC / h265 support

10 years agolibav: Update to v10_alpha1 tag
Sebastian Dröge [Mon, 6 Jan 2014 12:02:07 +0000 (13:02 +0100)]
libav: Update to v10_alpha1 tag

10 years agoavcodecmap: fix regression with wmv3 video in WMVA format
Tim-Philipp Müller [Fri, 3 Jan 2014 15:58:26 +0000 (15:58 +0000)]
avcodecmap: fix regression with wmv3 video in WMVA format

The VC-1 decoder should handle that. Before avdec_wmv3 handled
it, but then we added format=WMV3 to its sink pad template
caps, at which point nothing handled WMVA any longer.

https://bugzilla.gnome.org/show_bug.cgi?id=697665

10 years agoav: Update for CodecID -> AVCodecID related changes
Sebastian Dröge [Fri, 3 Jan 2014 15:28:44 +0000 (16:28 +0100)]
av: Update for CodecID -> AVCodecID related changes