platform/upstream/gstreamer.git
9 years agodownload: only start a download transfer for sysmem caps features
Matthew Waters [Tue, 7 Jul 2015 12:35:47 +0000 (22:35 +1000)]
download: only start a download transfer for sysmem caps features

9 years agodashdemux: tests: added indentation in xml strings to improve readability
Florin Apostol [Mon, 6 Jul 2015 11:08:52 +0000 (12:08 +0100)]
dashdemux: tests: added indentation in xml strings to improve readability

https://bugzilla.gnome.org/show_bug.cgi?id=752027

9 years agodashdemux: added parsing of bitstreamSwitching@AdaptationSet
Florin Apostol [Fri, 3 Jul 2015 15:17:58 +0000 (16:17 +0100)]
dashdemux: added parsing of bitstreamSwitching@AdaptationSet

https://bugzilla.gnome.org/show_bug.cgi?id=751170

9 years agodashdemux: regrouped functions in gstmpdparser.h file
Florin Apostol [Fri, 3 Jul 2015 14:31:35 +0000 (15:31 +0100)]
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

9 years agodashdemux: tests: corrected code layout
Florin Apostol [Mon, 6 Jul 2015 13:21:17 +0000 (14:21 +0100)]
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

9 years agompegvideometa: add meta transform function
Hyunjun Ko [Tue, 7 Jul 2015 01:56:47 +0000 (10:56 +0900)]
mpegvideometa: add meta transform function

https://bugzilla.gnome.org/show_bug.cgi?id=751778

9 years agoglsyncmeta: transform func: return FALSE if not supported or failed
Hyunjun Ko [Tue, 7 Jul 2015 01:57:26 +0000 (10:57 +0900)]
glsyncmeta: transform func: return FALSE if not supported or failed

https://bugzilla.gnome.org/show_bug.cgi?id=751778

9 years agodashdemux: fixed gst_mpd_client_advance_segment to return GST_FLOW_EOS
Florin Apostol [Mon, 6 Jul 2015 13:14:12 +0000 (14:14 +0100)]
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

9 years agoandroid: add missing egl.h include
Matthew Waters [Tue, 7 Jul 2015 06:39:09 +0000 (16:39 +1000)]
android: add missing egl.h include

9 years agogltransformation: correct vao usage
Matthew Waters [Tue, 7 Jul 2015 05:30:17 +0000 (15:30 +1000)]
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

9 years agogl: consolidate egl header includes to egl-only headers
Matthew Waters [Tue, 16 Jun 2015 07:49:34 +0000 (07:49 +0000)]
gl: consolidate egl header includes to egl-only headers

They may conflict with other headers.

9 years agogtkglsink: Release the widget lock when trying to get the GL context
Thibault Saunier [Mon, 6 Jul 2015 17:33:35 +0000 (19:33 +0200)]
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.

9 years agovideoaggregator: Remove pixel-aspect-ratio field from the caps returned by getcaps
Thibault Saunier [Mon, 6 Jul 2015 16:51:07 +0000 (18:51 +0200)]
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

9 years agocurlsshsink: remove redundant else statement
Luis de Bethencourt [Mon, 6 Jul 2015 14:24:06 +0000 (15:24 +0100)]
curlsshsink: remove redundant else statement

Else statement is redundant when the if block finishes with an return.

9 years agodashdemux: fixed segment start when specified by SegmentTimeline
Florin Apostol [Thu, 2 Jul 2015 14:17:51 +0000 (15:17 +0100)]
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

9 years agodashdemux: wrong segment duration computed by gst_mpd_client_setup_representation
Florin Apostol [Fri, 3 Jul 2015 16:00:31 +0000 (17:00 +0100)]
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

9 years agodashdemux: corrected search for audio languages
Florin Apostol [Fri, 3 Jul 2015 15:10:20 +0000 (16:10 +0100)]
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

9 years agoAutomatic update of common submodule
Stefan Sauer [Fri, 3 Jul 2015 19:58:26 +0000 (21:58 +0200)]
Automatic update of common submodule

From f74b2df to 9aed1d7

9 years agoglvideomixer, glmixer: Add description and klass
Olivier Crête [Fri, 3 Jul 2015 16:17:42 +0000 (12:17 -0400)]
glvideomixer, glmixer: Add description and klass

