platform/upstream/gstreamer.git
10 years agohlsdemux: Give a proper name to the srcpads and remove it when resetting the element
Sebastian Dröge [Wed, 12 Feb 2014 17:27:21 +0000 (18:27 +0100)]
hlsdemux: Give a proper name to the srcpads and remove it when resetting the element

10 years agouridownloader: Fix potential deadlock
Sebastian Dröge [Wed, 12 Feb 2014 17:06:43 +0000 (18:06 +0100)]
uridownloader: Fix potential deadlock

The streaming thread might use our lock, so shutting
down the element while holding that lock calls for problems.

10 years agouridownloader: Shutdown the source element before unlinking it
Sebastian Dröge [Wed, 12 Feb 2014 16:59:45 +0000 (17:59 +0100)]
uridownloader: Shutdown the source element before unlinking it

Otherwise we might get warnings about pushing to unlinked pads.

Based on a patch by Andoni Morales.

10 years agohlsdemux: Stop leaking GErrors in some error paths
Sebastian Dröge [Wed, 12 Feb 2014 15:46:31 +0000 (16:46 +0100)]
hlsdemux: Stop leaking GErrors in some error paths

10 years agohlsdemux: don't pause task when it is stopped
Gil Pedersen [Fri, 11 May 2012 11:58:28 +0000 (13:58 +0200)]
hlsdemux: don't pause task when it is stopped

This fixes a potential dead-lock situation from GstTask

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

10 years agohlsdemux: Wait for the update task to finish when shutting down
Sebastian Dröge [Wed, 12 Feb 2014 15:01:05 +0000 (16:01 +0100)]
hlsdemux: Wait for the update task to finish when shutting down

10 years agohlsdemux: Prevent rounding errors due to division by using gst_util_uint64_scale()
Sebastian Dröge [Wed, 12 Feb 2014 14:33:06 +0000 (15:33 +0100)]
hlsdemux: Prevent rounding errors due to division by using gst_util_uint64_scale()

10 years agohlsdemux: schedule next update based on the fragment duration
Arnaud Vrac [Thu, 25 Jul 2013 17:36:48 +0000 (19:36 +0200)]
hlsdemux: schedule next update based on the fragment duration

10 years agohlsdemux: Properly error out if caps can't be typefind instead of using NULL caps
Sebastian Dröge [Wed, 12 Feb 2014 14:16:23 +0000 (15:16 +0100)]
hlsdemux: Properly error out if caps can't be typefind instead of using NULL caps

10 years agohlsdemux: log fragment timestamp
Arnaud Vrac [Mon, 29 Jul 2013 16:00:31 +0000 (18:00 +0200)]
hlsdemux: log fragment timestamp

10 years agohlsdemux: Use g_ascii_xdigit_value() instead of our own version of it
Sebastian Dröge [Wed, 12 Feb 2014 13:10:02 +0000 (14:10 +0100)]
hlsdemux: Use g_ascii_xdigit_value() instead of our own version of it

10 years agohlsdemux: Error out if the key is not 16 bytes large
Sebastian Dröge [Wed, 12 Feb 2014 12:40:41 +0000 (13:40 +0100)]
hlsdemux: Error out if the key is not 16 bytes large

10 years agohlsdemux: Download playlists with compression, keys and fragments without
Sebastian Dröge [Wed, 12 Feb 2014 12:13:30 +0000 (13:13 +0100)]
hlsdemux: Download playlists with compression, keys and fragments without

10 years agomssdemux: Download the manifest with compression, the fragments without
Sebastian Dröge [Wed, 12 Feb 2014 12:11:38 +0000 (13:11 +0100)]
mssdemux: Download the manifest with compression, the fragments without

10 years agodashdemux: Download MPD with compression, the fragments without
Sebastian Dröge [Wed, 12 Feb 2014 12:10:50 +0000 (13:10 +0100)]
dashdemux: Download MPD with compression, the fragments without

10 years agouridownloader: Add support for compressed downloads
Sebastian Dröge [Wed, 12 Feb 2014 12:08:29 +0000 (13:08 +0100)]
uridownloader: Add support for compressed downloads

Very useful for playlists, less useful for media files.

