platform/upstream/gstreamer.git
10 years ago[004/906] Remove all config.h includes from header files, add it to each source file...
Ronald S. Bultje [Fri, 7 Nov 2003 12:46:52 +0000 (12:46 +0000)]
[004/906] Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files

10 years ago[003/906] updates to glsink
madmac [Thu, 6 Nov 2003 00:27:03 +0000 (00:27 +0000)]
[003/906] updates to glsink

10 years ago[002/906] glsink with correct threading support
madmac [Fri, 31 Oct 2003 16:40:20 +0000 (16:40 +0000)]
[002/906] glsink with correct threading support

10 years ago[001/906] welcome to glsink for 0.7.x :)
madmac [Tue, 28 Oct 2003 18:54:20 +0000 (18:54 +0000)]
[001/906] welcome to glsink for 0.7.x :)

10 years agowinks: port to 1.0
Andoni Morales Alastruey [Fri, 14 Mar 2014 17:23:51 +0000 (18:23 +0100)]
winks: port to 1.0

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

10 years agoy4mdec: check for VIDEO meta instead of CROP meta
Nicolas Dufresne [Sat, 15 Mar 2014 14:17:43 +0000 (15:17 +0100)]
y4mdec: check for VIDEO meta instead of CROP meta

This element only need stride support, but checks for CROP_META, which
is a bit too much, even though this works as CROP imply having VIDEO
meta.

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

10 years agodvbsrc: mpegts: change bandwidth to DVBv5 values
Stefan Ringel [Tue, 4 Mar 2014 12:19:55 +0000 (13:19 +0100)]
dvbsrc: mpegts: change bandwidth to DVBv5 values

Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>
https://bugzilla.gnome.org/show_bug.cgi?id=725463

10 years agoexamples: ts-parser: Add table_id_name function
Jesper Larsen [Thu, 31 Oct 2013 13:27:10 +0000 (14:27 +0100)]
examples: ts-parser: Add table_id_name function

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

10 years agoexamples: ts-parser: Add DVB teletext/subtitling
Jesper Larsen [Tue, 19 Nov 2013 10:36:14 +0000 (11:36 +0100)]
examples: ts-parser: Add DVB teletext/subtitling

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

10 years agotsdemux: Support Bluray DTS/DTS-HD and AC3+/TrueHD streams
Edward Hervey [Mon, 3 Mar 2014 12:07:47 +0000 (13:07 +0100)]
tsdemux: Support Bluray DTS/DTS-HD and AC3+/TrueHD streams

Apart from just adding detection of the proper stream type, we also need to only
output the first substream (0x71) which contains the core substream.

While this does not provide *full* DTS-HD support (since it will miss the complementary
substreams), it will still work in the way legacy (non-DTS-HD) bluray players would work.

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

10 years agouridownloader: Fix string order in warning message
Sebastian Dröge [Thu, 13 Mar 2014 13:41:06 +0000 (14:41 +0100)]
uridownloader: Fix string order in warning message

10 years agohlsdemux: Always calculate the current download rate
Sebastian Dröge [Sun, 9 Mar 2014 17:41:28 +0000 (18:41 +0100)]
hlsdemux: Always calculate the current download rate

Also take into account the last download rate when
calculating it.

10 years agosbcenc: Allow user to set channel-mode
Aurélien Zanelli [Tue, 11 Mar 2014 09:32:46 +0000 (10:32 +0100)]
sbcenc: Allow user to set channel-mode

Don't return error when channel-mode is already set, just check that it
is coherent with number of channels.

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

10 years agompegvideoparse: Differentiate the mpeg-2 stream from mpeg-1 based on pic_ext
Sreerenj Balachandran [Mon, 10 Mar 2014 09:19:46 +0000 (11:19 +0200)]
mpegvideoparse: Differentiate the mpeg-2 stream from mpeg-1 based on pic_ext

