platform/upstream/gst-plugins-good.git
9 years agowavparse: Store size of data tag in a 64 bit integer locally too
Sebastian Dröge [Fri, 29 Aug 2014 08:55:26 +0000 (11:55 +0300)]
wavparse: Store size of data tag in a 64 bit integer locally too

Otherwise we will clip the DS64 value of RF64 files to 32 bits again.

9 years agowavparse: Use 64 bit scaling functions now that fact is a 64 bit integer
Sebastian Dröge [Fri, 29 Aug 2014 08:53:23 +0000 (11:53 +0300)]
wavparse: Use 64 bit scaling functions now that fact is a 64 bit integer

9 years agowavparse: support rf64 format
Peter G. Baum [Wed, 27 Aug 2014 16:55:18 +0000 (18:55 +0200)]
wavparse: support rf64 format

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

9 years agomultipartdemux: Ensure caps before pad added.
Jason Litzinger [Thu, 28 Aug 2014 19:48:50 +0000 (13:48 -0600)]
multipartdemux: Ensure caps before pad added.

This stores the stream-start, sets caps, and then adds the pad,
which ensures that the caps are set for the "pad-added" callback.

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

9 years agoflvmux: Fallback to PTS if DTS is missing
Nicolas Dufresne [Thu, 28 Aug 2014 19:03:50 +0000 (15:03 -0400)]
flvmux: Fallback to PTS if DTS is missing

Fixing a regression introduce when fixing:
https://bugzilla.gnome.org/show_bug.cgi?id=731352

9 years agoimagefreeze: Remove impossible error condition
Vineeth T M [Thu, 28 Aug 2014 10:43:29 +0000 (16:13 +0530)]
imagefreeze: Remove impossible error condition

We return EOS after the first buffer, and GstPad will make sure now that we
won't get any other buffer afterwards until a flush happens. No need to check
for it ourselves.

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

9 years agogdkpixbufdec: EOS and NOT_LINKED are no errors in general
Vineeth T M [Thu, 28 Aug 2014 08:23:23 +0000 (13:53 +0530)]
gdkpixbufdec: EOS and NOT_LINKED are no errors in general

Don't post an error message for them but let upstream handle
anything accordingly.

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

9 years agoflvmux: Correctly offset timestamp
Nicolas Dufresne [Thu, 28 Aug 2014 01:07:26 +0000 (21:07 -0400)]
flvmux: Correctly offset timestamp

The previous method would break AV sync in the case audio or video
didn't start at the same point in running time.

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

9 years agoflvmux: Save dts from buffer
Nicolas Dufresne [Thu, 28 Aug 2014 00:56:12 +0000 (20:56 -0400)]
flvmux: Save dts from buffer

We no longer set dts in muxed buffer. This would lead to encoding tags
with timestamp 0 instead of the timestamp of previous buffer.

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

9 years agoflvmux: Ensure Timestamp starts at 0
Nicolas Dufresne [Tue, 29 Jul 2014 00:58:59 +0000 (20:58 -0400)]
flvmux: Ensure Timestamp starts at 0

FLV documentation stipulates that timestamp must start at zero.
In order to respect this rule, keep the first timestamp around
and offset the timestamp from this value. This allow for longer
recording time in presence of timestamp that does not start
at 0 already.

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

9 years agoflv: Tag timestamp are DTS not PTS
Nicolas Dufresne [Sat, 7 Jun 2014 03:17:52 +0000 (23:17 -0400)]
flv: Tag timestamp are DTS not PTS

The tags in FLV are DTS. In audio cases, and for many video format this makes
no difference, but for AVC with B-Frames, PTS need to be computed from
composition timestamp CTS, with PTS = DTS + CTS.

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

9 years agojitterbuffer: Allow rtp caps without clock-rate
Youness Alaoui [Fri, 8 Aug 2014 01:58:14 +0000 (21:58 -0400)]
jitterbuffer: Allow rtp caps without clock-rate

