platform/upstream/gst-plugins-bad.git
10 years agorebase to upstream 1.2.4 release accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.m14.3_ivi tizen_3.0_ivi submit/tizen/20140621.011827 submit/tizen/20140623.010720 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0_ivi_release
Yan Yin [Thu, 19 Jun 2014 02:57:25 +0000 (10:57 +0800)]
rebase to upstream 1.2.4 release

Change-Id: I8f37e48b2002ae9b5828e9d048288267adbea819

10 years agoenable uvch264 plugin for TIVI-493
Yan Yin [Wed, 5 Mar 2014 06:42:26 +0000 (14:42 +0800)]
enable uvch264 plugin for TIVI-493

Change-Id: I7ac1a55ea292b82fe82464dc04fe44ae8524b62e

10 years agopackaging: support non X11 configuration (wayland)
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>
10 years agoadd conditional build with wayland
Stephane Desneux [Mon, 7 Oct 2013 14:55:29 +0000 (16:55 +0200)]
add conditional build with wayland

Change-Id: I04e3fe0baa23f9fdef81248a66a0e550130b2bcc

10 years agoadd packaging files
Yan Yin [Wed, 9 Oct 2013 08:28:58 +0000 (16:28 +0800)]
add packaging files

Change-Id: I946e19384f8a63b9618cdf2d675b1d63995c5369

11 years agoRelease 1.2.4 upstream/1.2 1.2.4
Sebastian Dröge [Fri, 18 Apr 2014 10:25:55 +0000 (12:25 +0200)]
Release 1.2.4

11 years agoUpdate .po files
Sebastian Dröge [Fri, 18 Apr 2014 10:25:47 +0000 (12:25 +0200)]
Update .po files

11 years agocheck: Update uvch264demux for behaviour change
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.

11 years agotests: insertbin: update tests to 1.x scenario
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

11 years agotests: fix shm test deadlock
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.

11 years agoatdec: Add some more debug output
Sebastian Dröge [Tue, 11 Mar 2014 14:30:19 +0000 (15:30 +0100)]
atdec: Add some more debug output

11 years agoatdec: Implement draining properly
Sebastian Dröge [Tue, 11 Mar 2014 13:47:04 +0000 (14:47 +0100)]
atdec: Implement draining properly

11 years agoatdec: First dequeue a buffer before enqueueing anything from the queue
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.

11 years agoatdec: Keep track of the current position
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.

11 years agoatdec: Always try to pull one decoded frame out of the queue
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.

11 years agoatdec: Handle errors in handle_frame() properly
Sebastian Dröge [Tue, 11 Mar 2014 13:22:57 +0000 (14:22 +0100)]
atdec: Handle errors in handle_frame() properly

11 years agoatdec: Call AudioQueueReset() for flushing
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.

11 years agoatdec: Set correct number of frames for MP3
Sebastian Dröge [Tue, 11 Mar 2014 10:18:22 +0000 (11:18 +0100)]
atdec: Set correct number of frames for MP3

11 years agoatdec: Initialize the audio description with zeroes
Sebastian Dröge [Tue, 11 Mar 2014 10:18:11 +0000 (11:18 +0100)]
atdec: Initialize the audio description with zeroes

11 years agoatdec: Set the correct layer depending on the MP3 caps
Sebastian Dröge [Tue, 11 Mar 2014 10:14:21 +0000 (11:14 +0100)]
atdec: Set the correct layer depending on the MP3 caps

11 years agoapplemedia: atdec: fix aac decoding on Mavericks
Alessandro Decina [Sun, 22 Dec 2013 16:44:01 +0000 (17:44 +0100)]
applemedia: atdec: fix aac decoding on Mavericks

11 years agoapplemedia: atdec: fix mp3 caps
Alessandro Decina [Sat, 14 Dec 2013 14:55:22 +0000 (15:55 +0100)]
applemedia: atdec: fix mp3 caps

11 years agoavfvideosrc: fix compiler warning in iOS
Andoni Morales Alastruey [Thu, 7 Nov 2013 12:05:08 +0000 (13:05 +0100)]
avfvideosrc: fix compiler warning in iOS

