platform/upstream/gst-plugins-base.git
10 years agovideodecoder: Add sink_query() src_query() virtual
Nicolas Dufresne [Wed, 27 Nov 2013 21:39:52 +0000 (16:39 -0500)]
videodecoder: Add sink_query() src_query() virtual

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

10 years agotools: play: fix compiler warning on windows
Tim-Philipp Müller [Mon, 9 Dec 2013 13:55:28 +0000 (13:55 +0000)]
tools: play: fix compiler warning on windows

10 years agovideocodecframe: Correct function name in doc
Olivier Crête [Sat, 7 Dec 2013 00:27:04 +0000 (19:27 -0500)]
videocodecframe: Correct function name in doc

10 years agovideoencoder: Remove gst_video_encoder_set/get_discont
Olivier Crête [Fri, 6 Dec 2013 21:23:46 +0000 (16:23 -0500)]
videoencoder: Remove gst_video_encoder_set/get_discont

They've never existed outside the header file.

10 years agodocs: add missing files for distribution
Sebastian Rasmussen [Wed, 4 Dec 2013 00:08:13 +0000 (01:08 +0100)]
docs: add missing files for distribution

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

10 years agoaudiobasesink: handle the RESYNC flag
Wim Taymans [Thu, 5 Dec 2013 15:17:22 +0000 (16:17 +0100)]
audiobasesink: handle the RESYNC flag

Also resync when a buffer with the RESYNC flag is seen.

10 years agoaudiodec/enc: clear reconfigure flag if negotiate succeeds
Julien Isorce [Thu, 5 Dec 2013 14:39:57 +0000 (14:39 +0000)]
audiodec/enc: clear reconfigure flag if negotiate succeeds

So that it avoids to send an allocation query twice.
One from an early call to gst_audio_encoder_negotiate from a
subclass, then one from gst_audio_encoder_allocate_output_buffer.
Which means that previously gst_audio_encoder_negotiate was not
clearing the GST_PAD_FLAG_NEED_RECONFIGURE even on success.

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

10 years agovideodec/enc: clear reconfigure flag if negotiate succeeds
Julien Isorce [Thu, 5 Dec 2013 14:31:25 +0000 (14:31 +0000)]
videodec/enc: clear reconfigure flag if negotiate succeeds

So that it avoids to send an allocation query twice.
One from an early call to gst_video_encoder_negotiate from a
subclass, then one from gst_video_encoder_allocate_output_frame.
Which means that previously gst_video_encoder_negotiate was not
clearing the GST_PAD_FLAG_NEED_RECONFIGURE even on success.

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

10 years agotheoradec: Use new gst_video_decoder_set_needs_format() API
Sebastian Dröge [Thu, 5 Dec 2013 10:39:07 +0000 (11:39 +0100)]
theoradec: Use new gst_video_decoder_set_needs_format() API

10 years agoaudiodecoder: Use FALSE instead of 0
Sebastian Dröge [Thu, 5 Dec 2013 10:37:09 +0000 (11:37 +0100)]
audiodecoder: Use FALSE instead of 0

10 years agovideodecoder: Add API to allow subclasses to specify that they needs caps before...
Sebastian Dröge [Thu, 5 Dec 2013 10:34:36 +0000 (11:34 +0100)]
videodecoder: Add API to allow subclasses to specify that they needs caps before any buffers

10 years agovideoencoder: Return not-negotiated if we don't have caps when the first buffer arrives
Sebastian Dröge [Thu, 5 Dec 2013 10:25:47 +0000 (11:25 +0100)]
videoencoder: Return not-negotiated if we don't have caps when the first buffer arrives

Otherwise things like filesrc ! jpegenc ! fakesink just crash with
a segmentation fault because subclasses expect caps to be there.

10 years agoaudiodecoder: no fallback to segment start for reverse playback
Mark Nauwelaerts [Wed, 4 Dec 2013 18:24:08 +0000 (19:24 +0100)]
audiodecoder: no fallback to segment start for reverse playback

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

10 years agoconvertframe: Fix trivial memory leak in debug statement
Justin Joy [Wed, 4 Dec 2013 15:27:14 +0000 (00:27 +0900)]
convertframe: Fix trivial memory leak in debug statement

