platform/upstream/gstreamer.git
10 years agotsdemux: Fix flags comparison operator precedence
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

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

10 years agoandroidmedia: Don't handle FLUSHING or NOT_LINKED as error
Sebastian Dröge [Sat, 25 Jan 2014 16:40:46 +0000 (17:40 +0100)]
androidmedia: Don't handle FLUSHING or NOT_LINKED as error

And also just stop the task for FLUSHING.

10 years agomxfdemux: Don't go into pull mode when the sequential flag is set
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

10 years agotests: h264parse: fix tests after leading 0x00 removal
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.

10 years agocodecparsers: refactor common nal parsing to nalutils
Thiago Santos [Fri, 24 Jan 2014 04:07:45 +0000 (01:07 -0300)]
codecparsers: refactor common nal parsing to nalutils

Moves common code from h264 and h265 to a separate file

10 years agoh264parse: Fix multiple SEI messages in one SEI RBSP parsing.
Aurélien Zanelli [Fri, 3 Jan 2014 08:44:28 +0000 (09:44 +0100)]
h264parse: Fix multiple SEI messages in one SEI RBSP parsing.

An SEI RBSP could contains more than one SEI message as specified in
7.4.2.3.1.

This commit change the parser API: the gst_h264_parser_parse_sei()
function now create and fill a GArray containing GstH264SEIMessage.

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

10 years agoh265parser: remove trailling 0x00 bytes as the spec doesn't allow them
Thiago Santos [Wed, 22 Jan 2014 13:26:32 +0000 (10:26 -0300)]
h265parser: remove trailling 0x00 bytes as the spec doesn't allow them

Just like h264, the spec doesn't allow the last bytes of a NAL to be 0x00.
So remove it as it is probably just padding.

This is related to https://bugzilla.gnome.org/show_bug.cgi?id=721384

10 years agoh264parser: remove trailling 0x00 bytes as the spec doesn't allow them
Thiago Santos [Mon, 20 Jan 2014 20:24:54 +0000 (17:24 -0300)]
h264parser: remove trailling 0x00 bytes as the spec doesn't allow them

The spec states that the last byte of a NAL 'shall not' be 0x00
and it is allowed for byte-stream format to add padding 0x00 for
alignment.

So our parser should strip any trailling 0x00.

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

10 years agompegtsmux: don't leak pad name when treating events
Justin Joy [Tue, 21 Jan 2014 14:42:58 +0000 (23:42 +0900)]
mpegtsmux: don't leak pad name when treating events

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

10 years agompegpsmux: update last_ts to mux correctly
Wim Taymans [Tue, 21 Jan 2014 09:27:20 +0000 (10:27 +0100)]
mpegpsmux: update last_ts to mux correctly

We use last_ts to decide what buffer to mux next so make sure that it
always contains the last known valid timestamp.

10 years agoh265parser: Initialize pointer correctly that is never assigned but freed in error...
duhui.lee [Tue, 21 Jan 2014 01:58:35 +0000 (10:58 +0900)]
h265parser: Initialize pointer correctly that is never assigned but freed in error cases

Fixes crash on broken streams.

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

10 years agod3dvideosink: First destroy the window, then unregister the class
Alexey Chernov [Tue, 21 Jan 2014 08:44:00 +0000 (09:44 +0100)]
d3dvideosink: First destroy the window, then unregister the class

It's impossible to create another pipeline with d3dvideosink after disposing
the previous one due to some problem in d3dvideosink. The message is: "Unable
to register Direct3D hidden window class".

I've evaluated the problem and it's that UnregisterClass() in working thread is
called before DestroyWindow() and UnregisterClass() does nothing.

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

10 years agompegpsmux: fix timestamp handling
Wim Taymans [Mon, 20 Jan 2014 15:25:51 +0000 (16:25 +0100)]
mpegpsmux: fix timestamp handling

If the first buffer that we handle for a stream has no timestamp, we
would never consider this pad again for muxing which causes queues to
fill up and pipelines to stall. Instead, try to mux pads with -1
timestamps as soon as possible.

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

