platform/upstream/gstreamer.git
10 years agotranslation: PO file changes caused by POTFILE.in update
Nicolas Dufresne [Sat, 15 Mar 2014 12:47:42 +0000 (13:47 +0100)]
translation: PO file changes caused by POTFILE.in update

10 years agov4l2: Remove XV support
Nicolas Dufresne [Sat, 15 Mar 2014 12:17:21 +0000 (13:17 +0100)]
v4l2: Remove XV support

XV support for v4l2 never became upstream and ended up being
commented out with an undef for a long time now.

10 years agov4l2: Use a copy of videodev2.h header
Nicolas Dufresne [Sat, 15 Mar 2014 10:13:05 +0000 (11:13 +0100)]
v4l2: Use a copy of videodev2.h header

With years the amount of ifdef have grown up and we are not even sure if the
old code path compiles. Each time we need to update the v4l2 framework to add
the new feature, we break compilation on older kernel. With exception of two
controls in the video orientation control, this patch get rid of all ifdef by
including the latest version of videodev2.h inside GStreamer.

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

10 years agosouphttpsrc: Add properties for selecting SSL/TLS certificate checking
Sebastian Dröge [Wed, 12 Mar 2014 14:32:55 +0000 (15:32 +0100)]
souphttpsrc: Add properties for selecting SSL/TLS certificate checking

And by default properly check certificates against the system's CA
certificates. Everything else is not a good default at all.

10 years agomatroskademux: fix assert on fps lower than 1
Per x Johansson [Tue, 11 Mar 2014 13:56:30 +0000 (14:56 +0100)]
matroskademux: fix assert on fps lower than 1

Fixes assert caused by gst_duration_to_fraction calling
gst_util_uint64_scale_int with a denominator of 0 when fps is less
than 1.

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

10 years agovideomixer2: store video info with buffers to keep it in sync
Thiago Santos [Tue, 11 Mar 2014 03:46:06 +0000 (00:46 -0300)]
videomixer2: store video info with buffers to keep it in sync

Instead the queued buffer might have an old caps while the pad
is already storing the information for a new caps. Mixing those
while handling buffers will often lead to issues

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

10 years agov4l2: Fix typo contol -> control
William Manley [Sun, 9 Mar 2014 00:29:58 +0000 (19:29 -0500)]
v4l2: Fix typo contol -> control

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

10 years agov4l2: Normalise control names in the same way as v4l2-ctl
William Manley [Tue, 4 Mar 2014 01:15:49 +0000 (01:15 +0000)]
v4l2: Normalise control names in the same way as v4l2-ctl

V4L2 kernel drivers allow configuration of the hardware settings via a
mechanism called controls.  These can be referred to by name such as
"Brightness" and "White Balance Temperature".  The user-space command line
client for setting these controls (v4l2-ctl) normalises these names such
that they only contain lower case alphanumeric characters and the
underscore '_'.  e.g:

    Kernel                     v4l2-ctl
    ----------------------------------------------------
    Brightness                 brightness
    White Balance Temperature  white_balance_temperature
    Focus (absolute)           focus_absolute

GStreamer seems to want to follow this pattern but failed for controls with
more than one consecutive non-alphanum character.  e.g. GStreamer would
produce "focus__absolute_" rather than "focus_absolute".

This commit fixes that issue.  Backwards compatibility is preserved by
normalising all control names before comparison.

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

10 years agosouphttpsrc: Make sure to not return EOS immediately if we finished a range request
Sebastian Dröge [Fri, 7 Mar 2014 15:17:29 +0000 (16:17 +0100)]
souphttpsrc: Make sure to not return EOS immediately if we finished a range request

Only return EOS the next time create() is called, if at all. basesrc
should already take care of not calling it again.

Also always return immediately if the previous flow return was
not OK. This indicates an error somewhere.

10 years agortp: Remove caps restrictions from RTP depayloader sink caps
Olivier Crête [Thu, 6 Mar 2014 17:06:43 +0000 (12:06 -0500)]
rtp: Remove caps restrictions from RTP depayloader sink caps

