platform/upstream/gstreamer.git
8 years agoencoding-profile: Allow specifying the target category in the serialized encoding...
Thibault Saunier [Tue, 27 Oct 2015 11:50:26 +0000 (12:50 +0100)]
encoding-profile: Allow specifying the target category in the serialized encoding target

8 years agoaudioconvert: make the quantizer a reusable object
Wim Taymans [Tue, 27 Oct 2015 16:28:06 +0000 (17:28 +0100)]
audioconvert: make the quantizer a reusable object

Turn the quantizer into a reusable object.

8 years agoaudioconvert: make the channel mixer a separate reusable object
Wim Taymans [Tue, 27 Oct 2015 12:24:31 +0000 (13:24 +0100)]
audioconvert: make the channel mixer a separate reusable object

A first attempt at making the channel mixer a separate object.

8 years agoaudioquantize: fix 8-pole noise shaping
Wim Taymans [Wed, 28 Oct 2015 10:32:57 +0000 (11:32 +0100)]
audioquantize: fix 8-pole noise shaping

Fix the 8-pole noise shaping error update. We were mixing errors from
different channels.

8 years agodecodebin: Send SEEK events directly to adaptive streaming demuxers
Sebastian Dröge [Tue, 27 Oct 2015 13:44:06 +0000 (15:44 +0200)]
decodebin: Send SEEK events directly to adaptive streaming demuxers

This makes sure that they will always get SEEK events, even if we're currently
in the middle of a group switch (i.e. switching to another
representation/bitrate/etc).

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

8 years agodecodebin: fix event leak
Guillaume Desmottes [Tue, 6 Oct 2015 13:20:51 +0000 (15:20 +0200)]
decodebin: fix event leak

As stated in GST_PAD_PROBE_HANDLED's documentation, we are
supposed to unref the event before returning.

Fixes an event leak in the validate.hls.playback.play_15s.hls_bibbop
validate scenario.

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

8 years agoaudioconvert: Update disted orc files
Sebastian Dröge [Fri, 23 Oct 2015 16:13:05 +0000 (19:13 +0300)]
audioconvert: Update disted orc files

8 years agoaudioconvert: use pack/unpack functions
Wim Taymans [Fri, 23 Oct 2015 14:58:17 +0000 (16:58 +0200)]
audioconvert: use pack/unpack functions

Rework the converter to use the pack/unpack functions
Because the unpack functions can only unpack to 1 format, add a separate
conversion step for doubles when the unpack function produces int.
Do conversion to S32 in the quantize function directly.
Tweak the conversion factor for doing float->int conversion slightly to
get the full range of negative samples, use clamp to make sure we don't
exceed our int range on the positive axis (see also #755301)

8 years agoplaybin: Send upstream events directly to playsink
Sebastian Dröge [Fri, 23 Oct 2015 09:02:28 +0000 (12:02 +0300)]
playbin: Send upstream events directly to playsink

Send event directly to playsink instead of letting GstBin iterate
over all sink elements. The latter might send the event multiple times
in case the SEEK causes a reconfiguration of the pipeline, as can easily
happen with adaptive streaming demuxers.

What would then happen is that the iterator would be reset, we send the
event again, and on the second time it will fail in the majority of cases
because the pipeline is still being reconfigured

8 years agotests: typefindfunctions: fix error leaks
Eunhae Choi [Fri, 23 Oct 2015 08:25:50 +0000 (17:25 +0900)]
tests: typefindfunctions: fix error leaks

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

8 years agovideotestsrc: Force alpha downstream if foreground color contains alpha
Thibault Saunier [Wed, 23 Sep 2015 16:47:52 +0000 (18:47 +0200)]
videotestsrc: Force alpha downstream if foreground color contains alpha

Otherwise the foreground color won't be fully represented in the
outputted frames.

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

8 years agovideo: overlay-composition: fix rectangle and composition cast macros
Pavel Bludov [Thu, 22 Oct 2015 04:07:44 +0000 (12:07 +0800)]
video: overlay-composition: fix rectangle and composition cast macros

Closing parenthesis was missing in two cases.

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

8 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 21 Oct 2015 13:34:56 +0000 (14:34 +0100)]
Automatic update of common submodule