gst_element_get_name() requires the caller to g_free() the return value

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

10 years agoaudiodecoder: use segment start as fallback ts if no other available
Mark Nauwelaerts [Mon, 2 Dec 2013 19:35:04 +0000 (20:35 +0100)]
audiodecoder: use segment start as fallback ts if no other available

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

10 years agovideodecoder: add new API to docs and defs
Mark Nauwelaerts [Sun, 1 Dec 2013 11:37:52 +0000 (12:37 +0100)]
videodecoder: add new API to docs and defs

10 years agovideodecoder: make _release_frame external API
Mark Nauwelaerts [Tue, 26 Nov 2013 19:50:33 +0000 (20:50 +0100)]
videodecoder: make _release_frame external API

... so subclasses can release a frame all the way (also from frame list)
without having to pass through _finish_frame or _drop_frame.
The latter may not be applicable, or may or may not have already
been called for the frame in question.

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

10 years agovideodecoder: fix spelling error in debug message
Mark Nauwelaerts [Tue, 26 Nov 2013 19:51:58 +0000 (20:51 +0100)]
videodecoder: fix spelling error in debug message

10 years agouridecodebin: copy sticky events
Wim Taymans [Fri, 29 Nov 2013 16:30:09 +0000 (17:30 +0100)]
uridecodebin: copy sticky events

10 years agodecodebin2: copy sticky events
Wim Taymans [Fri, 29 Nov 2013 16:26:13 +0000 (17:26 +0100)]
decodebin2: copy sticky events

10 years agotheoraparse: Fix event handling
Sebastian Dröge [Fri, 29 Nov 2013 12:32:55 +0000 (13:32 +0100)]
theoraparse: Fix event handling

Send CAPS event before any SEGMENT events or any other events
that must come in order after the CAPS event.

10 years agotools: gst-play: quit on Q or Esc key
Tim-Philipp Müller [Fri, 29 Nov 2013 09:04:20 +0000 (09:04 +0000)]
tools: gst-play: quit on Q or Esc key

10 years agotcp: fix compilation with MSVC
Tim-Philipp Müller [Thu, 28 Nov 2013 16:22:01 +0000 (16:22 +0000)]
tcp: fix compilation with MSVC

error C2440 at line 165 of gsttcpserversink.c
type cast error: cannot convert from GSocket* to GstMultiSinkHandle

10 years agodecodebin2: activate ghost pad before targetting
Wim Taymans [Thu, 28 Nov 2013 10:25:20 +0000 (11:25 +0100)]
decodebin2: activate ghost pad before targetting

Activate the decodebin2 pad before setting the target. This makes sure
that the events are copied.

10 years agovideometa: add GstVideoGLTextureUploadMeta buffer pool option
Matthew Waters [Thu, 21 Nov 2013 11:54:42 +0000 (22:54 +1100)]
videometa: add GstVideoGLTextureUploadMeta buffer pool option

allows configuration of whether GstVideoGLTextureUploadMeta is
added to buffers resulting from a buffer pool.  This is sperate
to the caps feature in that an element may want to add the upload
meta itself rather than allowing the buffer pool to.

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

10 years agoaudiodecoder: error out if no frames are decoded before eos
Sebastian Dröge [Tue, 26 Nov 2013 11:29:30 +0000 (12:29 +0100)]
audiodecoder: error out if no frames are decoded before eos

Raise an error in case no frames are decoded before EOS and we
have input, meaning that data was received but it was somehow invalid.

Based on the videodecoder change, merged here for consistency.

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

10 years agoaudiodecoder: Allow using -1 for infinite tolerated errors
Sebastian Dröge [Tue, 26 Nov 2013 11:20:33 +0000 (12:20 +0100)]
audiodecoder: Allow using -1 for infinite tolerated errors

Allows using -1 to make audiodecoder never post an error message
after decoding errors.

Based on the videodecoder change, merged here for consistency.

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

10 years agoplaysink: Fix visualizations if no visualization plugin was set
Sebastian Dröge [Tue, 26 Nov 2013 11:03:24 +0000 (12:03 +0100)]
playsink: Fix visualizations if no visualization plugin was set

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