Remove caps restrictions that correspond to the default and are not
required in SDP. With the new usage of having pads require a subset
of the caps, they will make the negotiation fail.

10 years agortpspeexdepay: Remove caps restrictions for depayloader
Olivier Crête [Thu, 6 Mar 2014 16:02:09 +0000 (11:02 -0500)]
rtpspeexdepay: Remove caps restrictions for depayloader

The "encoding-params" is optional in the SDP, because we now require
a subset of the caps, it would fail caps negotiatioin if it wasn't present.
So removed it from the template caps.

10 years agosouphttpsrc: Don't forget to quit mainloop after we cancelled when we got data after...
Sebastian Dröge [Thu, 6 Mar 2014 12:38:09 +0000 (13:38 +0100)]
souphttpsrc: Don't forget to quit mainloop after we cancelled when we got data after the stop position

10 years agosouphttpsrc: If we had a stop position, allow for the server to finish our connection...
Sebastian Dröge [Thu, 6 Mar 2014 12:35:47 +0000 (13:35 +0100)]
souphttpsrc: If we had a stop position, allow for the server to finish our connection instead of just cancelling

Otherwise keep-alive does not make much sense and also the server will have
confusing things in the logs.

10 years agortspsrc: skip streams with same control url
Wim Taymans [Thu, 6 Mar 2014 11:24:01 +0000 (12:24 +0100)]
rtspsrc: skip streams with same control url

Keep track of what streams we did the SETUP for. We only need to
configure caps, wait for pads and push events on setup streams. We can
remove the disabled state of the stream and simplify some checks.
After we setup a stream, skip the other streams that have the same
control url. Use a skipped flag to mark streams that should be skipped.

10 years agortspsrc: remove obsolete code
Wim Taymans [Thu, 6 Mar 2014 11:22:47 +0000 (12:22 +0100)]
rtspsrc: remove obsolete code

10 years agortspsrc: just use the SDP index as the stream id
Wim Taymans [Wed, 5 Mar 2014 15:19:19 +0000 (16:19 +0100)]
rtspsrc: just use the SDP index as the stream id

Use the index of the media stream in the SDP as the stream id instead of
keeping a separate counter.

10 years agoosxvideo: fix build on Mac OSX Mavericks and put new window in front
Thijs Vermeir [Wed, 5 Mar 2014 12:35:19 +0000 (13:35 +0100)]
osxvideo: fix build on Mac OSX Mavericks and put new window in front

GetCurrentProcess/SetFrontProcess/TransformProcessType was deprecated
and now removed in Mac OSX 10.9. orderFrontRegardless is used to make
the video window the most front window.

10 years agoAdd docs directory to spec file
Christian Fredrik Kalager Schaller [Wed, 5 Mar 2014 16:33:56 +0000 (17:33 +0100)]
Add docs directory to spec file

10 years agortspsrc: handle NULL control urls better
Wim Taymans [Wed, 5 Mar 2014 14:44:25 +0000 (15:44 +0100)]
rtspsrc: handle NULL control urls better

10 years agosession: small cleanups
Wim Taymans [Wed, 5 Mar 2014 13:28:26 +0000 (14:28 +0100)]
session: small cleanups

It's nicer to explicitly check for NULL on pointer types to make it
clear that it's a pointer and not a boolean.

10 years agosession: handle unknown SSRC in FIR
Wim Taymans [Wed, 5 Mar 2014 13:26:02 +0000 (14:26 +0100)]
session: handle unknown SSRC in FIR

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

10 years agortspsrc: fix seeking
Alessandro Decina [Wed, 5 Mar 2014 10:39:09 +0000 (11:39 +0100)]
rtspsrc: fix seeking

Call gst_rtspsrc_connection_flush (src, FALSE) to reset connections as
non-flushing before sending PAUSE and PLAY with the new npt range. Without this
patch, those commands would fail with EINTR as the connections were still
flushing.

10 years agoavidemux: expose xsub as a subtitle instead of as a video
Thiago Santos [Mon, 3 Mar 2014 19:39:26 +0000 (16:39 -0300)]
avidemux: expose xsub as a subtitle instead of as a video

