Vineeth T M [Tue, 2 Sep 2014 11:52:07 +0000 (17:22 +0530)]
imagefreeze: replace with gst_buffer_copy
gst_buffer_ref and gst_buffer_writable is being used to create a writable copy of source buffer.
replacing the same with gst_buffer_copy as the functionality is same.
https://bugzilla.gnome.org/show_bug.cgi?id=735880
Tim-Philipp Müller [Wed, 3 Sep 2014 22:06:53 +0000 (23:06 +0100)]
qtdemux: mark jpeg and png as parsed so avdec_mjpeg can be used too
https://bugzilla.gnome.org/show_bug.cgi?id=735971
Vineeth T M [Wed, 3 Sep 2014 06:16:13 +0000 (11:46 +0530)]
gdkpixbufdec: free query after use
In gst_gdk_pixbuf_dec_setup_pool(), query is being allocated using
gst_query_new_allocation(), but the same is not unreferenced
hence calling gst_query_unref() after usage of query.
https://bugzilla.gnome.org/show_bug.cgi?id=735950
Jan Schmidt [Wed, 3 Sep 2014 13:46:34 +0000 (23:46 +1000)]
qtdemux: Silence some warnings for normal file contents
Nicolas Huet [Mon, 1 Sep 2014 07:56:02 +0000 (09:56 +0200)]
aacparse: Fix parsing issue when the buffer does not have a complete ADTS/LOAS frame
https://bugzilla.gnome.org/show_bug.cgi?id=735520
Sebastian Dröge [Tue, 2 Sep 2014 06:09:49 +0000 (09:09 +0300)]
vp9dec: Get input width/height from the codec instead of the input caps
They are reported properly by libvpx if the correct struct members are used.
This also fixes handling of resolution changes without input caps changes.
https://bugzilla.gnome.org/show_bug.cgi?id=719359
Tom Greenwood [Tue, 22 Oct 2013 17:49:22 +0000 (18:49 +0100)]
vp8dec: Fix for handling resolution changes when decoding VP8
If the resolution changes in the bitstream without the input caps changing we
would previously output corrupted video or crash.
https://bugzilla.gnome.org/show_bug.cgi?id=719359
Thiago Santos [Tue, 2 Sep 2014 03:55:17 +0000 (00:55 -0300)]
vp9dec: Fix segfault when a new caps is received
Remember to unref the output caps when a new caps event is received
as it should generate a new one based on the new caps.
https://bugzilla.gnome.org/show_bug.cgi?id=734266
Thiago Santos [Tue, 2 Sep 2014 03:54:35 +0000 (00:54 -0300)]
tests: vp8dec: add test for caps renegotiation
Check that vp8dec can properly accept a new caps when upstream
changes it
https://bugzilla.gnome.org/show_bug.cgi?id=734266
Jose Antonio Santos Cadenas [Tue, 5 Aug 2014 08:34:39 +0000 (10:34 +0200)]
vp8dec: Reset output and input states when changing format
https://bugzilla.gnome.org/show_bug.cgi?id=734266
Vineeth T M [Mon, 1 Sep 2014 11:09:23 +0000 (16:39 +0530)]
imagefreeze: Don't call gst_caps_unref() on template caps when already unreferenced
Adding an extra condition while calling gst_caps_unref (templ)
and replacing gst_caps_make_writable (gst_caps_ref (caps)) with
gst_caps_copy (caps) in line 177, since the functionality is same.
https://bugzilla.gnome.org/show_bug.cgi?id=735795
Hans de Goede [Fri, 29 Aug 2014 10:01:27 +0000 (12:01 +0200)]
v4l2: get_nearest_size: Fix "Unsupported field type" errors
Most V4L2 ioctls like try_fmt will adjust input fields to match what the
hardware can do rather then returning -EINVAL. As is docmented here:
http://linuxtv.org/downloads/v4l-dvb-apis/vidioc-g-fmt.html
EINVAL is only returned if the buffer type field is invalid or not supported.
So upon requesting V4L2_FIELD_NONE devices which can only do interlaced
mode will change the field value to e.g. V4L2_FIELD_BOTTOM as only returning
half the lines is the closest they can do to progressive modes.
In essence this means that we've failed to get a (usable) progessive mode
and should fall back to interlaced mode.
This commit adds a check for having gotten a usable field value after the first
try_fmt, to force fallback to interlaced mode even if the try_fmt succeeded,
thereby fixing get_nearest_size failing on these devices.
https://bugzilla.gnome.org/show_bug.cgi?id=735660
Hans de Goede [Fri, 29 Aug 2014 08:57:20 +0000 (10:57 +0200)]
v4l2: get_nearest_size: Always reinit all struct fields on retry
They may have been modified by the ioctl even if it failed. This also makes
the S_FMT fallback path try progressive first, making it consistent with the
preferred TRY_FMT path.
https://bugzilla.gnome.org/show_bug.cgi?id=735660
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.
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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.
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.
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
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
Tim-Philipp Müller [Wed, 13 Aug 2014 10:58:35 +0000 (11:58 +0100)]
flvdemux: fix indentation
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.
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
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
Tim-Philipp Müller [Tue, 12 Aug 2014 10:34:30 +0000 (11:34 +0100)]
docs: update for git
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.
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.
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
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
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.
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
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
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.
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
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
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
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
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
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
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
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
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.
Sebastian Dröge [Mon, 4 Aug 2014 13:39:17 +0000 (15:39 +0200)]
rtspsrc: Push the correct segment in TCP mode when seeking
Mark Nauwelaerts [Sun, 3 Aug 2014 10:33:32 +0000 (12:33 +0200)]
rtph264pay: unbreak au aligned byte-stream payloading
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
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
Nicolas Dufresne [Thu, 31 Jul 2014 13:53:53 +0000 (09:53 -0400)]
ximagesrc: Fix warning about missing return value
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
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
Thiago Santos [Sat, 26 Jul 2014 15:06:39 +0000 (12:06 -0300)]
v4l2bufferpool: clear gcond
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.
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
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
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
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
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
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
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
Sebastian Dröge [Sat, 19 Jul 2014 16:04:38 +0000 (18:04 +0200)]
Back to development
Sebastian Dröge [Sat, 19 Jul 2014 15:20:34 +0000 (17:20 +0200)]
Release 1.4.0
Sebastian Dröge [Sat, 19 Jul 2014 14:35:41 +0000 (16:35 +0200)]
Update .po files
Sebastian Dröge [Sat, 19 Jul 2014 10:32:22 +0000 (12:32 +0200)]
po: Update translations
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
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
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
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
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
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
Sebastian Dröge [Fri, 11 Jul 2014 09:38:57 +0000 (11:38 +0200)]
Release 1.3.91
Sebastian Dröge [Fri, 11 Jul 2014 08:58:08 +0000 (10:58 +0200)]
Update .po files
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
Sebastian Dröge [Fri, 11 Jul 2014 06:52:39 +0000 (08:52 +0200)]
po: Update translations
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
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
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
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
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
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
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?)
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
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
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
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.
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
Wim Taymans [Wed, 2 Jul 2014 14:01:47 +0000 (16:01 +0200)]
rtspsrc: fix for mikey api change
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
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