10 years agovideodecoder: error out if no frames are decoded before eos
Thiago Santos [Tue, 29 Oct 2013 17:40:23 +0000 (14:40 -0300)]
videodecoder: error out if no frames are decoded before eos

Raise an error in case no frames are decoded before EOS and we
have input, meaning that data was received but it was somehow invalid.

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

10 years agovideodecoder: allow using -1 for infinite tolerated errors
Thiago Santos [Tue, 29 Oct 2013 17:11:51 +0000 (14:11 -0300)]
videodecoder: allow using -1 for infinite tolerated errors

Allows using -1 to make videodecoder never post an error message
after decoding errors.

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

10 years agotools: play: implement seeking via console in interactive mode
Tim-Philipp Müller [Sun, 24 Nov 2013 14:38:25 +0000 (14:38 +0000)]
tools: play: implement seeking via console in interactive mode

Arrow left and right to seek back of forward.

10 years agotools: play: fix endless loop on unhandled keys
Tim-Philipp Müller [Sun, 24 Nov 2013 14:33:24 +0000 (14:33 +0000)]
tools: play: fix endless loop on unhandled keys

When debugging output is not enabled.

10 years agotools: play: add keyboard controls for next/previous item in list
Tim-Philipp Müller [Sun, 24 Nov 2013 13:49:04 +0000 (13:49 +0000)]
tools: play: add keyboard controls for next/previous item in list

Make the '>' and '<' keys skip to the next or previous item in
the playlist.

10 years agotools: play: add --interactive switch and basic keyboard handling
Tim-Philipp Müller [Sun, 24 Nov 2013 01:08:48 +0000 (01:08 +0000)]
tools: play: add --interactive switch and basic keyboard handling

Only pause/play with spacebar for now.

10 years agotypefind: Add typefinder for OpenEXR
Sebastian Dröge [Sat, 23 Nov 2013 10:25:28 +0000 (11:25 +0100)]
typefind: Add typefinder for OpenEXR

10 years agovideodecoder: avoid descending output timestamps
Mark Nauwelaerts [Thu, 21 Nov 2013 20:33:59 +0000 (21:33 +0100)]
videodecoder: avoid descending output timestamps

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

10 years agotools: play: add --shuffle command line option
Tim-Philipp Müller [Fri, 22 Nov 2013 21:00:21 +0000 (21:00 +0000)]
tools: play: add --shuffle command line option

10 years agotests: add unit test for samiparser issue
Tim-Philipp Müller [Thu, 21 Nov 2013 16:34:25 +0000 (16:34 +0000)]
tests: add unit test for samiparser issue

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

10 years agosubparse: fix null pointer access in sami parser
Jihyun Cho [Thu, 21 Nov 2013 13:04:46 +0000 (22:04 +0900)]
subparse: fix null pointer access in sami parser

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

10 years agosubparse: g_memmove() is deprecated
Tim-Philipp Müller [Thu, 21 Nov 2013 15:19:47 +0000 (15:19 +0000)]
subparse: g_memmove() is deprecated

Just use plain memmove(), g_memmove() is deprecated in
recent GLib versions.

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

10 years agotests: fix input-selector-test
Tim-Philipp Müller [Mon, 18 Nov 2013 19:27:14 +0000 (19:27 +0000)]
tests: fix input-selector-test

Update for pad template name changes.

10 years agotests: fix appsrc test with latest GLib version
Tim-Philipp Müller [Mon, 18 Nov 2013 16:03:07 +0000 (16:03 +0000)]
tests: fix appsrc test with latest GLib version

With the latest GLib, g_source_remove() complains about not finding
the timeout source with the given ID here, since it was already
destroyed by returning FALSE from the timeout callback. Also return
FALSE from the bus watches when we don't want to be called any more.

10 years agodocs: remove old 0.10 Since markers
Tim-Philipp Müller [Sat, 16 Nov 2013 13:06:37 +0000 (13:06 +0000)]
docs: remove old 0.10 Since markers

They're just confusing.