From b99800a to b319909

8 years agoUse new GST_ENABLE_EXTRA_CHECKS #define
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

8 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 21 Oct 2015 11:25:47 +0000 (14:25 +0300)]
Automatic update of common submodule

From 9aed1d7 to b99800a

8 years agortp: GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING is Since 1.6.1
Sebastian Dröge [Tue, 20 Oct 2015 09:08:23 +0000 (12:08 +0300)]
rtp: GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING is Since 1.6.1

8 years agodecodebin: track the exposable pads through connect_pad
Matthew Waters [Mon, 19 Oct 2015 16:58:26 +0000 (03:58 +1100)]
decodebin: track the exposable pads through connect_pad

The logic introduced by
[d50b713: decodebin: set the decode pad target before setting elements to PAUSED]
to expose pads would only ever be able to possibly expose one (the last) pad per element.

Make it so that any exposable pads are able to be exposed rather than just the
last pad returned by connect_element.

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

8 years agodecodebin: return the possibly new chain in analyze_new_pad
Matthew Waters [Mon, 19 Oct 2015 16:52:24 +0000 (03:52 +1100)]
decodebin: return the possibly new chain in analyze_new_pad

In the case of analyzing a demuxer chain, analyze_new_pad may create
a new GstDecodeChain.  This was not propagated to the calling function which as
of [d50b713f decodebin: set the decode pad target before setting elements to PAUSED]
is now required to be able to expose the correct pad.

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

8 years agoplaysink: relink text_pad in case of reconfiguration
Rajat Verma [Mon, 19 Oct 2015 10:02:19 +0000 (15:32 +0530)]
playsink: relink text_pad in case of reconfiguration

In case of reconfiguration, text_pad should be re-connected with
stream synchronizer sink pad. Otherwise we'll leave an unlinked pad around if
there always was a streamsynchronizer text pad.

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

8 years agoaudiobasesink: fix issue about eos handling during flushing
eunhae choi [Mon, 14 Sep 2015 06:25:11 +0000 (15:25 +0900)]
audiobasesink: fix issue about eos handling during flushing

If the flush-start is arrived during _eos_wait() in basesink,
the 'eos' flag is overwritten to TRUE after exiting the _eos_wait().
To resolve the overwritten issue,
the subclass doing the _eos_wait() call should return the right value.
If the eos flag is set to TRUE again, it will cause error(enter the eos flow)
of the following state changing from PAUSED to PLAYING in basesink.

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

8 years agodecodebin/playbin/playsink/subtitleoverlay: Post async-done on state change failures
Sebastian Dröge [Sat, 17 Oct 2015 19:25:22 +0000 (22:25 +0300)]
decodebin/playbin/playsink/subtitleoverlay: Post async-done on state change failures

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

8 years agoplaysink: Immediately error out if state change fails
Sebastian Dröge [Sat, 17 Oct 2015 19:20:31 +0000 (22:20 +0300)]
playsink: Immediately error out if state change fails

Otherwise we chain up to the parent class' change_state function and might
override the failure with SUCCESS.

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

8 years agoplaybin/uridecodebin: Always post async-done immediately if we're a live pipeline
Sebastian Dröge [Sat, 17 Oct 2015 18:47:07 +0000 (21:47 +0300)]
playbin/uridecodebin: Always post async-done immediately if we're a live pipeline

Not only if the base class told us, but also if one of our own elements did.

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

8 years agodecodebin: set the decode pad target before setting elements to PAUSED
Matthew Waters [Thu, 15 Oct 2015 16:40:43 +0000 (03:40 +1100)]
decodebin: set the decode pad target before setting elements to PAUSED

