platform/upstream/gstreamer.git
9 years agodashdemux: improve mpd parsing for repeated segment entries
Thiago Santos [Thu, 7 May 2015 19:30:48 +0000 (16:30 -0300)]
dashdemux: improve mpd parsing for repeated segment entries

Use a single segment to represent it internally to avoid using too
much memory. This has the drawback of issuing a linear search to
find the correct segment to play but this can be fixed by using
binary searches or caching the current position and just looking
for the next one.

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

9 years agoadaptivedemux: drop debug message that was wrong
Thiago Santos [Tue, 12 May 2015 15:55:42 +0000 (12:55 -0300)]
adaptivedemux: drop debug message that was wrong

EOS doesn't necessarily mean that no fragment was downloaded

9 years agoadaptivedemux: run gst-indent
Thiago Santos [Tue, 12 May 2015 15:55:17 +0000 (12:55 -0300)]
adaptivedemux: run gst-indent

To allow commiting on this file cleanly

9 years agompegtsmux: the parent is provided in the function
Thiago Santos [Mon, 11 May 2015 14:56:52 +0000 (11:56 -0300)]
mpegtsmux: the parent is provided in the function

No need to get it again

9 years agodtlsenc: Fix memory leak releasing connection_id
Jose Antonio Santos Cadenas [Wed, 13 May 2015 13:59:48 +0000 (15:59 +0200)]
dtlsenc: Fix memory leak releasing connection_id

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

9 years agodtlsenc: Fix memory leak while setting connection-id
Jose Antonio Santos Cadenas [Wed, 13 May 2015 13:33:49 +0000 (15:33 +0200)]
dtlsenc: Fix memory leak while setting connection-id

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

9 years agodtlsdec: Fix memory leak, release previous pem
Jose Antonio Santos Cadenas [Wed, 13 May 2015 15:15:57 +0000 (17:15 +0200)]
dtlsdec: Fix memory leak, release previous pem

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

9 years agodtlsdec: Fix memory leak on dispose
Jose Antonio Santos Cadenas [Wed, 13 May 2015 14:06:52 +0000 (16:06 +0200)]
dtlsdec: Fix memory leak on dispose

Parent dispose function was not called

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

9 years agodtlsconnection: Fix memory leak while setting closure
Jose Antonio Santos Cadenas [Wed, 13 May 2015 15:19:25 +0000 (17:19 +0200)]
dtlsconnection: Fix memory leak while setting closure

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

9 years agofix faad2 version check
Wim Taymans [Wed, 13 May 2015 14:23:26 +0000 (16:23 +0200)]
fix faad2 version check

On fedora 22, the output of cpp inserts extra debug comments, which
makes our regexp for the faad2 version check fail. This in turn causes
it to compile with the wrong arguments passed which then causes stack
corruption and crashes.

Fix this by only checking for the version (which should be by itself on
a single line). This is potentially less safe, it might be possible that
a similar string would appear in a later version in the header file.

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

9 years agoglcontext: propagate the version/extension failure upwards
Matthew Waters [Wed, 13 May 2015 13:55:28 +0000 (23:55 +1000)]
glcontext: propagate the version/extension failure upwards

Otherwise the calling code has no idea that the context failed to
be created fully.

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

9 years agogl: don't deadlock on context creation failure
Matthew Waters [Wed, 13 May 2015 13:54:52 +0000 (23:54 +1000)]
gl: don't deadlock on context creation failure

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

9 years agoglmixerbin: Don't unref pad templates
Sebastian Dröge [Wed, 13 May 2015 12:42:15 +0000 (15:42 +0300)]
glmixerbin: Don't unref pad templates

Otherwise we unref the reference that is owned by the element class.

9 years agosrtpenc: fix failure return values from create_session()
Tim-Philipp Müller [Wed, 13 May 2015 11:31:44 +0000 (12:31 +0100)]
srtpenc: fix failure return values from create_session()

create_session() returns an err_status_t with
err_status_ok=0 and err_status_fail=1, so
returning TRUE/FALSE is not quite right.

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