The jitterbuffer shouldn't force clock-rate on its sink pad, this will cause a negotiation issue since rtpssrcdemux doesn't have the clock-rate and doesn't add it to the caps. The documentation states that the clock-rate can either be specified through the caps or through the request-pt-map signal, so we must remove clock-rate from the pad templates and we must accept the GST_EVENT_CAPS if the caps don't have the clock-rate.

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

9 years agoqtdemux: avoid crashing on dash streams
Thiago Santos [Mon, 18 Aug 2014 17:05:52 +0000 (14:05 -0300)]
qtdemux: avoid crashing on dash streams

DASH/fragmented moov might have no samples as those are carried
in moof fragments. Avoid crashing or failing the stream because
of that.

9 years agoexamples: use 'post-messages' property instead of deprecated 'message' property
Ravi Kiran K N [Mon, 18 Aug 2014 05:03:48 +0000 (10:33 +0530)]
examples: use 'post-messages' property instead of deprecated 'message' property

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

9 years agoudp: fix udpsrc documentation
Víctor Manuel Jáquez Leal [Mon, 18 Aug 2014 09:45:54 +0000 (11:45 +0200)]
udp: fix udpsrc documentation

udpsrc gtk-doc documentation refers to sockfd and closefd properties which has
been removed. This patch replaces those references to socket and close-socket
respectively.

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

9 years agoqtmux: Make the default timescale 1/1800 second
Jan Schmidt [Fri, 15 Aug 2014 00:09:56 +0000 (10:09 +1000)]
qtmux: Make the default timescale 1/1800 second

The old default timescale of 1 millisecond produces irrational
numbers for a lot of framerate/audio-packet-duration multiples.
1/1800 is a nicer number, as it tends to produce better fractions
and therefore slightly higher accuracy overall

9 years agomatroska: Use gst_video_guess_framerate() function
Jan Schmidt [Thu, 14 Aug 2014 15:17:27 +0000 (01:17 +1000)]
matroska: Use gst_video_guess_framerate() function

Remove local framerate guessing function in favour of
the new gst_video_guess_framerate() function.

9 years agoqtdemux: Improve framerate calculation/guessing
Jan Schmidt [Thu, 14 Aug 2014 15:12:20 +0000 (01:12 +1000)]
qtdemux: Improve framerate calculation/guessing

Change the way the output framerate is calculated
to ignore the first sample (which is sometimes truncated
in my testing) and use the new gst_video_guess_framerate()
function to recognise common standard framerates better.

Remove the code that was sorting the first 20 sample
durations and then ignoring the result.

9 years agovideomixer: Use the best width/height/etc if downstream can handle that
Sebastian Dröge [Thu, 14 Aug 2014 13:36:44 +0000 (16:36 +0300)]
videomixer: Use the best width/height/etc if downstream can handle that

Before it was always using whatever downstream preferred, while
the code and documentation claimed something different.

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

9 years agovideomixer: Avoid double free of VideoConvert
Ravi Kiran K N [Thu, 14 Aug 2014 05:59:00 +0000 (11:29 +0530)]
videomixer: Avoid double free of VideoConvert

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

9 years agoflvdemux: fix indentation
Tim-Philipp Müller [Wed, 13 Aug 2014 10:58:35 +0000 (11:58 +0100)]
flvdemux: fix indentation

9 years agoflvdemux: un-break duration querying
Tim-Philipp Müller [Wed, 13 Aug 2014 10:54:26 +0000 (11:54 +0100)]
flvdemux: un-break duration querying

Commit 2b9493b5 broke this in two ways: a) we should only
pass duration queries in TIME format upstream (or at least
not those in DEFAULT or BYTE format), and b) we mustn't
overwrite the default value of 'res' from TRUE to FALSE
and not set it again later. This led to bogus durations
being reported for FLV playback from file, because TIME
queries would fail (as 'res' had been set to FALSE) and
parsers then do a BYTE query as fallback and try to
guesstimate something in return, which of course goes
horribly wrong since the BYTE size returned is for the
muxed file.