Otherwise caps and context queries will disappear into nothing and therefore
fail.  With autoplug-query now actually working, users (such as playbin) can
proxy these queries to the selected video sink and be able to select an
more appropriate configuration.

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

8 years agovideo: Add out annotations to the out parameters of gst_video_calculate_display_ratio()
Sebastian Dröge [Sat, 17 Oct 2015 17:36:27 +0000 (20:36 +0300)]
video: Add out annotations to the out parameters of gst_video_calculate_display_ratio()

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

8 years agowin32 update exports for new rtp symbols
Matthew Waters [Thu, 15 Oct 2015 23:48:50 +0000 (10:48 +1100)]
win32 update exports for new rtp symbols

8 years agortpbuffer: Add map flag to skip padding
Stian Selnes [Wed, 22 Jul 2015 09:31:05 +0000 (11:31 +0200)]
rtpbuffer: Add map flag to skip padding

Encrypted RTP buffers may contain encrypted padding, hence it's
necessary to have an option to relax the validation in order to
successfully map the buffer.

When the flag GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING is set
gst_rtp_buffer_map() will map the buffer like if padding is not
present.

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

8 years agoRevert "rtpbuffer: increase logging level when map fails"
Sebastian Dröge [Thu, 15 Oct 2015 19:40:50 +0000 (22:40 +0300)]
Revert "rtpbuffer: increase logging level when map fails"

This reverts commit e3c8a820176ba39dfae85944fa9c6ae202ec681d.

It causes too much noise in the logs.

8 years agortpbuffer: increase logging level when map fails
Miguel París Díaz [Thu, 15 Oct 2015 13:32:58 +0000 (15:32 +0200)]
rtpbuffer: increase logging level when map fails

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

8 years agoplaysink: Fix volume element leak
Vineeth TM [Thu, 15 Oct 2015 01:01:38 +0000 (10:01 +0900)]
playsink: Fix volume element leak

In case sink implements a streamvolume interface, volume element is being got
from the sink. But this is transfer full. So the memory should be freed before
setting it to NULL. This was resulting in major memory leaks

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

8 years agoalsa: Use 8 bit pointer type for byte-based pointer arithmetic
Sebastian Dröge [Tue, 13 Oct 2015 21:32:11 +0000 (00:32 +0300)]
alsa: Use 8 bit pointer type for byte-based pointer arithmetic

Usually these loops only run once, so there's no problem here. But sometimes
they run twice, and by adding the number of bytes to a 16 bit pointer type we
would advance twice as much as we should.

Also use snd_pcm_frames_to_bytes() in alsasrc to calculate
the number of bytes to skip, same as we do in alsasink.

Thanks to Lucio A. Hernandez <lucio.a.hernandez@gmail.com> for reporting.

8 years agoRevert "audioencoder: timestamp headers same as first buffer and use duration 0"
Sebastian Dröge [Mon, 12 Oct 2015 11:02:58 +0000 (14:02 +0300)]
Revert "audioencoder: timestamp headers same as first buffer and use duration 0"

This reverts commit dd4d6d9ed54c2a63a7e45661519d9965417707c5.

It breaks ogg muxing and the vorbisenc unit test.

8 years agoaudioencoder: timestamp headers same as first buffer and use duration 0
Havard Graff [Fri, 28 Aug 2015 09:44:19 +0000 (11:44 +0200)]
audioencoder: timestamp headers same as first buffer and use duration 0

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

8 years agoaudioencoder-tests: port to use GstHarness
Havard Graff [Fri, 28 Aug 2015 09:25:22 +0000 (11:25 +0200)]
audioencoder-tests: port to use GstHarness

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

8 years agoaudiodecoder-test: port to using GstHarness
Havard Graff [Thu, 27 Aug 2015 15:28:30 +0000 (17:28 +0200)]
audiodecoder-test: port to using GstHarness

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