10 years agohlsdemux: Don't set the element private data on the srcpads
Sebastian Dröge [Wed, 12 Feb 2014 10:26:04 +0000 (11:26 +0100)]
hlsdemux: Don't set the element private data on the srcpads

It's not used anyway.

10 years agohlsdemux: Use gst_pad_use_fixed_caps() on the srcpads
Sebastian Dröge [Wed, 12 Feb 2014 10:25:41 +0000 (11:25 +0100)]
hlsdemux: Use gst_pad_use_fixed_caps() on the srcpads

10 years agohlsdemux: Cache the key fragment instead of downloading it over and over again
Sebastian Dröge [Wed, 12 Feb 2014 09:59:38 +0000 (10:59 +0100)]
hlsdemux: Cache the key fragment instead of downloading it over and over again

10 years agohlsdemux: Fix cleanup when decryption fails
Sebastian Dröge [Wed, 12 Feb 2014 09:58:45 +0000 (10:58 +0100)]
hlsdemux: Fix cleanup when decryption fails

First unmap buffers, then unref them. And also unref the
key fragment.

10 years agocurlsmtpsink: Include timezone information in mail header
Lihua Liu [Tue, 11 Feb 2014 14:20:58 +0000 (15:20 +0100)]
curlsmtpsink: Include timezone information in mail header

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

10 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

10 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.

10 years agouridownloader: Reset cancelled state after fetching an URI
Sebastian Dröge [Tue, 11 Feb 2014 14:26:01 +0000 (15:26 +0100)]
uridownloader: Reset cancelled state after fetching an URI

Otherwise it will never ever be able to fetch anything after an
error until the user resets it manually.

10 years agohlsdemux: Propagate download errors properly and post error messages if they're fatal
Sebastian Dröge [Tue, 11 Feb 2014 13:57:16 +0000 (14:57 +0100)]
hlsdemux: Propagate download errors properly and post error messages if they're fatal

10 years agoext: Update for GstUriDownloader API changes
Sebastian Dröge [Tue, 11 Feb 2014 13:18:32 +0000 (14:18 +0100)]
ext: Update for GstUriDownloader API changes

10 years agouridownloader: Provide some more details about errors if downloading fails
Sebastian Dröge [Tue, 11 Feb 2014 13:13:30 +0000 (14:13 +0100)]
uridownloader: Provide some more details about errors if downloading fails

10 years agoconfigure: The winks plugin is not ported to 1.0 yet
Sebastian Dröge [Tue, 11 Feb 2014 08:20:45 +0000 (09:20 +0100)]
configure: The winks plugin is not ported to 1.0 yet

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

10 years agoshm: call close() after shutdown()
Aleix Conchillo Flaqué [Mon, 10 Feb 2014 23:38:08 +0000 (15:38 -0800)]
shm: call close() after shutdown()

shutdown() doesn't close the file descriptor so we leak sockets if we
don't call close().

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

10 years agoshm: use shutdown() instead of close()
Aleix Conchillo Flaqué [Mon, 10 Feb 2014 22:33:49 +0000 (14:33 -0800)]
shm: use shutdown() instead of close()

we make sure both ends get notified when the socket is closed by using
shutdown() instead of close().

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

10 years agohlsdemux: Start downloading the next fragment immediately after caching the initial...
Sebastian Dröge [Mon, 10 Feb 2014 17:29:23 +0000 (18:29 +0100)]
hlsdemux: Start downloading the next fragment immediately after caching the initial fragments

And only afterwards wait until a fragment was played. Otherwise we're keeping
our cache most of the time at "fragments-cache" fragments minus one.

Also allow setting "fragments-cache" to 1 now to start playback even faster.

10 years agohlsdemux: Start fetching new fragments whenever we have less fragments cached than...
Sebastian Dröge [Mon, 10 Feb 2014 17:27:58 +0000 (18:27 +0100)]
hlsdemux: Start fetching new fragments whenever we have less fragments cached than given by the fragments-cache property

Waiting until our cache is empty before starting to fetch the next fragment
kind of defeats the purpose of caching multiple fragments.

10 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.

10 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.

10 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

10 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.

10 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

10 years agoFix winks configure test
Руслан Ижбулатов [Mon, 10 Feb 2014 08:21:04 +0000 (08:21 +0000)]
Fix winks configure test