9 years agosrtpenc: fix over unlocking
Miguel París Díaz [Wed, 13 May 2015 11:14:14 +0000 (13:14 +0200)]
srtpenc: fix over unlocking

Called should call function with lock, and is
also responsible for unlocking it later.

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

9 years agoh263parse: fix custom picture format (CPFMT) parsing
Lyon Wang [Tue, 12 May 2015 07:47:33 +0000 (15:47 +0800)]
h263parse: fix custom picture format (CPFMT) parsing

In the H263 spec, CPFMT is present only if the use of a custom
picture format is signalled in PLUSEPTYPE and UFEP is "001",
so we need to check params->format and only if the value is
6 (custom source format) the CPFMT should be read, otherwise
it's not present and wrong data will be parsed.

When reading the CPFMT, the width and height were not
calculated correctly (wrong bitmask).

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

9 years agocompositor: fix rectangle obscure test to clamp against the output frame size
Matthew Waters [Wed, 13 May 2015 07:38:35 +0000 (17:38 +1000)]
compositor: fix rectangle obscure test to clamp against the output frame size

Rather than one of the input pad video info's.

The test checking this was not constraining the output frame size
to ensure that the out of frame stream was not being displayed.

9 years agoglvideomixer: implement par handling
Matthew Waters [Wed, 13 May 2015 07:11:55 +0000 (17:11 +1000)]
glvideomixer: implement par handling

We were previously ignoring it completely

9 years agoglvideomixer: don't upload the vertex data every frame
Matthew Waters [Wed, 13 May 2015 07:10:42 +0000 (17:10 +1000)]
glvideomixer: don't upload the vertex data every frame

Add the missing cache tracking statement.

9 years agogluploadelement: Remove uneeded header and defines
Nicolas Dufresne [Tue, 12 May 2015 20:36:58 +0000 (16:36 -0400)]
gluploadelement: Remove uneeded header and defines

9 years agogltestsrc: Use default get_caps implementation
Nicolas Dufresne [Mon, 11 May 2015 19:02:02 +0000 (15:02 -0400)]
gltestsrc: Use default get_caps implementation

The custom code is wrong as it ignores the templates, which leads to
missing fields in the result. Instead, simply use the default get_caps
implementation which does it correctly (get the template, intersect
with filter and return).

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

9 years agoglmixer: Implement GstVideoAggregator::find_best_format()
Sebastian Dröge [Mon, 11 May 2015 12:54:52 +0000 (15:54 +0300)]
glmixer: Implement GstVideoAggregator::find_best_format()

Without this, we will fixate weird pixel-aspect-ratios like 1/2147483647. But
in the end, all the negotiation code in videoaggregator needs a big cleanup
and videoaggregator needs to get rid of the software-mixer specific things
everywhere.

9 years agogl: demote upload/convert/download elements to none
Matthew Waters [Mon, 11 May 2015 12:53:09 +0000 (22:53 +1000)]
gl: demote upload/convert/download elements to none

Copy paste error

9 years agogl: expose internal glvideomixerelement\
Matthew Waters [Mon, 11 May 2015 12:37:44 +0000 (22:37 +1000)]
gl: expose internal glvideomixerelement\

We might want more control over the exact pipeline
Also reduces overhead

9 years agogl: expose internal glimagesinkelement
Matthew Waters [Mon, 11 May 2015 12:35:18 +0000 (22:35 +1000)]
gl: expose internal glimagesinkelement

We might want more control over the exact pipeline.
Also reduces overhead.

9 years agoavfvideosrc: fix unconditional buffer queue unlock
Ilya Konstantinov [Thu, 7 May 2015 19:18:27 +0000 (21:18 +0200)]
avfvideosrc: fix unconditional buffer queue unlock

Unless stopRequest is set, we should unlock conditionally -- otherwise,
the 'create:' method can wake up to an empty buffer queue
and pull a nil buffer.

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