9 years agobuild: Fix broken BlueZ configure check
Arun Raghavan [Fri, 3 Jul 2015 13:54:58 +0000 (19:24 +0530)]
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).

9 years agobuild: remove support for bluez4
Nick Stoughton [Tue, 13 Jan 2015 18:31:41 +0000 (10:31 -0800)]
build: remove support for bluez4

9 years agobluez: refactor to use glib and add connection state tracking
Nick Stoughton [Tue, 30 Dec 2014 15:21:44 +0000 (07:21 -0800)]
bluez: refactor to use glib and add connection state tracking

9 years agopcapparse: fix another regression
Tim-Philipp Müller [Mon, 15 Jun 2015 22:40:44 +0000 (23:40 +0100)]
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.

9 years agotests: pcapparse: add unit test for frames with eth padding
Stian Selnes [Thu, 2 Jul 2015 11:45:04 +0000 (13:45 +0200)]
tests: pcapparse: add unit test for frames with eth padding

https://bugzilla.gnome.org/show_bug.cgi?id=751879

9 years agopcapparse: fix regression when handling packets with eth padding
Tim-Philipp Müller [Mon, 15 Jun 2015 11:55:39 +0000 (12:55 +0100)]
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

9 years agoopenh264dec: Unref video frames and codec state in all cases
Sebastian Dröge [Thu, 2 Jul 2015 16:51:09 +0000 (18:51 +0200)]
openh264dec: Unref video frames and codec state in all cases

9 years agogl: initialize output params to 0 before calling gl functions
Julien Isorce [Thu, 2 Jul 2015 09:26:18 +0000 (10:26 +0100)]
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.

9 years agogl: Don't leak pool if set_config failed
Nicolas Dufresne [Fri, 26 Jun 2015 19:34:35 +0000 (15:34 -0400)]
gl: Don't leak pool if set_config failed

9 years agoglfilter: Don't cache buffer pool
Nicolas Dufresne [Fri, 26 Jun 2015 19:33:33 +0000 (15:33 -0400)]
glfilter: Don't cache buffer pool

Caching and sharing to multiple element the same pool prevents
renegotiation from passthrough to not passthrough.

9 years agoopenh264dec: Uninitializing the decoder can't fail and will always return 0 == cmResu...
Sebastian Dröge [Thu, 2 Jul 2015 12:15:05 +0000 (14:15 +0200)]
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.

9 years agoglimagesink: use g_clear_error instead of g_error_free
Vineeth TM [Thu, 2 Jul 2015 08:08:26 +0000 (17:08 +0900)]
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

9 years agoamc: fix check whether we managed to acquire a buffer
Vineeth TM [Thu, 2 Jul 2015 07:27:06 +0000 (16:27 +0900)]
amc: fix check whether we managed to acquire a buffer

https://bugzilla.gnome.org/show_bug.cgi?id=751821

9 years agosrtpdec: Add config for the replay window size
Miguel París Díaz [Tue, 30 Jun 2015 13:52:18 +0000 (15:52 +0200)]
srtpdec: Add config for the replay window size

https://bugzilla.gnome.org/show_bug.cgi?id=751729

9 years agodashdemux: corrected parsing of %u in segment templates
Florin Apostol [Tue, 30 Jun 2015 12:20:43 +0000 (13:20 +0100)]
dashdemux: corrected parsing of %u in segment templates

https://bugzilla.gnome.org/show_bug.cgi?id=751716

9 years agodashdemux: corrected recognition of $$$ in segment templates
Florin Apostol [Mon, 29 Jun 2015 21:18:38 +0000 (22:18 +0100)]
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

9 years agoandroidmedia: Call initialize_classes() also when we got the Java VM from the app
Sebastian Dröge [Mon, 29 Jun 2015 16:50:09 +0000 (18:50 +0200)]
androidmedia: Call initialize_classes() also when we got the Java VM from the app

https://bugzilla.gnome.org/show_bug.cgi?id=751664

9 years agogl: add missing break
Luis de Bethencourt [Mon, 29 Jun 2015 15:10:39 +0000 (16:10 +0100)]
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

9 years agoglimagesink: Don't leak pool
Nicolas Dufresne [Fri, 26 Jun 2015 18:12:22 +0000 (14:12 -0400)]
glimagesink: Don't leak pool

gst_query_add_allocation_pool is transfer none. Also unref
if there was a configuration error.