9 years agovideobalance: Allow any raw caps in passthrough mode, not just the ones we handle
Sebastian Dröge [Wed, 13 Aug 2014 10:23:10 +0000 (13:23 +0300)]
videobalance: Allow any raw caps in passthrough mode, not just the ones we handle

9 years agovideobalance: Allow ANY capsfeatures, but only in passthrough mode
Sebastian Dröge [Wed, 13 Aug 2014 10:04:21 +0000 (13:04 +0300)]
videobalance: Allow ANY capsfeatures, but only in passthrough mode

When changing the properties to not be in passthrough mode anymore,
we will only accept caps we can process ourselves, potentially causing
a not-negotiated error.

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

9 years agodocs: update for git
Tim-Philipp Müller [Tue, 12 Aug 2014 10:34:30 +0000 (11:34 +0100)]
docs: update for git

9 years agoconfigure: build ximagesrc again when checks succeed
Tim-Philipp Müller [Tue, 12 Aug 2014 10:33:56 +0000 (11:33 +0100)]
configure: build ximagesrc again when checks succeed

Third time lucky, hopefully.

9 years agoconfigure: fix x11 checks to be non-fatal again
Tim-Philipp Müller [Mon, 11 Aug 2014 08:26:17 +0000 (09:26 +0100)]
configure: fix x11 checks to be non-fatal again

Must pass an action-if-not-found argument to
PKG_CHECK_MODULES or it will error out when
it can't find the module requested. Also fix
AC_CHECK_LIB usage, extra libs argument was
in the wrong place.

9 years agoqtdemux: forward DISCONT from upstream to the output streams
George Kiagiadakis [Thu, 7 Aug 2014 14:12:38 +0000 (17:12 +0300)]
qtdemux: forward DISCONT from upstream to the output streams

This makes sense in DASH reverse playback, where the upstream dashdemux
will download DASH segments in reverse order, but push their buffers
forward to qtdemux and mark each segment start as DISCONT. This needs
to be forwarded downstream to the parser/decoder, otherwise it won't work.

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

9 years agoconfigure: use pkg-config to detect x11 and simplify checks
Tim-Philipp Müller [Sun, 10 Aug 2014 17:55:07 +0000 (18:55 +0100)]
configure: use pkg-config to detect x11 and simplify checks

AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE.

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

9 years agotests: rtp-payloading: adjust test data to avoid NAL chopping
Mark Nauwelaerts [Sun, 10 Aug 2014 10:30:07 +0000 (12:30 +0200)]
tests: rtp-payloading: adjust test data to avoid NAL chopping

... and correspondingly unexpected buffer sizes.

9 years agospeexenc: Improve annotation of internal function
Sebastian Rasmussen [Sat, 9 Aug 2014 12:22:42 +0000 (14:22 +0200)]
speexenc: Improve annotation of internal function

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

9 years agoshapewipe: Unref caps and element after usage
Sebastian Rasmussen [Fri, 8 Aug 2014 10:54:30 +0000 (12:54 +0200)]
shapewipe: Unref caps and element after usage

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

9 years agoqtdemux: improve debug logging of fourccs
Tim-Philipp Müller [Sat, 9 Aug 2014 19:47:30 +0000 (20:47 +0100)]
qtdemux: improve debug logging of fourccs

If we can't show ASCII, at least show them
in big endian order.

9 years agoqtdemux: add support for 'wma ' mapping as found in some ismv files
Tim-Philipp Müller [Sat, 9 Aug 2014 19:46:04 +0000 (20:46 +0100)]
qtdemux: add support for 'wma ' mapping as found in some ismv files

e.g. To_The_Limit_720_2962.ismv

9 years agoqtdemux: add support for 'vc-1' mapping as found in some ismv files
Tim-Philipp Müller [Sat, 9 Aug 2014 17:31:20 +0000 (18:31 +0100)]
qtdemux: add support for 'vc-1' mapping as found in some ismv files

e.g. To_The_Limit_720_2962.ismv

9 years agortph263ppay: Unref pad template caps after use
Sebastian Rasmussen [Thu, 7 Aug 2014 14:34:36 +0000 (16:34 +0200)]
rtph263ppay: Unref pad template caps after use

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

