platform/upstream/gstreamer.git
11 years agodashdemux: send stream start event
Thiago Santos [Sat, 18 May 2013 00:23:55 +0000 (21:23 -0300)]
dashdemux: send stream start event

Removes warnings about strict sticky events ordering

11 years agomssdemux: fix wma pro caps creation
Thiago Santos [Fri, 17 May 2013 15:08:10 +0000 (12:08 -0300)]
mssdemux: fix wma pro caps creation

WmaPro is actually wmaversion 3, and can also be found by the
WMAP fourcc.

Some manifests also contain the block_align field as "PacketSize"
in the audio track description, the libav decoders require it
to be present in caps.

Fixes #699921

11 years agomssdemux: fix assertions when a stream caps can't be created
Thiago Santos [Fri, 17 May 2013 14:37:30 +0000 (11:37 -0300)]
mssdemux: fix assertions when a stream caps can't be created

Fixes two assertions related to cleanup for a pad that couldn't
be exposed because the caps couldn't be identified from the
Manifest

Fixes #699921

11 years agoeagl: fix handling of surface dimension changes
Thiago Santos [Wed, 15 May 2013 14:49:22 +0000 (11:49 -0300)]
eagl: fix handling of surface dimension changes

Detect when the eagl surface changed its dimension (when the user rotates
the device for example) and adapt the egl internals to draw to that,
preventing that ios resizes the image again when drawing.

This is particularly harmful when eagl would scale down a image
to draw and the ios screen would scale it back up because the
surface is now bigger than when the element was configured.

11 years agomssdemux: parse block_align, channels and rate from waveformatex if possible
Thiago Santos [Wed, 15 May 2013 03:48:53 +0000 (00:48 -0300)]
mssdemux: parse block_align, channels and rate from waveformatex if possible

wma v2 expects block_align, channels and rate fields set to its caps.
This isn't present direclty on the manifests, so mssdemux should parse
it from the waveformatex structure

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

11 years agomssdemux: add bitrate info to audio streams
Thiago Santos [Wed, 15 May 2013 01:04:19 +0000 (22:04 -0300)]
mssdemux: add bitrate info to audio streams

bitrate info is always present on the QualityLevel xml node as part
of the adaptive selection processing, put it into caps as some
decoders require it (avdec_wmav2 for example)

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

11 years agomssdemux: send stream id and newsegment before pushing data
Thiago Santos [Tue, 14 May 2013 19:37:16 +0000 (16:37 -0300)]
mssdemux: send stream id and newsegment before pushing data

Fixes sticky events ordering warnings when data is pushed

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

11 years agodashdemux: Announce correct mpegts caps
Olivier Crête [Thu, 16 May 2013 02:24:29 +0000 (22:24 -0400)]
dashdemux: Announce correct mpegts caps

11 years agoinsertbin: Annotate callback scopes
Olivier Crête [Thu, 16 May 2013 00:03:30 +0000 (20:03 -0400)]
insertbin: Annotate callback scopes

11 years agomimic: Ensure segment is sent before caps and buffer
Nicolas Dufresne [Wed, 15 May 2013 23:23:08 +0000 (19:23 -0400)]
mimic: Ensure segment is sent before caps and buffer

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

11 years agoopenal: require OpenAL >= 1.14 to build the OpenAL plugin
Brendan Long [Wed, 15 May 2013 17:57:07 +0000 (11:57 -0600)]
openal: require OpenAL >= 1.14 to build the OpenAL plugin

For AL_FORMAT_MONO_ALAW_EXT and AL_FORMAT_STEREO_ALAW_EXT.

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

11 years agompegtsmux: Push stream-start event before anything else
Sebastian Dröge [Wed, 15 May 2013 09:38:35 +0000 (11:38 +0200)]
mpegtsmux: Push stream-start event before anything else

11 years agompegtsmux: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:37:14 +0000 (11:37 +0200)]
mpegtsmux: Fix event handling in unit test

11 years agomxfdemux: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:31:14 +0000 (11:31 +0200)]
mxfdemux: Fix event handling in unit test

11 years agoinsertbin: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:28:04 +0000 (11:28 +0200)]
insertbin: Fix event handling in unit test