8 years agoxvimagesink: Put error message into debug output instead of just throwing it away
Sebastian Dröge [Sun, 4 Oct 2015 17:36:00 +0000 (18:36 +0100)]
xvimagesink: Put error message into debug output instead of just throwing it away

8 years agoUpdate GLib dependency to 2.40.0
Sebastian Dröge [Fri, 2 Oct 2015 19:19:52 +0000 (22:19 +0300)]
Update GLib dependency to 2.40.0

8 years agortpbasepayload: Implement video SDP attributes
Sebastian Rasmussen [Sat, 15 Mar 2014 16:35:56 +0000 (17:35 +0100)]
rtpbasepayload: Implement video SDP attributes

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

8 years agogst-play: Removed erroneous comment
Vivia Nikolaidou [Fri, 25 Sep 2015 12:17:53 +0000 (15:17 +0300)]
gst-play: Removed erroneous comment

The "fall through" comment was wrong. Removed.

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

8 years agogst-play: Add keyboard shortcut '0' to seek to beginning
Vivia Nikolaidou [Tue, 22 Sep 2015 20:12:10 +0000 (23:12 +0300)]
gst-play: Add keyboard shortcut '0' to seek to beginning

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

8 years agovideorate: remove unnecessary break statement
Vineeth T M [Tue, 25 Aug 2015 07:24:12 +0000 (16:24 +0900)]
videorate: remove unnecessary break statement

Trivial patch to remove unncessary break statement used after
goto statement.

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

8 years agogstreamer: base: Fix memory leaks when context parse fails.
Vineeth TM [Thu, 20 Aug 2015 06:59:15 +0000 (15:59 +0900)]
gstreamer: base: Fix memory leaks when context parse fails.

When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.

And replacing g_error_free with g_clear_error, which checks if the error being passed
is not NULL and sets the variable to NULL on free'ing.

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

8 years agoencodebin: Fix special case
Mathieu Duponchelle [Wed, 24 Jun 2015 21:55:35 +0000 (23:55 +0200)]
encodebin: Fix special case

Allows to run such a command line :

gst-launch-1.0 uridecodebin uri=file:///home/meh/Music/sthg.mp4 ! \
encodebin profile-string="audio/x-wav|1" ! filesink location=sthg.wav

Previously the code failed because wavenc is considered as a muxer.
We still want encodebin to audio/x-wav as an AudioEncodingProfile,
so this simple fix allows that.

Ability to mux raw streams in containers such as matroskamux
is a different issue.

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

8 years agodecodebin: free hidden groups at time of switching groups
Rajat Verma [Tue, 29 Sep 2015 04:42:28 +0000 (10:12 +0530)]
decodebin: free hidden groups at time of switching groups

hidden groups should be freed at time of switching groups to avoid memory use
from balloning up.

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

8 years agowin32: Update exports for new audiovisualizer symbols
Sebastian Dröge [Fri, 2 Oct 2015 07:07:33 +0000 (10:07 +0300)]
win32: Update exports for new audiovisualizer symbols

8 years agotests: Add baseaudiovisualizer test, moved from -bad
Jan Schmidt [Fri, 2 Oct 2015 05:04:34 +0000 (15:04 +1000)]
tests: Add baseaudiovisualizer test, moved from -bad

8 years agovideotestsrc: Don't fixate framerate if downstream didn't provide one
Jan Schmidt [Fri, 2 Oct 2015 05:05:26 +0000 (15:05 +1000)]
videotestsrc: Don't fixate framerate if downstream didn't provide one

intersection with a downstream that accepts any video/x-raw caps
with no further detail won't create a framerate field. If it's
not in the caps, don't fixate it, just set it to 30/1

8 years agodocs: add alsamidisrc to docs
Stefan Sauer [Thu, 1 Oct 2015 19:53:20 +0000 (21:53 +0200)]
docs: add alsamidisrc to docs

