Jan Schmidt
9e1135e209
apexsink: Fix buffer overflow, in case anyone ever ports it.
...
Fix a simple buffer overflow - 16 bytes isn't enough to hold
the string representation of a gulong on x86_64. I guess the
intent was to generate a 32 bit random key, so let's do that.
Only matters if anyone ever ports the sink to 1.x
https://bugzilla.gnome.org/show_bug.cgi?id=676524
2015-04-16 22:45:31 +10:00
Vincent Penquerc'h
d84d803431
mpegdemux: fix pad leak when not adding a new pad after no-more-pads
2015-04-16 13:35:40 +01:00
Vincent Penquerc'h
cb0eaeadfd
tsdemux: fix segment position tracking for the general case
...
Different streams can have different PTS/DTS bases, and some
streams may not even have DTS.
https://bugzilla.gnome.org/show_bug.cgi?id=745102
2015-04-16 13:35:40 +01:00
Matthieu Bouron
8ebc715fbf
glcontext: Make gst_gl_context_egl_activate fail if the surface could not be created
...
Also add some error logging.
2015-04-16 11:47:00 +02:00
Sebastian Dröge
9b50a12b52
h264parse: Don't unref buffer that was unreffed just a few lines before already
2015-04-15 21:07:59 +02:00
Руслан Ижбулатов
12ffc7f5e4
Add adaptivedemux, badvideo and badbase to the link-list for the docscanner
...
https://bugzilla.gnome.org/show_bug.cgi?id=747697
2015-04-15 13:05:52 +02:00
Ilya Konstantinov
d1120c591c
avfvideosrc: remove unused variables
...
Complement commit 5496fd3e75
by removing
the involved variables.
2015-04-15 10:16:17 +10:00
Alessandro Decina
a10232f7da
applemedia: vtdec: fix GL negotiation
2015-04-14 20:33:25 +10:00
Alessandro Decina
3e0391a1f1
avfvideosrc: log timestamps
2015-04-14 18:05:58 +10:00
Ilya Konstantinov
5bc17dac29
avfvideosrc: subtract time spent in AVF queues
...
The time spent in AVF queues was being incorrectly added to running time
rather than subtracted.
2015-04-14 18:05:58 +10:00
Ilya Konstantinov
1b27538648
avfvideosrc: fix GL texture negotiation
...
GST_VIDEO_GL_TEXTURE_UPLOAD_META_API_TYPE should no longer be used.
Instead, just get the GL context.
https://bugzilla.gnome.org/show_bug.cgi?id=747352
2015-04-14 18:05:57 +10:00
Sebastian Dröge
49aba362a8
dtlsdec: Fix typo
2015-04-13 19:41:15 +02:00
Sebastian Dröge
a8627a1df7
dtlssrtpdec: Add some more debug output
2015-04-13 19:41:15 +02:00
Sebastian Dröge
87243e9c6e
srtpdec: Add some more debug output
2015-04-13 19:41:15 +02:00
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