It is placed inside a 'vids' struct, so it was being exposed on
a pad named video_%d. XSUB are subtitles and this patch adds
an special case for it to be exposed in a subpicture_%d pad

10 years agoavidemux: do not try to add a tag with tag_name set to NULL
Thiago Santos [Mon, 3 Mar 2014 19:38:45 +0000 (16:38 -0300)]
avidemux: do not try to add a tag with tag_name set to NULL

This can happen if there are subtitles in the stream, leading to
an assertion

10 years agortspsrc: Add support for multiple payload types
Wim Taymans [Tue, 4 Mar 2014 15:40:34 +0000 (16:40 +0100)]
rtspsrc: Add support for multiple payload types

A media stream can have multiple payload types. Parse all the payload
types and collect the caps information. We then have to store the
pt<->caps mapping instead of 1 pt and 1 caps.
Parse the profile from the SDP and use that to negotiate the transport
instead of always using AVP.
Rework how we do some tweaks for ASF and Realmedia.

10 years agortspsrc: refactor payload handling
Wim Taymans [Tue, 4 Mar 2014 10:34:39 +0000 (11:34 +0100)]
rtspsrc: refactor payload handling

10 years agojitterbuffer: fix buffer level with invalid DTS
Wim Taymans [Mon, 3 Mar 2014 10:34:00 +0000 (11:34 +0100)]
jitterbuffer: fix buffer level with invalid DTS

It is possible that the DTS is invalid (when we receive RTP packets from
TCP, for example). As a fallback, use the reconstructed PTS value to
calculate the buffer level.

10 years ago.gitignore: Ignore gcov intermediate files
Sebastian Rasmussen [Sun, 2 Mar 2014 04:10:13 +0000 (05:10 +0100)]
.gitignore: Ignore gcov intermediate files

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

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

From fe1672e to bcb1518

10 years agoRevert "aacparse: put codec data on caps for loas format"
Thiago Santos [Fri, 28 Feb 2014 02:15:04 +0000 (23:15 -0300)]
Revert "aacparse: put codec data on caps for loas format"

This reverts commit e459cf3e01a08f1a3ef1fb954a41cfa36b3e510c.

This was pushed by accident, the bug should likely be fixed in
libav https://bugzilla.libav.org/show_bug.cgi?id=644

10 years agojpegdec: mark all parsed frames as sync points
Thiago Santos [Thu, 27 Feb 2014 21:55:04 +0000 (18:55 -0300)]
jpegdec: mark all parsed frames as sync points

all jpeg frames are sync points, so mark them as such so
reverse playback can properly work with the video decoder
base class

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

10 years agoaacparse: put codec data on caps for loas format
Thiago Santos [Tue, 25 Feb 2014 04:12:05 +0000 (01:12 -0300)]
aacparse: put codec data on caps for loas format

gst-libav audio decoder also needs codec data for LOAS format, otherwise
it will complain about not having a decoder config and skip all packets

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

10 years agomatroskademux: align raw audio memory to powers of two
Tim-Philipp Müller [Thu, 27 Feb 2014 00:43:48 +0000 (00:43 +0000)]
matroskademux: align raw audio memory to powers of two

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

10 years agomatroskademux: calculate alignment properly for audio depths not a multiple of 8
Tim-Philipp Müller [Thu, 27 Feb 2014 00:37:20 +0000 (00:37 +0000)]
matroskademux: calculate alignment properly for audio depths not a multiple of 8

10 years agomatroskademux: fix crash with 24-bit raw audio
Matej Knopp [Sun, 23 Feb 2014 18:09:24 +0000 (19:09 +0100)]
matroskademux: fix crash with 24-bit raw audio

Do not try to align audio buffers to odd numbers,
which will get us a NULL buffer which we then
crash on.

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

10 years agortpmanager: re-enable -Werror
Tim-Philipp Müller [Thu, 27 Feb 2014 00:11:42 +0000 (00:11 +0000)]
rtpmanager: re-enable -Werror

