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
Miguel París Díaz
3a3c01e7c7
srtpdec: Add config for the replay window size
...
https://bugzilla.gnome.org/show_bug.cgi?id=751729
2015-06-30 16:14:25 +02:00
Florin Apostol
0f37768626
dashdemux: corrected parsing of %u in segment templates
...
https://bugzilla.gnome.org/show_bug.cgi?id=751716
2015-06-30 15:24:28 +02:00
Florin Apostol
e2d1126391
dashdemux: corrected recognition of $$$ in segment templates
...
fixed recognition of $$ after a $ that ends an identifier, eg $Time$$$
https://bugzilla.gnome.org/show_bug.cgi?id=751682
2015-06-29 19:28:56 -03:00
Sebastian Dröge
d5a676aec8
androidmedia: Call initialize_classes() also when we got the Java VM from the app
...
https://bugzilla.gnome.org/show_bug.cgi?id=751664
2015-06-29 18:51:04 +02:00
Luis de Bethencourt
be664ae40d
gl: add missing break
...
gst_gl_view_convert_element_set_property() is missing a break at the end
of the PROP_OUTPUT_DOWNMIX_MODE case. Adding it.
CID #1308949
2015-06-29 16:10:50 +01:00
Nicolas Dufresne
11150e3bea
glimagesink: Don't leak pool
...
gst_query_add_allocation_pool is transfer none. Also unref
if there was a configuration error.
2015-06-26 14:59:15 -04:00
Sangkyu Park
0ca354eb10
mpegdemux: check pointer before dereferencing
...
gst_ps_demux_get_stream() could return NULL when it is unknown stream,
check this hasn't happened before dereferencing the returned pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=751528
2015-06-26 18:02:22 +01:00
Florin Apostol
e09cf2f3b6
dashdemux: corrected next fragment duration validation
...
Before returning the next fragment duration value, the
gst_mpd_client_get_next_fragment_duration function tries to validate it.
But the condition was incorrect.
https://bugzilla.gnome.org/show_bug.cgi?id=751539
2015-06-26 10:43:42 -03:00
Sebastian Dröge
f413129172
adaptivedemux: Move unref() into the right scope
2015-06-25 23:49:41 +02:00
Sebastian Dröge
548ed60e86
adaptivedemux: Properly handle presentationTimeOffset for seeking and multi-period streams
...
Segment start/time/position/base should only be modified if this is the first
time we send a segment, otherwise we will override values from the seek
segment if new streams have to be exposed as part of the seek.
Segment base should be calculated from the segment start based on the stream's
own segment, not the demuxer's segment. Both might differ slightly because of
the presentationTimeOffset.
Always add the presentationTimeOffset (relative to the period start, not
timestamp 0) to the segment start after resetting the stream's segment based
on the demuxer's segment (i.e. after seeks or stream restart). Also make sure
to keep the stream's segment up to date and not just send a new segment event
without storing the segment in the stream.
https://bugzilla.gnome.org/show_bug.cgi?id=745455
2015-06-25 23:36:25 +02:00
Sebastian Dröge
626a8f0a74
dashdemux: Subtract the period start time from the presentation offset
...
We're interested in the offset between the period start timestamp and the
actual media timestamp so that we can properly correct for it. The absolute
presentation offset to timestamp 0 is useless as the only thing we really
care about is the offset between the current fragment timestamp and the
media timestamp.
2015-06-25 23:36:10 +02:00