8 years agomidi: add an ALSA MIDI sequencer source
Antonio Ospite [Thu, 1 Oct 2015 19:43:21 +0000 (21:43 +0200)]
midi: add an ALSA MIDI sequencer source

The alsamidisrc element allows to get input event from ALSA MIDI
sequencer devices, and possibly convert them to sound using some
downstream element like fluiddec.

Fixes #738687

8 years agovisual: make private all variable subclasses don't need
Luis de Bethencourt [Thu, 1 Oct 2015 14:27:55 +0000 (15:27 +0100)]
visual: make private all variable subclasses don't need

Subclasses don't need access to all variables. Making them private.

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

8 years agovisual: merge audiovisalizer base classes
Luis de Bethencourt [Thu, 1 Oct 2015 10:55:59 +0000 (11:55 +0100)]
visual: merge audiovisalizer base classes

Move the audiovisualizer base class to pbutils, so it can be used by plugins
from other modules

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

8 years agotypefinding: minor clean-up
Tim-Philipp Müller [Thu, 1 Oct 2015 11:48:52 +0000 (12:48 +0100)]
typefinding: minor clean-up

Remove unnecessary brackets from IS_MPEGTS_HEADER macro.

8 years agotypefinding: mpeg-ts detection improvement
Pankaj Darak [Thu, 1 Oct 2015 11:32:33 +0000 (12:32 +0100)]
typefinding: mpeg-ts detection improvement

Allow AFC to be 0 for null pid packets.

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

8 years agotests: subparse: add unit test for closing tag detection
Tim-Philipp Müller [Wed, 30 Sep 2015 17:18:15 +0000 (18:18 +0100)]
tests: subparse: add unit test for closing tag detection

</ i> should be handled like </i>

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

8 years agosubparse: detect closing tags even if there's a space after the slash
Tim-Philipp Müller [Wed, 30 Sep 2015 17:17:13 +0000 (18:17 +0100)]
subparse: detect closing tags even if there's a space after the slash

</ i> should be handled like </i>

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

8 years agoapp: pass PKG_CONFIG_PATH for gir files for libgstapp as well
Perry Hung [Wed, 23 Sep 2015 15:59:22 +0000 (11:59 -0400)]
app: pass PKG_CONFIG_PATH for gir files for libgstapp as well

gir include search directories should respect PKG_CONFIG_PATH,
just like we do everywhere else. Makes g-i pick up the right
paths when using ./configure --with-pkg-config-path=

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

8 years agoBack to development
Sebastian Dröge [Fri, 25 Sep 2015 21:51:06 +0000 (23:51 +0200)]
Back to development

8 years agoRelease 1.6.0
Sebastian Dröge [Fri, 25 Sep 2015 21:15:20 +0000 (23:15 +0200)]
Release 1.6.0

8 years agoUpdate .po files
Sebastian Dröge [Fri, 25 Sep 2015 20:50:51 +0000 (22:50 +0200)]
Update .po files

8 years agovideo-dither: Use saturated add when adding ordered dither for > 8 bit targets
Sebastian Dröge [Thu, 24 Sep 2015 16:06:58 +0000 (18:06 +0200)]
video-dither: Use saturated add when adding ordered dither for > 8 bit targets

Otherwise our 16 bit integers are going to overflow in intermediate
calculations, causing video to become mostly black.

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

8 years agovideo-frame: Fix gst_video_frame_copy() for formats with pstride==0
Sebastian Dröge [Thu, 24 Sep 2015 09:33:24 +0000 (11:33 +0200)]
video-frame: Fix gst_video_frame_copy() for formats with pstride==0

v210, UYVP and IYU1 are complex formats for which pixel stride does not really
have a meaning. If we copy width*pstride bytes per line, it's not going to do
the right thing. As a fallback, copy stride bytes per line. This might copy
uninitialized bytes at the end of each line, but at least copies the frame.

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