Fixes #723995

10 years agowinks: Make headers known to automake
Руслан Ижбулатов [Mon, 10 Feb 2014 08:22:05 +0000 (08:22 +0000)]
winks: Make headers known to automake

Fixes #724003

10 years agohlsdemux: Prefer to use nettle for decryption but fall-back to libgcrypt
Sebastian Dröge [Sun, 9 Feb 2014 17:49:49 +0000 (18:49 +0100)]
hlsdemux: Prefer to use nettle for decryption but fall-back to libgcrypt

nettle is used by newer versions of gnutls, while older versions of gnutls
used libgcrypt. Support both for now as not every distro has nettle yet.

nettle is preferred as it is more efficient to use and much smaller.

10 years agohlsdemux: Update to non-deprecated GLib thread API
Sebastian Dröge [Sun, 9 Feb 2014 17:19:33 +0000 (18:19 +0100)]
hlsdemux: Update to non-deprecated GLib thread API

10 years agohlsdemux: Use libgcrypt directly instead of going through gnutls
Sebastian Dröge [Sun, 9 Feb 2014 17:09:36 +0000 (18:09 +0100)]
hlsdemux: Use libgcrypt directly instead of going through gnutls

gnutls is also just wrapping gcrypt, but we don't need any of
the TLS related functionality. We just need to be able to decrypt
AES128-CBC.

10 years agoopus: Remove unused variable from unit test
Sebastian Dröge [Sat, 8 Feb 2014 19:08:29 +0000 (20:08 +0100)]
opus: Remove unused variable from unit test

10 years agokate: Remove unused variable from unit test
Sebastian Dröge [Sat, 8 Feb 2014 19:07:57 +0000 (20:07 +0100)]
kate: Remove unused variable from unit test

10 years agoassrender: Fix compiler warning in test
Sebastian Dröge [Sat, 8 Feb 2014 19:07:16 +0000 (20:07 +0100)]
assrender: Fix compiler warning in test

error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]

10 years agosrtpdec: Fix comparison compiler warning
Sebastian Dröge [Sat, 8 Feb 2014 18:59:43 +0000 (19:59 +0100)]
srtpdec: Fix comparison compiler warning

error: comparison of constant -1 with expression of type
'GstSrtpCipherType' is always false

10 years agomotioncells: Remove unused private fields
Sebastian Dröge [Sat, 8 Feb 2014 18:29:33 +0000 (19:29 +0100)]
motioncells: Remove unused private fields

10 years agosegmentation: Fix integer underflow check
Sebastian Dröge [Sat, 8 Feb 2014 18:28:26 +0000 (19:28 +0100)]
segmentation: Fix integer underflow check

error: comparison of unsigned expression < 0 is
always false [-Werror,-Wtautological-compare]

10 years agodfbvideosink: Fix unitialized variable compiler warning
Sebastian Dröge [Sat, 8 Feb 2014 17:58:38 +0000 (18:58 +0100)]
dfbvideosink: Fix unitialized variable compiler warning

10 years agobz2: Fix typo in header include guards
Sebastian Dröge [Sat, 8 Feb 2014 17:57:30 +0000 (18:57 +0100)]
bz2: Fix typo in header include guards

10 years agovdpau: Fix comparison compiler warning
Sebastian Dröge [Sat, 8 Feb 2014 17:56:06 +0000 (18:56 +0100)]
vdpau: Fix comparison compiler warning

error: comparison of constant -1 with expression
of type 'const GstVideoFormat' is always false

10 years agouvch264src: Fix unitialized variable compiler warnings
Sebastian Dröge [Sat, 8 Feb 2014 17:54:58 +0000 (18:54 +0100)]
uvch264src: Fix unitialized variable compiler warnings

10 years agoid3tag: Fix uninitialized variable compiler warning
Sebastian Dröge [Sat, 8 Feb 2014 17:48:42 +0000 (18:48 +0100)]
id3tag: Fix uninitialized variable compiler warning

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

10 years agodvdspu: Remove unused variable
Sebastian Dröge [Sat, 8 Feb 2014 17:45:10 +0000 (18:45 +0100)]
dvdspu: Remove unused variable