10 years agortpjitterbuffer: fix compiler warning
Tim-Philipp Müller [Thu, 27 Feb 2014 00:11:11 +0000 (00:11 +0000)]
rtpjitterbuffer: fix compiler warning

gstrtpjitterbuffer.c: In function 'gst_rtp_jitter_buffer_loop':
gstrtpjitterbuffer.c:2978:3: error: 'result' may be used uninitialized in this function
   while (result == GST_FLOW_OK);
   ^

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

From 1a07da9 to fe1672e

10 years agortpjitterbuffer: Fix uninitialized variable compiler warning
Sebastian Dröge [Wed, 26 Feb 2014 20:11:23 +0000 (21:11 +0100)]
rtpjitterbuffer: Fix uninitialized variable compiler warning

10 years agortpjitterbuffer: Remove raw comparisons of RTP sequence numbers
Jake Foytik [Wed, 26 Feb 2014 12:32:32 +0000 (07:32 -0500)]
rtpjitterbuffer: Remove raw comparisons of RTP sequence numbers

Several conditional statements perform comparison on RTP sequence
numbers without taking the sequence number rollover into account.
Instead, use the gst_rtp_buffer_compare_seqnum function to perform the
comparison.

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

10 years agotests: Don't build disabled plugins' check tests
Sebastian Rasmussen [Mon, 3 Feb 2014 00:44:21 +0000 (01:44 +0100)]
tests: Don't build disabled plugins' check tests

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

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

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

10 years agov4l2object: do not emit "parsed" caps for vp8
Hugues Fruchet [Tue, 25 Feb 2014 21:10:54 +0000 (16:10 -0500)]
v4l2object: do not emit "parsed" caps for vp8

VP8 doesn't require parsing (vp8parse doesn't exist, so negotiation with demux fails
if "parsed" is set in caps).

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

10 years agov4l2: Don't require parser for VP8
Nicolas Dufresne [Tue, 11 Feb 2014 21:27:08 +0000 (16:27 -0500)]
v4l2: Don't require parser for VP8

Until GStreamer has one (see bug722760), we should not require a parser for VP8.

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

10 years agov4l2: CAPTURE_MPLANE is well tested now
Nicolas Dufresne [Mon, 10 Feb 2014 22:08:25 +0000 (17:08 -0500)]
v4l2: CAPTURE_MPLANE is well tested now

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

10 years agov4l2videodec: Create one element per device
Benjamin Gaignard [Wed, 18 Dec 2013 08:56:35 +0000 (09:56 +0100)]
v4l2videodec: Create one element per device

For each videoCdevice probe it input/output capabilities
if it match with video decoder requirement register a new element.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
https://bugzilla.gnome.org/show_bug.cgi?id=722128

10 years agov4l2videodec: Calculate latency from device information
Nicolas Dufresne [Thu, 19 Dec 2013 20:26:52 +0000 (15:26 -0500)]
v4l2videodec: Calculate latency from device information

Decoders or other devices that expose a minimum buffers required produce
an first output. We use this information to calculate latency.

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

10 years agov4l2videodec: Implement v4l2videodec
Nicolas Dufresne [Thu, 28 Nov 2013 22:14:18 +0000 (17:14 -0500)]
v4l2videodec: Implement v4l2videodec

Implement an element that can driver V4L2 M2M decoder device.

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

10 years agortph264pay: only update last_spspps time if all sps/pps got sent successfully
Göran Jönsson [Tue, 11 Feb 2014 11:41:29 +0000 (12:41 +0100)]
rtph264pay: only update last_spspps time if all sps/pps got sent successfully

This fixes an issue with gst-rtsp-server where no sps and pps are
sent for the first intra frame, because the payloader starts working
already when receiving DESCRIBE but there is no transports so it tries
to send sps and pps, but that fails with a FLUSHING flow. But the time
for last sent sps and pps would still be set, so when PLAY arrives and
the first intra frame is to be sent there is no sps and pps sent due to
that time since last sps pps is less than spspps_interval.

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