8 years agofdmemory: remove 'allow-none' annotation in gst_fd_allocator_alloc() doc
Aurélien Zanelli [Thu, 10 Sep 2015 13:08:35 +0000 (15:08 +0200)]
fdmemory: remove 'allow-none' annotation in gst_fd_allocator_alloc() doc

gst_fd_allocator_alloc() ensure that passed allocator is a fd memory
allocator, so that we can't pass NULL allocator.

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

8 years agodmabuf: remove 'allow-none' annotation in gst_dmabuf_allocator_alloc() doc
Aurélien Zanelli [Thu, 10 Sep 2015 13:08:35 +0000 (15:08 +0200)]
dmabuf: remove 'allow-none' annotation in gst_dmabuf_allocator_alloc() doc

gst_dmabuf_allocator_alloc() ensure that passed allocator is a DMABuf
allocator, so that we can't pass NULL allocator.

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

8 years agoRelease 1.5.91
Sebastian Dröge [Fri, 18 Sep 2015 17:20:00 +0000 (19:20 +0200)]
Release 1.5.91

8 years agoUpdate .po files
Sebastian Dröge [Fri, 18 Sep 2015 17:19:16 +0000 (19:19 +0200)]
Update .po files

8 years agoappsink: Fix 'steaming' typo in API doc
Christophe Fergeau [Fri, 18 Sep 2015 15:48:49 +0000 (17:48 +0200)]
appsink: Fix 'steaming' typo in API doc

There are several occurrences of 'steaming' where 'streaming' was meant.

8 years agopo: Update translations
Sebastian Dröge [Fri, 18 Sep 2015 09:49:59 +0000 (11:49 +0200)]
po: Update translations

8 years agoplayback-test: avoid critical on exit
Ravi Kiran K N [Fri, 18 Sep 2015 05:29:46 +0000 (10:59 +0530)]
playback-test: avoid critical on exit

Only free vis_entries array when not null on exit.

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

8 years agobasetextoverlay: fix typo in debug log message
Prashant Gotarne [Fri, 18 Sep 2015 04:18:18 +0000 (09:48 +0530)]
basetextoverlay: fix typo in debug log message

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

8 years agoaudiosink, multisocketsink: Fix error leak during failures
Vineeth T M [Thu, 17 Sep 2015 05:27:33 +0000 (14:27 +0900)]
audiosink, multisocketsink: Fix error leak during failures

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

8 years agouridecodebin: Use the correct caps name for MS Smooth Streaming manifests
Sebastian Dröge [Wed, 16 Sep 2015 17:53:35 +0000 (19:53 +0200)]
uridecodebin: Use the correct caps name for MS Smooth Streaming manifests

Thanks to John Chang <r97922153@gmail.com> for reporting.

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

8 years agoappsink: minor docs fix
Tim-Philipp Müller [Tue, 15 Sep 2015 14:26:44 +0000 (15:26 +0100)]
appsink: minor docs fix

8 years agovideopool: ensure allocation alignment is consistent with video alignment requirements
Tim-Philipp Müller [Fri, 11 Sep 2015 22:36:47 +0000 (23:36 +0100)]
videopool: ensure allocation alignment is consistent with video alignment requirements

Make sure GstAllocationParams alignment is not less than
any alignment requirement specified via GstVideoAlignment.

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

8 years agoxvimagesink: fix error leak when context creation fails
Vineeth TM [Mon, 14 Sep 2015 00:36:20 +0000 (09:36 +0900)]
xvimagesink: fix error leak when context creation fails

When context creation fails, error is getting leaked.

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

8 years agoplayback: Add POINTER_TO_ULONG() macro for consistency
Sebastian Dröge [Fri, 11 Sep 2015 21:28:37 +0000 (23:28 +0200)]
playback: Add POINTER_TO_ULONG() macro for consistency