9 years agodecklink: Rename mode 2048p to 1556p
Heinrich Fink [Mon, 11 May 2015 10:18:28 +0000 (12:18 +0200)]
decklink: Rename mode 2048p to 1556p

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

9 years agodecklink: Use correct frame rate for mode 2160p50
Heinrich Fink [Mon, 11 May 2015 10:04:47 +0000 (12:04 +0200)]
decklink: Use correct frame rate for mode 2160p50

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

9 years agodecklink: Rename mode 3184p to 2160p
Heinrich Fink [Mon, 11 May 2015 10:02:47 +0000 (12:02 +0200)]
decklink: Rename mode 3184p to 2160p

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

9 years agopo: update POTFILES.skip and POTFILES.in
Piotr Drąg [Thu, 22 Jan 2015 14:43:22 +0000 (15:43 +0100)]
po: update POTFILES.skip and POTFILES.in

The ones in .skip need to be added back to POTFILES.in
after porting to 1.x.

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

9 years agoremovesilence: remove gst_remove_silence_reset()
Luis de Bethencourt [Fri, 8 May 2015 13:20:44 +0000 (14:20 +0100)]
removesilence: remove gst_remove_silence_reset()

No need to call gst_remove_silence_reset() in gst_remove_silence_init() because
vad_new() already calls this function. Since there are no more uses of
_silence_reset(), we can remove it altogether.

9 years agovtdec: We shouldn't manually check reconfigure flag on pads but instead implement...
Sebastian Dröge [Fri, 8 May 2015 12:55:28 +0000 (14:55 +0200)]
vtdec: We shouldn't manually check reconfigure flag on pads but instead implement ::negotiate()

Add FIXME comment related to that.

9 years agoUpdate references to decodebin
Luis de Bethencourt [Fri, 8 May 2015 12:54:06 +0000 (13:54 +0100)]
Update references to decodebin

Update old references for decodebin2 to decodebin.

9 years agoremovesilence: update example launch line
Luis de Bethencourt [Fri, 8 May 2015 12:49:38 +0000 (13:49 +0100)]
removesilence: update example launch line

9 years agodtlssrtpdec: Don't merge RTP and RTCP streams that were just split by srtpdec
Sebastian Dröge [Thu, 7 May 2015 19:04:30 +0000 (21:04 +0200)]
dtlssrtpdec: Don't merge RTP and RTCP streams that were just split by srtpdec

The funnel has some overhead, and later rtpbin will have to split both streams
again anyway.

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

9 years agoRevert "Revert "glimagesink: add pixel-aspect-ratio property on the bin""
Sebastian Dröge [Wed, 6 May 2015 13:47:27 +0000 (15:47 +0200)]
Revert "Revert "glimagesink: add pixel-aspect-ratio property on the bin""

This reverts commit d96e43b034a03fe54633907bc1bf2a26fe5f95fb.

9 years agoRevert "Revert "glimagesink: forward ALL the properties on the bin""
Sebastian Dröge [Wed, 6 May 2015 13:47:20 +0000 (15:47 +0200)]
Revert "Revert "glimagesink: forward ALL the properties on the bin""

This reverts commit 59fb0f830f08e3e59f87f83df8fa3c2d9f3d9741.

9 years agoRevert "Revert "glimagesink: implement as a bin""
Sebastian Dröge [Wed, 6 May 2015 13:47:04 +0000 (15:47 +0200)]
Revert "Revert "glimagesink: implement as a bin""

This reverts commit be938f92d94e8acccf593128281f6e09213600a0.

9 years agoRevert "gl: readd glupload/download onto element pads"
Sebastian Dröge [Wed, 6 May 2015 13:46:49 +0000 (15:46 +0200)]
Revert "gl: readd glupload/download onto element pads"

This reverts commit 87d8270f302b03f63ce04f986d824892a2c131fd.

9 years agoRevert "Revert "glvideomixer: implement with glmixerbin""
Sebastian Dröge [Wed, 6 May 2015 13:43:32 +0000 (15:43 +0200)]
Revert "Revert "glvideomixer: implement with glmixerbin""