9 years agovideomixer: Unref allowed caps after usage
Sebastian Rasmussen [Fri, 8 Aug 2014 10:36:01 +0000 (12:36 +0200)]
videomixer: Unref allowed caps after usage

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

9 years agoimagefreeze: Unref pad template caps after usage
Sebastian Rasmussen [Fri, 8 Aug 2014 10:40:49 +0000 (12:40 +0200)]
imagefreeze: Unref pad template caps after usage

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

9 years agonavseek: Unref peer pad after usage
Sebastian Rasmussen [Fri, 8 Aug 2014 10:44:09 +0000 (12:44 +0200)]
navseek: Unref peer pad after usage

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

9 years agortpmux: Unref pad template caps after usage
Sebastian Rasmussen [Fri, 8 Aug 2014 10:29:52 +0000 (12:29 +0200)]
rtpmux: Unref pad template caps after usage

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

9 years agortph264pay: append packetization mode parameter to SDP
Srimanta Panda [Tue, 5 Aug 2014 09:47:39 +0000 (11:47 +0200)]
rtph264pay: append packetization mode parameter to SDP

Append packetization-mode parameter to SDP description.
Packetization mode signals the properties of an RTP payload type.

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

9 years agoisomp4/qtmux: Write correct file duration when gaps exist.
Jan Schmidt [Thu, 7 Aug 2014 17:58:14 +0000 (03:58 +1000)]
isomp4/qtmux: Write correct file duration when gaps exist.

When writing out a trak with an edit list, make sure the
overall file duration is also updated to reflect the
lengthening of the stream.

Add some more debug to qtdemux to warn about streams that
are longer than the file and get truncated.

9 years agortspsrc: Push the correct segment in TCP mode when seeking
Sebastian Dröge [Mon, 4 Aug 2014 13:39:17 +0000 (15:39 +0200)]
rtspsrc: Push the correct segment in TCP mode when seeking

9 years agortph264pay: unbreak au aligned byte-stream payloading
Mark Nauwelaerts [Sun, 3 Aug 2014 10:33:32 +0000 (12:33 +0200)]
rtph264pay: unbreak au aligned byte-stream payloading

9 years agortph264pay: append profile-level-id to SDP
Srimanta Panda [Tue, 22 Jul 2014 11:24:09 +0000 (13:24 +0200)]
rtph264pay: append profile-level-id to SDP

Append profile-level-id to SDP if available.

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

9 years agoMakefile: Add usage of build-checks step
Edward Hervey [Thu, 31 Jul 2014 16:47:49 +0000 (18:47 +0200)]
Makefile: Add usage of build-checks step

Allows building checks without running them

9 years agoximagesrc: Fix warning about missing return value
Nicolas Dufresne [Thu, 31 Jul 2014 13:53:53 +0000 (09:53 -0400)]
ximagesrc: Fix warning about missing return value

9 years agoximagesrc: Add missing return value to Buffer dispose function
Nicolas Dufresne [Thu, 24 Jul 2014 19:28:09 +0000 (15:28 -0400)]
ximagesrc: Add missing return value to Buffer dispose function

Depending ont he build, the method could return FALSE, hence never
free the buffers, or already TRUE and lead to a crash:

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

9 years agointerleave: set output caps layout to interleaved
Philippe Normand [Mon, 28 Jul 2014 14:49:16 +0000 (16:49 +0200)]
interleave: set output caps layout to interleaved

Set output caps layout independently from input caps layout which can
be either non-interleaved or interleaved.

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

9 years agov4l2bufferpool: clear gcond
Thiago Santos [Sat, 26 Jul 2014 15:06:39 +0000 (12:06 -0300)]
v4l2bufferpool: clear gcond

9 years agoRevert "v4l2bufferpool: Workaround elements not requesting any buffers"
Nicolas Dufresne [Fri, 25 Jul 2014 18:30:33 +0000 (14:30 -0400)]
Revert "v4l2bufferpool: Workaround elements not requesting any buffers"

