Sebastian Dröge
f9ada426d4
mpdparser: Improve debug output a bit when advancing segments
2015-06-04 13:13:39 +02:00
Sebastian Dröge
fc67e1db8b
adaptivedemux: Release the manifest mutex before waiting for a download
...
Otherwise we will hurt parallel downloads in the best case, and often cause
deadlocks.
2015-06-04 12:36:41 +02:00
Sebastian Dröge
1ba8f82b94
opusdec: If channel/rate negotiation fails, fall back to stereo and 48kHz
2015-06-04 11:54:24 +02:00
Sebastian Dröge
bd8b25f08b
opusparse: Set up default header with 48kHz sample rate instead of 0
2015-06-04 11:52:40 +02:00
Sebastian Dröge
96ee9b274c
opusdec: gst_structure_fixate_field_nearest_int() only works if the structure has this field
...
Just set the rate/channels directly if the caps don't have this field.
2015-06-04 11:45:05 +02:00
Sebastian Dröge
60047b6b92
mpdparser: Use 64 bit integer format strings when passing a 64 bit integer
...
Otherwise we'll only get half of its bits printed on 32 bit architectures.
For this, promote the %d-style format strings to something that accepts
64 bit integers with G_GINT64_MODIFIER.
2015-06-04 11:05:07 +02:00
Sebastian Dröge
1be223fdc3
mpdparse: Validate format strings before using them
...
Using format strings from an untrusted source without validation is
calling for problems, and at least allows to remotely crash your application.
If not worse.
2015-06-04 10:47:07 +02:00
Philippe Normand
53a149f5d4
gl/dispmanx: Fix build
2015-06-04 09:42:01 +02:00
Julien Isorce
6d04b62e85
gl/example: fix build error when compiling cocoa-videooverlay
...
libtool: error: ignoring unknown tag OBJC
and
clang: error: argument unused during compilation: '-pthread'
2015-06-04 08:04:13 +01:00
Matthew Waters
050e12c62a
gl/window/dispmanx: fix compiler warning
2015-06-04 15:01:16 +10:00
Matthew Waters
fbbf1ac324
gl/window: use the default main loop implementation for all backends
...
fixes glimagsink being unable to display.
https://bugzilla.gnome.org/show_bug.cgi?id=750337
2015-06-04 12:16:35 +10:00
Julien Isorce
b7808270ca
glwindow_cocoa: use parent default implementation
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=750337
2015-06-03 21:24:59 +01:00
Sebastian Dröge
88d8dfd9c6
mpdparser: Add the startNumber as offset to the segment index when using a template
2015-06-03 20:03:59 +02:00
Santiago Carot-Nemesio
f530aac115
dtlsdec: Fix critical warning "got data flow before stream-start event"
...
Forward sticky events on requested src pad.
https://bugzilla.gnome.org/show_bug.cgi?id=750348
2015-06-03 17:12:49 +02:00
Luis de Bethencourt
a85a8afc3e
vc1parse: remove useless value assignments
...
In all these cases ret is set but overwritten before the return of the function
2015-06-03 15:25:16 +01:00
Luis de Bethencourt
16f61e7b2d
examples: gst-camerabin2-test: protect from division by zero
...
Highly unlikely to have 0 captures, but protect from crashes in the future by
doing none of the math if there is no data.
2015-06-03 14:58:13 +01:00
Tim-Philipp Müller
acf0d92d0f
configure: lower curl requirement to 7.35.0
...
Build and unit tests were tested against 7.35 too now,
which is the version in Ubuntu 14.04.
2015-06-02 21:16:02 +01:00
Thiago Santos
d91f5e85e7
mpegtsbase: do not access variable after unref
...
Data might not exist anymore
2015-06-02 16:55:08 -03:00
Olivier Crête
06d9b61fc2
tests: audiointerleave: test not setting positions
...
Disable "channel-positions-from-input", but without actually giving
a position table, so every position should be NONE
2015-06-02 15:45:13 -04:00
Olivier Crête
8dcb1c6df6
tests: Fix indentation in audiointerleave test
2015-06-02 15:44:57 -04:00
Reynaldo H. Verdejo Pinochet
79d9c34205
zbar: don't ignore zbar_scan_image() errors
2015-06-02 12:27:10 -03:00
Jan Schmidt
840f63896f
glsyncmeta: Set new sync point when copying
...
Set a new sync point when copying instead of
transferring the (non-refcounted) GL sync object
from the source meta.
https://bugzilla.gnome.org/show_bug.cgi?id=750279
2015-06-03 00:50:29 +10:00
Jan Schmidt
0ce8d77e54
glsyncmeta: Add some debug output
2015-06-03 00:50:28 +10:00
Edward Hervey
e899abea14
check: Use GST_CHECK_MAIN () macro everywhere
...
Makes source code smaller, and ensures we go through common initialization
path (like the one that sets up XML unit test output ...)
2015-06-02 16:04:40 +02:00
Vineeth TM
0905746c0c
simplevideomark: fix display of videomark partially or fully outside video
...
In case of the videomark being partially or fully outside, an error was being
thrown saying the mark width is more than video width. And when the width,
offset properties are set to maximum it resulted in crash. Instead of throwing
an error, add logic to detect the mark in case of partial visibility or don't
show the mark when it is outside.
https://bugzilla.gnome.org/show_bug.cgi?id=743908
2015-06-02 14:08:13 +01:00
Aurélien Zanelli
633b4db556
tsdemux: enable Chinese AVS video stream
...
Chinese broadcaster encapsulate AVS video codec into MPEG2-TS. They
use the stream_id 0x42 to identify AVS video streams. It should be noted
that this id is currently within the ISO reserved range, hence it's
utilisation is unofficial.
https://bugzilla.gnome.org/show_bug.cgi?id=727731
2015-06-02 12:41:26 +01:00
Matthew Waters
ab2656ebe5
glmemory: provide compatibility definition for GLES2 for GL_RGBA8
2015-06-02 17:24:18 +10:00
Matthew Waters
d914cc6e72
gl: consolidate internal_rgba_format into glmemory
...
Expose some useful value format conversion functions available in
GstGLMemory.
2015-06-02 16:33:44 +10:00
Olivier Crête
db5b3b5c41
audiointerleave: Always have "channels" be the actual pad count
...
Don't force it anywhere
https://bugzilla.gnome.org/show_bug.cgi?id=750252
2015-06-01 19:43:20 -04:00
Olivier Crête
45ef27aa46
audiointerleave: Use the channel count from the set caps
...
This is the same number that was used to allocate the buffer
2015-06-01 19:42:49 -04:00
Olivier Crête
10319757b4
aggregator: Document that the latency is in ns
2015-06-01 18:50:14 -04:00
Sebastian Dröge
d221108857
amc: Only lower ranks of OMX.Exynos. audio codecs, the video codecs are actually working
2015-06-01 20:03:22 +02:00
Sebastian Dröge
bf07b52477
amc: Give marginal rank to codecs that start with OMX.Exynos.
...
OMX.Exynos. codecs are existing on some devices like the
Galaxy S5 mini, and cause random crashes (of the device,
not the app!) and generally misbehave. That specific device
has other codecs that work with a different name, but let's
just give them marginal rank in case there are devices that
have no other codecs and these are actually the only working
ones
2015-06-01 19:41:21 +02:00
Sebastian Dröge
2e0395aa59
androidmedia: Give lower ranks to codecs not starting with OMX.
...
On some devices there are codecs that don't start with OMX., while
there are also some that do. And on some of these devices the ones
that don't start with OMX. just crash during initialization while
the others work. To make things even more complicated other devices
have codecs with the same name that work and no alternatives.
So just give a lower rank to these non-OMX codecs and hope that
there's an alternative with a higher rank.
Also stagefright gives codecs starting with OMX. a higher rank too and
considers other codecs that don't start with OMX. as software codecs.
2015-06-01 19:41:21 +02:00
Reynaldo H. Verdejo Pinochet
8f2b65c74d
tests: zbar: check for frame field on attach-frame=true
...
Also check for the sample to have a buffer and caps
associated with it.
Related to:
https://bugzilla.gnome.org/show_bug.cgi?id=747557
2015-06-01 12:33:41 -03:00
Nicolas Dufresne
4cca6efda8
vtdec: Require width and height field for H264
...
This decoder does not work if width and height field are not set
in the sinkpad caps. Let's make this explicit by adding them to
the template caps.
https://bugzilla.gnome.org/show_bug.cgi?id=749655
2015-06-01 11:23:41 -04:00
Julien Isorce
742dba0c2a
glcontext_gpu_process: close the window when done
2015-06-01 14:09:54 +01:00
Julien Isorce
e9c2e93f3f
glwindow_gpu_process: avoid empty struct
2015-06-01 14:09:54 +01:00
Julien Isorce
d843b9e8c3
glwindow: move main loop/context creation back to init/finalize
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=750199
2015-06-01 14:09:34 +01:00
Edward Hervey
5fe88f7ed7
examples: Fix gl usage without wayland support
...
Not all platforms have wayland support. Handle that gracefully at
compile time
2015-06-01 14:05:06 +02:00
Edward Hervey
86c500a47a
rtmpsink: Initialize GstMapInfo
...
Avoids doing a call to unmap with it uninitialized
CID #1302834
2015-06-01 13:56:03 +02:00
Luis de Bethencourt
3477fc422b
audiovisualizer: clean dereferences of private structure
...
https://bugzilla.gnome.org/show_bug.cgi?id=742875
2015-06-01 12:53:40 +01:00
Ilya Konstantinov
94e7ed1323
vtenc: fix keyframe request race condition
...
It is incorrect to modify the frame properties after passing them, since
VTCompressionSessionEncodeFrame takes reference and we have no control
over when it's being used.
In fact, the code can be simplified. We just preallocate the frame
properties for keyframe requests, and pass NULL otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=748467
2015-06-01 13:32:03 +02:00
Luis de Bethencourt
a881085a75
audiovisualizer: make private all variable subclasses don't need
...
https://bugzilla.gnome.org/show_bug.cgi?id=742875
2015-06-01 11:57:14 +01:00
Reynaldo H. Verdejo Pinochet
1246d93f3e
zbar: add frame sample to barcode message
...
New attach-frame property enables barcode frame
dumping when set to true.
https://bugzilla.gnome.org/show_bug.cgi?id=747557
2015-05-31 20:01:10 -03:00
Sebastian Dröge
5b0c3ac153
gl: Fix compiler warning
...
gstglwindow_wayland_egl.c:246:41: error: unused variable 'surface_listener' [-Werror,-Wunused-const-variable]
static const struct wl_surface_listener surface_listener = {
^
2015-05-31 21:31:00 +02:00
Sebastian Dröge
a6fb482247
androidmedia: Conditionally use get_{input,output}_buffer() Android 21 APIs
...
Also properly set limit/position on byte buffer, some codecs prefer to have
correct values there.
2015-05-31 21:27:27 +02:00
Matthew Waters
360f0be2a8
glwindow: fix compiler error
...
gstglwindow.c:1118:544: error: 'return' with no value, in function returning non-void [-Werror]
g_return_if_fail (GST_GL_IS_WINDOW (window));
2015-05-31 16:53:14 +10:00
Matthew Waters
5f0c006a82
gl/examples: update gtk examples for glupload
2015-05-31 16:09:34 +10:00
Matthew Waters
21cbf763b0
gl/examples: update gtk examples for wayland
2015-05-31 16:09:34 +10:00