10 years agodocs: cosmetic since marker fixes
Tim-Philipp Müller [Sat, 16 Nov 2013 12:29:04 +0000 (12:29 +0000)]
docs: cosmetic since marker fixes

10 years agoaudioencoder: also set output buffer DTS
Mark Nauwelaerts [Sat, 16 Nov 2013 14:24:48 +0000 (15:24 +0100)]
audioencoder: also set output buffer DTS

10 years agotypefind: Fix identification of some MPEG files
Reynaldo H. Verdejo Pinochet [Thu, 14 Nov 2013 04:53:31 +0000 (01:53 -0300)]
typefind: Fix identification of some MPEG files

Make sure we begin by peeking at MPEG2_MAX_PROBE_LENGTH
bytes.

Fixes:

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

10 years agortpbuffer: Fix gst_rtp_buffer_ext_timestamp() with clang 5 on iOS/ARM
Sebastian Dröge [Wed, 13 Nov 2013 19:12:48 +0000 (20:12 +0100)]
rtpbuffer: Fix gst_rtp_buffer_ext_timestamp() with clang 5 on iOS/ARM

The bitwise NOT operator is not defined on signed integers.
Thanks to Wim Taymans for finding the cause.

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

10 years agotests: fix race in streamsynchronizer test
Tim-Philipp Müller [Tue, 12 Nov 2013 18:58:43 +0000 (18:58 +0000)]
tests: fix race in streamsynchronizer test

Wait for thread to exit before starting to free the
to_push list, otherwise thread might check the final
to_push->next node only after we've freed it already.

10 years agovideodecoder: try to negotiate the buffer pool even though there is no o/p format
Sreerenj Balachandran [Mon, 11 Nov 2013 12:10:53 +0000 (14:10 +0200)]
videodecoder: try to negotiate the buffer pool even though there is no o/p format

We could have allocation query before caps event and even without caps inside
the query. In such cases , the downstream can return a bufferpool object with
out actually configuring it. This feature is helpful to negotiate the bufferpool
with out knowing the output video format. For eg: some hardware accelerated
decoders can interpret the o/p video format only after it finishes the decoding
of one buffer at least.

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

10 years agoappsrc: Fix deadlock that may occur when multiple threads access appsrc at once
Tom Greenwood [Thu, 7 Nov 2013 15:03:34 +0000 (15:03 +0000)]
appsrc: Fix deadlock that may occur when multiple threads access appsrc at once

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

10 years agotagdemux: accumulate buffers in adapter
Wim Taymans [Mon, 4 Nov 2013 08:55:17 +0000 (09:55 +0100)]
tagdemux: accumulate buffers in adapter

Accumulate buffers in an adapter instead of appending them because append causes
a lot of memcpys.
Keep track of the last tagsize and accumulate enough data before attempting to
parse more data.

This patch implements a minimal amount of changes in order to not change the
behaviour. We should really rewrite the tag handling and trimming using
the adapter API instead of merging and trimming into a buffer.

10 years agoadder: Free consistency checker instance in test_live_seeking test
Sebastian Dröge [Wed, 6 Nov 2013 11:16:31 +0000 (12:16 +0100)]
adder: Free consistency checker instance in test_live_seeking test

10 years agoadder: Release some request pads properly in the unit test
Sebastian Dröge [Wed, 6 Nov 2013 11:01:14 +0000 (12:01 +0100)]
adder: Release some request pads properly in the unit test

10 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 5 Nov 2013 11:18:01 +0000 (11:18 +0000)]
Automatic update of common submodule

From 865aa20 to dbedaa0

10 years agodiscoverer: fix build after last commit
Alessandro Decina [Mon, 4 Nov 2013 10:34:38 +0000 (11:34 +0100)]
discoverer: fix build after last commit

Add a forward declaration for my_g_string_append_printf that specifies
G_GNUC_PRINTF. Turn off indent on it as it drives gst-indent crazy.

10 years agodiscoverer: fix -Wformat-nonliteral warning
Alessandro Decina [Mon, 4 Nov 2013 10:17:30 +0000 (11:17 +0100)]
discoverer: fix -Wformat-nonliteral warning