9 years agompegdemux: check pointer before dereferencing
Sangkyu Park [Fri, 26 Jun 2015 06:58:25 +0000 (15:58 +0900)]
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

9 years agodashdemux: corrected next fragment duration validation
Florin Apostol [Fri, 26 Jun 2015 12:09:54 +0000 (13:09 +0100)]
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

9 years agoadaptivedemux: Move unref() into the right scope
Sebastian Dröge [Thu, 25 Jun 2015 21:49:10 +0000 (23:49 +0200)]
adaptivedemux: Move unref() into the right scope

9 years agoadaptivedemux: Properly handle presentationTimeOffset for seeking and multi-period...
Sebastian Dröge [Thu, 25 Jun 2015 21:32:10 +0000 (23:32 +0200)]
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

9 years agodashdemux: Subtract the period start time from the presentation offset
Sebastian Dröge [Thu, 25 Jun 2015 21:24:50 +0000 (23:24 +0200)]
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.

9 years agodashdemux: Subtract the period start when seeking based on a template
Sebastian Dröge [Thu, 25 Jun 2015 18:19:34 +0000 (20:19 +0200)]
dashdemux: Subtract the period start when seeking based on a template

Otherwise we will look for segments after the period usually. The seek
timestamp is relative to the start of the first period and we have to
select a segment relative to the current period's start.

9 years agodashdemux: Include the period start in the fragment timestamps in all cases
Sebastian Dröge [Thu, 25 Jun 2015 18:09:14 +0000 (20:09 +0200)]
dashdemux: Include the period start in the fragment timestamps in all cases

We didn't do this for fragments that are generated on demand from a template,
only for the other cases when they were all generated upfront. This caused
fragment timestamps to start from 0 again for each new period.

9 years agodashdemux: Seek on the new streams if the seek caused a period switch
Sebastian Dröge [Thu, 25 Jun 2015 21:23:58 +0000 (23:23 +0200)]
dashdemux: Seek on the new streams if the seek caused a period switch

Seeking on the old streams is pointless, they are going to be freed on the
next opportunity.

9 years agodash: Correct check for valid timeShiftBufferDepth
Florin Apostol [Thu, 25 Jun 2015 14:05:20 +0000 (15:05 +0100)]
dash: Correct check for valid timeShiftBufferDepth

If not set, the timeShiftBufferDepth has a default value of -1.
The standard says that this should be interpreted as infinite.

The gst_mpd_client_check_time_position function incorrectly compares
timeShiftBufferDepth with 0 instead of -1 to determine if it was set.

https://bugzilla.gnome.org/show_bug.cgi?id=751500

9 years agodocs: decodebin2 -> decodebin
Luis de Bethencourt [Thu, 25 Jun 2015 10:02:41 +0000 (11:02 +0100)]
docs: decodebin2 -> decodebin

9 years agoapplemedia: enable sharing of CMBlockBuffer data
Ilya Konstantinov [Mon, 27 Apr 2015 12:09:18 +0000 (15:09 +0300)]
applemedia: enable sharing of CMBlockBuffer data

Instead of wrapping with GST_MEMORY_FLAG_NO_SHARE, we make the GstMemory
object retain the underlying CMBlockBuffer.

https://bugzilla.gnome.org/show_bug.cgi?id=751072

9 years agoapplemedia: CMBlockBuffer can be non-contiguous
Ilya Konstantinov [Mon, 27 Apr 2015 12:02:59 +0000 (15:02 +0300)]
applemedia: CMBlockBuffer can be non-contiguous

CMBlockBufferGetDataLength would return the entire data length, while
size of individual blocks can be smaller. Iterate over the block buffer
and add the individual (possibly non-contiguous) memory blocks.

https://bugzilla.gnome.org/show_bug.cgi?id=751071

9 years agodashdemux: Corrected duration argument for gst_mpd_client_add_media_segment call
Florin Apostol [Wed, 24 Jun 2015 16:16:46 +0000 (17:16 +0100)]
dashdemux: Corrected duration argument for gst_mpd_client_add_media_segment call

The last parameter of gst_mpd_client_add_media_segment function is a
duration. But when called from gst_mpd_client_setup_representation, the
last argument was wrongly set to PeriodEnd

https://bugzilla.gnome.org/show_bug.cgi?id=751449

9 years agodashdemux: incorrect use of period start
Florin Apostol [Wed, 24 Jun 2015 20:42:32 +0000 (21:42 +0100)]
dashdemux: incorrect use of period start

