platform/upstream/gstreamer.git
8 years agoavaudenc: use pad template caps for accept-caps
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

8 years agoavaudenc: remove useless getcaps method
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

8 years agoavvidenc: remove useless getcaps method
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

8 years agoavauddec: let audiodecoder call the default pad query 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

8 years agoavviddec: let videodecoder call the default pad query handler
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

8 years agolibav: Update to n2.7.2
Sebastian Dröge [Sat, 15 Aug 2015 10:51:19 +0000 (12:51 +0200)]
libav: Update to n2.7.2

8 years agoavviddec: use template caps intersection for accept-caps
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

8 years agoavauddec: use template caps intersection for accept-caps
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

8 years agoMap ffmpeg metadata to GStreamer tags
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

8 years agoavviddec: Remove unused force parameter
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.

8 years agoavviddec: Use caps-like size in get_buffer2()
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.

8 years agoavviddec: Reset current_dr on close and when not chosing it
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

8 years agoavviddec: Disable direct rendering before a frame has been produces
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

8 years agoRevert "For static builds, add the ffmpeg library directories to the linker flags"
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?

8 years agoFor static builds, add the ffmpeg library directories to the linker flags
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

8 years agoavviddec: Get code out of loop
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.

8 years agoavviddec: Only create the AVBuffer once the stride is validated
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.

8 years agoavviddec: Re-enable direct rendering
Olivier Crête [Mon, 27 Jul 2015 19:29:49 +0000 (15:29 -0400)]
avviddec: Re-enable direct rendering

8 years agoavauddec: Read channels from the channels field
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

8 years agoavviddec: Ignore negotiation error on shutdown
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

8 years agoavauddec: Access field using accessors
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.

8 years agoAdd support for musepack (mpc) sv8 audio
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

9 years agoavviddec: fix slice_offset memory leak
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

9 years agoUpdate mailing list in doap file
Tim-Philipp Müller [Thu, 16 Jul 2015 16:24:48 +0000 (17:24 +0100)]
Update mailing list in doap file

9 years agoDisable iconv support to fix Windows build
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.

9 years agoAutomatic update of common submodule
Stefan Sauer [Fri, 3 Jul 2015 19:59:42 +0000 (21:59 +0200)]
Automatic update of common submodule

From f74b2df to 9aed1d7

9 years agoFix OSX build: Explicitly disable VDA h264 decoder
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

9 years agoMake the LGPL build the default and require --enable-gpl to build a GPL licensed...
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

9 years agoavmux: Blacklist some subtitle and adaptive streaming muxers
Sebastian Dröge [Wed, 1 Jul 2015 20:11:52 +0000 (22:11 +0200)]
avmux: Blacklist some subtitle and adaptive streaming muxers

9 years agoSwitch from libav v11.4 to ffmpeg n2.7.1
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

9 years agoavaudenc: Remember how many samples the codec consumed for telling the base class
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

9 years agoavauddec: Ensure input buffers have FF_INPUT_BUFFER_PADDING_SIZE padding, which is...
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 ()

9 years agoavmux: Ignore stream_segment,ssegment muxer that is provided by ffmpeg
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.

9 years agoavvidenc: Fix compiler warning
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

9 years agoavvidenc: Set AVFrame flags for interlacing per frame and not in set_format()
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.

9 years agoav{aud,vid}enc: Create wrapped output buffers with GST_MEMORY_FLAG_READONLY
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.

9 years agoavvidenc: Properly wrap and free the output AVPackets generated during draining
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

9 years agoavvidenc: Make sure to keep input data alive until libav is done with it
Sebastian Dröge [Sun, 28 Jun 2015 14:27:52 +0000 (16:27 +0200)]
avvidenc: Make sure to keep input data alive until libav is done with it

9 years agoavaudenc: Make sure to keep input data alive until libav is done with it
Sebastian Dröge [Sun, 28 Jun 2015 14:21:33 +0000 (16:21 +0200)]
avaudenc: Make sure to keep input data alive until libav is done with it

9 years agoav{aud,vid}enc: Stop using deprecated AVFrame APIs
Sebastian Dröge [Sun, 28 Jun 2015 13:37:23 +0000 (15:37 +0200)]
av{aud,vid}enc: Stop using deprecated AVFrame APIs

9 years agoavauddec: Remove custom buffer allocation function
Sebastian Dröge [Sun, 28 Jun 2015 10:33:49 +0000 (12:33 +0200)]
avauddec: Remove custom buffer allocation function

libav always uses planar audio formats nowadays, not much use in
us trying to allocate anything here until we add support for planar
aka non-interleaved audio formats at least in audioconvert.

9 years agoavauddec: Use undeprecated AVFrame API
Sebastian Dröge [Sat, 27 Jun 2015 18:25:36 +0000 (20:25 +0200)]
avauddec: Use undeprecated AVFrame API

9 years agoavviddec: Free frame before the codec is freed
Sebastian Dröge [Sat, 27 Jun 2015 18:25:18 +0000 (20:25 +0200)]
avviddec: Free frame before the codec is freed

Who knows, maybe freeing the frame calls cleanup inside the codec.