This reverts commit b4bd11f2f3a60224d188b27ab55b278077cb1217.

9 years agosrtpdec: Actually set the caps on the srcpad instead of just calling the default...
Sebastian Dröge [Wed, 6 May 2015 10:59:33 +0000 (12:59 +0200)]
srtpdec: Actually set the caps on the srcpad instead of just calling the default event handler for the sinkpad

Fixes up dafa11b9d21d06a0273007628a2a0bb4d7858658

9 years agoadaptivedemux: only update stream position if query success
Jimmy Ohn [Wed, 29 Apr 2015 09:23:31 +0000 (18:23 +0900)]
adaptivedemux: only update stream position if query success

We don't need to check about the query fail case.
because it is update to segment position even though query fail.

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

9 years agodecklink: Disable decklink plugin on Android
Sebastian Dröge [Tue, 5 May 2015 10:45:24 +0000 (12:45 +0200)]
decklink: Disable decklink plugin on Android

9 years agoglsyncmeta: fixup size declaration
Matthew Waters [Tue, 5 May 2015 04:44:25 +0000 (14:44 +1000)]
glsyncmeta: fixup size declaration

9 years agoglimagesink: handle the local_context query
Matthew Waters [Mon, 4 May 2015 13:42:36 +0000 (23:42 +1000)]
glimagesink: handle the local_context query

so that upstream elements can get the GL context from glimagesink

9 years agoandroidmedia: Add suport for COLOR_FormatYV12
Matthieu Bouron [Sun, 3 May 2015 12:56:05 +0000 (14:56 +0200)]
androidmedia: Add suport for COLOR_FormatYV12

Reference: http://developer.android.com/reference/android/graphics/ImageFormat.html#YV12

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

9 years agoandroidmedia: Declare QOMX_COLOR_FORMATYVU420PackedSemiPlanar32mMultiView constant
Matthieu Bouron [Thu, 30 Apr 2015 09:44:06 +0000 (11:44 +0200)]
androidmedia: Declare QOMX_COLOR_FORMATYVU420PackedSemiPlanar32mMultiView constant

This color format is the same as QOMX_COLOR_FORMATYUV420PackedSemiPlanar32m
but stores two images one after the other in a top-bottom layout.

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

9 years agoopusdepay: Set multistream=FALSE on the Opus caps
Sebastian Dröge [Mon, 4 May 2015 09:23:16 +0000 (11:23 +0200)]
opusdepay: Set multistream=FALSE on the Opus caps

The RTP Opus mapping only allows mono/stereo, and not multistream Opus
streams.

9 years agoopusheader: Do not include rate in caps if it is 0
Jose Antonio Santos Cadenas [Mon, 4 May 2015 08:35:55 +0000 (10:35 +0200)]
opusheader: Do not include rate in caps if it is 0

As expressed in gst_opus_header_create_caps, value 0 means unset.
Setting rate value to 0 make negotiation with decoder fail.

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

9 years agoandroidmedia: Fix slice-height for Tegra 3 devices
Matthieu Bouron [Mon, 4 May 2015 06:06:35 +0000 (08:06 +0200)]
androidmedia: Fix slice-height for Tegra 3 devices

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

9 years agoandroidmedia: Add support for COLOR_FormatYUV420Flexible
Edward Hervey [Fri, 13 Mar 2015 15:07:15 +0000 (16:07 +0100)]
androidmedia: Add support for COLOR_FormatYUV420Flexible

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

9 years agoandroidmedia: Add suport for Intel color formats
Edward Hervey [Wed, 25 Mar 2015 16:43:59 +0000 (17:43 +0100)]
androidmedia: Add suport for Intel color formats

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

9 years agoh264parse: Fix profile and level setting in caps
Sreerenj Balachandran [Sat, 2 May 2015 15:06:18 +0000 (18:06 +0300)]
h264parse: Fix profile and level setting in caps