Presence of picture extension header identifies the stream as mpeg2.
We are supposed to set the mpegversion to 2 if there is a picextension
instead of blindly setting the version to 1

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

10 years agoaudiomixer: set a group-id on the stream-start event
Stefan Sauer [Tue, 11 Mar 2014 21:36:01 +0000 (22:36 +0100)]
audiomixer: set a group-id on the stream-start event

Set a default group-id to fix a warning printed by the sink.

10 years agofrei0rfilter: fix memory corruption on sink caps changes.
Mathieu Duponchelle [Mon, 10 Mar 2014 21:48:04 +0000 (22:48 +0100)]
frei0rfilter: fix memory corruption on sink caps changes.

When the input size changed, the frei0r filters didn't take
it into account and ended up corrupting memory.

Fixes #726069

10 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

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

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

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

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

10 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

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

10 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

10 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

10 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

10 years agoconfigure: videosignal was ported almost a year ago
Wim Taymans [Tue, 11 Mar 2014 09:26:34 +0000 (10:26 +0100)]
configure: videosignal was ported almost a year ago

10 years agohlsdemux: Fix comparison in bitrate selection
Sebastian Dröge [Sun, 9 Mar 2014 18:38:39 +0000 (19:38 +0100)]
hlsdemux: Fix comparison in bitrate selection

10 years agodvdspu: set proxy allocation flag on the video sink pad
Matthieu Bouron [Fri, 7 Mar 2014 12:11:59 +0000 (12:11 +0000)]
dvdspu: set proxy allocation flag on the video sink pad

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

10 years agom3u8: Fix off-by-one in the download range end
Sebastian Dröge [Fri, 7 Mar 2014 15:22:50 +0000 (16:22 +0100)]
m3u8: Fix off-by-one in the download range end

10 years agouridownload: Handle no buffers before EOS as error instead of crashing
Sebastian Dröge [Fri, 7 Mar 2014 15:22:10 +0000 (16:22 +0100)]
uridownload: Handle no buffers before EOS as error instead of crashing

10 years agohlsdemux: Implement proper segment handling
Sebastian Dröge [Thu, 6 Mar 2014 22:14:10 +0000 (23:14 +0100)]
hlsdemux: Implement proper segment handling

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

10 years agohlsdemux: Implement handling of byte ranges
Sebastian Dröge [Wed, 5 Mar 2014 09:47:01 +0000 (10:47 +0100)]
hlsdemux: Implement handling of byte ranges

10 years agohlsdemux: Fix seeking further than track duration
Zallesov [Thu, 27 Feb 2014 09:54:10 +0000 (10:54 +0100)]
hlsdemux: Fix seeking further than track duration

Don't fail the seek but instead send an EOS event from the streaming thread.

10 years agohlsdemux: Switch playlists after pushing the fragment
Sebastian Dröge [Wed, 5 Mar 2014 15:02:16 +0000 (16:02 +0100)]
hlsdemux: Switch playlists after pushing the fragment

Makes sure we properly set the discont flag for the next buffer,
not the current one.

10 years agoassrender: handle video/x-raw(ANY) if downstream supports the GstVideoOverlayComposit...
Matthieu Bouron [Fri, 10 Jan 2014 17:38:09 +0000 (17:38 +0000)]
assrender: handle video/x-raw(ANY) if downstream supports the GstVideoOverlayCompositionMeta API

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

10 years agowininet: "iradio-mode" property defaults to TRUE
Andres Gomez [Tue, 4 Mar 2014 15:25:23 +0000 (17:25 +0200)]
wininet: "iradio-mode" property defaults to TRUE

As per discussed in bug #725383, it doesn't make much sense to default
to FALSE in the "iradio-mode" property. Better, let's sent the header
by default and just ignore headers that are not understood, if so.

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