10 years agompegpsmux: return GST_FLOW_EOS when we pushed EOS
Wim Taymans [Mon, 20 Jan 2014 15:23:49 +0000 (16:23 +0100)]
mpegpsmux: return GST_FLOW_EOS when we pushed EOS

Return GST_FLOW_EOS from the collected function when we pushed EOS or
else it simply keeps on calling our collected function.

10 years agoapplemedia: Actually the enc/decbins are not used anywhere currently
Sebastian Dröge [Mon, 20 Jan 2014 09:38:16 +0000 (10:38 +0100)]
applemedia: Actually the enc/decbins are not used anywhere currently

Code is commented out.

10 years agoapplemedia: Fix build on iOS and probably also on OSX
Sebastian Dröge [Mon, 20 Jan 2014 09:34:57 +0000 (10:34 +0100)]
applemedia: Fix build on iOS and probably also on OSX

The video toolbox is not available on iOS, and also on OSX
we should probably build all source files that are used for
it.

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

10 years agoh265parse: Update caps when receive VPS/SPS/PPS
duhui.lee [Mon, 20 Jan 2014 06:21:42 +0000 (15:21 +0900)]
h265parse: Update caps when receive VPS/SPS/PPS

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

10 years agoh265parser: Fix segfault when parsing HRD parameter
duhui.lee [Mon, 20 Jan 2014 08:03:09 +0000 (17:03 +0900)]
h265parser: Fix segfault when parsing HRD parameter

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

10 years agoopenexrdec: Don't start scanning for the header from the start again each time
Sebastian Dröge [Sat, 18 Jan 2014 12:56:28 +0000 (13:56 +0100)]
openexrdec: Don't start scanning for the header from the start again each time

This will be incredible slow if the upstream block size is very small. Instead
continue scanning for the header where we previously stopped.

For the standard filesrc block-size this made decoding a file about
3 times faster.

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

10 years agosfdec: This is a decoder, not a demuxer
Sebastian Dröge [Sat, 18 Jan 2014 12:06:29 +0000 (13:06 +0100)]
sfdec: This is a decoder, not a demuxer

Don't confuse autopluggers!

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

10 years agotsdemux: Fix leak of PCROffsetGroup
Andrey Utkin [Fri, 17 Jan 2014 23:19:36 +0000 (01:19 +0200)]
tsdemux: Fix leak of PCROffsetGroup

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

10 years agoaudiomixer: Remove some useless assignments and skip the current part of the buffer...
Sebastian Dröge [Thu, 16 Jan 2014 11:18:45 +0000 (12:18 +0100)]
audiomixer: Remove some useless assignments and skip the current part of the buffer if the pad is muted

10 years agoresindvd: Merge changes across from master mpegdemux
Jan Schmidt [Thu, 16 Jan 2014 09:16:47 +0000 (20:16 +1100)]
resindvd: Merge changes across from master mpegdemux

Merge various changes and fixes from the master mpegdemux
Performance improvement from the way streams are organised,
return flow combining, language tag event generation,
adjustments and fixes in debug output, and things like that.

10 years agompegdemux: Merge some changes from the resindvd copy
Jan Schmidt [Thu, 16 Jan 2014 09:14:48 +0000 (20:14 +1100)]
mpegdemux: Merge some changes from the resindvd copy

One bug fix, some debug changes and other inconsequential changes
just to reduce the diff between the 2 copies a bit.

10 years agoaudiomixer: Fix and simplify overlap calculation
Sebastian Dröge [Wed, 15 Jan 2014 22:30:28 +0000 (23:30 +0100)]
audiomixer: Fix and simplify overlap calculation

10 years agoresindvdsrc: fix minor memory leak when creating title info message
Tim-Philipp Müller [Tue, 14 Jan 2014 23:55:53 +0000 (23:55 +0000)]
resindvdsrc: fix minor memory leak when creating title info message

10 years agoamcvideodec: Add the divx variant for mpeg4 video
Jorge Zapata [Wed, 9 Oct 2013 15:49:06 +0000 (17:49 +0200)]
amcvideodec: Add the divx variant for mpeg4 video

Looks like all the mpeg4 video decoders also accept the divx
variants. So we better add those caps too

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