The period start information, calculated in gst_mpd_client_setup_media_presentation
function is stored in stream_period->start. The information read from
xml file and stored in stream_period->period->start is not changed.

If the xml file does not contain the period start information,
stream_period->period->start will be -1.

The function gst_mpd_client_get_next_segment_availability_end_time wants to
use period start time, but incorrectly uses stream_period->period->start
(value from xml file, which could be -1) instead of stream_period->start
(computed value)

https://bugzilla.gnome.org/show_bug.cgi?id=751465

9 years agotests: dashdemux: renamed functions
Florin Apostol [Mon, 15 Jun 2015 16:18:41 +0000 (17:18 +0100)]
tests: dashdemux: renamed functions

Renamed 2 testcase functions:
- dash_mpdparser_program_information
- dash_mpdparser_base_URL

9 years agoBack to development
Sebastian Dröge [Wed, 24 Jun 2015 22:04:32 +0000 (00:04 +0200)]
Back to development

9 years agoRelease 1.5.2
Sebastian Dröge [Wed, 24 Jun 2015 21:37:26 +0000 (23:37 +0200)]
Release 1.5.2

9 years agoUpdate .po files
Sebastian Dröge [Wed, 24 Jun 2015 21:01:24 +0000 (23:01 +0200)]
Update .po files

9 years agotests: dashdemux: added explicit type conversions
Florin Apostol [Mon, 15 Jun 2015 16:30:26 +0000 (17:30 +0100)]
tests: dashdemux: added explicit type conversions

