Yan Yin [Thu, 19 Jun 2014 02:57:25 +0000 (10:57 +0800)]
rebase to upstream 1.2.4 release
Change-Id: I8f37e48b2002ae9b5828e9d048288267adbea819
Yan Yin [Wed, 5 Mar 2014 06:42:26 +0000 (14:42 +0800)]
enable uvch264 plugin for TIVI-493
Change-Id: I7ac1a55ea292b82fe82464dc04fe44ae8524b62e
Philippe Coval [Thu, 6 Feb 2014 11:55:56 +0000 (12:55 +0100)]
packaging: support non X11 configuration (wayland)
Change-Id: I20d0c8cfff1e70f053c262928bc3ce537a09dedb
Bug-Tizen: PTREL-653
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Stephane Desneux [Mon, 7 Oct 2013 14:55:29 +0000 (16:55 +0200)]
add conditional build with wayland
Change-Id: I04e3fe0baa23f9fdef81248a66a0e550130b2bcc
Yan Yin [Wed, 9 Oct 2013 08:28:58 +0000 (16:28 +0800)]
add packaging files
Change-Id: I946e19384f8a63b9618cdf2d675b1d63995c5369
Sebastian Dröge [Fri, 18 Apr 2014 10:25:55 +0000 (12:25 +0200)]
Release 1.2.4
Sebastian Dröge [Fri, 18 Apr 2014 10:25:47 +0000 (12:25 +0200)]
Update .po files
Edward Hervey [Thu, 19 Sep 2013 12:53:46 +0000 (14:53 +0200)]
check: Update uvch264demux for behaviour change
Since
006e7a3428bd097fc6e6c648332bff583dd434f9 we no longer error out on
incomplete aux segment.
Thiago Santos [Tue, 4 Feb 2014 17:15:40 +0000 (14:15 -0300)]
tests: insertbin: update tests to 1.x scenario
The thread that calls the success/failure callback can be the
same that is adding/removing the element as the IDLE probe can
happen instantly if the pad is not 'busy'.
This required moving some checks for the callback counter around
as well as removing some pad pushes from the main test thread as
they were made useless after the IDLE pad probe was fixed in core
by commit
0324358ebc8122a41ab499a3ef7973b61c3e621b
Vincent Penquerc'h [Fri, 4 Apr 2014 14:30:20 +0000 (15:30 +0100)]
tests: fix shm test deadlock
The test was not bringing the source back to NULL, so its thread
could start creating a buffer while the pads were being shutdown.
Sebastian Dröge [Tue, 11 Mar 2014 14:30:19 +0000 (15:30 +0100)]
atdec: Add some more debug output
Sebastian Dröge [Tue, 11 Mar 2014 13:47:04 +0000 (14:47 +0100)]
atdec: Implement draining properly
Sebastian Dröge [Tue, 11 Mar 2014 13:37:49 +0000 (14:37 +0100)]
atdec: First dequeue a buffer before enqueueing anything from the queue
Required for offline rendering according to the docs. wtf.
Sebastian Dröge [Tue, 11 Mar 2014 13:32:12 +0000 (14:32 +0100)]
atdec: Keep track of the current position
It's required to set a valid sample time for decoding on iOS.
Sebastian Dröge [Tue, 11 Mar 2014 13:24:59 +0000 (14:24 +0100)]
atdec: Always try to pull one decoded frame out of the queue
... instead of doing magic calculations with the buffer duration.
Sebastian Dröge [Tue, 11 Mar 2014 13:22:57 +0000 (14:22 +0100)]
atdec: Handle errors in handle_frame() properly
Sebastian Dröge [Tue, 11 Mar 2014 13:14:23 +0000 (14:14 +0100)]
atdec: Call AudioQueueReset() for flushing
AudioQueueFlush() is for draining all remaining data.
Sebastian Dröge [Tue, 11 Mar 2014 10:18:22 +0000 (11:18 +0100)]
atdec: Set correct number of frames for MP3
Sebastian Dröge [Tue, 11 Mar 2014 10:18:11 +0000 (11:18 +0100)]
atdec: Initialize the audio description with zeroes
Sebastian Dröge [Tue, 11 Mar 2014 10:14:21 +0000 (11:14 +0100)]
atdec: Set the correct layer depending on the MP3 caps
Alessandro Decina [Sun, 22 Dec 2013 16:44:01 +0000 (17:44 +0100)]
applemedia: atdec: fix aac decoding on Mavericks
Alessandro Decina [Sat, 14 Dec 2013 14:55:22 +0000 (15:55 +0100)]
applemedia: atdec: fix mp3 caps
Andoni Morales Alastruey [Thu, 7 Nov 2013 12:05:08 +0000 (13:05 +0100)]
avfvideosrc: fix compiler warning in iOS
Alex Ashley [Fri, 21 Feb 2014 09:36:51 +0000 (09:36 +0000)]
hlsdemux: Fix parsing of CODECS and RESOLUTION
hlsdemux does not check for the '"' character in #EXT-X-STREAM-INF
attributes. The CODECS parameter is an example of an attribute
that might use the '"' symbol and might contain a ',' character
inside this quoted string.
For example: CODECS="avc1.77.30, mp4a.40.2"
hlsdemux does not correctly parse the RESOLUTION attribute, it
assumes that an '=' character is used to delineate the width
and height values, but the HLS RFC states that a 'x' character
must be used as the delimiter between width and height.
https://bugzilla.gnome.org/show_bug.cgi?id=725140
Alex Ashley [Fri, 21 Feb 2014 09:30:49 +0000 (09:30 +0000)]
hlsdemux: Fix for URLs that contain a '/' in the query parameter
If the URL for the master manifest files contains a '/' character
in the query parameter (for example
http://example.net/1054559_h264_1500k.mp4/master.m3u8?acl=/*1054559_h264_1500k.mp4),
hlsdemux is incorrectly converting the relative URLs of the media
playlists in to absolute URLs. It is incorrectly using the last '/' it
finds in the URL. According to RFC3986 the '/' character is allowed in
the query part of the URL.
https://bugzilla.gnome.org/show_bug.cgi?id=725137
Chris Bass [Tue, 18 Feb 2014 10:19:52 +0000 (10:19 +0000)]
dashdemux: initialise demux->last_manifest_update
demux->last_manifest_update is not initialised at startup, with the
effect that live manifests are reloaded immediately after the download
loop begins. This patch fixes this.
https://bugzilla.gnome.org/show_bug.cgi?id=724790
Andoni Morales Alastruey [Mon, 8 Apr 2013 12:04:10 +0000 (14:04 +0200)]
hlsdemux: fix update interval with respect of the spec
Sebastian Dröge [Fri, 14 Feb 2014 11:39:06 +0000 (12:39 +0100)]
amcaudiodec: Calculate number of samples per frame for MP3 and use that
Some audio decoders (at least the MP3 decoder on MTK based devices) outputs
raw audio in batches of multiple audio frames. We need to handle that
properly, otherwise the base class will be kind of unhappy.
Sebastian Dröge [Fri, 14 Feb 2014 11:33:08 +0000 (12:33 +0100)]
amcaudiodec: Error out if we get an invalid raw audio buffer size
Sebastian Dröge [Fri, 14 Feb 2014 11:32:31 +0000 (12:32 +0100)]
amcvideodec: Store return value of gst_caps_merge_structure()
The inputs are both invalid afterwards.
Sebastian Dröge [Fri, 14 Feb 2014 11:31:29 +0000 (12:31 +0100)]
amcvideodec: Release buffer to Android if allocating output failed
Sebastian Dröge [Fri, 14 Feb 2014 11:28:50 +0000 (12:28 +0100)]
amcaudiodec: Release buffer back to Android if allocating output fails
Sebastian Dröge [Tue, 11 Feb 2014 17:15:45 +0000 (18:15 +0100)]
hlsdemux: Don't try decryption if an unsupported method is found
Sebastian Dröge [Tue, 11 Feb 2014 17:15:07 +0000 (18:15 +0100)]
hlsdemux: Properly parse IV from the playlist
Without this every fragment's first 16 bytes will be corrupted
if not the fallback IV is used by the playlist.
Sebastian Dröge [Mon, 10 Feb 2014 17:21:38 +0000 (18:21 +0100)]
hlsdemux: Fix bitrate calculation
g_get_monotonic_time() returns microseconds, not nanoseconds.
Sebastian Dröge [Mon, 10 Feb 2014 16:26:27 +0000 (17:26 +0100)]
hlsdemux: Actually store doubles as such and don't truncate them to ints
Fixes broken duration reporting.
Sebastian Dröge [Mon, 10 Feb 2014 16:25:57 +0000 (17:25 +0100)]
hlsdemux: Use locale-independent int/float parsing functions from GLib
Wim Taymans [Mon, 10 Feb 2014 13:34:40 +0000 (14:34 +0100)]
fluiddec: add more soundfont search paths
Fedora installs the soundfonts in /usr/share/soundfonts/ so make sure we
look there as well.
Руслан Ижбулатов [Mon, 10 Feb 2014 08:19:52 +0000 (08:19 +0000)]
Change soundfont file search path for fluiddec
Use glib to get a list of system "share" directories, then go through that
list, appending 'sounds/sf2/' to each directory to get a soundfont directory,
and looking for .sf2 files there.
This way fluiddec is able to load sf2 files on W32, because otherwise the
path '/usr/share/sounds/sf2' makes no sense there.
Fixes #724013
Sebastian Dröge [Mon, 18 Nov 2013 23:38:33 +0000 (00:38 +0100)]
daala: Fix compilation
Sebastian Dröge [Sat, 8 Feb 2014 11:49:35 +0000 (12:49 +0100)]
Release 1.2.3
Sebastian Dröge [Sat, 8 Feb 2014 11:48:37 +0000 (12:48 +0100)]
Update .po files
Duncan Palmer [Tue, 4 Feb 2014 11:52:25 +0000 (12:52 +0100)]
uridownloader: Fix race condition between EOS handling and downloading a range
https://bugzilla.gnome.org/show_bug.cgi?id=723134
Duncan Palmer [Wed, 29 Jan 2014 19:38:57 +0000 (20:38 +0100)]
uridownloader: Always release the object lock in gst_uri_downloader_fetch_uri_with_range()
even if downloader->priv->urisrc is not set. This avoids deadlock under some
some conditions on cancel.
https://bugzilla.gnome.org/show_bug.cgi?id=723127
Thiago Santos [Fri, 20 Dec 2013 22:42:52 +0000 (19:42 -0300)]
uridownloader: fix deadlock near EOS
A deadlock can happen when the source sends EOS when
being put to NULL as the object lock is being held by the
thread that sets the element to NULL and is needed by
the event handler.
Aurélien Zanelli [Fri, 3 Jan 2014 08:44:28 +0000 (09:44 +0100)]
h264parse: Fix multiple SEI messages in one SEI RBSP parsing.
An SEI RBSP could contains more than one SEI message as specified in
7.4.2.3.1.
This commit change the parser API: the gst_h264_parser_parse_sei()
function now create and fill a GArray containing GstH264SEIMessage.
Sebastian Dröge [Thu, 30 Jan 2014 19:28:04 +0000 (20:28 +0100)]
tsdemux: We do not support the SKIP seek flag but that is not a problem
Nicola Murino [Wed, 29 Jan 2014 12:25:37 +0000 (13:25 +0100)]
opencv: The plugin works with 2.4.8 too
https://bugzilla.gnome.org/show_bug.cgi?id=723230
Alexey Chernov [Tue, 21 Jan 2014 08:44:00 +0000 (09:44 +0100)]
d3dvideosink: First destroy the window, then unregister the class
It's impossible to create another pipeline with d3dvideosink after disposing
the previous one due to some problem in d3dvideosink. The message is: "Unable
to register Direct3D hidden window class".
I've evaluated the problem and it's that UnregisterClass() in working thread is
called before DestroyWindow() and UnregisterClass() does nothing.
https://bugzilla.gnome.org/show_bug.cgi?id=722622
Vincent Penquerc'h [Mon, 13 Jan 2014 10:01:43 +0000 (10:01 +0000)]
schroenc: set buffer offset to buffer timestamp
oggmux expects this to order incoming buffers
https://bugzilla.gnome.org/show_bug.cgi?id=722078
Sebastian Dröge [Tue, 4 Feb 2014 15:24:34 +0000 (16:24 +0100)]
po: Update translations
Vincent Penquerc'h [Tue, 4 Feb 2014 10:46:16 +0000 (05:46 -0500)]
aiffparse: adaptive buffer size
Copied from wavparse, helps with CPU usage on high bitrate
files.
Vincent Penquerc'h [Sun, 2 Feb 2014 13:50:53 +0000 (13:50 +0000)]
aiffparse: fix data start offset calculation not counting COMM size
In particular, this fixes seeking back to the start reading data
out of sync with sample start granularity, yielding swapped channels.
Colin Macdonald [Fri, 31 Jan 2014 21:58:16 +0000 (16:58 -0500)]
fisheye: Fix documentation
https://bugzilla.gnome.org/show_bug.cgi?id=723398
Mark Nauwelaerts [Sun, 26 Jan 2014 13:42:52 +0000 (14:42 +0100)]
mpegts: install but nodist for generated header
Sebastian Dröge [Sat, 25 Jan 2014 16:40:46 +0000 (17:40 +0100)]
androidmedia: Don't handle FLUSHING or NOT_LINKED as error
And also just stop the task for FLUSHING.
Thiago Santos [Mon, 20 Jan 2014 20:24:54 +0000 (17:24 -0300)]
h264parser: remove trailling 0x00 bytes as the spec doesn't allow them
The spec states that the last byte of a NAL 'shall not' be 0x00
and it is allowed for byte-stream format to add padding 0x00 for
alignment.
So our parser should strip any trailling 0x00.
https://bugzilla.gnome.org/show_bug.cgi?id=721384
Jorge Zapata [Wed, 9 Oct 2013 15:49:06 +0000 (17:49 +0200)]
amcvideodec: Add the divx variant for mpeg4 video
Looks like all the mpeg4 video decoders also accept the divx
variants. So we better add those caps too
https://bugzilla.gnome.org/show_bug.cgi?id=711163
Sebastian Dröge [Tue, 14 Jan 2014 09:38:37 +0000 (10:38 +0100)]
faceblur: set maximum feature size to 0x0
Previously faces would only be detected if they were at least 30x30 pixels
large and at most 32x32 pixels. We keep the minimum setting (maybe needs
a property as in facedetect) but disable the maximum feature size.
See https://bugzilla.gnome.org/show_bug.cgi?id=722158
Kipp Cannon [Tue, 14 Jan 2014 06:06:02 +0000 (01:06 -0500)]
facedetect: set maximum feature size to 0x0
This disables the "max feature size" feature. The current configuration
is totally busted: The max feature size is hard-coded to 2 pixels more
than the user-supplied min feature size which pretty much means you need
to guess the size of the person's face to within a few pixels to get the
code to find it.
https://bugzilla.gnome.org/show_bug.cgi?id=722158
Miguel París Díaz [Fri, 3 Jan 2014 08:59:34 +0000 (09:59 +0100)]
srtpdec: Fix GstCaps memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=721382
Dominik Röttsches [Wed, 2 Oct 2013 02:49:43 +0000 (05:49 +0300)]
vtenc: Add support for I420
https://bugzilla.gnome.org/show_bug.cgi?id=709241
Sebastian Dröge [Sun, 29 Dec 2013 12:31:53 +0000 (13:31 +0100)]
opencv: The plugin works with 2.4.7 too
Reported by kwm on IRC.
Vincent Penquerc'h [Fri, 27 Dec 2013 14:29:46 +0000 (14:29 +0000)]
opusenc: increase max payload size to 4000 bytes
1275 is the maximum size of a frame, but the encoder may return
up to 3 frames, and we need a few extra bytes for TOC, etc. We
use 4000, which is a bit more, and suggested in the libopus docs.
Sebastian Dröge [Thu, 26 Dec 2013 16:51:25 +0000 (17:51 +0100)]
Release 1.2.2
Sebastian Dröge [Thu, 26 Dec 2013 16:48:03 +0000 (17:48 +0100)]
Update .po files
Sebastian Dröge [Thu, 26 Dec 2013 15:47:45 +0000 (16:47 +0100)]
po: Update translations
Sebastian Dröge [Mon, 23 Dec 2013 14:33:42 +0000 (15:33 +0100)]
adpcmenc: Properly set output format
Otherwise this will just error out if we only set caps on the srcpad.
Sebastian Dröge [Tue, 24 Dec 2013 10:51:16 +0000 (11:51 +0100)]
eglglessink: Properly clean up renderbuffers and EAGL context
Sebastian Dröge [Thu, 19 Dec 2013 20:36:50 +0000 (21:36 +0100)]
eglglessink: Don't set the EAGLContext of the main thread and don't reuse it either
... instead create a new context for every sink instance.
https://bugzilla.gnome.org/show_bug.cgi?id=720421
Sebastian Dröge [Wed, 18 Dec 2013 12:48:54 +0000 (13:48 +0100)]
pkgconfig: Don't include libraries in the generic gst-plugins-bad pc file
Mariusz Buras [Wed, 18 Dec 2013 12:45:22 +0000 (13:45 +0100)]
mpegts: Install generated headers
https://bugzilla.gnome.org/show_bug.cgi?id=720673
Sebastian Dröge [Mon, 16 Dec 2013 15:07:44 +0000 (16:07 +0100)]
id3tag: Read image-description from the info structure, not the caps
Sebastian Dröge [Mon, 16 Dec 2013 10:51:00 +0000 (11:51 +0100)]
id3tag: Write image-type into the APIC tag
Sebastian Dröge [Tue, 17 Dec 2013 09:23:15 +0000 (10:23 +0100)]
decklinksink: Give preference to the order of the filter caps when querying caps
Sebastian Dröge [Tue, 17 Dec 2013 09:21:26 +0000 (10:21 +0100)]
decklinksink: Only intersect with the filter caps if there actually is a filter
Aurélien Zanelli [Mon, 16 Dec 2013 10:14:29 +0000 (11:14 +0100)]
configure.ac: Fix typo in bz2 check
https://bugzilla.gnome.org/show_bug.cgi?id=720532
Todd Agulnick [Sat, 14 Dec 2013 23:12:53 +0000 (18:12 -0500)]
decklinksrc: Process EOS even when there are no incoming video frames.
https://bugzilla.gnome.org/show_bug.cgi?id=680700
Sebastian Dröge [Sat, 14 Dec 2013 17:42:11 +0000 (18:42 +0100)]
decklinksrc: Set GST_ELEMENT_FLAG_SOURCE on the source
As it does not inherit from basesrc, this flag is not automatically set
and e.g. gst_bin_iterate_sources() and other code does not consider this
element a source.
https://bugzilla.gnome.org/show_bug.cgi?id=680700
Tim-Philipp Müller [Fri, 6 Dec 2013 00:22:20 +0000 (00:22 +0000)]
gsmdec: fix decoding of audio/ms-gsm variant
Alternates between 33 and 32 byte frames, but must start
with a 33 byte frame. This has been broken for ages since
the element was ported to the audio decoder base class.
https://bugzilla.gnome.org/show_bug.cgi?id=709416
Cong Zhong [Wed, 17 Apr 2013 02:44:48 +0000 (10:44 +0800)]
codecparsers: h264: fix picture level scaling lists derivation (rule B).
Fix picture level scaling lists derivation from fall-back rule set B,
as specified in 7.4.2.2. More precisely, the sequence level scaling
lists need to be used but intra and inter lists arguments were swapped.
This fixes FRExt/freh5.264 from conformance testing.
https://bugzilla.gnome.org/show_bug.cgi?id=720099
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Olivier Crête [Thu, 5 Dec 2013 21:50:27 +0000 (16:50 -0500)]
rtpasfpay: Use GstRTPBasePayload method to push buffer
This way the event is also pushed.
https://bugzilla.gnome.org/show_bug.cgi?id=719553
Olivier Crête [Wed, 4 Dec 2013 22:31:27 +0000 (17:31 -0500)]
mpegvideoparser: Also initialize debug category in parse_sequence_header
Also remove the useless initialized flag, this is already done by the macro
https://bugzilla.gnome.org/show_bug.cgi?id=719657
Tim-Philipp Müller [Fri, 29 Nov 2013 13:23:40 +0000 (13:23 +0000)]
rtpasfpay: init rtp buffer fixing rtp packet creation
https://bugzilla.gnome.org/show_bug.cgi?id=719553
Tim-Philipp Müller [Fri, 29 Nov 2013 13:22:56 +0000 (13:22 +0000)]
asfmux: don't use buffer after giving away ownership
https://bugzilla.gnome.org/show_bug.cgi?id=719553
Lubosz Sarnecki [Mon, 25 Nov 2013 16:57:00 +0000 (16:57 +0000)]
pngparse: Don't try to set framerate if not from upstream
https://bugzilla.gnome.org/show_bug.cgi?id=715166
Jan Schmidt [Tue, 10 Dec 2013 12:06:53 +0000 (23:06 +1100)]
soundtouch: Call default event handler for basetransform
Make pipeline end properly at EOS and not leak by passing events
to the default event handler.
Tim-Philipp Müller [Sun, 29 Sep 2013 22:43:23 +0000 (23:43 +0100)]
opencv: don't unref NULL caps in finalize
Fixes gst-inspect-1.0 -a and generic states unit test.
Sebastian Dröge [Thu, 28 Nov 2013 14:10:16 +0000 (15:10 +0100)]
h264parse: Fix splitting of multiple NALU per buffer
Conversion to byte-stream/nal crashes without that because the
baseparse frame of all NALUs is finished for the first NALU, then
used again for parsing the second NALU. Just that now the buffer
of the frame is already gone. Instead we create temporary frames
for every NALU.
Mark Nauwelaerts [Sun, 10 Nov 2013 11:17:18 +0000 (12:17 +0100)]
mpegvideoparse: tweak extension handling
Mark Nauwelaerts [Sun, 10 Nov 2013 11:15:33 +0000 (12:15 +0100)]
mpgegdemux: do not use pushed buffer in debug message
Mark Nauwelaerts [Mon, 11 Nov 2013 15:15:00 +0000 (16:15 +0100)]
mpegvideoparse: look beyond start code before leaping
In case more data than a start code alone is needed to decide whether
it ends a frame, arrange for more input data and decide when available.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=711627
Jan Schmidt [Wed, 20 Nov 2013 01:46:23 +0000 (12:46 +1100)]
dvdspu: Handle vobsub packets smaller than 4 bytes
In particular, handle the case of an empty packet with size 0 bytes.
Partially fixes: #712643
Jan Schmidt [Mon, 25 Nov 2013 04:17:33 +0000 (15:17 +1100)]
dvdspu: Don't unmap an unreffed buffer
gst_dvd_spu_finish_spu_buf drops the reference to the current
buffer, so make sure to call gst_buffer_unmap before it.
Mark Nauwelaerts [Sat, 23 Nov 2013 13:35:06 +0000 (14:35 +0100)]
dvdspu: pop new packet when invalid next command block
... to prevent staying stuck on current command block and busy looping.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712219
Mark Nauwelaerts [Sat, 23 Nov 2013 10:23:35 +0000 (11:23 +0100)]
mpeg4videoparse: accept VideoObjectLayer as start of frame and config
... which it deserves as much as VideoObject.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=667564
Dominik Röttsches [Wed, 2 Oct 2013 02:49:34 +0000 (05:49 +0300)]
vtenc: Use correct strides, etc from the GstVideoFrame
https://bugzilla.gnome.org/show_bug.cgi?id=706211
Olivier Crête [Wed, 20 Nov 2013 01:18:48 +0000 (20:18 -0500)]
srtpenc: Set the first session flag to false once one is create
Otherwise it always thinks it's the first session.
https://bugzilla.gnome.org/show_bug.cgi?id=711495
Olivier Crête [Wed, 20 Nov 2013 00:10:06 +0000 (19:10 -0500)]
srtpdec: Pass is_rtcp to setcaps function
Thiago Santos [Thu, 14 Nov 2013 01:25:59 +0000 (22:25 -0300)]
mssdemux: do not try to deinit the downloadrate while it is used
This can cause an assertion or deadlocks.