10 years agoconfigure: fix (again) check for DB API: 5.4 is Not Recent Enough
Vincent Penquerc'h [Tue, 14 Jan 2014 17:08:36 +0000 (17:08 +0000)]
configure: fix (again) check for DB API: 5.4 is Not Recent Enough

Maybe testing the version is clearer, but testing for < 5 is not
enough, my version is 5.4 and does not yet have those new enums.

If you git blame to this and have a version > 5.4 that does not
either, please feel free to join along and bump the version.

10 years agoh265parser: Fix segfault when parsing VPS
duhui.lee [Tue, 14 Jan 2014 14:21:25 +0000 (23:21 +0900)]
h265parser: Fix segfault when parsing VPS

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

10 years agofaceblur: set maximum feature size to 0x0
Sebastian Dröge [Tue, 14 Jan 2014 09:38:37 +0000 (10:38 +0100)]
faceblur: set maximum feature size to 0x0

Previously faces would only be detected if they were at least 30x30 pixels
large and at most 32x32 pixels. We keep the minimum setting (maybe needs
a property as in facedetect) but disable the maximum feature size.

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

10 years agofacedetect: set maximum feature size to 0x0
Kipp Cannon [Tue, 14 Jan 2014 06:06:02 +0000 (01:06 -0500)]
facedetect: set maximum feature size to 0x0

This disables the "max feature size" feature. The current configuration
is totally busted: The max feature size is hard-coded to 2 pixels more
than the user-supplied min feature size which pretty much means you need
to guess the size of the person's face to within a few pixels to get the
code to find it.

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

10 years agotsdemux: fix memleak of PCROffsetCurrent
Andrey Utkin [Tue, 14 Jan 2014 00:19:12 +0000 (02:19 +0200)]
tsdemux: fix memleak of PCROffsetCurrent

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

10 years agoh265parser: prevent to overrun chroma_weight_l0_flag
Justin Joy [Mon, 13 Jan 2014 12:50:16 +0000 (21:50 +0900)]
h265parser: prevent to overrun chroma_weight_l0_flag

The index of elements cannot exceed or equal to the size of elements.

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

10 years agoschroenc: set buffer offset to buffer timestamp
Vincent Penquerc'h [Mon, 13 Jan 2014 10:01:43 +0000 (10:01 +0000)]
schroenc: set buffer offset to buffer timestamp

oggmux expects this to order incoming buffers

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

10 years agodvb: Use DVB_API_VERSION to know if we have recent enough version
Edward Hervey [Fri, 10 Jan 2014 07:58:27 +0000 (08:58 +0100)]
dvb: Use DVB_API_VERSION to know if we have recent enough version

We end up with the same end-result but it's more comprehensible

10 years agoconfigure: check for good enough dvb kernel headers
Stefan Sauer [Thu, 9 Jan 2014 15:38:13 +0000 (16:38 +0100)]
configure: check for good enough dvb kernel headers

Recent changes are using new dvb api. Don't built the plugin, if we can't.
Fixes #721869

10 years agoaiffparse: misc code cleanups
Stefan Sauer [Thu, 9 Jan 2014 07:18:07 +0000 (08:18 +0100)]
aiffparse: misc code cleanups

Fix the launch examples for 1.0. Turn more logging into _OBJECT variants.

10 years agodashdemux: remove unnecessary variable
Thiago Santos [Thu, 9 Jan 2014 12:13:48 +0000 (09:13 -0300)]
dashdemux: remove unnecessary variable

Instead of using 2 indexes that were actually the same, use only
one. Saves a variable.

10 years agodashdemux: fix seeking when the mpd uses a segment template
Thiago Santos [Thu, 9 Jan 2014 12:11:23 +0000 (09:11 -0300)]
dashdemux: fix seeking when the mpd uses a segment template

Remove the dashdemux seeking function to use the one implemented
in mpdparser as it is more complete. This also makes dashdemux not
crash when seeking on streams that use segment templates.

10 years agompeg4videoparse: do not lose DISCONT flag if buffer isn't pushed
Thiago Santos [Wed, 8 Jan 2014 19:33:05 +0000 (16:33 -0300)]
mpeg4videoparse: do not lose DISCONT flag if buffer isn't pushed

