summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-08-20avviddec: Fix pool reallocation logicHEADmasterNicolas Dufresne2-18/+42
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
2015-08-19Release 1.5.90Sebastian Dröge9-81/+5737
2015-08-17aviddec: Re-enable direct renderingNicolas Dufresne2-118/+199
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
2015-08-17avvidenc: use template subset check for accept-capsThiago Santos1-0/+2
It is faster than doing a query that propagates downstream and should be enough
2015-08-17avaudenc: use pad template caps for accept-capsThiago Santos1-0/+2
use template subset check for accept-caps It is faster than doing a query that propagates downstream and should be enough
2015-08-16avaudenc: remove useless getcaps methodThiago Santos1-18/+0
It just calls the exact same function as the default handler
2015-08-16avvidenc: remove useless getcaps methodThiago Santos1-16/+0
It just calls the exact same function as the default handler
2015-08-15avauddec: let audiodecoder call the default pad query handlerThiago Santos1-23/+2
Avoids repeating the same handling in many decoders
2015-08-15avviddec: let videodecoder call the default pad query handlerThiago Santos1-22/+2
Avoids repeating the same handling in many decoders
2015-08-15libav: Update to n2.7.2Sebastian Dröge1-0/+0
2015-08-14avviddec: use template caps intersection for accept-capsThiago Santos1-0/+23
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
2015-08-14avauddec: use template caps intersection for accept-capsThiago Santos1-0/+25
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
2015-08-05Map ffmpeg metadata to GStreamer tagsJan Schmidt1-71/+135
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
2015-08-03avviddec: Remove unused force parameterOlivier Crête1-6/+6
This parameter has been always false for a long time.
2015-08-03avviddec: Use caps-like size in get_buffer2()Olivier Crête1-16/+7
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.
2015-08-03avviddec: Reset current_dr on close and when not chosing itOlivier Crête1-1/+4
https://bugzilla.gnome.org/show_bug.cgi?id=753189
2015-07-28avviddec: Disable direct rendering before a frame has been producesOlivier Crête1-1/+6
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
2015-07-28Revert "For static builds, add the ffmpeg library directories to the linker ↵Sebastian Dröge1-8/+2
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?
2015-07-28For static builds, add the ffmpeg library directories to the linker flagsSebastian Dröge1-2/+8
2015-07-27avviddec: Get code out of loopOlivier Crête1-16/+13
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.
2015-07-27avviddec: Only create the AVBuffer once the stride is validatedOlivier Crête1-5/+2
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.
2015-07-27avviddec: Re-enable direct renderingOlivier Crête1-1/+1
2015-07-27avauddec: Read channels from the channels fieldOlivier Crete1-0/+2
If there is no layout, just read the channel count from the channels field. https://bugzilla.gnome.org/show_bug.cgi?id=752186
2015-07-27avviddec: Ignore negotiation error on shutdownOlivier Crête1-0/+4
https://bugzilla.gnome.org/show_bug.cgi?id=752800
2015-07-25avauddec: Access field using accessorsOlivier Crête1-6/+10
Those fields are documented to only be safe to access using accessors as their position is not part of the ABI.
2015-07-22Add support for musepack (mpc) sv8 audioJames Smith2-1/+4
https://bugzilla.gnome.org/show_bug.cgi?id=732682
2015-07-21avviddec: fix slice_offset memory leakVineeth T M1-1/+4
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
2015-07-16Update mailing list in doap fileTim-Philipp Müller1-1/+1
2015-07-07Disable iconv support to fix Windows buildSebastian Dröge1-3/+4
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.
2015-07-03Automatic update of common submoduleStefan Sauer1-0/+0
From f74b2df to 9aed1d7
2015-07-03Fix OSX build: Explicitly disable VDA h264 decoderHeinrich Fink1-1/+1
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
2015-07-01Make the LGPL build the default and require --enable-gpl to build a GPL ↵Sebastian Dröge3-12/+12
licensed version
2015-07-01avmux: Blacklist some subtitle and adaptive streaming muxersSebastian Dröge1-1/+7
2015-07-01Switch from libav v11.4 to ffmpeg n2.7.1Sebastian Dröge4-8/+28
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
2015-06-30avaudenc: Remember how many samples the codec consumed for telling the base ↵Sebastian Dröge1-3/+4
class
2015-06-30avauddec: Ensure input buffers have FF_INPUT_BUFFER_PADDING_SIZE padding, ↵Thomas Bluemel2-0/+65
which is required by avcodec_decode_audio4 ()
2015-06-29avmux: Ignore stream_segment,ssegment muxer that is provided by ffmpegSebastian Dröge1-1/+2
The comma confuses our code, e.g. it's not a valid element name or structure name.
2015-06-28avvidenc: Fix compiler warningSebastian Dröge1-1/+1
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
2015-06-28avvidenc: Set AVFrame flags for interlacing per frame and not in set_format()Sebastian Dröge1-7/+7
They will get overridden by av_frame_unref() with the defaults.
2015-06-28av{aud,vid}enc: Create wrapped output buffers with GST_MEMORY_FLAG_READONLYSebastian Dröge2-6/+6
libav might still have references to the buffers itself and uses a writability system similar to ours based on reference counts.
2015-06-28avvidenc: Properly wrap and free the output AVPackets generated during drainingSebastian Dröge1-5/+7
2015-06-28avvidenc: Make sure to keep input data alive until libav is done with itSebastian Dröge1-5/+30
2015-06-28avaudenc: Make sure to keep input data alive until libav is done with itSebastian Dröge1-23/+53
2015-06-28av{aud,vid}enc: Stop using deprecated AVFrame APIsSebastian Dröge3-25/+27
2015-06-28avauddec: Remove custom buffer allocation functionSebastian Dröge1-66/+1
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.
2015-06-28avauddec: Use undeprecated AVFrame APISebastian Dröge2-17/+26
2015-06-28avviddec: Free frame before the codec is freedSebastian Dröge1-2/+2
Who knows, maybe freeing the frame calls cleanup inside the codec.
2015-06-28avviddec: Use undeprecated AVFrame API and unref frame once we're done with itSebastian Dröge1-2/+4
2015-06-28avauddec: Negotiate based on the AVFrame instead of just the AVCodecContextSebastian Dröge1-22/+41
2015-06-28avviddec: Use the new get_buffer2() API instead of the deprecated APIsSebastian Dröge1-94/+26
And do the frame reference counting by adding AVBufferRefs to the frame.