10 years agoaudio: Add unit test for filling memory with silence samples
Sebastian Dröge [Sun, 3 Nov 2013 14:57:54 +0000 (15:57 +0100)]
audio: Add unit test for filling memory with silence samples

10 years agoaudio: Update ORC dist files
Sebastian Dröge [Sun, 3 Nov 2013 11:23:12 +0000 (12:23 +0100)]
audio: Update ORC dist files

10 years agoaudio-format: Use ORC for filling memory with silence samples
Sebastian Dröge [Sun, 3 Nov 2013 11:22:33 +0000 (12:22 +0100)]
audio-format: Use ORC for filling memory with silence samples

10 years agortspconnection: Add new API to the docs and .def file
Sebastian Dröge [Fri, 1 Nov 2013 16:02:22 +0000 (17:02 +0100)]
rtspconnection: Add new API to the docs and .def file

10 years agortspconnection: Fix indention in header
Sebastian Dröge [Fri, 1 Nov 2013 15:43:56 +0000 (16:43 +0100)]
rtspconnection: Fix indention in header

10 years agortspconnection: allow setting tls certificate validation
Aleix Conchillo Flaque [Fri, 1 Nov 2013 14:25:01 +0000 (07:25 -0700)]
rtspconnection: allow setting tls certificate validation

Added new functions gst_rtsp_connection_set_tls_validation_flags() to
allow setting the TLS certificate validation flags when establishing a
TLS connection.
A getter is also available, gst_rtsp_connection_get_tls_validation_flags().

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

10 years agosdp: fix duplicate 'const' declaration warnings
Matthieu Bouron [Fri, 1 Nov 2013 14:22:13 +0000 (14:22 +0000)]
sdp: fix duplicate 'const' declaration warnings

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

10 years agoplayback: Add subpicture/x-dvb as raw caps
Thibault Saunier [Wed, 16 Oct 2013 19:46:05 +0000 (16:46 -0300)]
playback: Add subpicture/x-dvb as raw caps

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

10 years agovideoscale: fix adding borders when NV12 is used
Antonio Ospite [Mon, 28 Oct 2013 11:36:04 +0000 (12:36 +0100)]
videoscale: fix adding borders when NV12 is used

When the frame buffer is NV12 the borders are not added at all, fix that
and fill them to black.

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

10 years agovideoconvert: remove unneeded guint comparaison
Matthieu Bouron [Wed, 23 Oct 2013 15:43:32 +0000 (16:43 +0100)]
videoconvert: remove unneeded guint comparaison

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

10 years agodiscoverer: also filter 'framed' field when looking for same streams
Stefan Sauer [Mon, 14 Oct 2013 16:45:16 +0000 (18:45 +0200)]
discoverer: also filter 'framed' field when looking for same streams

Fixes extra streams for some mp4 files containing aac audio.

10 years agooggdemux: fix copy'n'paste in comment
Stefan Sauer [Tue, 8 Oct 2013 19:57:11 +0000 (21:57 +0200)]
oggdemux: fix copy'n'paste in comment

10 years agotheoraenc: Do nothing when flushing the encoder when no caps were set
Thibault Saunier [Thu, 10 Oct 2013 18:56:32 +0000 (15:56 -0300)]
theoraenc: Do nothing when flushing the encoder when no caps were set

In case we receive a flush event before having our caps set, we will
end up trying to create a theora encoder even though we are not ready.
Avoid that situation making sure we are initialized before accepting to
be flushed.

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

10 years agonavigation: Add missing out parameter annotations to GstNavigation
Stephan Sundermann [Fri, 11 Oct 2013 19:51:00 +0000 (21:51 +0200)]
navigation: Add missing out parameter annotations to GstNavigation

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

10 years agoexamples/overlay: handle the case when xvimagesink is not found
Julien Isorce [Thu, 10 Oct 2013 13:09:19 +0000 (14:09 +0100)]
examples/overlay: handle the case when xvimagesink is not found

So that ximagesink can have a chance to be found.
In qtgv-videooverlay.

10 years agoexamples/overlay: unref sink only when found
Julien Isorce [Thu, 10 Oct 2013 13:01:44 +0000 (14:01 +0100)]
examples/overlay: unref sink only when found