mpeg4videoparse might not push buffers while parsing. If those buffers
contain the DISCONT flag, it gets lost and downstream won't get any
buffer with the flag.

Fix it by adding the DISCONT to the next pushed buffer.
This makes backwards playback work.

10 years agosfdec: skip '\0' strings for metadata
Stefan Sauer [Mon, 6 Jan 2014 21:15:24 +0000 (22:15 +0100)]
sfdec: skip '\0' strings for metadata

libsndfile does not filter empty strings. We get a warning from gstreamer when
setting this as a tag.

10 years agosfdec: break long method
Stefan Sauer [Mon, 6 Jan 2014 14:15:27 +0000 (15:15 +0100)]
sfdec: break long method

Extract taglist creation into separate funtion.

10 years agompegts: make headers usable with c++ compiler
Tim-Philipp Müller [Mon, 6 Jan 2014 15:01:22 +0000 (15:01 +0000)]
mpegts: make headers usable with c++ compiler

Add G_BEGIN_DECLS G_END_DECLS

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

10 years agosfdec: remove left over property-id enum
Stefan Sauer [Mon, 6 Jan 2014 14:02:30 +0000 (15:02 +0100)]
sfdec: remove left over property-id enum

10 years agoh265parse: Allows hvc1 version 0 and fix reading of NAL count in codec_data
Sebastian Dröge [Mon, 6 Jan 2014 13:52:54 +0000 (14:52 +0100)]
h265parse: Allows hvc1 version 0 and fix reading of NAL count in codec_data

10 years agoh265parse: Fix some more debug output
Sebastian Dröge [Mon, 6 Jan 2014 13:48:26 +0000 (14:48 +0100)]
h265parse: Fix some more debug output

And don't access invalid memory

10 years agoh265parser: Fix debug output
Sebastian Dröge [Mon, 6 Jan 2014 13:47:43 +0000 (14:47 +0100)]
h265parser: Fix debug output

10 years agotsdemux: Add HEVC / h265 support
Sebastian Dröge [Mon, 6 Jan 2014 12:51:01 +0000 (13:51 +0100)]
tsdemux: Add HEVC / h265 support

10 years agoaiffparse: typo fix in comment
Stefan Sauer [Sun, 5 Jan 2014 22:44:36 +0000 (23:44 +0100)]
aiffparse: typo fix in comment

10 years agosfdec: the read functions already return frames_read
Stefan Sauer [Sun, 5 Jan 2014 22:43:25 +0000 (23:43 +0100)]
sfdec: the read functions already return frames_read

Fixes choppy output.

10 years agosndfile: enable rf64 format
Stefan Sauer [Sun, 5 Jan 2014 22:41:26 +0000 (23:41 +0100)]
sndfile: enable rf64 format

10 years agosfdec: add date to taglist
Stefan Sauer [Thu, 2 Jan 2014 20:02:27 +0000 (21:02 +0100)]
sfdec: add date to taglist

10 years agoshmsink: Document that socket-path may change
Olivier Crête [Fri, 3 Jan 2014 16:18:06 +0000 (11:18 -0500)]
shmsink: Document that socket-path may change

10 years agoshmsink: Change default shm size to 64 MiB
Olivier Crête [Fri, 3 Jan 2014 16:16:42 +0000 (11:16 -0500)]
shmsink: Change default shm size to 64 MiB

The original size of 256k was too small for anything where
one would want to use shm. If the buffer's size needs to be limit, it is
better to use buffer-time in most cases anyway.

10 years agodvbsrc: Add dvb-s2, dvb-t2 support
Stefan Ringel [Thu, 10 Oct 2013 16:25:46 +0000 (18:25 +0200)]
dvbsrc: Add dvb-s2, dvb-t2 support

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

10 years agodvbsrc: Change from deprecated frontend type field to DTV_ENUM_DELSYS
Stefan Ringel [Thu, 10 Oct 2013 16:23:20 +0000 (18:23 +0200)]
dvbsrc: Change from deprecated frontend type field to DTV_ENUM_DELSYS