This was a tempory workaround, we should fix the encoders that do not
negotatiate the amount of buffers they need.

This reverts commit d03bcba3db15d06dbdea6b776a6f28ed2f03272a.

9 years agov4l2object: Don't share own pool if min exceed V4L2 capacity
Nicolas Dufresne [Tue, 8 Jul 2014 18:31:59 +0000 (14:31 -0400)]
v4l2object: Don't share own pool if min exceed V4L2 capacity

If the minimum required buffer exceed V4L2 capacity, don't share down
pool. This allow support very high latency, like with x264enc default
encoding settings.

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

9 years agov4l2object: query minimum required buffers for output
Aurélien Zanelli [Fri, 25 Jul 2014 15:42:20 +0000 (17:42 +0200)]
v4l2object: query minimum required buffers for output

Some v4l2 devices could require a minimum buffers different from default
values. Rather than blindly propose a pool with min-buffers set to the
default value, it ask the device using control ioctl.

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

9 years agov4l2sink: use directly 'obj' instead of 'v4l2sink->v4l2object'
Aurélien Zanelli [Wed, 23 Jul 2014 16:40:10 +0000 (18:40 +0200)]
v4l2sink: use directly 'obj' instead of 'v4l2sink->v4l2object'

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

9 years agov4l2: set debug messages according to device type and IO mode
Aurélien Zanelli [Wed, 23 Jul 2014 16:39:50 +0000 (18:39 +0200)]
v4l2: set debug messages according to device type and IO mode

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

9 years agov4l2object: Remove is_active checks
Nicolas Dufresne [Sat, 24 May 2014 23:02:59 +0000 (19:02 -0400)]
v4l2object: Remove is_active checks

These checks are no longer required with recent change to the bufferpool. This
should allow changing the configuartion, hence the way forward renegotiation
support.

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

10 years agoqtdemux: fix language code parsing for 3-letter codes starting with 'a'
Tim-Philipp Müller [Mon, 21 Jul 2014 17:11:16 +0000 (18:11 +0100)]
qtdemux: fix language code parsing for 3-letter codes starting with 'a'

And handle special value for 'unspecified' explicitly.

https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/QTFFChap4/qtff4.html

10 years agojpegenc: Add support for encoding from NV21 and NV12
Nicola Murino [Tue, 8 Jul 2014 00:18:27 +0000 (02:18 +0200)]
jpegenc: Add support for encoding from NV21 and NV12

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

10 years agoBack to development
Sebastian Dröge [Sat, 19 Jul 2014 16:04:38 +0000 (18:04 +0200)]
Back to development

10 years agoRelease 1.4.0 1.4.0
Sebastian Dröge [Sat, 19 Jul 2014 15:20:34 +0000 (17:20 +0200)]
Release 1.4.0

10 years agoUpdate .po files
Sebastian Dröge [Sat, 19 Jul 2014 14:35:41 +0000 (16:35 +0200)]
Update .po files

10 years agopo: Update translations
Sebastian Dröge [Sat, 19 Jul 2014 10:32:22 +0000 (12:32 +0200)]
po: Update translations

10 years agovideobox: Don't overwrite the first component with the alpha value for BGRx
Sebastian Dröge [Sat, 19 Jul 2014 09:30:30 +0000 (11:30 +0200)]
videobox: Don't overwrite the first component with the alpha value for BGRx

Instead leave the x component unset when filling the borders.

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

10 years agoaacparse: Properly report in the CAPS query that we can convert ADTS<->RAW
Sebastian Dröge [Wed, 16 Jul 2014 15:18:59 +0000 (17:18 +0200)]
aacparse: Properly report in the CAPS query that we can convert ADTS<->RAW

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

10 years agorgvolume: Avoid taking unnecessary refs
Sebastian Rasmussen [Sun, 13 Jul 2014 14:05:56 +0000 (16:05 +0200)]
rgvolume: Avoid taking unnecessary refs

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