10 years agortspsrc: Fix deadlock when task creation is no successful
Santiago Carot-Nemesio [Tue, 25 Feb 2014 08:00:45 +0000 (09:00 +0100)]
rtspsrc: Fix deadlock when task creation is no successful

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

10 years agoautodetect: demote candidate error to warning and plug fake{sink,src}
Stefan Sauer [Sat, 22 Feb 2014 19:19:49 +0000 (20:19 +0100)]
autodetect: demote candidate error to warning and plug fake{sink,src}

In the case where we have no suitable candidate we post a warning and plug a
fake-element. Do the same when non of the candidate work.

This is more consistent and plugin the fakesink as a fallback is probably
helpful for running unit tests without requiring hardware src/sink elements.

Fixes #722981

10 years agov4l2: make some more controls configurable
Mark Nauwelaerts [Sun, 23 Feb 2014 11:34:48 +0000 (12:34 +0100)]
v4l2: make some more controls configurable

... at least if one tries hard enough using extra-controls property.

10 years agov4l2: Require mplanar support for now in configure
Dan Kegel [Sun, 23 Feb 2014 09:39:20 +0000 (10:39 +0100)]
v4l2: Require mplanar support for now in configure

The code fails to compile without currently, see
https://bugzilla.gnome.org/show_bug.cgi?id=723446

It's better to disable it instead of failing compilation
until this is fixed properly.

10 years agojack: add some simple log handlers for jack
Stefan Sauer [Sat, 22 Feb 2014 23:14:04 +0000 (00:14 +0100)]
jack: add some simple log handlers for jack

Add log handlers for jack that write to the gst debug log. This avoids spamming
the console when e.g. using autoaudiosink, having the jack elements installed,
but not running jack.

10 years agov4l2src: handle old and odd driver behaviour when listing controls
Mark Nauwelaerts [Sat, 22 Feb 2014 20:31:21 +0000 (21:31 +0100)]
v4l2src: handle old and odd driver behaviour when listing controls

10 years agoaudiofxbaseiirfilter: check if coefficients are provided inside filter lock
Darryl Gamroth [Fri, 29 Nov 2013 00:54:58 +0000 (16:54 -0800)]
audiofxbaseiirfilter: check if coefficients are provided inside filter lock

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

10 years agov4l2src: also unset INTERLACED flag on buffers if frame is not interlaced
Tim-Philipp Müller [Fri, 21 Feb 2014 19:46:44 +0000 (19:46 +0000)]
v4l2src: also unset INTERLACED flag on buffers if frame is not interlaced

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

10 years agov4l2src: Flag interlaced buffers as interlaced.
Simon Farnsworth [Fri, 21 Feb 2014 14:31:59 +0000 (14:31 +0000)]
v4l2src: Flag interlaced buffers as interlaced.

We correctly indicate the field ordering on interlaced buffers, but fail to
flag them as containing interlaced video, which we need to do here because
we signal interlace-mode=mixed in our caps. This means that downstream
elements (like vaapipostproc from gstreamer-vaapi) don't recognise these
buffers as in need of deinterlacing.

Fix this by setting the interlaced flag on all interlaced buffers.

Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
https://bugzilla.gnome.org/show_bug.cgi?id=724899

10 years agoaacparse: be more strict at ADTS header parsing
Reynaldo H. Verdejo Pinochet [Wed, 19 Feb 2014 16:56:37 +0000 (13:56 -0300)]
aacparse: be more strict at ADTS header parsing

Adds two extra checks:

- Sampling frequency on header can't be 15.
- Frame size should be at least 9 or 7, depending
  on whether CRC protection is present.

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

10 years agoaacparse: make sure we have enough ADTS data
Reynaldo H. Verdejo Pinochet [Wed, 19 Feb 2014 16:35:59 +0000 (13:35 -0300)]
aacparse: make sure we have enough ADTS data

We need at least 6 bytes to pass over to _get_frame_len()
but we were just checking for a minimum of 2 bytes for the
syncword.

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

10 years agoautodetect: check if the kid has a sync property
Stefan Sauer [Thu, 20 Feb 2014 21:52:57 +0000 (22:52 +0100)]
autodetect: check if the kid has a sync property