-add delsys property
-add delivery system capability to the gstreamer adapter structure
-ready for add new delivery systems

Application must ask the adapter structure to know which delivery systems are avaible.
The property delsys must be set.

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

10 years agosrtpdec: Fix GstCaps memory leak
Miguel París Díaz [Fri, 3 Jan 2014 08:59:34 +0000 (09:59 +0100)]
srtpdec: Fix GstCaps memory leak

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

10 years agopo: update POTFILES
Piotr Drąg [Tue, 31 Dec 2013 21:38:03 +0000 (22:38 +0100)]
po: update POTFILES

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

10 years agoandroidmedia: Add new color format, and enhance debug output
Jan Schmidt [Tue, 31 Dec 2013 12:18:54 +0000 (23:18 +1100)]
androidmedia: Add new color format, and enhance debug output

Add a new color format seen on my Galaxy S3
(OMX_SEC_COLOR_FormatNV12Tiled = 0x7fc00002) to the table,
but don't actually implement it - the decoder doesn't choose it.

Remove an assert that makes the plugin fail noisily and take the app down
if it sees a color format it doesn't recognise (just skip the codec instead)

Modify the debug output when plugin scanning to print color format info to
make this sort of thing easier in the future.

10 years agompegtsmux: Don't disrupt buffer state in the clip function
Jan Schmidt [Thu, 19 Dec 2013 12:00:12 +0000 (23:00 +1100)]
mpegtsmux: Don't disrupt buffer state in the clip function

Collectpads assumes that it can pass any buffer to the clip function
for adjustment, some of which are artificially injected - so don't
adjust global timestamp tracking there. Instead, only adjust the
buffer timestamps and use them directly in the collection function.

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

10 years agosndfile: emit midi-base-note tag
Stefan Sauer [Mon, 30 Dec 2013 14:49:57 +0000 (15:49 +0100)]
sndfile: emit midi-base-note tag

Query instrument data. Use both 'loop_info' and 'instrument' to inform about the
basenote.

10 years agojpegparse: Remove unneeded call
Edward Hervey [Mon, 30 Dec 2013 12:28:52 +0000 (13:28 +0100)]
jpegparse: Remove unneeded call

'parse' is already provided by the parent variable

10 years agoopencv: The plugin works with 2.4.7 too
Sebastian Dröge [Sun, 29 Dec 2013 12:31:53 +0000 (13:31 +0100)]
opencv: The plugin works with 2.4.7 too

Reported by kwm on IRC.

10 years agoopusparse: Don't send caps in GstBaseParse::start()
Sebastian Dröge [Sat, 28 Dec 2013 11:39:25 +0000 (12:39 +0100)]
opusparse: Don't send caps in GstBaseParse::start()

This is too early and will confuse the event order. The other
code that sets the caps is at the right position and does it
properly already.

10 years agomfc: fix input dequeue for odroid
Víctor Manuel Jáquez Leal [Tue, 24 Dec 2013 23:15:28 +0000 (23:15 +0000)]
mfc: fix input dequeue for odroid

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

10 years agoopusenc: increase max payload size to 4000 bytes
Vincent Penquerc'h [Fri, 27 Dec 2013 14:29:46 +0000 (14:29 +0000)]
opusenc: increase max payload size to 4000 bytes

1275 is the maximum size of a frame, but the encoder may return
up to 3 frames, and we need a few extra bytes for TOC, etc. We
use 4000, which is a bit more, and suggested in the libopus docs.

10 years agompegts: fix g-i annotations and gtk-doc markup
Tim-Philipp Müller [Fri, 27 Dec 2013 10:25:30 +0000 (10:25 +0000)]
mpegts: fix g-i annotations and gtk-doc markup

10 years agodashdemux: remove stream loop thread
Thiago Santos [Fri, 20 Dec 2013 13:05:22 +0000 (10:05 -0300)]
dashdemux: remove stream loop thread

Download and push from the same task, makes code a lot simpler
to maintain. Also pushing from separate threads avoids deadlocking
when gst_pad_push blocks due to downstream queues being full.