In gtk-videooverlay and qt-videooverlay examples.

10 years agoencodebin: Handle changes in encoding_profile::restriction during playback
Thibault Saunier [Mon, 7 Oct 2013 17:52:00 +0000 (14:52 -0300)]
encodebin: Handle changes in encoding_profile::restriction during playback

There are cases where we want to change the restrictions caps during
playback, handle that in encodebin.

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

10 years agoalsa: Add channel map API support
Takashi Iwai [Tue, 8 Oct 2013 15:07:02 +0000 (17:07 +0200)]
alsa: Add channel map API support

The initial support for the new ALSA chmap API.
Just translate the current chmap to GstAudioChannelPosition during the
setup.  No function to specify the channel map manually yet, so still
impossible to assign any non-standard positions or to configure in a
different order even if the hardware allows.

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

10 years agoaudioringbuffer: Don't clear need_reorder flag too early
Takashi Iwai [Tue, 8 Oct 2013 14:02:46 +0000 (16:02 +0200)]
audioringbuffer: Don't clear need_reorder flag too early

gst_audio_ring_buffer_set_channel_positions() checks whether the given
positions are identical with the current setup and returns
immediately if so.  But it also clears need_reorder flag before this
comparison, thus this flag might be wrongly cleared if the function is
called twice with the same channel positions.

Move the flag clearance after the check.

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

10 years agovideotestsrc: improve test for backwards playback
Thiago Santos [Tue, 8 Oct 2013 19:13:58 +0000 (16:13 -0300)]
videotestsrc: improve test for backwards playback

Improve test by checking that timestamps are decreasing

10 years agovideotestsrc: implement duration query
Thiago Santos [Tue, 8 Oct 2013 19:10:54 +0000 (16:10 -0300)]
videotestsrc: implement duration query

Add duration query to videotestsrc, it can answer this query when
the num-buffers property is set.

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

10 years agotests: test videotestsrc in reverse playback
Thibault Saunier [Fri, 7 Jun 2013 20:32:23 +0000 (16:32 -0400)]
tests: test videotestsrc in reverse playback

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

10 years agovideotestsrc: implement reverse playback
Thiago Santos [Tue, 8 Oct 2013 03:08:34 +0000 (00:08 -0300)]
videotestsrc: implement reverse playback

Decrement the n_frames counter when doing reverse playback to
have timestamps and offsets reducing instead of increasing

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

10 years agovideodecoder: don't overflow in bytes<->time conversion
Stefan Sauer [Tue, 8 Oct 2013 07:13:50 +0000 (09:13 +0200)]
videodecoder: don't overflow in bytes<->time conversion

fps_n and _d values can be large and this can overflow a uint. Also fix
copy'n'paste mistake in comments.

10 years agodiscoverer: filter 'parsed' field when checking for same caps
Stefan Sauer [Mon, 7 Oct 2013 20:52:27 +0000 (22:52 +0200)]
discoverer: filter 'parsed' field when checking for same caps

We're checking the caps to see if we got more caps details after a parser got
plugged. This will also have a flipped 'parsed' field. If the field was already
present before the parse the match will fail. Add a function that will do the
check while excluding this field.

10 years agodiscoverer: don't shadow local variables
Stefan Sauer [Mon, 7 Oct 2013 20:51:46 +0000 (22:51 +0200)]
discoverer: don't shadow local variables

10 years agodiscoverer: early return when we have no streams
Stefan Sauer [Mon, 7 Oct 2013 20:51:04 +0000 (22:51 +0200)]
discoverer: early return when we have no streams

10 years agodiscoverer: also log stream-id
Stefan Sauer [Mon, 7 Oct 2013 20:49:52 +0000 (22:49 +0200)]
discoverer: also log stream-id

10 years agodiscoverer: fix quark-mismatch for toc and stream-id
Stefan Sauer [Mon, 7 Oct 2013 16:53:18 +0000 (18:53 +0200)]
discoverer: fix quark-mismatch for toc and stream-id

Seems like a copy'n'paste from 15ee41df.

