Yujin Lee
218a89fcd9
dashdemux: enable playback of content with text streams
...
There is a playback error when trying to play a content that
has 'application' mimeType. This commit prevents an exception from
setup text streams.
https://bugzilla.gnome.org/show_bug.cgi?id=747525
2015-04-13 09:24:53 -03:00
Sebastian Dröge
91853015b7
winks: Reset DTS to GST_CLOCK_TIME_NONE
...
Otherwise we might get a previous DTS set from a recycled buffer that we get
back from a buffer pool, which then confuses synchronization.
https://bugzilla.gnome.org/show_bug.cgi?id=747722
2015-04-12 13:01:56 +02:00
Sebastian Dröge
265538ac6e
amc: Use new JNI utils almost everywhere
2015-04-11 19:44:34 +02:00
Sebastian Dröge
7fb0fafed2
amc: Allow creating global and local references of objects
2015-04-11 19:37:34 +02:00
Sebastian Dröge
6c7b64f90c
amc: Make GError argument order more consistent
2015-04-11 19:37:34 +02:00
Sebastian Dröge
448867f0aa
amc: Add helper function for getting a direct buffer array
2015-04-11 19:37:20 +02:00
Sebastian Dröge
0dbf5d322f
amc: Java longs are gint64s
2015-04-11 19:37:20 +02:00
Sebastian Dröge
0914ee4a07
amc: Improve JNI utilities and add some missing ones
...
We now fill GErrors for everything that could throw an exception, and method
calls now always return a gboolean and their value in an out-parameter to
distinguish failures from other values.
2015-04-11 19:37:20 +02:00
Sebastian Dröge
2fe6fe12cf
glcolorconvert: Fix last commit
2015-04-11 19:35:48 +02:00
Sebastian Dröge
a557a546ac
gl: Remove iOS/EAGL workaround for R/RG textures
...
This should be unneeded now after https://bugzilla.gnome.org/show_bug.cgi?id=732507
2015-04-11 19:17:00 +02:00
Sebastian Dröge
b10cdc8536
glcolorconvert: Add correct check for RG/R textures in glcolorconvert too
...
https://bugzilla.gnome.org/show_bug.cgi?id=732507
2015-04-11 19:14:34 +02:00
Tim-Philipp Müller
ea58a2138d
winks: fix debug message parameter format
...
The first part of the GUID structure is a DWORD
which is defined as an unsigned long, so we need
to either cast or use %08lx.
2015-04-11 12:12:57 +01:00
Olivier Crête
c4c9fe60b6
pcapparse: Take buffer directly from the adapter
...
No need to make a copy into a new buffer, just take the data
from the adapter.
2015-04-10 20:27:15 -04:00
Olivier Crête
a2b093af47
pcapparse: Produce GstBufferList
2015-04-10 20:27:15 -04:00
Thiago Santos
5a1c73a105
wrappercamerabinsrc: remove unused attribute and related pad probe
...
The variable was never set to true and can be removed along
with the probe in which it used to act
2015-04-10 16:23:25 -03:00
Anton Obzhirov
6a2e986f07
glbasefilter: avoid segfault when gl platform is not available
...
https://bugzilla.gnome.org/show_bug.cgi?id=747124
2015-04-10 12:15:29 -03:00
Vincent Penquerc'h
d8dd4bea00
tests: fix type mismatch in varargs passing
...
A bitmask is 64 bits, but integer immediates are passed as int
in varargs, which happen to be 32 bit with high probability.
This triggered a valgrind jump-relies-on-uninitalized-value
report well away from the site, since it doesn't trigger on
stack accesses, and there must have been enough zeroes to stop
g_object_set at the right place.
2015-04-09 16:20:44 +01:00
Vincent Penquerc'h
338bfe5e35
tsdemux: handle seeks with no target (ie, keep current position)
...
Such seeks are used to change playback rate and we do not want
to alter the position in that case, so we bypass the flush/seek
logic, and set things up so a new segment is scheduled to be
regenerated.
https://bugzilla.gnome.org/show_bug.cgi?id=735100
2015-04-09 15:44:20 +01:00
Vincent Penquerc'h
68f57d20b9
tsparse: fix timestamps not updating after a PMT change
...
The PCRs stay locked onto the same PID as before the change,
but the relevant PID has no reason to be the same after it.
https://bugzilla.gnome.org/show_bug.cgi?id=745102
2015-04-09 15:44:20 +01:00
Vincent Penquerc'h
ade79a9ad2
tsdemux: send new segment when a stream is added
...
This will happen when the PMT changes, replacing streams with
new ones. In that case, we need to accumulate the running time
from the previous chain in the segment base.
https://bugzilla.gnome.org/show_bug.cgi?id=745102
2015-04-09 15:44:20 +01:00
Vincent Penquerc'h
fc2460b331
tsdemux: keep track of current position
...
This allows seeking to correctly set the base on the segment.
https://bugzilla.gnome.org/show_bug.cgi?id=745102
2015-04-09 15:44:20 +01:00
Edward Hervey
fe9a87d563
check: Don't run the state change test on the dtls elements
...
There isn't really any way to test the elements standalone.
2015-04-09 15:41:57 +02:00
Sebastian Dröge
9592a0c32f
videoaggregator: Remove broken timestamps-going-backwards check
...
This would've also triggered if for some reason the segment was updated
in such a way that PTS went backwards, but the running time increased. Like
what happens when non-flushing seeks are done.
We're doing a proper buffer-from-the-past check a few lines below based on the
running time, which is the only time we should care about here.
2015-04-08 19:31:43 -07:00
Andoni Morales Alastruey
83a54e07fd
ksvideosrc: fix support for DV devices
2015-04-08 18:54:52 +02:00
Andoni Morales Alastruey
7bc0fa5d70
ksvideosrc: only list capture devices
2015-04-08 18:45:08 +02:00
Edward Hervey
fdae6af7de
tests: Use AM_TESTS_ENVIRONMENT
...
Needed by the new automake test runner
2015-04-08 16:46:11 +02:00
Arun Raghavan
b40adec9c1
opensles: Explicitly specify layout=interleaved in caps
...
This is fine to hard-code. Section 9.1.8 of the OpenSL ES 1.1
specification, it is expected that multi-channel audio is always
interleaved.
2015-04-08 15:38:17 +05:30
Edward Hervey
5352ba19ac
configure: Depend on openh264 >= 1.3.0
...
Required for the version check header, as agreed upon on IRC
2015-04-07 16:01:52 +02:00
Ilya Konstantinov
4fd0f7277a
avfvideosrc: fix setting of buffer offset end
...
Don't set offset end to random values off the stack.
https://bugzilla.gnome.org/show_bug.cgi?id=747352
2015-04-07 12:57:44 +01:00
Edward Hervey
f31127b9ff
open264: Fix GType/gsize usage
...
gstopenh264enc.cpp:108:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
2015-04-07 11:24:30 +02:00
Edward Hervey
29387e85c7
openh264: Detect 1.4 API change
...
As mentionned in release notes : Added new Sps/Pps strategies for real-time
video (replace the old setting variable 'bEnableSpsPpsIdAddition' with
'eSpsPpsIdStrategy')
2015-04-07 11:24:28 +02:00
Sebastian Dröge
25561db099
glimagesink: Disconnect mouse/key event signal handlers from window when shutting down context
2015-04-06 20:28:22 -07:00
Sebastian Dröge
a72e204eae
glimagesink: Guard against disconnecting invalid signal ids
2015-04-06 20:24:06 -07:00
Guillaume Desmottes
4d790dae67
mxfdemux: fix memory leak
...
Reset the internal segment before freeing it.
mxf_index_table_segment_parse() allocates data inside the segment
(like segment->delta_entries) which have to be freed using
mxf_index_table_segment_reset().
https://bugzilla.gnome.org/show_bug.cgi?id=746803
2015-04-04 19:47:40 +01:00
Thiago Santos
75c9a5f129
hlssink: write the playlist end marker on EOS
...
Catch EOS from the multifilesink and add the endlist marker to
the playlist when it happens
https://bugzilla.gnome.org/show_bug.cgi?id=747319
2015-04-04 11:00:10 -03:00
Reynaldo H. Verdejo Pinochet
7fb02dc918
aggregator: document gap handling behavior
...
https://bugzilla.gnome.org/show_bug.cgi?id=746249
2015-04-03 18:17:35 -03:00
Reynaldo H. Verdejo Pinochet
ca2de787db
aggregator: drop stale white space at warning
2015-04-03 18:17:35 -03:00
Reynaldo H. Verdejo Pinochet
b31f3a88e4
aggregator: fix typo in test suite
2015-04-03 18:17:35 -03:00
Reynaldo H. Verdejo Pinochet
b24971f2dd
aggregator: add gap event handling unit test
...
https://bugzilla.gnome.org/show_bug.cgi?id=746249
2015-04-03 18:17:35 -03:00
Reynaldo H. Verdejo Pinochet
931fbf5e12
aggregator: implement gap handling
...
https://bugzilla.gnome.org/show_bug.cgi?id=746249
2015-04-03 18:17:35 -03:00
Tim-Philipp Müller
264f6d2453
Automatic update of common submodule
...
From bc76a8b to c8fb372
2015-04-03 18:57:58 +01:00
Arun Raghavan
f092c9cb3d
opus: Fix incorrect fall-through condition in property getter
2015-04-03 11:47:09 +05:30
Guillaume Emont
48880ea6c7
shmsink: add an shm-area-name property
...
The shm-area-property tells the name of the shm area used by the element. This
is useful for cases where shmsink is not able to clean up (calling
shm_unlink()), e.g. if it is in a sandbox.
https://bugzilla.gnome.org/show_bug.cgi?id=675134
2015-04-02 18:11:37 -04:00
Olivier Crête
43d4d3c5ca
aggregator: Unify downstream flow return and flushing
...
Also means that having a non-OK downstream flow return
wakes up the chain functions.
https://bugzilla.gnome.org/show_bug.cgi?id=747220
2015-04-02 15:59:27 -04:00
Olivier Crête
b9a422d8d0
aggregator: Flushing is always in pad lock, no need to atomics
...
The usage of atomics was always doubtful as it was used to release a
GCond
https://bugzilla.gnome.org/show_bug.cgi?id=747220
2015-04-02 15:59:27 -04:00
Olivier Crête
d1bae20802
aggregator: Reset pending_eos on pad flush
...
https://bugzilla.gnome.org/show_bug.cgi?id=747220
2015-04-02 15:59:27 -04:00
Olivier Crête
38d8db801a
aggregator: Unify code to set a pad flushing
...
https://bugzilla.gnome.org/show_bug.cgi?id=747220
2015-04-02 15:59:27 -04:00
Alessandro Decina
6981a8d15b
libgstgl: fix rendering on iOS
...
Stop assuming that the handle has been set by the time ->create_context is
called. After bc7a7259f3
set_window_handle always
happens after ->create_context in fact.
See also https://bugzilla.gnome.org/show_bug.cgi?id=745090
2015-04-02 18:29:39 +11:00
Olivier Crête
5a6024850c
aggregator: Query latency on first incoming buffer.
...
And keep on querying upstream until we get a reply.
Also, the _get_latency_unlocked() method required being calld
with a private lock, so removed the _unlocked() variant from the API.
And it now returns GST_CLOCK_TIME_NONE when the element is not live as
we think that 0 upstream latency is possible.
https://bugzilla.gnome.org/show_bug.cgi?id=745768
2015-04-01 22:39:26 -04:00
Olivier Crête
34a921c31b
audiomixer: Allow downstream caps with a non-default channel-mask
...
Instead of failing, take the downstream channel mask if the channel
count is 1.
2015-04-01 20:32:41 -04:00