8 years agoplayback: fix build error for 64bit Windows build by MinGW
Kouhei Sutou [Fri, 11 Sep 2015 14:48:05 +0000 (23:48 +0900)]
playback: fix build error for 64bit Windows build by MinGW

Casting to gpointer from gulong generates the following warning with
64bit Windows target MinGW:

    gstplaybin2.c: In function 'pad_added_cb':
    gstplaybin2.c:3476:7: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
           (gpointer) group_id_probe_handler);
           ^
    cc1: all warnings being treated as errors

We should cast to guintptr from gulong before we cast to gpointer.

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

8 years agovideo-format: add missing alpha flag for some formats
Thiago Santos [Wed, 9 Sep 2015 22:00:33 +0000 (19:00 -0300)]
video-format: add missing alpha flag for some formats

Some formats didn't have the alpha flag marked, use the correct
macro so they get it right.

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

8 years agoappsrc: Always take the mutex before flushing the queue
Sebastian Dröge [Wed, 9 Sep 2015 09:33:02 +0000 (12:33 +0300)]
appsrc: Always take the mutex before flushing the queue

Otherwise the application might push new buffers into the queue while we're
flushing, potentially causing the GQueue data structure to become inconsistent
and causing crashes soon after.

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

8 years agoappsrc: retain the latest caps in queue when flushing
Vikram Fugro [Mon, 7 Sep 2015 20:05:19 +0000 (01:35 +0530)]
appsrc: retain the latest caps in queue when flushing

- Retain the latest caps in the internal queue, when
  flushing.
- Add a unit test case for the same.

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

8 years agovideo: improve GstVideoFormatUnpack docs
Tim-Philipp Müller [Sun, 6 Sep 2015 23:19:09 +0000 (00:19 +0100)]
video: improve GstVideoFormatUnpack docs

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

8 years agolibs: Fix build error on MinGW where "%ll" is not available
Kouhei Sutou [Sun, 6 Sep 2015 09:17:15 +0000 (18:17 +0900)]
libs: Fix build error on MinGW where "%ll" is not available

"ll" isn't available on MinGW. We can use G_GINT64_MODIFIER for portable
64bit size data modifier.

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

8 years agolibs: build rtp after audio
Havard Graff [Mon, 31 Aug 2015 08:46:43 +0000 (10:46 +0200)]
libs: build rtp after audio

The dependency setup does not seem to work for all systems,
causing the build to fail with:

gstrtpbaseaudiopayload.c:65:0:
fatal error: gst/audio/audio-enumtypes.h: No such file or directory

My setup:
gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
autoconf (GNU Autoconf) 2.69
automake (GNU automake) 1.14.1
libtool (GNU libtool) 2.4.2

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

8 years agolibs: rtp is no longer an independent subdir
Tim-Philipp Müller [Mon, 31 Aug 2015 09:49:41 +0000 (10:49 +0100)]
libs: rtp is no longer an independent subdir

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

8 years agovideoscale: fix gamma-decode option
Wim Taymans [Thu, 3 Sep 2015 15:55:10 +0000 (17:55 +0200)]
videoscale: fix gamma-decode option

We need to use the enum to configure the option now.

8 years agobasetextoverlay: FIX crash if padding greater than video size
Prashant Gotarne [Thu, 3 Sep 2015 03:28:08 +0000 (08:58 +0530)]
basetextoverlay: FIX crash if padding greater than video size

Skipping rendering of textimage if overlay is completely
outside video frame.

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

8 years agoappsrc: remove duplicate get_size vfunc assignment
Philippe Normand [Mon, 31 Aug 2015 09:09:09 +0000 (11:09 +0200)]
appsrc: remove duplicate get_size vfunc assignment

8 years agoallocators: include gstfdmemory.h in the main library header, allocators.h
George Kiagiadakis [Sat, 29 Aug 2015 19:38:52 +0000 (21:38 +0200)]
allocators: include gstfdmemory.h in the main library header, allocators.h