Don't use the apis in codec-utils to extract the profile and level
syntax elements since it is wrong if there are emulation prevention
bytes existing in the byte-stream data.

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

9 years agoglcolorconvert: Improve passthrough check when no conversion is needed.
Jan Schmidt [Sun, 3 May 2015 13:08:15 +0000 (23:08 +1000)]
glcolorconvert: Improve passthrough check when no conversion is needed.

Make the passthrough check contingent on only the fields we
can modify being unchanged, and pre-compute it when caps
change instead of checking on each buffer. Makes the passthrough
more lenient if consumers are lax about making input and output
caps complete.

9 years agowrappercamerabinsrc: handle when source creation fail
Thiago Santos [Fri, 1 May 2015 22:39:58 +0000 (19:39 -0300)]
wrappercamerabinsrc: handle when source creation fail

Remember to set the source to NULL state as adding it to the pipeline
will set it to the READY state.

9 years agowrappercamerabinsrc: fix element linking order
Thiago Santos [Fri, 1 May 2015 22:31:45 +0000 (19:31 -0300)]
wrappercamerabinsrc: fix element linking order

Video source should be linked to videocrop and not to
videoconvert as it is done in the main linking path

9 years agotests: Add a check for the new compositor pad-is-obscured optimization
Nirbheek Chauhan [Fri, 13 Mar 2015 00:40:52 +0000 (06:10 +0530)]
tests: Add a check for the new compositor pad-is-obscured optimization

We verify that all the buffers on an obscured sinkpad are skipped by overriding
the map() function in the GstVideoMeta of the buffers to set a variable when
called. We also test that the buffers do get mapped when they're not obscured.

Blame^WCredit for the GstVideoMeta map() idea goes to Tim.

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

9 years agocompositor: Only map the frame from a buffer if it will be used
Nirbheek Chauhan [Sat, 18 Apr 2015 09:40:00 +0000 (15:10 +0530)]
compositor: Only map the frame from a buffer if it will be used

It's a waste of resources to map it if it won't be converted
or used at all. Since we moved the frame mapping down, we need
to use the GST_VIDEO_INFO accessor macros now in the code above
that instead of the GST_VIDEO_FRAME accessor macros.

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

9 years agocompositor: use accessor macros for consistency
Nirbheek Chauhan [Sat, 18 Apr 2015 09:39:02 +0000 (15:09 +0530)]
compositor: use accessor macros for consistency

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

9 years agocompositor: Skip pads that are completely obscured by a higher zorder pad
Nirbheek Chauhan [Sat, 18 Apr 2015 09:39:02 +0000 (15:09 +0530)]
compositor: Skip pads that are completely obscured by a higher zorder pad

For each frame, compare the frame boundaries, check if the format contains an
alpha channel, check opacity, and skip the frame if it's going to be completely
overwritten by a higher zorder frame. The check is O(n^2), but that doesn't
matter here because the number of sinkpads is small.

More can be done to avoid needless drawing, but this covers the majority of
cases. See TODOs. Ideally, a reverse painter's algorithm should be used for
optimal drawing, but memcpy during compositing is small compared to the CPU used
for frame conversion on each pad.

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

9 years agoh265parse: Fix source caps to report cropped dimensions
Sreerenj Balachandran [Thu, 30 Apr 2015 16:08:25 +0000 (19:08 +0300)]
h265parse: Fix source caps to report cropped dimensions

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

9 years agoh265parse: Fix the memory freeing of stored VPS nals
Sreerenj Balachandran [Fri, 10 Apr 2015 12:34:40 +0000 (15:34 +0300)]
h265parse: Fix the memory freeing of stored VPS nals

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

9 years agoh265parse: Fix profile, tier and level setting in caps
Sreerenj Balachandran [Thu, 30 Apr 2015 15:36:35 +0000 (18:36 +0300)]
h265parse: Fix profile, tier and level setting in caps

Don't use the apis in codec-utils to extract the profile,tier and level
syntax elements since it is wrong if there are emulation prevention
bytes existing in the byte-stream data.

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