11 years agohlsdemux: Fix parsing of CODECS and RESOLUTION
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

11 years agohlsdemux: Fix for URLs that contain a '/' in the query parameter
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

11 years agodashdemux: initialise demux->last_manifest_update
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

11 years agohlsdemux: fix update interval with respect of the spec
Andoni Morales Alastruey [Mon, 8 Apr 2013 12:04:10 +0000 (14:04 +0200)]
hlsdemux: fix update interval with respect of the spec

11 years agoamcaudiodec: Calculate number of samples per frame for MP3 and use that
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.

11 years agoamcaudiodec: Error out if we get an invalid raw audio buffer size
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

11 years agoamcvideodec: Store return value of gst_caps_merge_structure()
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.

11 years agoamcvideodec: Release buffer to Android if allocating output failed
Sebastian Dröge [Fri, 14 Feb 2014 11:31:29 +0000 (12:31 +0100)]
amcvideodec: Release buffer to Android if allocating output failed

11 years agoamcaudiodec: Release buffer back to Android if allocating output fails
Sebastian Dröge [Fri, 14 Feb 2014 11:28:50 +0000 (12:28 +0100)]
amcaudiodec: Release buffer back to Android if allocating output fails

11 years agohlsdemux: Don't try decryption if an unsupported method is found
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

11 years agohlsdemux: Properly parse IV from the playlist
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.

11 years agohlsdemux: Fix bitrate calculation
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.

11 years agohlsdemux: Actually store doubles as such and don't truncate them to ints
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.

11 years agohlsdemux: Use locale-independent int/float parsing functions from GLib
Sebastian Dröge [Mon, 10 Feb 2014 16:25:57 +0000 (17:25 +0100)]
hlsdemux: Use locale-independent int/float parsing functions from GLib

11 years agofluiddec: add more soundfont search paths
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.