8 years agoaudiobasesink: fix misleading error message debug detail
Tim-Philipp Müller [Sat, 29 Aug 2015 09:44:28 +0000 (10:44 +0100)]
audiobasesink: fix misleading error message debug detail

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

8 years agoplaysinkconvertbin: implement accept-caps handler
Thiago Santos [Fri, 28 Aug 2015 12:36:15 +0000 (09:36 -0300)]
playsinkconvertbin: implement accept-caps handler

The default one will just go through the internal elements which might
just be identity when it is in passthrough which will lead to the query
being handled by the downstream sink, ignoring all that playsinkconvertbin
could actually handle and convert.

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

8 years agoaudiobasesink: Fix incorrect/missing custom slaving method documentation
Carlos Rafael Giani [Thu, 27 Aug 2015 21:08:51 +0000 (23:08 +0200)]
audiobasesink: Fix incorrect/missing custom slaving method documentation

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

8 years agosubparse: use g_clear_error instead of g_error_free
Eunhae Choi [Wed, 19 Aug 2015 12:19:05 +0000 (21:19 +0900)]
subparse: use g_clear_error instead of g_error_free

To avoid invalid pointer accees the err pointer should be set to NULL.
By using g_clear_error() it calls free and clear the pointer.

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

8 years agoRelease 1.5.90
Sebastian Dröge [Wed, 19 Aug 2015 10:10:23 +0000 (13:10 +0300)]
Release 1.5.90

8 years agoUpdate .po files
Sebastian Dröge [Wed, 19 Aug 2015 09:39:17 +0000 (12:39 +0300)]
Update .po files

8 years agopo: Update translations
Sebastian Dröge [Wed, 19 Aug 2015 08:23:09 +0000 (11:23 +0300)]
po: Update translations

8 years agotools: discoverer: When info is NULL just print error and return
Vineeth TM [Tue, 18 Aug 2015 23:37:46 +0000 (08:37 +0900)]
tools: discoverer: When info is NULL just print error and return

In case discover_uri returns NULL info, passing the info to discoverer APIs
result in critical assertion errors. Hence instead of passing NULL info along,
print the error and return.

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

8 years agoRevert "decodebin: Handle the preroll multi-queue size"
Sebastian Dröge [Tue, 18 Aug 2015 15:47:22 +0000 (18:47 +0300)]
Revert "decodebin: Handle the preroll multi-queue size"

This reverts commit 5c8ef0ea05123506dfc35c70c8b165bca7435dad.

8 years agoRevert "decodebin: Store extra_buffer_required per group, not globally"
Sebastian Dröge [Tue, 18 Aug 2015 15:47:21 +0000 (18:47 +0300)]
Revert "decodebin: Store extra_buffer_required per group, not globally"

This reverts commit 1ea81114ea6bd48b581f19002018680933aa7a12.

8 years agoRevert "decodebin: If extra buffers are going to be required, we're still prerolling"
Sebastian Dröge [Tue, 18 Aug 2015 15:47:18 +0000 (18:47 +0300)]
Revert "decodebin: If extra buffers are going to be required, we're still prerolling"

This reverts commit a3b24f0241bd55a005a072ba8ddcd53e0fdbf827.

8 years agovideo(en|de)coder: Return TRUE when we consumed a tag event without creating a new...
Sebastian Dröge [Tue, 18 Aug 2015 13:28:42 +0000 (16:28 +0300)]
video(en|de)coder: Return TRUE when we consumed a tag event without creating a new event

Fixes spurious flow errors that especially break gst-validate.

8 years agoaudiodecoder: If there are no tags, don't try to do event handling on a NULL event
Sebastian Dröge [Tue, 18 Aug 2015 13:01:28 +0000 (16:01 +0300)]
audiodecoder: If there are no tags, don't try to do event handling on a NULL event

Fixes some crashes.