9 years agocodecparser: h265: Fix nal unit size checking
Sreerenj Balachandran [Fri, 17 Apr 2015 12:15:33 +0000 (15:15 +0300)]
codecparser: h265: Fix nal unit size checking

The EOS and EOB nals have the size 2 which is the size of
nal unit header itself. The gst_h265_parser_identify_nalu()
is not required to scan start code again in this case.

In other cases, for a valid nalunit the minimum required size
is 3 bytes (2 byte header and at least 1 byte RBSP payload)

9 years agocodecparser: h265: Calculate crop rectangle dimensions
Sreerenj Balachandran [Fri, 17 Apr 2015 12:03:34 +0000 (15:03 +0300)]
codecparser: h265: Calculate crop rectangle dimensions

9 years agocodecparser: h265: Fix parsing multiple SEI messages in a single SEI Nal
Sreerenj Balachandran [Fri, 17 Apr 2015 12:01:57 +0000 (15:01 +0300)]
codecparser: h265: Fix parsing multiple SEI messages in a single SEI Nal

An SEI Nal can have more than one SEI message.

Change in API: the gst_h265_parser_parse_sei()

9 years agosrtpdec: Make sure to send caps events downstream before any segment events
Sebastian Dröge [Thu, 30 Apr 2015 19:32:29 +0000 (21:32 +0200)]
srtpdec: Make sure to send caps events downstream before any segment events

Upstream might not give us a caps event (dtlssrtpdec) because it might be an
RTP/RTCP mixed stream, but we split the two streams anyway and should report
proper caps downstream if possible.

Fixes "sticky event misordering" warnings with dtlssrtpdec.

9 years agortjpeg: remove unused quality property
Luis de Bethencourt [Thu, 30 Apr 2015 09:50:19 +0000 (10:50 +0100)]
rtjpeg: remove unused quality property

9 years agogl: readd glupload/download onto element pads
Matthew Waters [Thu, 30 Apr 2015 01:15:40 +0000 (11:15 +1000)]
gl: readd glupload/download onto element pads

Allows insertion of gl elements into non-gl pipelines without converter
(upload/download) elements.

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

9 years agoRevert "glvideomixer: implement with glmixerbin"
Matthew Waters [Wed, 29 Apr 2015 12:55:00 +0000 (22:55 +1000)]
Revert "glvideomixer: implement with glmixerbin"

This reverts commit 0fb56738a14391f248aa0be8756adeaf978baa0c.

9 years agoRevert "glimagesink: implement as a bin"
Matthew Waters [Wed, 29 Apr 2015 12:38:00 +0000 (22:38 +1000)]
Revert "glimagesink: implement as a bin"

This reverts commit 8a0017e21d5f9a8507f0593c6b24f723aa415258.

9 years agoRevert "glimagesink: forward ALL the properties on the bin"
Matthew Waters [Wed, 29 Apr 2015 12:32:33 +0000 (22:32 +1000)]
Revert "glimagesink: forward ALL the properties on the bin"

This reverts commit 4be45e5f30dc6121f2769323603447f591ca4a0a.

9 years agoRevert "glimagesink: add pixel-aspect-ratio property on the bin"
Matthew Waters [Wed, 29 Apr 2015 12:32:20 +0000 (22:32 +1000)]
Revert "glimagesink: add pixel-aspect-ratio property on the bin"

This reverts commit 2ba6bb9b9325b63f58a9ff0b2c82fa28759dcabc.

9 years agoksvideosrc: don't timestamp buffers for muxed streams
Andoni Morales Alastruey [Wed, 29 Apr 2015 07:57:52 +0000 (09:57 +0200)]
ksvideosrc: don't timestamp buffers for muxed streams

9 years agoksvideosrc: fix header size for muxed streams
Andoni Morales Alastruey [Wed, 29 Apr 2015 19:37:56 +0000 (21:37 +0200)]
ksvideosrc: fix header size for muxed streams