10 years agompegts: pmt: Detect descriptor length correct
Jesper Larsen [Sat, 8 Feb 2014 17:20:22 +0000 (18:20 +0100)]
mpegts: pmt: Detect descriptor length correct

10 years agompegts: Correctly check for PAT,PMT,CAT,TSDT
Jesper Larsen [Sat, 8 Feb 2014 16:43:03 +0000 (17:43 +0100)]
mpegts: Correctly check for PAT,PMT,CAT,TSDT

10 years agompegts: Fix some packetizing bugs
Jesper Larsen [Sat, 8 Feb 2014 12:08:02 +0000 (13:08 +0100)]
mpegts: Fix some packetizing bugs

- Length of NIT stream descriptors was not detected correct
- Reserved bits was not set according to EN 300 468, ISO/IEC 13818-1
- Also set output data size if the section was previously packetized

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

10 years agompegtspacketizer: Remove or move variable assignments
Edward Hervey [Fri, 7 Feb 2014 10:54:07 +0000 (11:54 +0100)]
mpegtspacketizer: Remove or move variable assignments

To where they're needed

10 years agodvb-descriptor: Remove unneeded increment
Edward Hervey [Fri, 7 Feb 2014 10:53:38 +0000 (11:53 +0100)]
dvb-descriptor: Remove unneeded increment

10 years agodvb-descriptor: Fix comparision
Edward Hervey [Fri, 7 Feb 2014 10:42:51 +0000 (11:42 +0100)]
dvb-descriptor: Fix comparision

we want to stop if one OR the other is NULL.

10 years agompegts: Updated docs with new API
Jesper Larsen [Thu, 6 Feb 2014 12:53:49 +0000 (13:53 +0100)]
mpegts: Updated docs with new API

10 years agompegtsmux: Use mpeg-ts lib for PAT/PMT sections
Jesper Larsen [Tue, 19 Nov 2013 11:21:31 +0000 (12:21 +0100)]
mpegtsmux: Use mpeg-ts lib for PAT/PMT sections

Rewrite of the PAT/PMT section handling to use the mpeg-ts library

10 years agompegtsmux: Add support for muxing SI tables
Jesper Larsen [Wed, 20 Nov 2013 10:14:46 +0000 (11:14 +0100)]
mpegtsmux: Add support for muxing SI tables

The muxer is now able to include DVB sections in the transport stream.

The si-interval property will determine how often the SI tables are
muxed into the stream.

The section is handled by the mpeg-ts library. Below is a small example
that will include a Netork Information Table with a Network Name
descriptor in the stream.

GstMpegTsNIT *nit;
GstMpegTsDescriptor *descriptor;
GstMpegTsSection *section;
GstElement *mpegtsmux;

gst_mpegts_initialize ();

nit = gst_mpegts_section_nit_new ();
nit->actual_network = TRUE;

descriptor = gst_mpegts_descriptor_from_dvb_network_name ("Network name");
g_ptr_array_add (nit->descriptors, descriptor);

section = gst_mpegts_section_from_nit (nit);

// mpegtsmux should be retrieved from the pipeline
gst_mpegts_section_send_event (section, mpegtsmux);
gst_mpegts_section_unref (section);

10 years agompegts: Support registration and custom descriptor
Jesper Larsen [Tue, 19 Nov 2013 10:30:33 +0000 (11:30 +0100)]
mpegts: Support registration and custom descriptor

Support for registration descriptor (0x05)
Add function to create a descriptor with custom tag and data

10 years agompegts: Add creation of DVB Subtitling descriptor
Jesper Larsen [Tue, 19 Nov 2013 10:15:52 +0000 (11:15 +0100)]
mpegts: Add creation of DVB Subtitling descriptor

Descriptor tag is 0x59

10 years agompegts: Support parsing of DVB Teletext descriptor
Jesper Larsen [Tue, 19 Nov 2013 09:50:30 +0000 (10:50 +0100)]
mpegts: Support parsing of DVB Teletext descriptor

Descriptor tag is 0x56

10 years agompegts: Add support for creating PAT/PMT
Jesper Larsen [Wed, 20 Nov 2013 10:06:03 +0000 (11:06 +0100)]
mpegts: Add support for creating PAT/PMT