11 years agoschroenc: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:26:25 +0000 (11:26 +0200)]
schroenc: Fix event handling in unit test

11 years agompg123audiodec: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:25:07 +0000 (11:25 +0200)]
mpg123audiodec: Fix event handling in unit test

11 years agoparser: Fix event handling in unit tests
Sebastian Dröge [Wed, 15 May 2013 09:15:24 +0000 (11:15 +0200)]
parser: Fix event handling in unit tests

11 years agogdp: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:09:08 +0000 (11:09 +0200)]
gdp: Fix event handling in unit test

gdp elements still needs to be fixed for all the event related
changes and generally properly ported to 1.0.

11 years agobaseaudiovisualizer: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:04:23 +0000 (11:04 +0200)]
baseaudiovisualizer: Fix event handling in unit test

11 years agoaudiovisualizer: Enable GLib deprecation warnings again
Sebastian Dröge [Wed, 15 May 2013 09:02:29 +0000 (11:02 +0200)]
audiovisualizer: Enable GLib deprecation warnings again

11 years agoaudiovisualizer: Negotiate as soon as possible when getting the sinkpad caps
Sebastian Dröge [Wed, 15 May 2013 09:00:46 +0000 (11:00 +0200)]
audiovisualizer: Negotiate as soon as possible when getting the sinkpad caps

11 years agoasfmux: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 08:54:56 +0000 (10:54 +0200)]
asfmux: Fix event handling in unit test

11 years agoasfmux: Send stream-start event
Sebastian Dröge [Wed, 15 May 2013 08:54:46 +0000 (10:54 +0200)]
asfmux: Send stream-start event

11 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 15 May 2013 08:51:54 +0000 (10:51 +0200)]
Automatic update of common submodule

From 5edcd85 to 098c0d7

11 years agoautoconvert: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 08:23:49 +0000 (10:23 +0200)]
autoconvert: Fix event handling in unit test

11 years agoshm: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 08:22:44 +0000 (10:22 +0200)]
shm: Fix event handling in unit test

11 years agocurlfilesink: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 08:19:24 +0000 (10:19 +0200)]
curlfilesink: Fix event handling in unit test

11 years agoopus: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 08:18:01 +0000 (10:18 +0200)]
opus: Fix event handling in unit test

11 years agokate: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 08:14:33 +0000 (10:14 +0200)]
kate: Fix event handling in unit test

11 years agokateenc: Delay segment event until we have caps
Sebastian Dröge [Wed, 15 May 2013 08:12:09 +0000 (10:12 +0200)]
kateenc: Delay segment event until we have caps

11 years agokatedec/tiger: Don't queue sticky events that would come before CAPS
Sebastian Dröge [Wed, 15 May 2013 08:02:29 +0000 (10:02 +0200)]
katedec/tiger: Don't queue sticky events that would come before CAPS

11 years agokateparse: Fix event handling
Sebastian Dröge [Wed, 15 May 2013 07:47:21 +0000 (09:47 +0200)]
kateparse: Fix event handling

Internal state should only be reset on FLUSH_STOP, not FLUSH_START.

Also forward pre-caps events immediately and don't queue them.

11 years agovo{amr,aac}enc: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 07:42:58 +0000 (09:42 +0200)]
vo{amr,aac}enc: Fix event handling in unit test

11 years agofaad/faac: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 07:41:54 +0000 (09:41 +0200)]
faad/faac: Fix event handling in unit test

11 years agohls: Use GstURIDownloader from the library for now to keep everything in a usable...
Sebastian Dröge [Wed, 15 May 2013 07:20:45 +0000 (09:20 +0200)]
hls: Use GstURIDownloader from the library for now to keep everything in a usable state

11 years agoladspa: Fix compilation issue when lrdf is enabled
Nicolas Dufresne [Tue, 14 May 2013 18:32:19 +0000 (14:32 -0400)]
ladspa: Fix compilation issue when lrdf is enabled

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

11 years agonsf: remove nsf plugin, replaced by gme plugin
Tim-Philipp Müller [Mon, 13 May 2013 23:14:34 +0000 (00:14 +0100)]
nsf: remove nsf plugin, replaced by gme plugin

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