9 years agocodecparser: h265: Fix the number of tile rows/columns parsing
Sreerenj Balachandran [Wed, 29 Apr 2015 16:39:14 +0000 (19:39 +0300)]
codecparser: h265: Fix the number of tile rows/columns parsing

The possible minimum value for num_tile_columns_minus1 and num_tile_rows_minus1
is zero (7.4.3.3).

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

9 years agomixmatrix: remove unused property enum items
Luis de Bethencourt [Wed, 29 Apr 2015 16:20:58 +0000 (17:20 +0100)]
mixmatrix: remove unused property enum items

These two properties have been there since the origin of the element but they
aren't used. Removing them.

9 years agoadaptivedemux: Fix comparision logic
Edward Hervey [Wed, 29 Apr 2015 13:41:07 +0000 (15:41 +0200)]
adaptivedemux: Fix comparision logic

We can't answer the SEEKING query if we do *not* have the manifest

9 years agoaiff: Re-add noinst_HEADERS instruction
Edward Hervey [Wed, 29 Apr 2015 08:56:24 +0000 (10:56 +0200)]
aiff: Re-add noinst_HEADERS instruction

Was removed in the previous android cleanup commit

9 years agoGstDeviceProvider implementation for WIN Kernel Streaming plugin
Руслан Ижбулатов [Tue, 28 Apr 2015 21:43:56 +0000 (21:43 +0000)]
GstDeviceProvider implementation for WIN Kernel Streaming plugin

gst_ks_device_provider_probe() is a no-braier, just runs ks_enumerate_devices()
and reports the results.

Monitoring is a bit more tricky. We have to create a dummy message-processing
window and register device change notifications for it.

As kernel streaming can (and should) be used for audio capture and audio
playback, this change also has certain placeholders for such.

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

9 years agoglimagesink: Cache caps for passing to the client draw call
Jan Schmidt [Tue, 28 Apr 2015 16:30:05 +0000 (02:30 +1000)]
glimagesink: Cache caps for passing to the client draw call

Don't convert the GstVideoInfo to caps on every draw call,
just cache the caps and pass them into the GstSample.

9 years agoglupload: Make upload method static caps non-const.
Jan Schmidt [Tue, 28 Apr 2015 16:20:09 +0000 (02:20 +1000)]
glupload: Make upload method static caps non-const.

Retrieving a GstStaticCaps does a one time internal
initialisation and caches it - they can't be stored as
const structures.

9 years agoopus: fix includes and compilation against opus in non-standard prefix
Tim-Philipp Müller [Tue, 28 Apr 2015 16:24:04 +0000 (17:24 +0100)]
opus: fix includes and compilation against opus in non-standard prefix

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

9 years agoopus: don't use deprecated gst_buffer_new_and_alloc
Mersad Jelacic [Tue, 28 Apr 2015 14:58:21 +0000 (16:58 +0200)]
opus: don't use deprecated gst_buffer_new_and_alloc

Use the helper function available in the base class instead.

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

9 years agode265dec: use g_get_num_processors() if available
Tim-Philipp Müller [Tue, 28 Apr 2015 15:06:47 +0000 (16:06 +0100)]
de265dec: use g_get_num_processors() if available

And provide home-made fallback for older GLib versions,
so that we can later find these and remove them when
we bump the GLib requirement (which is certainly going
to happen before 2.0).

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

9 years agogst: remove some unnecessary glib version checks
Tim-Philipp Müller [Tue, 28 Apr 2015 15:02:27 +0000 (16:02 +0100)]
gst: remove some unnecessary glib version checks

We require 2.32, no need to check for anything older
than that.

9 years agomxf: fix descriptor leak
Guillaume Desmottes [Tue, 28 Apr 2015 09:28:39 +0000 (11:28 +0200)]
mxf: fix descriptor leak

Free the existing descriptor array, if any, before replacing it.

Fix leaks with the
validate.file.playback.scrub_forward_seeking.test-mpeg2-mp3_mxf scenario.

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