10 years agotests: fix mpg123audiodec test for big-endian architectures
Tim-Philipp Müller [Wed, 5 Mar 2014 00:51:04 +0000 (00:51 +0000)]
tests: fix mpg123audiodec test for big-endian architectures

10 years agorawparse: increase framerate to maxint
Thijs Vermeir [Wed, 5 Mar 2014 10:20:27 +0000 (11:20 +0100)]
rawparse: increase framerate to maxint

10 years agorawparse: increase maximum framerate
Thijs Vermeir [Wed, 5 Mar 2014 09:54:47 +0000 (10:54 +0100)]
rawparse: increase maximum framerate

10 years ago.gitignore: Ignore gcov intermediate files
Sebastian Rasmussen [Sun, 2 Mar 2014 04:25:48 +0000 (05:25 +0100)]
.gitignore: Ignore gcov intermediate files

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

10 years agohlsdemux: Implement proper handling of discontinuities
Sebastian Dröge [Sat, 1 Mar 2014 16:13:58 +0000 (17:13 +0100)]
hlsdemux: Implement proper handling of discontinuities

It's not really correct yet for seeks but better than what
we had before.

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

10 years agosrtpenc: unref caps after gst_query_set_caps_result
Aleix Conchillo Flaqué [Fri, 28 Feb 2014 19:16:27 +0000 (11:16 -0800)]
srtpenc: unref caps after gst_query_set_caps_result

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

10 years agohlsdemux: Segfaults if playlist has no media files
Alex Ashley [Tue, 25 Feb 2014 11:45:46 +0000 (11:45 +0000)]
hlsdemux: Segfaults if playlist has no media files

hlsdemux causes a null pointer dereference if the media playlist
does not contain any media files. The gst_m3u8_client_get_duration
function assumes that demux->client->current->files is valid when
computing duration.

gst_m3u8_client_update needed to be modified to check for the
case of downloading an M3U8 file that doesn't contain any media
files, and returning an error to gsthlsdemux.c

This bug can be reproduced by creating a master m3u8 file that
contains one media playlist that points back to the master m3u8
file.  For example create a file called bug725134.m3u8:
  #EXTM3U
  #EXT-X-VERSION:4
  #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1251135, CODECS="avc1.42001f mp4a.40.2", RESOLUTION=640x352
  bug725134.m3u8

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

10 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 28 Feb 2014 08:34:59 +0000 (09:34 +0100)]
Automatic update of common submodule

From fe1672e to bcb1518

10 years agompegdemux: Don't write after the end of the psm array when initialising it
Sebastian Dröge [Thu, 27 Feb 2014 21:28:16 +0000 (22:28 +0100)]
mpegdemux: Don't write after the end of the psm array when initialising it

10 years agoopenalsrc: Remove unused function to fix compiler warning
Sebastian Dröge [Thu, 27 Feb 2014 20:45:34 +0000 (21:45 +0100)]
openalsrc: Remove unused function to fix compiler warning

10 years agoid3tag: Remove unused function to fix compiler warning
Sebastian Dröge [Thu, 27 Feb 2014 20:41:53 +0000 (21:41 +0100)]
id3tag: Remove unused function to fix compiler warning

10 years agohlsdemux: Init and clear a mutex
Sebastian Dröge [Thu, 27 Feb 2014 14:49:20 +0000 (15:49 +0100)]
hlsdemux: Init and clear a mutex

GLib initialises automatically for us for some reason... but of course
does not clear the mutex once the demuxer is destroyed.

10 years agohlsdemux: Unref seek events before returning from the seek handler
Sebastian Dröge [Thu, 27 Feb 2014 14:41:30 +0000 (15:41 +0100)]
hlsdemux: Unref seek events before returning from the seek handler

Otherwise we leak them all.

10 years agouridownloader: Fix debug output to describe the new reality
Sebastian Dröge [Thu, 27 Feb 2014 11:02:19 +0000 (12:02 +0100)]
uridownloader: Fix debug output to describe the new reality