10 years agompegts: Add program_number to GstMpegTsPMT
Jesper Larsen [Wed, 20 Nov 2013 10:04:58 +0000 (11:04 +0100)]
mpegts: Add program_number to GstMpegTsPMT

10 years agompegts: Add network name descriptor construction
Jesper Larsen [Mon, 28 Oct 2013 13:49:08 +0000 (14:49 +0100)]
mpegts: Add network name descriptor construction

Add function to create a Network Name DVB descriptor.

10 years agompegts: Add support for creating a NIT section
Jesper Larsen [Mon, 28 Oct 2013 13:48:13 +0000 (14:48 +0100)]
mpegts: Add support for creating a NIT section

Functions that will enable user to create Network Information Tables.

10 years agompegts: Add network_id to GstMpegTsNIT
Jesper Larsen [Mon, 28 Oct 2013 13:26:39 +0000 (14:26 +0100)]
mpegts: Add network_id to GstMpegTsNIT

The network_id is stored in the subtable extension. Make a field
in the GstMpegTsNIT for better code readability

10 years agompegts: Add functions to send sections as events
Jesper Larsen [Thu, 31 Oct 2013 12:47:23 +0000 (13:47 +0100)]
mpegts: Add functions to send sections as events

Added function that enables the user to send a GstMpegTsSection as
an event to a GstElement. (i.e. mpegtsmux)

10 years agompegts: Add functions to packetize section
Jesper Larsen [Mon, 28 Oct 2013 13:44:13 +0000 (14:44 +0100)]
mpegts: Add functions to packetize section

Sections needs to be packetized for use in i.e. mpegtsmux.
These functions handles the generic common parts of a GstMpegTsSection

10 years agompegts: Add init functions for descriptor/section
Jesper Larsen [Mon, 28 Oct 2013 13:39:49 +0000 (14:39 +0100)]
mpegts: Add init functions for descriptor/section

10 years agompegts: Add function to encode UTF8 strings
Jesper Larsen [Wed, 30 Oct 2013 09:43:21 +0000 (10:43 +0100)]
mpegts: Add function to encode UTF8 strings

This can be used to create descriptors with appropriate character maps

10 years agompegts: Use big endian UCS-2 coding
Jesper Larsen [Wed, 30 Oct 2013 09:42:07 +0000 (10:42 +0100)]
mpegts: Use big endian UCS-2 coding

Parsing of control codes requires a big endian character map

10 years agompegts: Add support for two-way iconv conversions
Jesper Larsen [Wed, 30 Oct 2013 09:33:18 +0000 (10:33 +0100)]
mpegts: Add support for two-way iconv conversions

To use in conversions from UTF-8 to another character map

10 years agoapplemedia: Fix libtool usage
Edward Hervey [Thu, 6 Feb 2014 15:17:39 +0000 (16:17 +0100)]
applemedia: Fix libtool usage

--tag=CC is needed for static build

10 years agompegtsdemux: Update plugin license field
Edward Hervey [Thu, 6 Feb 2014 13:21:52 +0000 (14:21 +0100)]
mpegtsdemux: Update plugin license field

The original code (old mpegtsparse) from which this plugin was based on
was dual-licensed. This allowed usage of the code under any of the
licenses (which including LGPL):

"""
* Alternatively, the contents of this file may be used under the terms of
* the GNU Lesser General Public License Version 2 or later (the "LGPL"),
* in which case the provisions of the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of the MPL or the LGPL.
"""

When refactored (leading to the creation of this new plugin), I chose all
new code to be LGPL-only (which was allowed for pre-existing code) by removing
the MPL sections.

The headers were all updated, but not the plugin license field. This commit
fixes this.

10 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

10 years agotests: camerabin: avoid warning if test is failing
Thiago Santos [Tue, 4 Feb 2014 02:39:35 +0000 (23:39 -0300)]
tests: camerabin: avoid warning if test is failing

In case the test fails the message won't be returned and it
will lead to an assertion that might be misleading to those
debugging the issue.

10 years agowrappercamerabinsrc: stop source to do internal reconfiguration safely
Thiago Santos [Tue, 4 Feb 2014 02:10:03 +0000 (23:10 -0300)]
wrappercamerabinsrc: stop source to do internal reconfiguration safely