previously autovideosrc did not have a sync property and v4l2src has none either.

10 years agoautodetect: use a common baseclass
Stefan Sauer [Wed, 19 Feb 2014 20:55:52 +0000 (21:55 +0100)]
autodetect: use a common baseclass

This makes the actual elements super simple. We're using the ELEMENT_FLAG to
configure source/sink and a string for the Audio/Video type.

10 years agortspsrc: add tls-database property
Aleix Conchillo Flaqué [Sat, 15 Feb 2014 01:14:42 +0000 (17:14 -0800)]
rtspsrc: add tls-database property

Add support for a new property: tls-database. If the property is set,
the certificate database will be given to the rtsp connection if TLS
protocol is being used. If the server certificate can't be verified with
the default database, this additional database will be used.

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

10 years agoosxaudio: remove unused variables
Thijs Vermeir [Wed, 19 Feb 2014 21:21:54 +0000 (22:21 +0100)]
osxaudio: remove unused variables

10 years agoautodetect: extract common helper code
Stefan Sauer [Wed, 19 Feb 2014 20:26:03 +0000 (21:26 +0100)]
autodetect: extract common helper code

The function to generate the pretty names is basically the same. Use one and add
a parameter.

10 years agoautodetect: improve the tests
Stefan Sauer [Wed, 19 Feb 2014 20:01:39 +0000 (21:01 +0100)]
autodetect: improve the tests

Add fake audio/video sinks. Previously running the test might be flaky due to
the use of real elements (hardware in use), which we don't want to test here.
Add two more tests that check that the fakes are chosen.

10 years agosouphttpsrc: do not emit error when connection with unknown size ends
Branislav Katreniak [Wed, 19 Feb 2014 14:19:30 +0000 (15:19 +0100)]
souphttpsrc: do not emit error when connection with unknown size ends

Commit 46fd12ae5ec53200b16dfd7f17048d6bc60fbfbc introduced connection
recovery. But when server does not specify content-size,
souphttpsrc tries to reconnect even after regular end of stream.
Http server replies  with SOUP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE
but souphttpsrc still emits error instead of EOS.

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

Signed-off-by: Branislav Katreniak <bkatreniak@nuvotechnologies.com>
10 years agoautodetect: fix the disabled test
Stefan Sauer [Wed, 19 Feb 2014 10:26:22 +0000 (11:26 +0100)]
autodetect: fix the disabled test

Use a shared helper for both tests. It turns out that the valgrind variant is
fine (maybe due to picking up pulsesink though).

10 years agoautodetect: remove cruft from the test
Stefan Sauer [Wed, 19 Feb 2014 10:05:35 +0000 (11:05 +0100)]
autodetect: remove cruft from the test

Remove the obsolete version check and use the ignore macro for the disabled test.

10 years agodocs: use docbook markup for xi:include
Stefan Sauer [Tue, 18 Feb 2014 21:54:45 +0000 (22:54 +0100)]
docs: use docbook markup for xi:include

It turns out that the change in gtk-doc-1.20 which wraps the |[]| content in
CDATA break xi:inlcude examples. As in a whole jhbuild checkout these where
the only 4, we're fixing them instead.

10 years agoisomp4mux: fix copy and paste
Stefan Sauer [Tue, 18 Feb 2014 21:35:45 +0000 (22:35 +0100)]
isomp4mux: fix copy and paste

This fixes doc warnings.

10 years agodocs: use the gtk-doc syntax to link to properties
Stefan Sauer [Tue, 18 Feb 2014 20:44:24 +0000 (21:44 +0100)]
docs: use the gtk-doc syntax to link to properties

Don't use docbook unless needed. Also stip other docbook tags in the the files we fix.

10 years agopulsesink: fix crash when getting the current-device in NULL->READY
Stefan Sauer [Tue, 18 Feb 2014 10:28:18 +0000 (11:28 +0100)]
pulsesink: fix crash when getting the current-device in NULL->READY

The "goto unlock" is wrong as in this code path we haven't take the lock yet.
Fixes #724619