10 years agortpdtmfmux: Avoid taking an unnecessary ref
Sebastian Rasmussen [Sun, 13 Jul 2014 14:04:23 +0000 (16:04 +0200)]
rtpdtmfmux: Avoid taking an unnecessary ref

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

10 years agopo: update POTFILES
Piotr Drąg [Tue, 15 Jul 2014 14:59:06 +0000 (16:59 +0200)]
po: update POTFILES

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

10 years agov4l2bufferpool: Fix copy threshold implementation
Nicolas Dufresne [Fri, 11 Jul 2014 17:35:10 +0000 (13:35 -0400)]
v4l2bufferpool: Fix copy threshold implementation

We cannot allocate new buffer in acquire, otherwise the base class
is not aware and get confused. Instead, copy in _process(). This leads
to crash on finalize.

Fixes regression, see https://bugzilla.gnome.org/show_bug.cgi?id=732912

10 years agoRelease 1.3.91 1.3.91
Sebastian Dröge [Fri, 11 Jul 2014 09:38:57 +0000 (11:38 +0200)]
Release 1.3.91

10 years agoUpdate .po files
Sebastian Dröge [Fri, 11 Jul 2014 08:58:08 +0000 (10:58 +0200)]
Update .po files

10 years agov4l2allocator: Use qdata instead of parenting to DmabufMemory
Nicolas Dufresne [Thu, 10 Jul 2014 22:11:20 +0000 (18:11 -0400)]
v4l2allocator: Use qdata instead of parenting to DmabufMemory

Parenting V4l2Memory to DmabufMemory was in conflict with recent
optimization in DmabufMemory to avoid dup(), and didn't work with
memory sharing. Instead, use a qdata and it's destroy notify.

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

10 years agopo: Update translations
Sebastian Dröge [Fri, 11 Jul 2014 06:52:39 +0000 (08:52 +0200)]
po: Update translations

10 years agov4l2bufferpool: Workaround elements not requesting any buffers
Nicolas Dufresne [Tue, 8 Jul 2014 21:50:47 +0000 (17:50 -0400)]
v4l2bufferpool: Workaround elements not requesting any buffers

This is a workaround for element that don't request buffers when
they should.

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

10 years agotests: fix pipeline leak in videocrop test
Sebastian Rasmussen [Sun, 6 Jul 2014 09:27:36 +0000 (11:27 +0200)]
tests: fix pipeline leak in videocrop test

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

10 years agoexamples: client-rtpaux: Release reference to parent when done
Sebastian Rasmussen [Sun, 6 Jul 2014 09:26:46 +0000 (11:26 +0200)]
examples: client-rtpaux: Release reference to parent when done

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

10 years agortspsrc: fix query leak
Tim-Philipp Müller [Thu, 10 Jul 2014 16:19:42 +0000 (17:19 +0100)]
rtspsrc: fix query leak

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

10 years agowavenc: Return not-negotiated if we got no caps or caps negotiation failed
Sebastian Dröge [Thu, 10 Jul 2014 10:10:45 +0000 (12:10 +0200)]
wavenc: Return not-negotiated if we got no caps or caps negotiation failed

And do it always, not inside a g_return_val_if_fail().

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

10 years agov4l2src: Ensure internal pool activation
Nicolas Dufresne [Tue, 8 Jul 2014 17:34:28 +0000 (13:34 -0400)]
v4l2src: Ensure internal pool activation

Before we would hit an assertion "'gst_buffer_pool_is_active (bpool)' failed"
if the internal pool was not used to push buffer downstrea, hence not
given to the baseclass.

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

10 years agovideomixer: fix double unlock in segment seek segment code path
Tim-Philipp Müller [Fri, 4 Jul 2014 19:22:10 +0000 (20:22 +0100)]
videomixer: fix double unlock in segment seek segment code path

We only want to unlock if we push an event downstream and
jump to done_unlock label afterwards. We would also unlock
in case of a segment seek and then unlock again later, and
nothing good can come of that.

(This code looks a bit dodgy anyway though, shouldn't it
also bail out with FLOW_EOS here in case of a segment seek
scenario, just without the event?)

