Arnaud Vrac [Thu, 25 Jul 2013 17:36:48 +0000 (19:36 +0200)]
hlsdemux: schedule next update based on the fragment duration
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
Arnaud Vrac [Mon, 29 Jul 2013 16:00:31 +0000 (18:00 +0200)]
hlsdemux: log fragment timestamp
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
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
Sebastian Dröge [Wed, 12 Feb 2014 12:13:30 +0000 (13:13 +0100)]
hlsdemux: Download playlists with compression, keys and 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
Sebastian Dröge [Wed, 12 Feb 2014 12:10:50 +0000 (13:10 +0100)]
dashdemux: Download MPD with compression, the fragments without
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.
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.
Sebastian Dröge [Wed, 12 Feb 2014 10:25:41 +0000 (11:25 +0100)]
hlsdemux: Use gst_pad_use_fixed_caps() on the srcpads
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
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.
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
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 [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.
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
Sebastian Dröge [Tue, 11 Feb 2014 13:18:32 +0000 (14:18 +0100)]
ext: Update for GstUriDownloader API changes
Sebastian Dröge [Tue, 11 Feb 2014 13:13:30 +0000 (14:13 +0100)]
uridownloader: Provide some more details about errors if downloading fails
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
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
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
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.
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.
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
Руслан Ижбулатов [Mon, 10 Feb 2014 08:21:04 +0000 (08:21 +0000)]
Fix winks configure test
Fixes #723995
Руслан Ижбулатов [Mon, 10 Feb 2014 08:22:05 +0000 (08:22 +0000)]
winks: Make headers known to automake
Fixes #724003
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.
Sebastian Dröge [Sun, 9 Feb 2014 17:19:33 +0000 (18:19 +0100)]
hlsdemux: Update to non-deprecated GLib thread API
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.
Sebastian Dröge [Sat, 8 Feb 2014 19:08:29 +0000 (20:08 +0100)]
opus: 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
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]
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
Sebastian Dröge [Sat, 8 Feb 2014 18:29:33 +0000 (19:29 +0100)]
motioncells: Remove unused private fields
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]
Sebastian Dröge [Sat, 8 Feb 2014 17:58:38 +0000 (18:58 +0100)]
dfbvideosink: Fix unitialized variable compiler warning
Sebastian Dröge [Sat, 8 Feb 2014 17:57:30 +0000 (18:57 +0100)]
bz2: Fix typo in header include guards
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
Sebastian Dröge [Sat, 8 Feb 2014 17:54:58 +0000 (18:54 +0100)]
uvch264src: Fix unitialized variable compiler warnings
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]
Sebastian Dröge [Sat, 8 Feb 2014 17:45:10 +0000 (18:45 +0100)]
dvdspu: Remove unused variable
Jesper Larsen [Sat, 8 Feb 2014 17:20:22 +0000 (18:20 +0100)]
mpegts: pmt: Detect descriptor length correct
Jesper Larsen [Sat, 8 Feb 2014 16:43:03 +0000 (17:43 +0100)]
mpegts: Correctly check for PAT,PMT,CAT,TSDT
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
Edward Hervey [Fri, 7 Feb 2014 10:54:07 +0000 (11:54 +0100)]
mpegtspacketizer: Remove or move variable assignments
To where they're needed
Edward Hervey [Fri, 7 Feb 2014 10:53:38 +0000 (11:53 +0100)]
dvb-descriptor: Remove unneeded increment
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.
Jesper Larsen [Thu, 6 Feb 2014 12:53:49 +0000 (13:53 +0100)]
mpegts: Updated docs with new API
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
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);
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
Jesper Larsen [Tue, 19 Nov 2013 10:15:52 +0000 (11:15 +0100)]
mpegts: Add creation of DVB Subtitling descriptor
Descriptor tag is 0x59
Jesper Larsen [Tue, 19 Nov 2013 09:50:30 +0000 (10:50 +0100)]
mpegts: Support parsing of DVB Teletext descriptor
Descriptor tag is 0x56
Jesper Larsen [Wed, 20 Nov 2013 10:06:03 +0000 (11:06 +0100)]
mpegts: Add support for creating PAT/PMT
Jesper Larsen [Wed, 20 Nov 2013 10:04:58 +0000 (11:04 +0100)]
mpegts: Add program_number to GstMpegTsPMT
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.
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.
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
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)
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
Jesper Larsen [Mon, 28 Oct 2013 13:39:49 +0000 (14:39 +0100)]
mpegts: Add init functions for descriptor/section
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
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
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
Edward Hervey [Thu, 6 Feb 2014 15:17:39 +0000 (16:17 +0100)]
applemedia: Fix libtool usage
--tag=CC is needed for static build
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.
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
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.
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
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
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>
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
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.
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
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.
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
Thiago Santos [Fri, 31 Jan 2014 21:38:44 +0000 (18:38 -0300)]
gdp: add DTS to headers
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
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
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
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
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
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
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
Edward Hervey [Thu, 30 Jan 2014 09:44:18 +0000 (10:44 +0100)]
Automatic update of common submodule
From d48bed3 to 1a07da9
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
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
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
Edward Hervey [Wed, 29 Jan 2014 09:50:40 +0000 (10:50 +0100)]
codecparsers: Don't use gst_ as prefix for private symbols
Otherwise they get exposed/accessible in the resulting .so
And make check-exports will complain
Amaury Medeiros [Tue, 28 Jan 2014 02:55:57 +0000 (23:55 -0300)]
tsdemux: Fix flags comparison operator precedence
Fix operator precedence, so the whole operation is
negated instead of only flags variable.
https://bugzilla.gnome.org/show_bug.cgi?id=722096
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.
Sjoerd Simons [Fri, 24 Jan 2014 20:41:25 +0000 (21:41 +0100)]
mxfdemux: Don't go into pull mode when the sequential flag is set
When the scheduling query results has GST_SCHEDULING_FLAG_SEQUENTIAL set
in its flags don't go into pull mode to prevent over-eager seeking.
https://bugzilla.gnome.org/show_bug.cgi?id=722934
Thiago Santos [Fri, 24 Jan 2014 15:36:59 +0000 (12:36 -0300)]
tests: h264parse: fix tests after leading 0x00 removal
Commit
6af387cd5ab2c946025e5499903e75ee87b063a9 made h264parse
strip a leading 0x00 byte from some output scenarios. This broke
tests as bs_to_nal test expects one more byte on the output.
Fix this by comparing the output with the expected stripped version,
too.