9 years agoavviddec: Use undeprecated AVFrame API and unref frame once we're done with it
Sebastian Dröge [Sat, 27 Jun 2015 18:15:20 +0000 (20:15 +0200)]
avviddec: Use undeprecated AVFrame API and unref frame once we're done with it

9 years agoavauddec: Negotiate based on the AVFrame instead of just the AVCodecContext
Sebastian Dröge [Sat, 27 Jun 2015 18:08:46 +0000 (20:08 +0200)]
avauddec: Negotiate based on the AVFrame instead of just the AVCodecContext

9 years agoavviddec: Use the new get_buffer2() API instead of the deprecated APIs
Sebastian Dröge [Fri, 26 Jun 2015 18:38:01 +0000 (20:38 +0200)]
avviddec: Use the new get_buffer2() API instead of the deprecated APIs

And do the frame reference counting by adding AVBufferRefs to the frame.

9 years agoavviddec: Also proxy the data/size pointers for our wrapper AVBufferRef
Sebastian Dröge [Fri, 26 Jun 2015 18:20:14 +0000 (20:20 +0200)]
avviddec: Also proxy the data/size pointers for our wrapper AVBufferRef

9 years agocodecmap: add vp9 mapping
Wim Taymans [Fri, 26 Jun 2015 15:30:25 +0000 (17:30 +0200)]
codecmap: add vp9 mapping

9 years agoavviddec: Wrap the original AVBufferRef in our own buffer for the destroy function
Sebastian Dröge [Fri, 26 Jun 2015 14:50:16 +0000 (16:50 +0200)]
avviddec: Wrap the original AVBufferRef in our own buffer for the destroy function

Just adding a dummy buffer at the very end might not be enough as there
already might be too many buffers.

9 years agoavviddec: libav will already copy the reordered_opaque pointer for us
Sebastian Dröge [Fri, 26 Jun 2015 13:38:38 +0000 (15:38 +0200)]
avviddec: libav will already copy the reordered_opaque pointer for us

If we do it ourselves, it might get the wrong value if our assumptions are
broken by libav at a later time.

9 years agoavviddec: Negotiate based on the AVFrame information, not the context information
Sebastian Dröge [Fri, 26 Jun 2015 13:34:30 +0000 (15:34 +0200)]
avviddec: Negotiate based on the AVFrame information, not the context information

The context contains the information from the latest input frame, we're
however interested in the information from the latest output frame. As we have
to negotiate for the buffer that is about to come next.

This should fix some crashes that happened when both information got out of
sync. If that happens now, we will do fallback allocation until the output
is renegotiated too.

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

9 years agoBack to development
Sebastian Dröge [Wed, 24 Jun 2015 22:04:23 +0000 (00:04 +0200)]
Back to development

9 years agoRelease 1.5.2
Sebastian Dröge [Wed, 24 Jun 2015 21:40:51 +0000 (23:40 +0200)]
Release 1.5.2

9 years agoAutomatic update of common submodule
Nicolas Dufresne [Tue, 16 Jun 2015 21:50:03 +0000 (17:50 -0400)]
Automatic update of common submodule

From 6015d26 to f74b2df

9 years agoavcodec: Check against codec format list
Nicolas Dufresne [Thu, 4 Jun 2015 23:11:02 +0000 (19:11 -0400)]
avcodec: Check against codec format list

There exist few formats (deprecated though) used by mjpeg decoder
and encoder that maps to the same GStreamer format. To properly
pick the right format, also lookup each Codec list before accepting
the format. This fixes error when trying to use mjpeg encoder.

Note that this may results in faded colors. In fact, these special
format are meant to specify that this is full range YUV. Colorimetry
in gst-libav is not yet implemented, hence is ignored in general. So
I think it's fine to first fix the issue before addressing the missing
feature.

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

9 years agoviddec: Replicate any 3D/multiview info from input caps onto output
Jan Schmidt [Tue, 7 Oct 2014 05:33:07 +0000 (16:33 +1100)]
viddec: Replicate any 3D/multiview info from input caps onto output

9 years agocruft: add the obsolete tmpl dir to cruft-dirs
Stefan Sauer [Tue, 9 Jun 2015 13:41:46 +0000 (15:41 +0200)]
cruft: add the obsolete tmpl dir to cruft-dirs

9 years agoAutomatic update of common submodule
Edward Hervey [Tue, 9 Jun 2015 09:30:44 +0000 (11:30 +0200)]
Automatic update of common submodule

From d9a3353 to 6015d26

9 years agoAutomatic update of common submodule
Stefan Sauer [Mon, 8 Jun 2015 21:08:20 +0000 (23:08 +0200)]
Automatic update of common submodule

From d37af32 to d9a3353

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 21:06:58 +0000 (23:06 +0200)]
Automatic update of common submodule

From 21ba2e5 to d37af32

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 15:32:20 +0000 (17:32 +0200)]
Automatic update of common submodule

From c408583 to 21ba2e5

9 years agodocs: remove variables that we define in the snippet from common
Stefan Sauer [Sun, 7 Jun 2015 15:03:46 +0000 (17:03 +0200)]
docs: remove variables that we define in the snippet from common