10 years agouridownloader: fix deadlock near EOS
Thiago Santos [Fri, 20 Dec 2013 22:42:52 +0000 (19:42 -0300)]
uridownloader: fix deadlock near EOS

A deadlock can happen when the source sends EOS when
being put to NULL as the object lock is being held by the
thread that sets the element to NULL and is needed by
the event handler.

10 years agodash: detect EOS when segments are generated by template
Thiago Santos [Fri, 20 Dec 2013 22:39:16 +0000 (19:39 -0300)]
dash: detect EOS when segments are generated by template

Use the Period duration do know when to end the stream

10 years agodashdemux: do not try to access buffer after losing the ref
Thiago Santos [Fri, 13 Dec 2013 20:26:10 +0000 (17:26 -0300)]
dashdemux: do not try to access buffer after losing the ref

For obvious reasons

10 years agodashdemux: use a separate GstUriDownloader per stream
Thiago Santos [Fri, 13 Dec 2013 20:25:37 +0000 (17:25 -0300)]
dashdemux: use a separate GstUriDownloader per stream

Avoids one download having to wait for another to finish
before starting

10 years agodashdemux: store GstActiveStream to avoid getting it every time
Thiago Santos [Mon, 9 Dec 2013 16:55:20 +0000 (13:55 -0300)]
dashdemux: store GstActiveStream to avoid getting it every time

GstActiveStream is used everywhere to operate on the MPD client,
better store it in the GstDashDemuxStream to avoid getting it
everytime

10 years agodashdemux: simplify locking for streams
Thiago Santos [Mon, 9 Dec 2013 16:33:53 +0000 (13:33 -0300)]
dashdemux: simplify locking for streams

Use a single lock for all streams instead of having separate locks.
This makes maintenance easier and at most points we would need
a single lock before iterating on all streams data. So not much
is gained from individual locks.

10 years agodashdemux: fix multiple period mpd playback
Thiago Santos [Mon, 9 Dec 2013 14:28:25 +0000 (11:28 -0300)]
dashdemux: fix multiple period mpd playback

Make dash playlists with multiple periods work again by waiting
to switch the periods when all streams have reached the end of
the current period. The stream_loop is responsible for advancing
the period, but the download loops will already start downloading
data for the next period as soon as possible.

10 years agodashdemux: add combine flows function
Thiago Santos [Thu, 5 Dec 2013 05:53:18 +0000 (02:53 -0300)]
dashdemux: add combine flows function

Use a flow combination function to decide the result from the
stream_loop

10 years agodashdemux: handle multiple languages
Thiago Santos [Wed, 4 Dec 2013 14:30:22 +0000 (11:30 -0300)]
dashdemux: handle multiple languages

Handle multiple languages by using the not-linked return to stop
the download task for that stream. It can be reactivated when
a reconfigure event is received. Stopping the unused streams is
relevant to save network bandwidth

10 years agodashdemux: Use 1 download task per stream
Thiago Santos [Tue, 3 Dec 2013 19:16:09 +0000 (16:16 -0300)]
dashdemux: Use 1 download task per stream

Instead of having a single download task for all streams, this
commit makes each stream have its own download loop, allowing
parallel download of fragments.

10 years agodashdemux: refactor fragment fetching into smaller functions
Thiago Santos [Tue, 3 Dec 2013 03:12:08 +0000 (00:12 -0300)]
dashdemux: refactor fragment fetching into smaller functions

Makes it easier to maintain and extend. This is a first step into
adding multi language support to dashdemux

10 years agodashdemux: run gst-indent
Thiago Santos [Mon, 2 Dec 2013 20:41:01 +0000 (17:41 -0300)]
dashdemux: run gst-indent

Lots of indentation issues making it very annoying to commit
because of the indent hook. Fix this for once.

10 years agodashdemux: expose all streams
Thiago Santos [Mon, 2 Dec 2013 20:31:41 +0000 (17:31 -0300)]
dashdemux: expose all streams

always expose all streams instead of only exposing one of each type.

This is more aligned with gstreamer's way of working. Allows the user
to select the stream that it wants to use by linking its pad and leaving
the unused ones as unlinked.

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