10 years agosoup: We need libsoup >= 2.40 for proper usage of the content decoder
Sebastian Dröge [Fri, 14 Feb 2014 21:50:49 +0000 (22:50 +0100)]
soup: We need libsoup >= 2.40 for proper usage of the content decoder

Previous versions did not consider our chunk allocator and allocated
memory by themselves, which caused crashes and broken behaviour.

10 years agodocs: fix mismatched para tags
William Jon McCann [Fri, 14 Feb 2014 20:27:20 +0000 (15:27 -0500)]
docs: fix mismatched para tags

newer gtkdoc is more sensitive to mismatched docbook tags.
This fixes the build in master.

10 years agortpjitterbuffer: add support for serialized queries
Wim Taymans [Fri, 14 Feb 2014 14:59:46 +0000 (15:59 +0100)]
rtpjitterbuffer: add support for serialized queries

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

10 years agotests: fix typecast to fix compilation
Wim Taymans [Fri, 14 Feb 2014 14:53:55 +0000 (15:53 +0100)]
tests: fix typecast to fix compilation

10 years agortpsession: proxy caps and allocation on RTP pads
Wim Taymans [Fri, 14 Feb 2014 11:01:00 +0000 (12:01 +0100)]
rtpsession: proxy caps and allocation on RTP pads

recv_rtp_sink: allow proxying of the allocation query.
send_rtp_sink: allow proxying of caps and allocation. This allows us to
query caps downstream as well as get an allocator from downstream.
send_rtp_src: allow proxy of caps, this makes the caps query do
upstream.

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

10 years agoqtdemux: handle tags in mac encoding
Thiago Santos [Thu, 13 Feb 2014 15:29:13 +0000 (12:29 -0300)]
qtdemux: handle tags in mac encoding

Check the charset from (C)*** tags and set the charset
to convert from MAC encoding if suitable.

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

10 years agosouphttpsrc: Use new automatic_eos API from basesrc
Sebastian Dröge [Thu, 13 Feb 2014 11:09:13 +0000 (12:09 +0100)]
souphttpsrc: Use new automatic_eos API from basesrc

We want to notice ourselves that we're EOS. Otherwise we will
always cancel requests in the very end and confuse the server...
and also make it impossible to use persistent connections.

10 years agosouphttpsrc: Consistently use have_size instead of content_size!=0
Sebastian Dröge [Thu, 13 Feb 2014 10:11:13 +0000 (11:11 +0100)]
souphttpsrc: Consistently use have_size instead of content_size!=0

10 years agosouphttpsrc: Free extra headers when finalizing the element
Sebastian Dröge [Thu, 13 Feb 2014 09:30:09 +0000 (10:30 +0100)]
souphttpsrc: Free extra headers when finalizing the element

It's set as property by the application, we should not just reset
properties when going back to READY.

10 years agosouphttpsrc: Properly close the session when going back to NULL
Sebastian Dröge [Thu, 13 Feb 2014 09:28:13 +0000 (10:28 +0100)]
souphttpsrc: Properly close the session when going back to NULL

Don't wait for that until the element is disposed.

10 years agosouphttpsrc: add support for keep-alive sessions
Andoni Morales Alastruey [Thu, 28 Feb 2013 11:20:52 +0000 (12:20 +0100)]
souphttpsrc: add support for keep-alive sessions

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

10 years agosouphttpsrc: Add "compress" property to enable/disable automatic gzip/deflate content...
Sebastian Dröge [Wed, 12 Feb 2014 12:00:13 +0000 (13:00 +0100)]
souphttpsrc: Add "compress" property to enable/disable automatic gzip/deflate content encoding handling

10 years agosouphttpsrc: Retry connection if we're finished before the content size only if we...
Sebastian Dröge [Wed, 12 Feb 2014 11:39:10 +0000 (12:39 +0100)]
souphttpsrc: Retry connection if we're finished before the content size only if we actually have a content size

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

10 years agosouputils: Fix compiler warning
Sebastian Dröge [Wed, 12 Feb 2014 09:08:50 +0000 (10:08 +0100)]
souputils: Fix compiler warning