10 years agouridownloader: Warning messages are not fatal
Sebastian Dröge [Thu, 27 Feb 2014 10:53:12 +0000 (11:53 +0100)]
uridownloader: Warning messages are not fatal

Also they need to be parsed with gst_message_parse_warning(),
gst_message_parse_error() does not work on them.

10 years agodocs: mpegts: add missed docs
Stefan Ringel [Wed, 26 Feb 2014 21:26:48 +0000 (22:26 +0100)]
docs: mpegts: add missed docs

Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>
https://bugzilla.gnome.org/show_bug.cgi?id=725278

10 years agodocs: dvbsrc: add missed args
Stefan Ringel [Wed, 26 Feb 2014 20:08:23 +0000 (21:08 +0100)]
docs: dvbsrc: add missed args

Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>
https://bugzilla.gnome.org/show_bug.cgi?id=725278

10 years agoAutomatic update of common submodule
Stefan Sauer [Wed, 26 Feb 2014 21:12:23 +0000 (22:12 +0100)]
Automatic update of common submodule

From 1a07da9 to fe1672e

10 years agodocs: remove stray ( in Makefile.am
Stefan Sauer [Wed, 26 Feb 2014 18:18:54 +0000 (19:18 +0100)]
docs: remove stray ( in Makefile.am

10 years agompegtsmux: forward tags that have global scope
Thiago Santos [Tue, 25 Feb 2014 01:53:14 +0000 (22:53 -0300)]
mpegtsmux: forward tags that have global scope

Instead of dropping all tag events

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

10 years agotsdemux: store global tags to push later
Thiago Santos [Tue, 25 Feb 2014 01:43:56 +0000 (22:43 -0300)]
tsdemux: store global tags to push later

Keep a list of current global tags around and push them
whenever a new stream is started. Also convert all stream
specific tags to global as they are stream specific for
the container, so they are global for the streams from
within that container.

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

10 years agodocs: install prebuilt plugin docs if gtk-doc is disabled
Stefan Sauer [Wed, 26 Feb 2014 10:32:01 +0000 (11:32 +0100)]
docs: install prebuilt plugin docs if gtk-doc is disabled

Sync to the Makefile.am from gst-plugin-base where it is done right.
Fixes #725034

10 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

10 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

10 years agoeglglessink: move GstEGLImageBufferPool to gstegl lib
Julien Isorce [Mon, 2 Dec 2013 10:01:12 +0000 (10:01 +0000)]
eglglessink: move GstEGLImageBufferPool to gstegl lib

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

10 years agotest: mpegts: Add check for SDT
Jesper Larsen [Tue, 25 Feb 2014 11:17:20 +0000 (12:17 +0100)]
test: mpegts: Add check for SDT

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

10 years agompegts: Add constructor for dvb service descriptor
Jesper Larsen [Sat, 22 Feb 2014 15:46:31 +0000 (16:46 +0100)]
mpegts: Add constructor for dvb service descriptor

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

10 years agodocs: mpegts: Add new SDT API
Jesper Larsen [Tue, 25 Feb 2014 09:28:38 +0000 (10:28 +0100)]
docs: mpegts: Add new SDT API

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

10 years agompegts: Add support for creation of SDT
Jesper Larsen [Sat, 22 Feb 2014 15:47:57 +0000 (16:47 +0100)]
mpegts: Add support for creation of SDT

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

10 years agompegts: Add transport_stream_id to GstMpegTsSDT
Jesper Larsen [Sat, 22 Feb 2014 15:41:22 +0000 (16:41 +0100)]
mpegts: Add transport_stream_id to GstMpegTsSDT

The transport_stream_id is contained in the subtable extension.
Introduce a variable for readability.

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

10 years agompegpsdemux: Initialize PSM fully
Edward Hervey [Tue, 25 Feb 2014 10:29:06 +0000 (11:29 +0100)]
mpegpsdemux: Initialize PSM fully

Some gaps were missed in the previous version. Instead just initialize
the whole table to -1 first and then fill what needs to be specified.

10 years agompegts: Fix descriptor checks
Edward Hervey [Mon, 24 Feb 2014 14:52:53 +0000 (15:52 +0100)]
mpegts: Fix descriptor checks

Only use g_return_val_if_fail on provided direct arguments. The others get
checked all the time.

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

10 years agodebugutilsbad.c fails gst-indent check
Kipp Cannon [Mon, 24 Feb 2014 19:56:03 +0000 (14:56 -0500)]
debugutilsbad.c fails gst-indent check

this patch is "gst-indent debugutilsbad.c"

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

10 years agompegts: network_name: Check converted length
Jesper Larsen [Sat, 22 Feb 2014 17:22:26 +0000 (18:22 +0100)]
mpegts: network_name: Check converted length

Check the length of the name argument after it has been converted.

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

10 years agotests: Add test for mpegts library
Jesper Larsen [Sat, 8 Feb 2014 21:47:20 +0000 (22:47 +0100)]
tests: Add test for mpegts library

Tests for PAT, PMT, and NIT

Creates a new table, and populates it with descriptors.

Parses the newly created tables, and checks the data.

Creates a GstMpegTsSection from the tables, and packetize the sections.
The packetized section data is byte-wise compared to a static byte array

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

10 years agoexamples: gst-camerabin2-test: new 1.x raw caps format
Thiago Santos [Mon, 24 Feb 2014 14:06:28 +0000 (11:06 -0300)]
examples: gst-camerabin2-test: new 1.x raw caps format

Remove -yuv and -rgb from video/x-raw as those are from the
old 0.10 version

10 years agohlsdemux: Keep track of timestamps by adding them up during playback
Sebastian Dröge [Sun, 23 Feb 2014 14:18:22 +0000 (15:18 +0100)]
hlsdemux: Keep track of timestamps by adding them up during playback

...instead of adding them from the start of playlist every time. This
among other things fixes timestamps for live streams, where the playlist
is some kind of ringbuffer of fragments and thus adding from the beginning
of the playlist will miss the past fragments.

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

10 years agohlsdemux: Deprecate fragments-cache property
Sebastian Dröge [Sun, 23 Feb 2014 10:01:57 +0000 (11:01 +0100)]
hlsdemux: Deprecate fragments-cache property

The buffering/caching is handling completely different now and
outside of hlsdemux.

10 years agokatedec: Merge new tags with existing tags to prevent overwriting demuxer tags
Brendan Long [Wed, 19 Feb 2014 01:16:35 +0000 (19:16 -0600)]
katedec: Merge new tags with existing tags to prevent overwriting demuxer tags

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

10 years agoext: Use Codec/Demuxer/Adaptive for the adaptive streaming demuxers
Sebastian Dröge [Thu, 20 Feb 2014 14:09:36 +0000 (15:09 +0100)]
ext: Use Codec/Demuxer/Adaptive for the adaptive streaming demuxers

10 years agohlsdemux: Refactor threading and downloading
Sebastian Dröge [Mon, 17 Feb 2014 08:19:32 +0000 (09:19 +0100)]
hlsdemux: Refactor threading and downloading

We now download fragments as fast as possible and push them downstream
while another thread is just responsible for updating live playlists
every now and then.

This simplifies the code a lot and together with the new buffering
mode for adaptive streams in multiqueue makes streams start much faster.

Also simplify threading a bit and hopefully make the GstTask usage safer.

10 years agohlsdemux: Only switch pads if the caps are changing
Sebastian Dröge [Wed, 19 Feb 2014 08:35:45 +0000 (09:35 +0100)]
hlsdemux: Only switch pads if the caps are changing

10 years agodashdemux: ensure segments aren't fetched before they're available
Chris Bass [Fri, 21 Feb 2014 12:33:42 +0000 (12:33 +0000)]
dashdemux: ensure segments aren't fetched before they're available

Incorrect time scaling in gst_dash_demux_wait_for_fragment_to_be_available()
means that media segments are fetched before their availablity time. This
patch fixes this.

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

10 years agompegtsbase: Uncomment PAT clearup in _reset
Edward Hervey [Fri, 21 Feb 2014 13:06:24 +0000 (14:06 +0100)]
mpegtsbase: Uncomment PAT clearup in _reset

The PAT is related to the stream, we therefore want it cleared along
with anything stream related.

This commented section was from the (old) mpegtsparse and *might* have
been related to speeding up DVB start-up. But we have another plan for that.

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

10 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

10 years agompegtspacketizer: Fix ts_to_offset beyond last observed PCR
Edward Hervey [Sun, 29 Dec 2013 15:00:01 +0000 (16:00 +0100)]
mpegtspacketizer: Fix ts_to_offset beyond last observed PCR

The requested TS might be beyond the last observed PCR. In order to calculate
a coherent offset, we need to use the last and previous-to-last groups.

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

10 years agompegts: Add gst_mpegts_section_get_data, to allow us to get the original binary secti...
Brendan Long [Thu, 13 Feb 2014 00:15:44 +0000 (18:15 -0600)]
mpegts: Add gst_mpegts_section_get_data, to allow us to get the original binary section data.

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

10 years agompegts: Add size guards for descriptors where neeeded
Edward Hervey [Thu, 20 Feb 2014 18:08:33 +0000 (19:08 +0100)]
mpegts: Add size guards for descriptors where neeeded

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

10 years agompeg-ts: Rename private function
Edward Hervey [Thu, 20 Feb 2014 17:14:51 +0000 (18:14 +0100)]
mpeg-ts: Rename private function

Calling it _desc_checks when it was in fact used for sections was a
tad confusing ...

10 years agompegts: Add support for content descriptor
Stefan Ringel [Sun, 16 Feb 2014 09:45:21 +0000 (10:45 +0100)]
mpegts: Add support for content descriptor

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

10 years agompegts: Add support for component descriptor
Stefan Ringel [Sun, 16 Feb 2014 09:44:55 +0000 (10:44 +0100)]
mpegts: Add support for component descriptor

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

10 years agompegts: Add support for extended event desriptor
Stefan Ringel [Sun, 16 Feb 2014 09:43:52 +0000 (10:43 +0100)]
mpegts: Add support for extended event desriptor

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

10 years agompegts: Add support for DVB terrestrial delivery system descriptor
Stefan Ringel [Mon, 10 Feb 2014 20:52:28 +0000 (21:52 +0100)]
mpegts: Add support for DVB terrestrial delivery system descriptor

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

10 years agoconfigure: Rename all variables related to the winks plugin
Sebastian Dröge [Sun, 16 Feb 2014 09:09:18 +0000 (10:09 +0100)]
configure: Rename all variables related to the winks plugin

It does not make sense to call them after directshow if they
are for the winks plugin only.

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

10 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

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

10 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

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

10 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

10 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

10 years agouridownloader: Keep alive connections if the source supports that
Sebastian Dröge [Thu, 13 Feb 2014 09:21:15 +0000 (10:21 +0100)]
uridownloader: Keep alive connections if the source supports that

10 years agouridownloader: Re-use old source element if possible
Sebastian Dröge [Thu, 13 Feb 2014 09:06:48 +0000 (10:06 +0100)]
uridownloader: Re-use old source element if possible

Allows to implement keep-alive handling in the source element.

10 years agohlsdemux: Ignore empty lines in the playlist
Sebastian Dröge [Wed, 12 Feb 2014 17:49:13 +0000 (18:49 +0100)]
hlsdemux: Ignore empty lines in the playlist

Based on a patch by Andoni Morales.