Xavier Claessens
d95fd04960
GstGtkGLSink: Ensure widget has a toplevel parent
...
Checking for a parent is not enough, it must have a toplevel one.
If widget has no toplevel parent then add it in a GtkWindow, that
make it usable from gst-launch-1.0.
https://bugzilla.gnome.org/show_bug.cgi?id=751104
2015-07-09 16:40:19 +10:00
Xavier Claessens
b71b7dc9e6
GstGtkGLSink: Post error if widget gets destroyed
...
https://bugzilla.gnome.org/show_bug.cgi?id=751104
2015-07-09 16:40:19 +10:00
Xavier Claessens
72b48a39d8
GstGtkGLSink: fix possible warning in finalize
...
If the element is finalized before going in READY state
the widget could still be NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=751104
2015-07-09 16:40:19 +10:00
Sebastian Dröge
cd47556351
mpdparser: Fix some memory leaks in the MPD parser and unit test
2015-07-08 23:15:14 +03:00
Florin Apostol
d525d9c391
dashdemux: tests: added unit tests to test all functions
...
Added unit tests for all functions. Code coverage:
Overall coverage rate:
lines......: 83.8% (1941 of 2316 lines)
functions..: 100.0% (141 of 141 functions)
2015-07-08 23:15:14 +03:00
Roman Donchenko
649e76575d
pngparse: fix a GstCaps object leak
...
https://bugzilla.gnome.org//show_bug.cgi?id=752127
2015-07-08 17:26:59 +01:00
Tim-Philipp Müller
f0358aac16
tsdemux: remove unnecessary check
...
This is not public API, use g_assert() instead of
g_return_if_fail(), so that it's compiled out in
releases. It's only called from our code, with &foo.
2015-07-08 14:50:00 +01:00
Tim-Philipp Müller
eeaf4d11b7
tsdemux: add support for KLV metadata streams
...
There's no timestamps for these streams though, we
might want to make some up based on the last/next
video PTS or so.
2015-07-08 14:50:00 +01:00
Sebastian Dröge
a755fbb440
Revert "Revert "dashdemux: fixed gst_mpd_client_advance_segment to return GST_FLOW_EOS""
...
This reverts commit 4875ddf585
.
This was based on a misunderstanding of the code.
https://bugzilla.gnome.org/show_bug.cgi?id=752085
2015-07-08 16:33:50 +03:00
Sebastian Dröge
34622c3961
gl/eagl: Don't call anything synchronously from the main thread
...
This will deadlock if the main thread is the one who creates the GstGLContext.
All things we call from the main thread should be possible from any thread.
https://bugzilla.gnome.org/show_bug.cgi?id=751101
2015-07-08 22:29:27 +10:00
Luis de Bethencourt
7d08d56527
bluez: remove unnecessary goto
...
All goto fail happen before ret is set. ret must be NULL, and the only
thing the fail statement block does is return NULL. Replacing the jumps to
do this return directly.
CID #1311329
2015-07-08 12:23:51 +01:00
Luis de Bethencourt
a01133dd8f
dashdemux: remove redundant else statement
...
Else statement is redundant when the if block finishes with an return.
2015-07-08 11:33:04 +01:00
Sebastian Dröge
42a1a95f3e
androidmedia: Add support for H265/HEVC
2015-07-08 11:42:48 +03:00
Ilya Konstantinov
cc3d79f7cc
vtdec: fix refcount error in error handling
...
https://bugzilla.gnome.org/show_bug.cgi?id=751641
2015-07-07 20:18:50 +03:00
Sebastian Dröge
153bb7b273
adaptivedemux: Explicitly check for CUSTOM_ERROR when converting errors to EOS
...
We use things like CUSTOM_SUCCESS* in other places, and those are not errors
but should just be handled like OK.
2015-07-07 19:51:39 +03:00
Sebastian Dröge
4875ddf585
Revert "dashdemux: fixed gst_mpd_client_advance_segment to return GST_FLOW_EOS"
...
This reverts commit dfe37ffc59
.
https://bugzilla.gnome.org/show_bug.cgi?id=752085
2015-07-07 19:51:39 +03:00
Sebastian Dröge
07d27d906a
mpdparser: Fix off-by-one in has-next-segment calculation
2015-07-07 19:51:39 +03:00
Sebastian Dröge
a78c1bdad5
adaptivedemux: If downloading the last fragment fails, consider this as EOS and not ERROR
...
Sometimes the last fragment does not exist because of rounding errors with the
durations. Just finish the stream gracefully instead of erroring out instead.
2015-07-07 19:51:39 +03:00
Matthew Waters
d5a39896dc
download: only start a download transfer for sysmem caps features
2015-07-07 22:38:08 +10:00
Florin Apostol
57042af9d6
dashdemux: tests: added indentation in xml strings to improve readability
...
https://bugzilla.gnome.org/show_bug.cgi?id=752027
2015-07-07 14:13:53 +03:00
Florin Apostol
cc9885ef4e
dashdemux: added parsing of bitstreamSwitching@AdaptationSet
...
https://bugzilla.gnome.org/show_bug.cgi?id=751170
2015-07-07 14:08:04 +03:00
Florin Apostol
581ae1d24d
dashdemux: regrouped functions in gstmpdparser.h file
...
Moved gst_mpd_client_get_next_segment_availability_end_time and
gst_mpd_client_add_time_difference functions to be grouped with
functions from the same category.
https://bugzilla.gnome.org/show_bug.cgi?id=752027
2015-07-07 14:02:10 +03:00
Florin Apostol
397fa37093
dashdemux: tests: corrected code layout
...
deleted the empty line between gst_mpd_parse call and its check so that
the assert is next to the function it is testing
https://bugzilla.gnome.org/show_bug.cgi?id=752027
2015-07-07 14:01:03 +03:00
Hyunjun Ko
aae9119d97
mpegvideometa: add meta transform function
...
https://bugzilla.gnome.org/show_bug.cgi?id=751778
2015-07-07 13:43:47 +03:00
Hyunjun Ko
ba18bc5398
glsyncmeta: transform func: return FALSE if not supported or failed
...
https://bugzilla.gnome.org/show_bug.cgi?id=751778
2015-07-07 13:39:08 +03:00
Florin Apostol
dfe37ffc59
dashdemux: fixed gst_mpd_client_advance_segment to return GST_FLOW_EOS
...
Fixed gst_mpd_client_advance_segment to return GST_FLOW_EOS if the
new index is out of range.
https://bugzilla.gnome.org/show_bug.cgi?id=751850
2015-07-07 13:30:07 +03:00
Matthew Waters
7f44ee0514
android: add missing egl.h include
2015-07-07 16:39:09 +10:00
Matthew Waters
2b9dddbafe
gltransformation: correct vao usage
...
keep the vao bound after uploading the new vertex data
fixes a mesa GL error "no vertex array object bound" on caps changes
2015-07-07 15:32:13 +10:00
Matthew Waters
26df88cd24
gl: consolidate egl header includes to egl-only headers
...
They may conflict with other headers.
2015-07-07 13:12:49 +10:00
Thibault Saunier
31b770af0b
gtkglsink: Release the widget lock when trying to get the GL context
...
Otherwise we might be waiting for the lock on the main loop (for
example in the ->render vmethod) and thus we will deadlock.
2015-07-06 19:33:35 +02:00
Thibault Saunier
c28d90de68
videoaggregator: Remove pixel-aspect-ratio field from the caps returned by getcaps
...
Avoiding not negotiated error while negotiating as we anyway force 1/1
as output
2015-07-06 18:53:38 +02:00
Luis de Bethencourt
9fb7add179
curlsshsink: remove redundant else statement
...
Else statement is redundant when the if block finishes with an return.
2015-07-06 15:25:16 +01:00
Florin Apostol
8551f74a05
dashdemux: fixed segment start when specified by SegmentTimeline
...
@t attribute in segment Timeline is relative to the period start.
Corrected the code to take this into account when computing segment
timestamp.
https://bugzilla.gnome.org/show_bug.cgi?id=751841
2015-07-05 13:54:00 -03:00
Florin Apostol
8e82129875
dashdemux: wrong segment duration computed by gst_mpd_client_setup_representation
...
Corrected computation of segment start and duration.
https://bugzilla.gnome.org/show_bug.cgi?id=751914
2015-07-05 13:31:38 -03:00
Florin Apostol
5151c42085
dashdemux: corrected search for audio languages
...
Corrected the initialisation of mimeType in
gst_mpdparser_get_list_and_nb_of_audio_language: the variable is used
in a loop, so it must be set to NULL at the beginning of each iteration.
https://bugzilla.gnome.org/show_bug.cgi?id=751911
2015-07-05 13:25:12 -03:00
Stefan Sauer
cf59f3734c
Automatic update of common submodule
...
From f74b2df to 9aed1d7
2015-07-03 21:58:26 +02:00
Olivier Crête
81b9d1531d
glvideomixer, glmixer: Add description and klass
2015-07-03 12:28:47 -04:00
Arun Raghavan
0319013726
build: Fix broken BlueZ configure check
...
The previous commit left an extra set of brackets, and missed removing
the explicit dbus check (which is no longer needed since we're using
gdbus).
2015-07-03 19:24:58 +05:30
Nick Stoughton
5ebde18f03
build: remove support for bluez4
2015-07-03 15:41:52 +05:30
Nick Stoughton
2aa0eba673
bluez: refactor to use glib and add connection state tracking
2015-07-03 15:41:52 +05:30
Tim-Philipp Müller
f17899a55c
pcapparse: fix another regression
...
Introduced by c4c9fe60b
pcapparse: Take buffer directly from the adapter
Using gst_adapter_take_buffer_fast() can lead to buffers that are
made up of multiple memories with the first memory smaller than the
RTP header size, which violates assumptions GstRtpBaseDepayloader
makes, namely that the complete RTP header will be in the first
memory. This leads to such packets being dropped when feeding
them from pcapparse to RTP depayloaders. Use take_buffer() so
we get buffers with a single memory.
2015-07-03 10:30:22 +01:00
Stian Selnes
158f8d5b68
tests: pcapparse: add unit test for frames with eth padding
...
https://bugzilla.gnome.org/show_bug.cgi?id=751879
2015-07-03 10:28:34 +01:00
Tim-Philipp Müller
aec19c1053
pcapparse: fix regression when handling packets with eth padding
...
Introduced by c4c9fe60b
pcapparse: Take buffer directly from the adapter
Flush any trailing bytes after the payload from the adapter as well,
otherwise we'll read a bogus packet size from the adapter next and
then everything goes downhill from there.
https://bugzilla.gnome.org/show_bug.cgi?id=751879
2015-07-03 10:25:15 +01:00
Sebastian Dröge
9e7454a90a
openh264dec: Unref video frames and codec state in all cases
2015-07-02 18:51:44 +02:00
Julien Isorce
f037b28a7b
gl: initialize output params to 0 before calling gl functions
...
The client side API of the Chromium's GPU Process has asserts
in debug mode that check that output params are initialized to 0.
2015-07-02 15:16:56 +01:00
Nicolas Dufresne
fe283a9aeb
gl: Don't leak pool if set_config failed
2015-07-02 09:40:05 -04:00
Nicolas Dufresne
38abd7f019
glfilter: Don't cache buffer pool
...
Caching and sharing to multiple element the same pool prevents
renegotiation from passthrough to not passthrough.
2015-07-02 09:40:05 -04:00
Sebastian Dröge
5109d9930c
openh264dec: Uninitializing the decoder can't fail and will always return 0 == cmResultSuccess
...
... but when we cast cmResultSuccess to a gboolean it will be FALSE, and make
GstVideoDecoder::stop() fail for no reason.
2015-07-02 14:16:05 +02:00
Vineeth TM
8ec2e0ad62
glimagesink: use g_clear_error instead of g_error_free
...
replace g_error_free with g_clear_error, as it internally
checks if error variable is valid or not.
https://bugzilla.gnome.org/show_bug.cgi?id=751823
2015-07-02 11:34:10 +01:00
Vineeth TM
96d691694a
amc: fix check whether we managed to acquire a buffer
...
https://bugzilla.gnome.org/show_bug.cgi?id=751821
2015-07-02 09:14:45 +01:00