10 years agotests: qtmux: suppress glib criticals caused by testing deprecated dts methods
Tim-Philipp Müller [Fri, 4 Jul 2014 18:45:55 +0000 (19:45 +0100)]
tests: qtmux: suppress glib criticals caused by testing deprecated dts methods

10 years agoavidemux, wavparse: Print invalid fourcc in hex
Sebastian Rasmussen [Fri, 4 Jul 2014 01:21:30 +0000 (03:21 +0200)]
avidemux, wavparse: Print invalid fourcc in hex

Previously this was printed as characters which caused later processing
of the error message to sometimes warn about non-UTF-8 characters.

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

10 years agov4l2object: Pool might be NULL in decide allocation
Nicolas Dufresne [Thu, 3 Jul 2014 19:21:18 +0000 (15:21 -0400)]
v4l2object: Pool might be NULL in decide allocation

If special stride is needed and downstream don't support VideoMeta,
pool might be NULL in order to let the baseclass create a generic
pool­. This would lead to assertion with on Exynos with:

gst-launch-1.0 -v filesrc location=mov ! qtdemux ! h264parse ! \
                    v4l2video8dec ! fakesink

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

10 years agov4l2bufferpool: Handle FD error during poll
Nicolas Dufresne [Thu, 3 Jul 2014 19:29:54 +0000 (15:29 -0400)]
v4l2bufferpool: Handle FD error during poll

This will ensure we fail earlier if something unrecoverable
happens.

10 years agov4l2bufferpool: Wait before polling if queue is empty
Nicolas Dufresne [Thu, 3 Jul 2014 19:28:45 +0000 (15:28 -0400)]
v4l2bufferpool: Wait before polling if queue is empty

In kernel before 3.17, polling during queue underrun would unblock right
away and trigger POLLERR. As we are not handling POLLERR, we would endup
blocking in DQBUF call, which won't be unblocked correctly when going
to NULL state. A deadlock at start caused by locking error in libv4l2 was
also seen before this patch. Instead, we wait until the queue is no longer
empty before polling.

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

10 years agortspsrc: fix for mikey api change
Wim Taymans [Wed, 2 Jul 2014 14:01:47 +0000 (16:01 +0200)]
rtspsrc: fix for mikey api change

10 years agov4l2: fix probing and enumeration of stepwise frame sizes
Tim-Philipp Müller [Mon, 30 Jun 2014 09:29:54 +0000 (10:29 +0100)]
v4l2: fix probing and enumeration of stepwise frame sizes

The code enumerating STEPWISE framesizes would start from
(min_w, min_h) and then add (step_w, step_h) to get the
next framesize. However, it should really allow any width
from min_w to max_w with step_w and same for heights.
Secondly, we would add and probe each individual stepped
frame size to the caps as separate structure, which would
lead to hundreds if not thousands of structs ending up in
the probed caps. Use integer ranges with steps instead.

This was particularly noticable with the Raspberry Pi Cam.

https://bugzilla.gnome.org/show_bug.cgi?id=724521
https://bugzilla.gnome.org/show_bug.cgi?id=732458
https://bugzilla.gnome.org/show_bug.cgi?id=726521

10 years agov4l2object: drop workaround for misbehaving TRY_FMT
Daniel Drake [Fri, 27 Jun 2014 10:33:06 +0000 (11:33 +0100)]
v4l2object: drop workaround for misbehaving TRY_FMT

This workaround from 2011 was causing 25 S_FMT ioctls to be sent
to my UVC webcam from under gst_v4l2_object_get_caps as it probes
all the formats. In total, this adds up to about 5 seconds of
execution time, or a 10 second delay while starting up cheese.

These ioctls come from a workaround from 2011 where TRY_FMT might
make changes to hardware settings, so S_FMT was used to restore
the original config:
https://bugzilla.gnome.org/show_bug.cgi?id=649067

The driver bug is now assumed fixed. Remove the workaround to fix the
long startup delay.

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