flexelint (http://www.gimpel.com/html/flex.htm) static code analyser
complained about implicit conversions from unsigned to signed, so I added
explicit conversions.

Ideally, the size parameter of gst_mpd_parse function should be unsigned,
but I don't want to change the API.

9 years agotests: dashdemux: corrected return type for duration_to_ms function
Florin Apostol [Mon, 15 Jun 2015 15:59:33 +0000 (16:59 +0100)]
tests: dashdemux: corrected return type for duration_to_ms function

The duration_to_ms function converts a time specified by year, month, day,
hour, minute, second, millisecond to a millisecond value. Because all the
arguments are positive numbers, the result must also be positive.

This patch changes the returned value from a gint64 to a guint64 type.

9 years agopo: Update translations
Sebastian Dröge [Wed, 24 Jun 2015 09:15:46 +0000 (11:15 +0200)]
po: Update translations

9 years agoadaptivedemux: Also update segment.base and segment.time when switching periods
Sebastian Dröge [Tue, 23 Jun 2015 16:19:35 +0000 (18:19 +0200)]
adaptivedemux: Also update segment.base and segment.time when switching periods

And include the presentation offset in the last known position for each
stream, and just because we can also keep track of the latest known position
inside the demuxer segment.

9 years agoRevert "gl/window/x11: don't create our own X11 display"
Sebastian Dröge [Tue, 23 Jun 2015 14:46:39 +0000 (16:46 +0200)]
Revert "gl/window/x11: don't create our own X11 display"

This reverts commit 5697b6b89b4b2a15c45bd47be940a17f4412ea11.

https://bugzilla.gnome.org/show_bug.cgi?id=751003

9 years agoRevert "eagl: Don't dispatch_sync() to the main thread if we are on the main thread"
Sebastian Dröge [Tue, 23 Jun 2015 12:16:39 +0000 (14:16 +0200)]
Revert "eagl: Don't dispatch_sync() to the main thread if we are on the main thread"

This reverts commit 0bff481011cf74c59869b511393d1696b570e3d5.

It wasn't supposed to be merged and also doesn't fix the problem.

9 years agoadaptivedemux: Remember the last return value of gst_adaptive_demux_stream_update_fra...
Sebastian Dröge [Tue, 23 Jun 2015 11:13:49 +0000 (13:13 +0200)]
adaptivedemux: Remember the last return value of gst_adaptive_demux_stream_update_fragment_info()

It's going to return EOS if the period ended or otherwise there is just no
next fragment left. If we don't store the last return value, it will always
stay OK and gst_adaptive_demux_combine_flows() will always return OK instead
of EOS once all streams are done.

This partially switches period changes in DASH by at least trying to switch
instead of just stopping. What is still left is that after a period change
with DASH the times all start at 0 again instead of continuing.

9 years agoeagl: Don't dispatch_sync() to the main thread if we are on the main thread
Sebastian Dröge [Tue, 23 Jun 2015 09:05:06 +0000 (11:05 +0200)]
eagl: Don't dispatch_sync() to the main thread if we are on the main thread

This will otherwise deadlock.

https://bugzilla.gnome.org/show_bug.cgi?id=751101

9 years agogl: Include texParameterf in the GL function table
John Ludwig [Tue, 23 Jun 2015 08:31:44 +0000 (10:31 +0200)]
gl: Include texParameterf in the GL function table

https://bugzilla.gnome.org/show_bug.cgi?id=751228

9 years agoerror-ignore: New element to convert some GstFlowReturn types into others
Vivia Nikolaidou [Fri, 29 May 2015 11:27:24 +0000 (14:27 +0300)]
error-ignore: New element to convert some GstFlowReturn types into others

Can be used to fix misbehaving sinks. It will pass through all buffers
until it encounters GST_FLOW_ERROR or GST_FLOW_NOT_NEGOTIATED (configurable).
At that point it will unref the buffers and return GST_FLOW_NOT_LINKED
(configurable) - until the next READY_TO_PAUSED or FLUSH_STOP.

https://bugzilla.gnome.org/show_bug.cgi?id=750098

9 years agovideoaggregator: simplifies and improves sink_get_caps.
Mathieu Duponchelle [Sat, 20 Jun 2015 11:36:27 +0000 (13:36 +0200)]
videoaggregator: simplifies and improves sink_get_caps.

The problem here was that after removing the formats and
all the things we could convert, we then intersected these
caps with the template caps.

Hence if a subclass offered permissive sink templates
(eg all the possible formats videoconvert handles), but only
one output format, then at negotiation time getcaps returned
caps with the format restricted to that format, even though
we do handle conversion.

https://bugzilla.gnome.org/show_bug.cgi?id=751255

9 years agomotioncells: Port to g_get_current_time
Nicolas Dufresne [Mon, 22 Jun 2015 19:47:18 +0000 (15:47 -0400)]
motioncells: Port to g_get_current_time

This is more portable.

https://bugzilla.gnome.org/show_bug.cgi?id=751221

9 years agoavfvideosrc: add frame rate range to caps
Ilya Konstantinov [Tue, 16 Jun 2015 14:18:52 +0000 (17:18 +0300)]
avfvideosrc: add frame rate range to caps

When AVFoundation indicates a supported frame rate range, add it to
the caps. This is important for devices such as the iPhone 6, which
indicate a single AVFrameRateRange of 2fps - 60fps.

https://bugzilla.gnome.org/show_bug.cgi?id=751048

9 years agotests: dashdemux: added parsing of period element
Florin Apostol [Mon, 15 Jun 2015 16:37:42 +0000 (17:37 +0100)]
tests: dashdemux: added parsing of period element

Improved dash_mpd unit tests by adding new tests that parse the Period element.

Code coverage reported by lcov for dash/gstmpdparser.c is:
  lines......: 43.0% (985 of 2290 lines)
  functions..: 47.5% (67 of 141 functions)

9 years agoglmemory: fix consistency about pbo availability.
Julien Isorce [Mon, 22 Jun 2015 13:06:04 +0000 (14:06 +0100)]
glmemory: fix consistency about pbo availability.

https://bugzilla.gnome.org/show_bug.cgi?id=751165

9 years agotests: dashdemux: extended MPD element test to test xml namespaces
Florin Apostol [Mon, 15 Jun 2015 16:34:48 +0000 (17:34 +0100)]
tests: dashdemux: extended MPD element test to test xml namespaces

Extended the dash_mpdparser_mpd testcase to also test parsing the xml
namespace attribute.

https://bugzilla.gnome.org/show_bug.cgi?id=750863

9 years agoopusenc: Add bitrate to the tags
Mersad Jelacic [Mon, 15 Jun 2015 11:43:53 +0000 (13:43 +0200)]
opusenc: Add bitrate to the tags

https://bugzilla.gnome.org/show_bug.cgi?id=750992

9 years agodashdemux: corrected computation of period's duration
Florin Apostol [Mon, 15 Jun 2015 11:59:55 +0000 (12:59 +0100)]
dashdemux: corrected computation of period's duration

According to ISO/IEC 23009-1:2014(E), chapter 5.3.2.1
"The Period extends until the PeriodStart of the next Period, or until
the end of the Media Presentation in the case of the last Period."

This means that a configured value for optional attribute period duration
should be ignored if the next period contains a start attribute or it is
the last period and the MPD contains a mediaPresentationDuration attribute.

https://bugzilla.gnome.org/show_bug.cgi?id=750797

9 years agobayer: update ORC files
Wim Taymans [Mon, 22 Jun 2015 11:29:25 +0000 (13:29 +0200)]
bayer: update ORC files

Update ORC files with newest ORC to fix backup code generation error.

9 years agoirtspparse: reflow code to avoid uninitialized variable warning
Tim-Philipp Müller [Mon, 22 Jun 2015 09:49:50 +0000 (10:49 +0100)]
irtspparse: reflow code to avoid uninitialized variable warning

This should hopefully allow even the most challenged static
code analyzer to figure out that it's all fine. Also makes
the flow clearer.

https://bugzilla.gnome.org/show_bug.cgi?id=751305

9 years agotsmux: code style fix
Vineeth TM [Mon, 22 Jun 2015 01:58:00 +0000 (10:58 +0900)]
tsmux: code style fix

trivial patch to add proper ( while checking for if(G_UNLIKELY())

https://bugzilla.gnome.org/show_bug.cgi?id=751305

9 years agouvch264src: fix small leak in caps query handler
Tim-Philipp Müller [Mon, 22 Jun 2015 08:23:12 +0000 (09:23 +0100)]
uvch264src: fix small leak in caps query handler

gst_query_set_caps_result() does not take ownership of the caps.

9 years agouvch264_src: add missing break in caps query handler
Vineeth TM [Mon, 22 Jun 2015 02:03:15 +0000 (11:03 +0900)]
uvch264_src: add missing break in caps query handler

There is a missing break statement in switch,
which will result in executing default case as well
resulting in wrong behavior

https://bugzilla.gnome.org/show_bug.cgi?id=751305

9 years agompeg1sys: remove ancient plugin that's never even been ported to 0.8
Tim-Philipp Müller [Mon, 22 Jun 2015 08:08:00 +0000 (09:08 +0100)]
mpeg1sys: remove ancient plugin that's never even been ported to 0.8

9 years agocodecparsers: jpeg: add some padding to ScanHdr struct
Tim-Philipp Müller [Sun, 21 Jun 2015 16:13:07 +0000 (17:13 +0100)]
codecparsers: jpeg: add some padding to ScanHdr struct

For bits that we don't parse out at the moment.

9 years agocodecparsers: jpeg: add new API to .def file
Tim-Philipp Müller [Sun, 21 Jun 2015 16:03:52 +0000 (17:03 +0100)]
codecparsers: jpeg: add new API to .def file

9 years agocodecparsers: jpeg: fix docs for table parsing functions
Tim-Philipp Müller [Sun, 21 Jun 2015 13:58:17 +0000 (14:58 +0100)]
codecparsers: jpeg: fix docs for table parsing functions

9 years agodocs: add new JPEG codecparser API to the docs
Tim-Philipp Müller [Sun, 21 Jun 2015 12:55:29 +0000 (13:55 +0100)]
docs: add new JPEG codecparser API to the docs

And sprinkle some more Since markers

9 years agoexamples: move vp8 parser test to codecparser example directory
Tim-Philipp Müller [Sun, 21 Jun 2015 10:51:38 +0000 (11:51 +0100)]
examples: move vp8 parser test to codecparser example directory

9 years agoexamples: add small jpeg codecparser test
Tim-Philipp Müller [Sun, 21 Jun 2015 10:20:57 +0000 (11:20 +0100)]
examples: add small jpeg codecparser test

https://bugzilla.gnome.org/show_bug.cgi?id=673925

9 years agocodecparsers: jpeg: fix validity checking of data parsed
Tim-Philipp Müller [Sat, 20 Jun 2015 21:49:23 +0000 (22:49 +0100)]
codecparsers: jpeg: fix validity checking of data parsed

g_return_val_if_fail() and g_assert() are not appropriate
for checking untrusted external data.

https://bugzilla.gnome.org/show_bug.cgi?id=673925

9 years agocodecparsers: jpeg: fix up API
Tim-Philipp Müller [Sat, 20 Jun 2015 18:52:42 +0000 (19:52 +0100)]
codecparsers: jpeg: fix up API

- add data pointer to GstJpegSegment and pass segment
  to all parsing functions, rename accordingly
- shorten GstJpegMarkerCode enum type name to GstJpegMarker
- move function gtk-doc blurbs into .c file
- add since markers
- flesh out docs for SOF markers

https://bugzilla.gnome.org/show_bug.cgi?id=673925

9 years agocodecparsers: jpeg: tweak API a little
Tim-Philipp Müller [Sun, 14 Jun 2015 10:41:52 +0000 (11:41 +0100)]
codecparsers: jpeg: tweak API a little

https://bugzilla.gnome.org/show_bug.cgi?id=673925

9 years agocodecparsers: jpeg: hide gst_jpeg_scan_for_marker_code()
Tim-Philipp Müller [Sun, 14 Jun 2015 18:01:12 +0000 (19:01 +0100)]
codecparsers: jpeg: hide gst_jpeg_scan_for_marker_code()

Make this function private for now, since it's unclear whether
it's actually needed seeing that gst_jpeg_parse() scans too.

https://bugzilla.gnome.org/show_bug.cgi?id=673925

9 years agocodecparsers: jpeg: fix and optimize scan for next marker code.
Gwenole Beauchesne [Tue, 24 Sep 2013 14:10:45 +0000 (16:10 +0200)]
codecparsers: jpeg: fix and optimize scan for next marker code.

Fix scan for next marker code when there is an odd number of filler
(0xff) bytes before the actual marker code. Also optimize the loop
to execute with fewer instructions (~10%).

This fixes parsing for Spectralfan.mov.

9 years agocodecparsers: jpeg: fix calculation of segment size.
Gwenole Beauchesne [Wed, 18 Sep 2013 13:56:52 +0000 (15:56 +0200)]
codecparsers: jpeg: fix calculation of segment size.

The size of a marker segment is defined to be exclusive of any initial
marker code. So, fix the size for SOI, EOI and APPn segments but also
the size of any possible segment that is usually "reserved" or not
explicitly defined.

https://bugzilla.gnome.org/show_bug.cgi?id=707447

9 years agocodecparsers: jpeg: fix default Huffman tables generation.
Wind Yuan [Thu, 13 Jun 2013 05:22:18 +0000 (13:22 +0800)]
codecparsers: jpeg: fix default Huffman tables generation.

Fix build_huffman_table() to correctly fill in the associated HUFFVAL
entries to the default Huffman tables.

9 years agocodecparsers: jpeg: add JPEG bitstream parser
Gwenole Beauchesne [Wed, 12 Sep 2012 08:40:06 +0000 (10:40 +0200)]
codecparsers: jpeg: add JPEG bitstream parser

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=673925

9 years agoh264parse: fix typo in log message
Tim-Philipp Müller [Sat, 20 Jun 2015 15:07:57 +0000 (16:07 +0100)]
h264parse: fix typo in log message

9 years agogldisplay: add gst_gl_display_create_context
Julien Isorce [Mon, 15 Jun 2015 15:09:54 +0000 (16:09 +0100)]
gldisplay: add gst_gl_display_create_context

It also emits a create-context signal so that an application
can provide an external GstGLContext backend.

https://bugzilla.gnome.org/show_bug.cgi?id=750310

9 years agoglcontext: move display from priv
Julien Isorce [Mon, 15 Jun 2015 15:36:26 +0000 (16:36 +0100)]
glcontext: move display from priv

https://bugzilla.gnome.org/show_bug.cgi?id=750310

9 years agoRevert "glcontext: add gst_gl_context_set_display helper"
Julien Isorce [Thu, 18 Jun 2015 09:55:28 +0000 (10:55 +0100)]
Revert "glcontext: add gst_gl_context_set_display helper"

This reverts commit 71b8103cbd16fff9cf5a65cf517083cb794aa3b5.

9 years agoRevert "gl: add GstGLContextGPUProcess backend"
Julien Isorce [Thu, 18 Jun 2015 09:52:18 +0000 (10:52 +0100)]
Revert "gl: add GstGLContextGPUProcess backend"

This reverts commit b377112ee38912d316e77b4e2102041389dc0051.

9 years agoglimagesink: Remove duplicate, useless line of code
Jan Schmidt [Fri, 19 Jun 2015 04:35:37 +0000 (14:35 +1000)]
glimagesink: Remove duplicate, useless line of code