11 years agoopenal: improved port to 1.0
Juan Manuel Borges Caño [Wed, 17 Apr 2013 00:18:58 +0000 (02:18 +0200)]
openal: improved port to 1.0

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

11 years agotests: blacklist some more tests from the generic state change test
Tim-Philipp Müller [Sun, 12 May 2013 23:08:42 +0000 (00:08 +0100)]
tests: blacklist some more tests from the generic state change test

11 years agobluez: add debug category for avdtp utils
Tim-Philipp Müller [Sun, 12 May 2013 23:06:10 +0000 (00:06 +0100)]
bluez: add debug category for avdtp utils

11 years agodirac: remove old dirac-research library based codec
Tim-Philipp Müller [Sun, 12 May 2013 22:51:32 +0000 (23:51 +0100)]
dirac: remove old dirac-research library based codec

It's not developed any more and replaced by the
libschroedinger-based elements in gst-plugins-good.
(The libschroedinger 1.0.9 release notes state "This
is an exciting release: most of the encoding tools in
dirac-research have been ported over to Schrödinger, so
now schro has the same or better compression efficiency
as dirac-research.")

11 years agoofa: port to 1.0
Tim-Philipp Müller [Sun, 12 May 2013 21:41:32 +0000 (22:41 +0100)]
ofa: port to 1.0

11 years agomusicbrainz: remove trm element which is not useful any more
Tim-Philipp Müller [Sun, 12 May 2013 19:32:23 +0000 (20:32 +0100)]
musicbrainz: remove trm element which is not useful any more

TRM IDs are MusicBrainz' old audio fingerprinting system from
Relatable, they were phased out in favour of MusicIPs PUIDs.

https://wiki.musicbrainz.org/History:TRM

11 years agoneonhttpsrc: add support for SCHEDULING query
Tim-Philipp Müller [Sun, 12 May 2013 17:51:52 +0000 (18:51 +0100)]
neonhttpsrc: add support for SCHEDULING query

11 years agoneonhttpsrc: add iradio-mode property and post icy metadata as tags
Tim-Philipp Müller [Sun, 12 May 2013 17:47:32 +0000 (18:47 +0100)]
neonhttpsrc: add iradio-mode property and post icy metadata as tags

11 years agoneonhttpsrc: port to 1.0
Tim-Philipp Müller [Sun, 12 May 2013 17:28:18 +0000 (18:28 +0100)]
neonhttpsrc: port to 1.0

11 years agointervideosrc: Fix timestamp generation
David Schleef [Sat, 11 May 2013 19:07:03 +0000 (12:07 -0700)]
intervideosrc: Fix timestamp generation

11 years agorfbsrc: post error messages on errors
Tim-Philipp Müller [Sat, 11 May 2013 18:41:22 +0000 (19:41 +0100)]
rfbsrc: post error messages on errors

11 years agovideofilters: Add videodiff element
David Schleef [Sat, 11 May 2013 00:30:48 +0000 (17:30 -0700)]
videofilters: Add videodiff element

11 years agoy4mdec: set timestamps when restriding buffer
David Schleef [Sat, 27 Apr 2013 18:56:48 +0000 (11:56 -0700)]
y4mdec: set timestamps when restriding buffer

11 years agovideomark/detect: rename to simplevideomark[detect]
David Schleef [Mon, 15 Apr 2013 07:24:23 +0000 (00:24 -0700)]
videomark/detect: rename to simplevideomark[detect]

11 years agovideomark/detect: port to 1.0
David Schleef [Sat, 13 Apr 2013 22:16:04 +0000 (15:16 -0700)]
videomark/detect: port to 1.0

11 years agorfbsrc: fix rfbdecoder new/free asymetry and wrong free in error case
Tim-Philipp Müller [Fri, 10 May 2013 23:36:06 +0000 (00:36 +0100)]
rfbsrc: fix rfbdecoder new/free asymetry and wrong free in error case

If rfb_decoder_new() allocates the decoder sructure, rfb_decoder_free()
should free the structure. We should not free the decoder when an
error occurs during connection - it holds lots of configuration/state
and will be freed later in finalize.

11 years agorfbsrc: make authentication handshake safe for multiple instances
Tim-Philipp Müller [Fri, 10 May 2013 23:29:40 +0000 (00:29 +0100)]
rfbsrc: make authentication handshake safe for multiple instances

Move DES key into context struct.

11 years agorfbsrc: remove GPL-licensed source file
Tim-Philipp Müller [Fri, 10 May 2013 22:09:30 +0000 (23:09 +0100)]
rfbsrc: remove GPL-licensed source file

and replace the 1% of it that we need with new code, so we
don't have to change the runtime license of rfbsrc to GPL.

11 years agorfbsrc: use glib gio sockets for network access
Aleix Conchillo Flaque [Fri, 10 May 2013 16:49:46 +0000 (09:49 -0700)]
rfbsrc: use glib gio sockets for network access

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

11 years agorfbsrc: port to 1.0
Aleix Conchillo Flaque [Thu, 9 May 2013 23:41:32 +0000 (16:41 -0700)]
rfbsrc: port to 1.0

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

11 years agoegl: Add destroy notify instead of always calling eglTerminate() on the display
Sebastian Dröge [Fri, 10 May 2013 10:49:06 +0000 (12:49 +0200)]
egl: Add destroy notify instead of always calling eglTerminate() on the display

In some scenarios, for example in QtWebKit, might be difficult to obtain full
control on the egl display and it might be only accessible indirectly via
eglGetCurrentDisplay().

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

11 years agoegl: Allow being used in C++ code
Josep Torra [Fri, 10 May 2013 09:48:46 +0000 (11:48 +0200)]
egl: Allow being used in C++ code

11 years agodashdemux: rename src template from src%d to src_%u
Tim-Philipp Müller [Wed, 8 May 2013 22:17:08 +0000 (23:17 +0100)]
dashdemux: rename src template from src%d to src_%u

11 years agodash: remove superfluous files
Thiago Santos [Wed, 8 May 2013 21:22:39 +0000 (18:22 -0300)]
dash: remove superfluous files

Authors and license are at the top of the source files

11 years agodash: do not use deprecated glib mutex API
Thiago Santos [Thu, 2 May 2013 17:11:54 +0000 (14:11 -0300)]
dash: do not use deprecated glib mutex API

11 years agodashdemux: fixing compiler warnings about print formats
Thiago Santos [Tue, 23 Apr 2013 15:08:07 +0000 (12:08 -0300)]
dashdemux: fixing compiler warnings about print formats

11 years agodash: enable in configure/makefiles
Thiago Santos [Wed, 8 May 2013 14:14:15 +0000 (11:14 -0300)]
dash: enable in configure/makefiles

It was intentionally disabled up to this point to prevent
compile failures as dashdemux development commits were all for
0.10 up to here

11 years agodashdemux: port to 1.0
Thiago Santos [Thu, 18 Apr 2013 10:41:09 +0000 (07:41 -0300)]
dashdemux: port to 1.0

11 years agodashdemux: Fix another wrong assertion
Thiago Santos [Thu, 11 Apr 2013 12:12:26 +0000 (09:12 -0300)]
dashdemux: Fix another wrong assertion

Also adds a couple log messages for easier debugging

11 years agodashdemux: remove wrong asserts
Thiago Santos [Wed, 10 Apr 2013 21:09:19 +0000 (18:09 -0300)]
dashdemux: remove wrong asserts

Those asserts should be the contrary that they are. And also
the surround functions should already check that. Removing them.

11 years agodashdemux: only start timestamp from 0 for live stream
Wim Taymans [Wed, 13 Mar 2013 14:55:03 +0000 (15:55 +0100)]
dashdemux: only start timestamp from 0 for live stream

We only want to adjust the timestamps so that they start from 0 for live
streams. Non-live streams already start from 0 and after a seek we actually want
to timestamp to be the position we seek to.

11 years agodashdemux: make timestamps start from 0
Wim Taymans [Fri, 8 Mar 2013 14:04:48 +0000 (15:04 +0100)]
dashdemux: make timestamps start from 0

Non-live streams should timestamp buffers with a running-time starting from
0. Since we already push a 0 -> -1 segment, bring the timestamps to 0
by subtracting the initial timestamp.

11 years agodashdemux: also send newsegment on startup
Wim Taymans [Fri, 8 Mar 2013 13:59:59 +0000 (14:59 +0100)]
dashdemux: also send newsegment on startup

11 years agodashdemux: small cleanup
Wim Taymans [Fri, 8 Mar 2013 13:57:39 +0000 (14:57 +0100)]
dashdemux: small cleanup

11 years agodashdemux: live stream playback crashfix
Thiago Santos [Fri, 22 Feb 2013 20:00:27 +0000 (17:00 -0300)]
dashdemux: live stream playback crashfix

11 years agodash: mpdparser: do not cleanup xml lib too early
Thiago Santos [Fri, 22 Feb 2013 19:46:22 +0000 (16:46 -0300)]
dash: mpdparser: do not cleanup xml lib too early

The xmlCleanupParser function seems to cleanup all statically
allocated libxml variables, making it unusable. We can't guarantee
that dashdemux won't need it anymore, so better not call it.

11 years agodashdemux: reimplementing live streams manifest updates
Thiago Santos [Fri, 22 Feb 2013 19:40:36 +0000 (16:40 -0300)]
dashdemux: reimplementing live streams manifest updates

Manifest updates should be done periodically for live streams,
this patch makes the demuxer create a new manifest client for
the new version and transfers the stream position to the new
one, discarding the old one afterwards.

11 years agodash: mpdparser: allow periods without start time for live streams
Thiago Santos [Wed, 20 Feb 2013 15:49:25 +0000 (12:49 -0300)]
dash: mpdparser: allow periods without start time for live streams

Live streams can have undefined start times for the periods and
mpdparser can let that pass instead of erroring out

11 years agodash: mpdparser: use guint64 for timestamps
Thiago Santos [Tue, 19 Feb 2013 22:35:34 +0000 (19:35 -0300)]
dash: mpdparser: use guint64 for timestamps

The timestamps can be pretty big, so use guint64 for them

11 years agodashdemux: mpd parsing: fix query parameter parsing
Thiago Santos [Tue, 19 Feb 2013 04:26:25 +0000 (01:26 -0300)]
dashdemux: mpd parsing: fix query parameter parsing

Try harder to detect URL parameters and split them to accomodate
the fragment url in the concat:

base-url + fragment-url + url-parameters

11 years agodashdemux: plug some leaks
Thiago Santos [Mon, 18 Feb 2013 17:02:48 +0000 (14:02 -0300)]
dashdemux: plug some leaks

Add some missing free/unrefs spotted by valgrind

11 years agodashdemux: remove unused mutexes
Thiago Santos [Mon, 18 Feb 2013 17:01:27 +0000 (14:01 -0300)]
dashdemux: remove unused mutexes

11 years agodashdemux: properly reset stream status after a flush
Thiago Santos [Thu, 14 Feb 2013 20:39:35 +0000 (17:39 -0300)]
dashdemux: properly reset stream status after a flush

The stream eos/end of period status must also be reset after a flushing
seek. This makes seeking after EOS work.

11 years agodashdemux: keep a list of streams periods
Andre Moreira Magalhaes (andrunko) [Wed, 13 Feb 2013 04:13:23 +0000 (02:13 -0200)]
dashdemux: keep a list of streams periods

Keep a list of streams per period so that the download loop can keep
downloading while the stream loop is still pushing old period's data.

11 years agodashdemux: Properly parse base uri from mpd.
Andre Moreira Magalhaes (andrunko) [Wed, 13 Feb 2013 00:54:32 +0000 (22:54 -0200)]
dashdemux: Properly parse base uri from mpd.

11 years agodashdemux: Remove unused members.
Andre Moreira Magalhaes (andrunko) [Wed, 13 Feb 2013 00:53:16 +0000 (22:53 -0200)]
dashdemux: Remove unused members.

11 years agodashdemux: Only send newsegment on seek.
Andre Moreira Magalhaes (andrunko) [Tue, 12 Feb 2013 20:50:51 +0000 (18:50 -0200)]
dashdemux: Only send newsegment on seek.

11 years agodashdemux: send segments that overwrite previous ones
Thiago Santos [Fri, 8 Feb 2013 05:55:05 +0000 (02:55 -0300)]
dashdemux: send segments that overwrite previous ones

This is only done for seeks, so it is fine

11 years agodashdemux: switch bitrates without switching pads
Andre Moreira Magalhaes (andrunko) [Thu, 7 Feb 2013 23:58:37 +0000 (21:58 -0200)]
dashdemux: switch bitrates without switching pads

11 years agodashdemux: Remove unusued method.
Andre Moreira Magalhaes (andrunko) [Thu, 7 Feb 2013 18:22:13 +0000 (16:22 -0200)]
dashdemux: Remove unusued method.

11 years agodashdemux: Set stream need_header after seek and has_data_queued to FALSE when flushi...
Andre Moreira Magalhaes (andrunko) [Thu, 7 Feb 2013 16:09:44 +0000 (14:09 -0200)]
dashdemux: Set stream need_header after seek and has_data_queued to FALSE when flushing stream.

11 years agodashdemux: do not pause/start the stream loop on playing/paused changes
Thiago Santos [Thu, 7 Feb 2013 06:09:28 +0000 (03:09 -0300)]
dashdemux: do not pause/start the stream loop on playing/paused changes

The demuxer shouldn't care about paused/playing, it should act the
same in both states

11 years agodashdemux: remove property that isn't used anymore
Thiago Santos [Wed, 6 Feb 2013 16:31:18 +0000 (13:31 -0300)]
dashdemux: remove property that isn't used anymore

Remove some pieces of code that are from an old property
that isn't used anymore

11 years agodashdemux: add a downloadrate utility
Thiago Santos [Tue, 5 Feb 2013 20:38:06 +0000 (17:38 -0300)]
dashdemux: add a downloadrate utility

A small struct that keeps a short history of fragment download bitrates
to have an average measure of N last fragments instead of using only
the last downloaded bitrate

11 years agodashdemux: sprinkling some more log
Thiago Santos [Tue, 5 Feb 2013 17:24:45 +0000 (14:24 -0300)]
dashdemux: sprinkling some more log

11 years agodashdemux: change bitrates based on the stream bitrate
Thiago Santos [Tue, 5 Feb 2013 17:22:51 +0000 (14:22 -0300)]
dashdemux: change bitrates based on the stream bitrate

Do not use a global bitrate as the sizes of the fragments matter
when calculating the download rate as the connection setup time is
also being taken into the download duration, a smaller fragment
will have a lower bitrate than a larger one.

This avoids switching the bitrates for streams frequently because
of bitrate mismatches

11 years agodashdemux: refactor to use the uridownloader lib instead of internal copy
Thiago Santos [Tue, 5 Feb 2013 03:45:06 +0000 (00:45 -0300)]
dashdemux: refactor to use the uridownloader lib instead of internal copy

11 years agodashdemux: Make sure switch_pads won't leak any pad.
Andre Moreira Magalhaes (andrunko) [Tue, 5 Feb 2013 03:29:28 +0000 (01:29 -0200)]
dashdemux: Make sure switch_pads won't leak any pad.

11 years agodashdemux: Properly stop download and stream tasks where appropriate.
Andre Moreira Magalhaes (andrunko) [Tue, 5 Feb 2013 00:58:32 +0000 (22:58 -0200)]
dashdemux: Properly stop download and stream tasks where appropriate.

11 years agodashdemux: avoid an assertion when stopping the pipeline
Thiago Santos [Fri, 1 Feb 2013 05:12:25 +0000 (02:12 -0300)]
dashdemux: avoid an assertion when stopping the pipeline

Avoids asserting when dataqueues are setting to flushing due
to a pipeline stop during a pad switch.

11 years agodashdemux: download the next fragment with smaller timestamp
Thiago Santos [Fri, 1 Feb 2013 05:10:15 +0000 (02:10 -0300)]
dashdemux: download the next fragment with smaller timestamp

Instead of downloading 1 fragment per stream per download loop,
select the stream with the earlier timestamp and get a fragment
only for that one.

The old algorithm would lead to problems when the fragment durations
were too different for streams.

11 years agodashdemux: track segments in the demuxer
Thiago Santos [Fri, 1 Feb 2013 03:37:33 +0000 (00:37 -0300)]
dashdemux: track segments in the demuxer

Use a GstSegment to track the current segment information in the
demuxer.