10 years agovideomixer: reset QoS on segment event
Vincent Penquerc'h [Tue, 1 Jul 2014 11:50:31 +0000 (12:50 +0100)]
videomixer: reset QoS on segment event

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

10 years agomatroskademux: send gap events instead of segment tricks
Vincent Penquerc'h [Tue, 1 Jul 2014 14:14:34 +0000 (15:14 +0100)]
matroskademux: send gap events instead of segment tricks

This fixes missing frames from being time skipped.

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

10 years agortpsession: Fix memory leaks in unit test
Sebastian Dröge [Sun, 29 Jun 2014 22:00:32 +0000 (00:00 +0200)]
rtpsession: Fix memory leaks in unit test

10 years agortpbin: Don't leak caps
Sebastian Dröge [Sun, 29 Jun 2014 21:55:19 +0000 (23:55 +0200)]
rtpbin: Don't leak caps

10 years agopulsesrc: Fix compiler warning when compiling with G_DISABLE_ASSERT
Sebastian Dröge [Sun, 29 Jun 2014 18:02:14 +0000 (20:02 +0200)]
pulsesrc: Fix compiler warning when compiling with G_DISABLE_ASSERT

10 years agortpssrcdemux: Fix compiler warning when compiling with G_DISABLE_ASSERT
Sebastian Dröge [Sun, 29 Jun 2014 17:59:53 +0000 (19:59 +0200)]
rtpssrcdemux: Fix compiler warning when compiling with G_DISABLE_ASSERT

10 years agomatroskamux: Fix compiler warnings when compiling with G_DISABLE_ASSERT
Sebastian Dröge [Sun, 29 Jun 2014 17:57:57 +0000 (19:57 +0200)]
matroskamux: Fix compiler warnings when compiling with G_DISABLE_ASSERT

10 years agodeinterlace: Fix compiler warnings when compiling with G_DISABLE_ASSERT
Sebastian Dröge [Sun, 29 Jun 2014 17:54:44 +0000 (19:54 +0200)]
deinterlace: Fix compiler warnings when compiling with G_DISABLE_ASSERT

10 years agopulse: fix compiler warnings when compiling with -DG_DISABLE_ASSERT
Tim-Philipp Müller [Sun, 29 Jun 2014 16:05:13 +0000 (17:05 +0100)]
pulse: fix compiler warnings when compiling with -DG_DISABLE_ASSERT

Compiler complains about uninitialised variables in the impossible
'default' code path in device provider source/sink switch-case.

10 years agov4l2: fix compiler warnings when compiling with -DG_DISABLE_ASSERT
Tim-Philipp Müller [Sun, 29 Jun 2014 16:03:17 +0000 (17:03 +0100)]
v4l2: fix compiler warnings when compiling with -DG_DISABLE_ASSERT

Compiler complains about uninitialised variables in the impossible
'default' code path in device provider source/sink switch-case.

10 years agotests: matroskaparse: fail on errors and disable pull mode test
Tim-Philipp Müller [Sat, 28 Jun 2014 16:40:45 +0000 (17:40 +0100)]
tests: matroskaparse: fail on errors and disable pull mode test

Actually look for error messages on the bus and fail if there
is one before the EOS message. Disable pull mode test which is
pointless as long as matroskaparse only supports push mode
(pull mode support has not been ported over to 1.0).

10 years agomatroskaparse: don't error out if there's not enough data in the adapter
Tim-Philipp Müller [Sat, 28 Jun 2014 16:37:23 +0000 (17:37 +0100)]
matroskaparse: don't error out if there's not enough data in the adapter

gst_matroska_parse_take() would return FLOW_ERROR instead of
FLOW_EOS in case there's less data in the adapter than requested,
because buffer is NULL in that case which triggers the error
code path. This made the unit test fail (occasionally at least,
because of a bug in the unit test there's a race and it would
happen only sporadically).

10 years agovideomixer: Update dist generated ORC files
Sebastian Dröge [Sat, 28 Jun 2014 14:53:58 +0000 (16:53 +0200)]
videomixer: Update dist generated ORC files