In order to be able to change the caps on multiple capsfilters the
source element needs to be stopped, otherwise it will get a few
reconfigure events and might try to renegotiate while the bin
is still transitioning its caps, leading to a not-negotiated failure
and the image capture won't happen because the source will be
unusable.

The solution is to keep the source in paused while the caps are being
changed in the bin, and then bring the element back to playing once
it is done. Unfortunately this increases the image capture latency,
but it should always work.

A possible improvement to reduce the latency is to add another signal
to be called before 'start-capture': 'prepare-capture'. At this step
the camera source should set all caps it needs and get the source
ready for doing the capture as soon as 'start-capture' is called.
This can be done on a future commit

10 years agocamerabin: remove unused variable
Thiago Santos [Tue, 4 Feb 2014 02:09:28 +0000 (23:09 -0300)]
camerabin: remove unused variable

Probably a left over from 0.10 -> 1.x porting

10 years agompg123: improved error report and checks
Carlos Rafael Giani [Tue, 4 Feb 2014 16:22:27 +0000 (17:22 +0100)]
mpg123: improved error report and checks

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
10 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

10 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.

10 years agoSince b1a756fd, applemedia fails to build on osx 10.7, which lacks VideoToolbox.h...
Dan Kegel [Mon, 3 Feb 2014 02:17:06 +0000 (18:17 -0800)]
Since b1a756fd, applemedia fails to build on osx 10.7, which lacks VideoToolbox.h... so disable it on OSX if that header is missing.

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

10 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.

10 years agotests: gdpdepay: update to 1.x events
Thiago Santos [Sat, 1 Feb 2014 02:43:32 +0000 (23:43 -0300)]
tests: gdpdepay: update to 1.x events

Tests needed stream start at beginning and segment after the
caps event

10 years agogdp: add DTS to headers
Thiago Santos [Fri, 31 Jan 2014 21:38:44 +0000 (18:38 -0300)]
gdp: add DTS to headers

10 years agogdppay: update to 1.x reality
Thiago Santos [Fri, 31 Jan 2014 15:15:49 +0000 (12:15 -0300)]
gdppay: update to 1.x reality

* stream-start-id is mandatory at the beginning, so add that to the
gdp headers
* caps must be sent before new segment, invert the order from legacy
0.10 code

And fix the tests as a ref is now kept for those buffers that compose
the header

10 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

10 years agoh264parse: Default framerate to 0/1 when no informations found
Thibault Saunier [Wed, 29 Jan 2014 15:32:30 +0000 (16:32 +0100)]
h264parse: Default framerate to 0/1 when no informations found

It is not perfect but it allows us to be sure that the mandatory 'framerate'
field is present in the caps.

As soon as some information is found in the stream, that will be
updated.

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

10 years agotests: gdppay: refactor and add missing bits
Thiago Santos [Thu, 30 Jan 2014 22:45:08 +0000 (19:45 -0300)]
tests: gdppay: refactor and add missing bits

Most of the tests weren't updated after the sticky events order
and stream start. Fix that and refactor those tests check that
are the same to some common functions.

Those functions still don't actually test the content but at
least now they are in a single place and can be improved
without replication

10 years agotests: gdppay: Do not forget to send stream-start event on test
Thiago Santos [Thu, 30 Jan 2014 21:17:33 +0000 (18:17 -0300)]
tests: gdppay: Do not forget to send stream-start event on test

Even if we don't want to push the caps event, a stream-start must
be present before any data in 1.x

10 years agogdppay: push the stream-start event
Thiago Santos [Thu, 30 Jan 2014 21:09:13 +0000 (18:09 -0300)]
gdppay: push the stream-start event

instead of just swallowing upstream's stream-start into its
payload, push it as elements expect a stream-start before data

10 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

10 years agoAutomatic update of common submodule
Edward Hervey [Thu, 30 Jan 2014 09:44:18 +0000 (10:44 +0100)]
Automatic update of common submodule

From d48bed3 to 1a07da9

10 years agotests: camerabin: improve preview handling in tests
Thiago Santos [Thu, 30 Jan 2014 06:28:45 +0000 (03:28 -0300)]
tests: camerabin: improve preview handling in tests

Always erase the preview image data to allow the next check for
it to operate properly

10 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