10 years agoadpcmenc: Properly set output format
Sebastian Dröge [Mon, 23 Dec 2013 14:33:42 +0000 (15:33 +0100)]
adpcmenc: Properly set output format

Otherwise this will just error out if we only set caps on the srcpad.

10 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sun, 22 Dec 2013 22:33:51 +0000 (22:33 +0000)]
Automatic update of common submodule

From dbedaa0 to d48bed3

10 years agopo: set gettext domain in Makevars so we don't have to patch the generated Makefile...
Tim-Philipp Müller [Sun, 22 Dec 2013 21:56:03 +0000 (21:56 +0000)]
po: set gettext domain in Makevars so we don't have to patch the generated Makefile.in.in

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

10 years agoapplemedia: vtdec: set the correct stride in the video meta
Alessandro Decina [Sun, 22 Dec 2013 16:46:40 +0000 (17:46 +0100)]
applemedia: vtdec: set the correct stride in the video meta

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

10 years agomodplug: small seeking code reshuffle
Stefan Sauer [Fri, 20 Dec 2013 17:12:53 +0000 (18:12 +0100)]
modplug: small seeking code reshuffle

Put the code that checks stop values together. Don't clamp a cur value of -1 to 0 (should not happen right now).

10 years agosfdec: make _stop() non fatal when we have an error already
Stefan Sauer [Fri, 20 Dec 2013 17:10:14 +0000 (18:10 +0100)]
sfdec: make _stop() non fatal when we have an error already

Having no open file in _stop() is okay. Just reset state.

10 years agosfdec: add event function and seeking support
Stefan Sauer [Fri, 20 Dec 2013 17:08:33 +0000 (18:08 +0100)]
sfdec: add event function and seeking support

10 years agosfdec: add taglist support
Stefan Sauer [Wed, 18 Dec 2013 07:12:07 +0000 (08:12 +0100)]
sfdec: add taglist support

Map the metadata strings and a bunch of info-fields to GStreamer tags.

10 years agosfdec: add query implementation for position and duration
Stefan Sauer [Tue, 17 Dec 2013 21:25:03 +0000 (22:25 +0100)]
sfdec: add query implementation for position and duration

10 years agosndfile: rewrite sndfile for 1.0
Stefan Sauer [Tue, 17 Dec 2013 16:56:32 +0000 (17:56 +0100)]
sndfile: rewrite sndfile for 1.0

Add a sfdec for a start. Instead of a source plugin, this is a demuxer/decoder combination. This makes it work with auto-plugging.

10 years agomssdemux: updating docs explaining how it works
Thiago Santos [Fri, 20 Dec 2013 03:39:34 +0000 (00:39 -0300)]
mssdemux: updating docs explaining how it works

mssdemux changed a lot and the docs were not correct anymore.

Also adds the 'Adaptive' category to its details

10 years agomssdemux: do not push event holding object lock
Thiago Santos [Thu, 19 Dec 2013 17:30:13 +0000 (14:30 -0300)]
mssdemux: do not push event holding object lock

Can lead to deadlocks as the push might block downstream in
serialized event cases.

10 years agomssdemux: lock around 'cancelled' flag
Thiago Santos [Thu, 19 Dec 2013 17:29:42 +0000 (14:29 -0300)]
mssdemux: lock around 'cancelled' flag

Prevents race conditions when pipeline is seeking near eos

10 years agoaudiomixer: Also resync timestamps on the RESYNC flag
Sebastian Dröge [Thu, 19 Dec 2013 20:59:09 +0000 (21:59 +0100)]
audiomixer: Also resync timestamps on the RESYNC flag

10 years agoeglglessink: Don't set the EAGLContext of the main thread and don't reuse it either
Sebastian Dröge [Thu, 19 Dec 2013 20:36:50 +0000 (21:36 +0100)]
eglglessink: Don't set the EAGLContext of the main thread and don't reuse it either

... instead create a new context for every sink instance.

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

10 years agoapplemedia: corevideobuffer: fix for planar formats
Alessandro Decina [Thu, 19 Dec 2013 07:57:41 +0000 (08:57 +0100)]
applemedia: corevideobuffer: fix for planar formats