10 years agodiscoverer: report depth for video
Stefan Sauer [Sat, 5 Oct 2013 19:01:53 +0000 (21:01 +0200)]
discoverer: report depth for video

This was returning 0 in all cases. Use the data from GstVideoFormatInfo instead.

10 years agoaudioconvert: Map buffer as READWRITE if the buffer and memory is writable
Matej Knopp [Fri, 4 Oct 2013 11:57:51 +0000 (13:57 +0200)]
audioconvert: Map buffer as READWRITE if the buffer and memory is writable

and only use the input buffer as temporary buffer in that case.

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

10 years agortspconnection: Connect to proxy if specified
Hans Månsson [Mon, 30 Sep 2013 19:46:10 +0000 (21:46 +0200)]
rtspconnection: Connect to proxy if specified

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

10 years agodiscoverer: extract helper to print common stream info
Stefan Sauer [Thu, 3 Oct 2013 17:52:58 +0000 (19:52 +0200)]
discoverer: extract helper to print common stream info

Save some lnes of code by using a helper for common stream info.

10 years agodiscoverer: extract some common code
Stefan Sauer [Wed, 2 Oct 2013 09:27:41 +0000 (11:27 +0200)]
discoverer: extract some common code

Extract code to make a GstDiscovererInfo. Extracts code that sets StreamInfo.

10 years agoplaysink: If the visualisation is changing and reconfiguration is pending, do it...
Sebastian Dröge [Wed, 2 Oct 2013 13:02:44 +0000 (15:02 +0200)]
playsink: If the visualisation is changing and reconfiguration is pending, do it all during reconfiguration

Otherwise we will have two pad blocks that want to use the same mutex
and block each other via the streamlock.

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

10 years agowin32: Update defs file
Edward Hervey [Wed, 2 Oct 2013 11:06:03 +0000 (13:06 +0200)]
win32: Update defs file

10 years agopbutils: Add codec-utility funtions to support H265
Sreerenj Balachandran [Wed, 2 Oct 2013 09:26:59 +0000 (12:26 +0300)]
pbutils: Add codec-utility funtions to support H265

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

10 years agodescriptions: Add description for H.265
Sebastian Dröge [Tue, 1 Oct 2013 21:17:06 +0000 (23:17 +0200)]
descriptions: Add description for H.265

10 years agotypefind: Add typefind function for H265
Sreerenj Balachandran [Tue, 24 Sep 2013 12:51:46 +0000 (15:51 +0300)]
typefind: Add typefind function for H265

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

10 years agoplaybin: make sure elements are in null before disposing
Thiago Santos [Tue, 24 Sep 2013 23:47:52 +0000 (16:47 -0700)]
playbin: make sure elements are in null before disposing

If a pipeline fails to preroll, it might happen that the sinks are
put into READY state from playbin's sink activation, but they are never
set to playsink, so they aren't being managed by a GstBin and will keep
their READY state until they are unreffed, leading to a warning.

Prevent this by always forcing them to NULL when deactivating a group

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

10 years agoaudiocdsrc: Don't consider trailing data tracks for MusicBrainz disc id calculation
Johannes Dewender [Sat, 28 Sep 2013 11:19:02 +0000 (13:19 +0200)]
audiocdsrc: Don't consider trailing data tracks for MusicBrainz disc id calculation

MusicBrainz removes trailing data tracks from releases on the server
and also for the calculation of the MusicBrainz Disc ID.

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

10 years agoaudioringbuffer: check if acquired in set_timestamp
David Svensson Fors [Mon, 23 Sep 2013 09:35:43 +0000 (11:35 +0200)]
audioringbuffer: check if acquired in set_timestamp

Also use GST_OBJECT_LOCK when accessing object data in set_timestamp.

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

10 years agoadder: Don't take channel mask in consideration in mono or stereo
MathieuDuponchelle [Sun, 15 Sep 2013 19:48:43 +0000 (21:48 +0200)]
adder: Don't take channel mask in consideration in mono or stereo

This could cause negotiation to fail.

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

10 years agoaudiorate: clip buffer before pushing it
Matej Knopp [Fri, 27 Sep 2013 20:41:28 +0000 (22:41 +0200)]
audiorate: clip buffer before pushing it

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