11 years agoChange soundfont file search path for fluiddec
Руслан Ижбулатов [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

11 years agodaala: Fix compilation
Sebastian Dröge [Mon, 18 Nov 2013 23:38:33 +0000 (00:38 +0100)]
daala: Fix compilation

11 years agoRelease 1.2.3 1.2.3
Sebastian Dröge [Sat, 8 Feb 2014 11:49:35 +0000 (12:49 +0100)]
Release 1.2.3

11 years agoUpdate .po files
Sebastian Dröge [Sat, 8 Feb 2014 11:48:37 +0000 (12:48 +0100)]
Update .po files

11 years agouridownloader: Fix race condition between EOS handling and downloading a range
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

11 years agouridownloader: Always release the object lock in gst_uri_downloader_fetch_uri_with_ra...
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

11 years agouridownloader: fix deadlock near EOS
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.

11 years agoh264parse: Fix multiple SEI messages in one SEI RBSP parsing.
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.

11 years agotsdemux: We do not support the SKIP seek flag but that is not a problem
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

11 years agoopencv: The plugin works with 2.4.8 too
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

11 years agod3dvideosink: First destroy the window, then unregister the class
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

11 years agoschroenc: set buffer offset to buffer timestamp
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

11 years agopo: Update translations
Sebastian Dröge [Tue, 4 Feb 2014 15:24:34 +0000 (16:24 +0100)]
po: Update translations

11 years agoaiffparse: adaptive buffer size
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.

11 years agoaiffparse: fix data start offset calculation not counting COMM size
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.

11 years agofisheye: Fix documentation
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

11 years agompegts: install but nodist for generated header
Mark Nauwelaerts [Sun, 26 Jan 2014 13:42:52 +0000 (14:42 +0100)]
mpegts: install but nodist for generated header

11 years agoandroidmedia: Don't handle FLUSHING or NOT_LINKED as error
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.

11 years agoh264parser: remove trailling 0x00 bytes as the spec doesn't allow them
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

11 years agoamcvideodec: Add the divx variant for mpeg4 video
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

11 years agofaceblur: set maximum feature size to 0x0
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

11 years agofacedetect: set maximum feature size to 0x0
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

11 years agosrtpdec: Fix GstCaps memory leak
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

11 years agovtenc: Add support for I420
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

11 years agoopencv: The plugin works with 2.4.7 too
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.

11 years agoopusenc: increase max payload size to 4000 bytes
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.

11 years agoRelease 1.2.2 1.2.2
Sebastian Dröge [Thu, 26 Dec 2013 16:51:25 +0000 (17:51 +0100)]
Release 1.2.2

11 years agoUpdate .po files
Sebastian Dröge [Thu, 26 Dec 2013 16:48:03 +0000 (17:48 +0100)]
Update .po files

11 years agopo: Update translations
Sebastian Dröge [Thu, 26 Dec 2013 15:47:45 +0000 (16:47 +0100)]
po: Update translations

11 years agoadpcmenc: Properly set output format
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.

11 years agoeglglessink: Properly clean up renderbuffers and EAGL context
Sebastian Dröge [Tue, 24 Dec 2013 10:51:16 +0000 (11:51 +0100)]
eglglessink: Properly clean up renderbuffers and EAGL context

11 years agoeglglessink: Don't set the EAGLContext of the main thread and don't reuse it either
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

11 years agopkgconfig: Don't include libraries in the generic gst-plugins-bad pc file
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

11 years agompegts: Install generated headers
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

11 years agoid3tag: Read image-description from the info structure, not the caps
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

11 years agoid3tag: Write image-type into the APIC tag
Sebastian Dröge [Mon, 16 Dec 2013 10:51:00 +0000 (11:51 +0100)]
id3tag: Write image-type into the APIC tag

11 years agodecklinksink: Give preference to the order of the filter caps when querying caps
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

11 years agodecklinksink: Only intersect with the filter caps if there actually is a filter
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

11 years agoconfigure.ac: Fix typo in bz2 check
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

11 years agodecklinksrc: Process EOS even when there are no incoming video frames.
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

11 years agodecklinksrc: Set GST_ELEMENT_FLAG_SOURCE on the source
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

11 years agogsmdec: fix decoding of audio/ms-gsm variant
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

11 years agocodecparsers: h264: fix picture level scaling lists derivation (rule B).
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>
11 years agortpasfpay: Use GstRTPBasePayload method to push buffer
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

11 years agompegvideoparser: Also initialize debug category in parse_sequence_header
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

11 years agortpasfpay: init rtp buffer fixing rtp packet creation
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

11 years agoasfmux: don't use buffer after giving away ownership
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

11 years agopngparse: Don't try to set framerate if not from upstream
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

11 years agosoundtouch: Call default event handler for basetransform
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.

11 years agoopencv: don't unref NULL caps in finalize
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.

11 years agoh264parse: Fix splitting of multiple NALU per buffer
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.

11 years agompegvideoparse: tweak extension handling
Mark Nauwelaerts [Sun, 10 Nov 2013 11:17:18 +0000 (12:17 +0100)]
mpegvideoparse: tweak extension handling

11 years agompgegdemux: do not use pushed buffer in debug message
Mark Nauwelaerts [Sun, 10 Nov 2013 11:15:33 +0000 (12:15 +0100)]
mpgegdemux: do not use pushed buffer in debug message

11 years agompegvideoparse: look beyond start code before leaping
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

11 years agodvdspu: Handle vobsub packets smaller than 4 bytes
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

11 years agodvdspu: Don't unmap an unreffed buffer
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.

11 years agodvdspu: pop new packet when invalid next command block
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

11 years agompeg4videoparse: accept VideoObjectLayer as start of frame and config
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

11 years agovtenc: Use correct strides, etc from the GstVideoFrame
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

11 years agosrtpenc: Set the first session flag to false once one is create
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

11 years agosrtpdec: Pass is_rtcp to setcaps function
Olivier Crête [Wed, 20 Nov 2013 00:10:06 +0000 (19:10 -0500)]
srtpdec: Pass is_rtcp to setcaps function

11 years agomssdemux: do not try to deinit the downloadrate while it is used
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.