gstsouputils.c:35:25: error: comparison of constant 9 with expression of type
      'SoupLoggerLogLevel' is always false
      [-Werror,-Wtautological-constant-out-of-range-compare]

10 years agosouphttp*: add ability to do HTTP session logging
Reynaldo H. Verdejo Pinochet [Wed, 8 Jan 2014 02:00:56 +0000 (23:00 -0300)]
souphttp*: add ability to do HTTP session logging

This changeset adds the loggin infrastructure and
mods both souphttpsrc and souphttclientsink to use it.

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

10 years agomatroska: add support for GRAY8, BGR and RGB video colourspaces in V_UNCOMPRESSED...
divhaere [Fri, 7 Feb 2014 13:00:15 +0000 (14:00 +0100)]
matroska: add support for GRAY8, BGR and RGB video colourspaces in V_UNCOMPRESSED codec

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

10 years agosouphttpsrc: Add mapping for NOT_FOUND and NOT_AUTHORIZED errors
Sebastian Dröge [Tue, 11 Feb 2014 12:25:46 +0000 (13:25 +0100)]
souphttpsrc: Add mapping for NOT_FOUND and NOT_AUTHORIZED errors

10 years agosouphttpsrc: Don't duplicate status_code to GStreamer error mapping
Sebastian Dröge [Tue, 11 Feb 2014 12:25:22 +0000 (13:25 +0100)]
souphttpsrc: Don't duplicate status_code to GStreamer error mapping

10 years agogoom: Remove unused functions
Sebastian Dröge [Sun, 9 Feb 2014 22:38:44 +0000 (23:38 +0100)]
goom: Remove unused functions

10 years agomatroskaparse: Comment out some unused functions used only from the commented out...
Sebastian Dröge [Sun, 9 Feb 2014 22:21:20 +0000 (23:21 +0100)]
matroskaparse: Comment out some unused functions used only from the commented out pull-mode code

10 years agoid3v2mux: Fix another compiler warning
Sebastian Dröge [Sat, 8 Feb 2014 20:01:32 +0000 (21:01 +0100)]
id3v2mux: Fix another compiler warning

10 years agosouphttpsrc: Fix implicit enum conversion compiler warning
Sebastian Dröge [Sat, 8 Feb 2014 16:43:32 +0000 (17:43 +0100)]
souphttpsrc: Fix implicit enum conversion compiler warning

error: implicit conversion from enumeration type
'SoupStatus' to different enumeration type 'SoupKnownStatusCode'

10 years agointerleave: Fix unitialized variable compiler warning in test
Sebastian Dröge [Sat, 8 Feb 2014 16:41:21 +0000 (17:41 +0100)]
interleave: Fix unitialized variable compiler warning in test

error: variable 'mask' is used uninitialized
whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]

10 years agoid3v2mux: Fix unitialized variable compiler warning
Sebastian Dröge [Sat, 8 Feb 2014 16:27:51 +0000 (17:27 +0100)]
id3v2mux: Fix unitialized variable compiler warning

error: variable 'image_type' is used uninitialized
whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]

10 years agooss4: Fix typo in header include guard
Sebastian Dröge [Sat, 8 Feb 2014 16:25:27 +0000 (17:25 +0100)]
oss4: Fix typo in header include guard

error: 'GST_OSS4_AUDIO_H' is used as a header guard here,
followed by #define of a different macro [-Werror,-Wheader-guard]

10 years agortprtxsend: Fix unitialized variable compiler warning
Sebastian Dröge [Sat, 8 Feb 2014 16:24:06 +0000 (17:24 +0100)]
rtprtxsend: Fix unitialized variable compiler warning

variable 'rtx_ssrc' is used uninitialized whenever
'if' condition is false [-Werror,-Wsometimes-uninitialized]

10 years agortpac3depay: Remove unused variable
Sebastian Dröge [Sat, 8 Feb 2014 16:21:19 +0000 (17:21 +0100)]
rtpac3depay: Remove unused variable