This is syncing our Makefile.am with upstream gtkdoc.

9 years agoAutomatic update of common submodule
Stefan Sauer [Sun, 7 Jun 2015 15:16:38 +0000 (17:16 +0200)]
Automatic update of common submodule

From c8fb372 to c408583

9 years agoBack to development
Sebastian Dröge [Sun, 7 Jun 2015 14:44:49 +0000 (16:44 +0200)]
Back to development

9 years agoRelease 1.5.1
Sebastian Dröge [Sun, 7 Jun 2015 09:10:59 +0000 (11:10 +0200)]
Release 1.5.1

9 years agoavviddec: Release stream lock while calling avcodec_decode_video2()
Sebastian Dröge [Fri, 5 Jun 2015 09:57:37 +0000 (11:57 +0200)]
avviddec: Release stream lock while calling avcodec_decode_video2()

It might call back into us from another thread and try to take the stream lock
again, e.g. to allocate a buffer.

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

9 years agoavviddec: Post error message before returning a flow error
Olivier Crête [Wed, 3 Jun 2015 00:48:33 +0000 (20:48 -0400)]
avviddec: Post error message before returning a flow error

This is required.

9 years agocheck: Use GST_CHECK_MAIN () macro everywhere
Edward Hervey [Tue, 2 Jun 2015 14:32:55 +0000 (16:32 +0200)]
check: Use GST_CHECK_MAIN () macro everywhere

Makes source code smaller, and ensures we go through common initialization
path (like the one that sets up XML unit test output ...)

9 years agoMake top-level 'check-torture' and 'check-valgrind' targets functional
Tim-Philipp Müller [Tue, 2 Jun 2015 11:32:42 +0000 (12:32 +0100)]
Make top-level 'check-torture' and 'check-valgrind' targets functional

9 years agoavcodecmap: Use video/x-cavs mime type instead of video/x-gst-av-cavs
Aurélien Zanelli [Fri, 12 Sep 2014 07:44:16 +0000 (09:44 +0200)]
avcodecmap: Use video/x-cavs mime type instead of video/x-gst-av-cavs

More generic mime-type which can be used by other decoders than libav.

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

9 years agoconfigure: don't disable Chinese AVS (cavs) decoder
Aurélien Zanelli [Wed, 25 Mar 2015 09:24:52 +0000 (10:24 +0100)]
configure: don't disable Chinese AVS (cavs) decoder

It enables GStreamer to decode Chinese AVS video streams.
Also fix indentation.

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

9 years agoavauddev: Unref decoded AVFrame after we're done with it
Sebastian Dröge [Tue, 2 Jun 2015 07:09:09 +0000 (09:09 +0200)]
avauddev: Unref decoded AVFrame after we're done with it

Otherwise we might leak some memory, like all compressed data when using
avdec_ac3.

9 years agolibav: Update to v11.4
Sebastian Dröge [Sun, 31 May 2015 19:32:07 +0000 (21:32 +0200)]
libav: Update to v11.4

9 years agoUpdate .gitignore
Tim-Philipp Müller [Thu, 23 Apr 2015 16:12:26 +0000 (17:12 +0100)]
Update .gitignore

9 years agoconfigure: bump automake requirement to 1.14 and autoconf to 2.69
Tim-Philipp Müller [Thu, 23 Apr 2015 16:09:36 +0000 (17:09 +0100)]
configure: bump automake requirement to 1.14 and autoconf to 2.69

This is only required for builds from git, people can still
build tarballs if they only have older autotools.

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

9 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 3 Apr 2015 17:58:12 +0000 (18:58 +0100)]
Automatic update of common submodule

From bc76a8b to c8fb372

9 years agoavdemux: resurrect some flow return handling
Mark Nauwelaerts [Sun, 29 Mar 2015 12:01:50 +0000 (14:01 +0200)]
avdemux: resurrect some flow return handling

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

9 years agolibav: Update to v11.3
Sebastian Dröge [Sat, 14 Mar 2015 11:26:16 +0000 (11:26 +0000)]
libav: Update to v11.3

9 years agoavdemux: fix double semicolon
Tim-Philipp Müller [Tue, 10 Mar 2015 09:37:19 +0000 (09:37 +0000)]
avdemux: fix double semicolon

9 years agolibav: Add support for 10 bit planar AYUV formats
Sebastian Dröge [Tue, 10 Mar 2015 09:18:53 +0000 (10:18 +0100)]
libav: Add support for 10 bit planar AYUV formats

9 years agolibav: Change from deprecated PIX_FMT_* to AV_PIX_FMT_*
Sebastian Dröge [Tue, 10 Mar 2015 09:17:45 +0000 (10:17 +0100)]
libav: Change from deprecated PIX_FMT_* to AV_PIX_FMT_*

9 years agoavviddec: Don't copy padding if handling a frame failed
Sebastian Dröge [Mon, 9 Mar 2015 21:02:38 +0000 (22:02 +0100)]
avviddec: Don't copy padding if handling a frame failed

We will return an error right afterwards anyway.

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.

9 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

9 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

9 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

9 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

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