9 years agotsdemux: fix taglist leak
Guillaume Desmottes [Tue, 28 Apr 2015 08:13:35 +0000 (10:13 +0200)]
tsdemux: fix taglist leak

If the stream which is about to be removed still has a ref on a tag list we
should drop it.

Fix a leak which was occasionally happening with the
validate.file.playback.change_state_intensive.tron_en_ge_aac_h264_ts scenario.

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

9 years agompegtspacketizer: fix find_subtable() return value
Jimmy Ohn [Mon, 27 Apr 2015 13:44:28 +0000 (22:44 +0900)]
mpegtspacketizer: fix find_subtable() return value

find_subtable() returns a pointer, so return NULL and
not FALSE when nothing is found.

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

9 years agowin32: update defs
Edward Hervey [Tue, 28 Apr 2015 12:52:36 +0000 (14:52 +0200)]
win32: update defs

9 years agoglmemory: remove uneeded unref
Matthew Waters [Tue, 28 Apr 2015 10:46:52 +0000 (20:46 +1000)]
glmemory: remove uneeded unref

The call to _gl_mem_alloc_data will unref and NULLify 'dest' for us.
We just need to return.

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

9 years agoglimagesink: Use gst_pad_get_pad_template_caps in ::get_caps()
Matthieu Bouron [Tue, 28 Apr 2015 07:37:59 +0000 (09:37 +0200)]
glimagesink: Use gst_pad_get_pad_template_caps in ::get_caps()

9 years agoglupload: provide the sink template caps that could be used
Matthew Waters [Tue, 28 Apr 2015 10:11:07 +0000 (20:11 +1000)]
glupload: provide the sink template caps that could be used

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

9 years agoexamples: gst-camera: add zoom property to UI
Thiago Santos [Mon, 27 Apr 2015 22:28:57 +0000 (19:28 -0300)]
examples: gst-camera: add zoom property to UI

Add a slider to modify the zoom in camerabin

9 years agoexamples: gst-camera: remove widgets deprecated in GTK3.0
Thiago Santos [Mon, 27 Apr 2015 21:33:37 +0000 (18:33 -0300)]
examples: gst-camera: remove widgets deprecated in GTK3.0

VBox and HBox are now simply Box

9 years agoexamples: gst-camera: update to GTK3
Thiago Santos [Mon, 27 Apr 2015 18:41:04 +0000 (15:41 -0300)]
examples: gst-camera: update to GTK3

When opening the .ui file it complains about being for GTK 2 and
automatically updates it to GTK3. Commit this version and update
the makefile

9 years agowrappercamerabinsrc: remove unused code
Thiago Santos [Mon, 27 Apr 2015 16:41:44 +0000 (13:41 -0300)]
wrappercamerabinsrc: remove unused code

The structure is created and never used anymore. Remove it.

9 years agowrappercamerabinsrc: use digitalzoom element
Thiago Santos [Mon, 27 Apr 2015 16:24:54 +0000 (13:24 -0300)]
wrappercamerabinsrc: use digitalzoom element

Replace videocrop ! videoscale ! capsfilter with the digitalzoom
bin that has the same pipeline internally and already updates
the capsfilter automatically when caps change, removing this code
from wrappercamerabinsrc and making it cleaner.

9 years agodigitalzoom: change videocrop parameters before passing caps event
Thiago Santos [Tue, 28 Apr 2015 00:14:02 +0000 (21:14 -0300)]
digitalzoom: change videocrop parameters before passing caps event

Avoids one extra uneeded renegotiation if the elements are already
configured to their final property values when the caps event
goes through.

Also avoids hitting bug https://bugzilla.gnome.org/show_bug.cgi?id=748344

9 years agodigitalzoom: also skip internal pipeline in upstream caps query
Thiago Santos [Wed, 22 Apr 2015 16:06:30 +0000 (13:06 -0300)]
digitalzoom: also skip internal pipeline in upstream caps query

To avoid going through our capsfilter which would limit the choices.