platform/upstream/gst-plugins-base.git
9 years agotools: gst-play: remove unnecessary variable
Luis de Bethencourt [Sat, 30 May 2015 14:34:51 +0000 (15:34 +0100)]
tools: gst-play: remove unnecessary variable

The second assignment of sret is never used. We can remove the first assignment
and use the value directly instead.

9 years agoid3v2frames: Fix compiler warnings
Sebastian Dröge [Sat, 30 May 2015 06:12:03 +0000 (08:12 +0200)]
id3v2frames: Fix compiler warnings

id3v2frames.c:951:20: error: unused variable 'utf16enc' [-Werror,-Wunused-const-variable]
static const gchar utf16enc[] = "UTF-16";
                   ^
id3v2frames.c:952:20: error: unused variable 'utf16leenc' [-Werror,-Wunused-const-variable]
static const gchar utf16leenc[] = "UTF-16LE";
                   ^
id3v2frames.c:953:20: error: unused variable 'utf16beenc' [-Werror,-Wunused-const-variable]
static const gchar utf16beenc[] = "UTF-16BE";
                   ^

9 years agopart-stereo-multiview-video: Add a section of open design questions
Jan Schmidt [Fri, 29 May 2015 15:03:46 +0000 (01:03 +1000)]
part-stereo-multiview-video: Add a section of open design questions

9 years agovideo-format: Fix minor docs typo
Jan Schmidt [Fri, 29 May 2015 14:58:38 +0000 (00:58 +1000)]
video-format: Fix minor docs typo

9 years agovideotestsrc: Document the solid-color pattern
Jan Schmidt [Mon, 16 Mar 2015 08:37:26 +0000 (19:37 +1100)]
videotestsrc: Document the solid-color pattern

9 years agoplayback: Document GST_PLAY_FLAG_SOFT_COLORBALANCE
Jan Schmidt [Mon, 16 Mar 2015 08:28:35 +0000 (19:28 +1100)]
playback: Document GST_PLAY_FLAG_SOFT_COLORBALANCE

9 years agovideo: Make gst_buffer_get_video_meta() a real function, Return lowest id
Jan Schmidt [Wed, 8 Oct 2014 14:13:29 +0000 (01:13 +1100)]
video: Make gst_buffer_get_video_meta() a real function, Return lowest id

Instead of returning the first video meta found on a buffer, return the
one with the lowest id (which is usually the same thing, except on
multi-view buffers)

9 years agodiscoverer: don't crash on unknown info types when deserializing
Tim-Philipp Müller [Fri, 29 May 2015 14:30:41 +0000 (15:30 +0100)]
discoverer: don't crash on unknown info types when deserializing

Handle unknown info types when deserializing instead of
dereferencing NULL pointers.

Coverity CID 1302394

9 years agosdp: prevent the sdp message parser from reading past the end of the buffer
George Kiagiadakis [Fri, 29 May 2015 11:15:59 +0000 (13:15 +0200)]
sdp: prevent the sdp message parser from reading past the end of the buffer

Otherwise, a malformed SDP message could crash the application,
or even maliciously gather data from the memory located after
this buffer...

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

9 years agotests: add test for videorate caps renegotiation after a framerate has been calculate...
George Kiagiadakis [Thu, 28 May 2015 17:49:31 +0000 (19:49 +0200)]
tests: add test for videorate caps renegotiation after a framerate has been calculated and added to caps

The original 0/1 framerate must still be allowed to be configured
on the upstream side of videorate, otherwise future caps renegotiation
is going to fail.

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

9 years agovideorate: update the caps framerate only in the GST_PAD_SINK transform_caps direction
George Kiagiadakis [Thu, 28 May 2015 10:51:35 +0000 (12:51 +0200)]
videorate: update the caps framerate only in the GST_PAD_SINK transform_caps direction

When a stream has a variable framerate, videorate calculates it and
forces it on the output caps. However, the code in _transform_caps()
currently also does that if the transform is going in the opposite
direction (GST_PAD_SRC), so during a renegotiation it tries to force
upstream to use the calculated framerate and it fails.

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

9 years agoplaysink: use queue to avoid lock in audiotee audio branches
Thiago Santos [Tue, 26 May 2015 11:06:50 +0000 (08:06 -0300)]
playsink: use queue to avoid lock in audiotee audio branches

This part of pipeline is:

tee name=t ! visualizationbin ! streamsynchronizer name=s
t. ! s.

streamsynchronizer might block and it could starve the visualization
branch of the pipeline when it is enabled.

The visualization bin has queues internally but the other branch
that links the audiotee directly to the synchronizer is vulnerable
to block. Adding a queue between "t. ! s." fixes deadlocks.

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

9 years agobasetextoverlay: make deltax and deltay properties controllable
Claudiu Florin Lazar [Tue, 26 May 2015 10:11:00 +0000 (13:11 +0300)]
basetextoverlay: make deltax and deltay properties controllable

This will be more useful once we have absolute direct
control bindings.

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

9 years agooggdemux: fix chain leak
Guillaume Desmottes [Tue, 5 May 2015 16:01:46 +0000 (18:01 +0200)]
oggdemux: fix chain leak

Don't leak the building_chain when destroying.

Fix leaks with the validate.http.playback.reverse_playback.vorbis_theora_1_ogg
scenario.

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

9 years agotag: id3v2: fix parsing of UTF-16 text on systems with crippled iconv
Tim-Philipp Müller [Mon, 25 May 2015 21:37:56 +0000 (22:37 +0100)]
tag: id3v2: fix parsing of UTF-16 text on systems with crippled iconv

Use g_utf16_to_utf8() instead of the more generic g_convert(), so
that we can extract text in UTF-16 format even on embedded systems
with crippled iconv support.

This code path is exercised by the id3demux test_unsync_v23
check in gst-plugins-good.

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

9 years agoAdd new generated rtp enum files to .gitignore
Tim-Philipp Müller [Mon, 25 May 2015 21:37:06 +0000 (22:37 +0100)]
Add new generated rtp enum files to .gitignore

9 years agotools: gst-play: keep configured playback rate and trick mode when seeking
Tim-Philipp Müller [Sun, 24 May 2015 17:58:21 +0000 (18:58 +0100)]
tools: gst-play: keep configured playback rate and trick mode when seeking

Instead of resetting rate to 1.0

9 years agopo: update for new translatable strings
Tim-Philipp Müller [Sun, 24 May 2015 17:47:25 +0000 (18:47 +0100)]
po: update for new translatable strings

9 years agotools: gst-play: mark more strings for translation
Tim-Philipp Müller [Sun, 24 May 2015 17:46:21 +0000 (18:46 +0100)]
tools: gst-play: mark more strings for translation

9 years agotools: gst-play: add keyboard shortcut help
danny song [Fri, 22 May 2015 16:50:11 +0000 (01:50 +0900)]
tools: gst-play: add keyboard shortcut help

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

9 years agotests: add back videoscale unit test
Tim-Philipp Müller [Sat, 23 May 2015 11:02:26 +0000 (12:02 +0100)]
tests: add back videoscale unit test

Has been removed in 835422b2 as part of porting
things over to the new videoscale API.

9 years agotools: gst-play: enable interative mode by default
Tim-Philipp Müller [Thu, 21 May 2015 11:10:40 +0000 (12:10 +0100)]
tools: gst-play: enable interative mode by default

And change --interactive option to --no-interactive.

9 years agortp: Clean G-I files on make clean too
Sebastian Dröge [Thu, 21 May 2015 10:07:50 +0000 (13:07 +0300)]
rtp: Clean G-I files on make clean too

9 years agortp: Add builddir to the include path for gobject-introspection
Sebastian Dröge [Wed, 20 May 2015 13:23:46 +0000 (16:23 +0300)]
rtp: Add builddir to the include path for gobject-introspection

And also add missing headers/sources

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

9 years agowin32: Update exports
Sebastian Dröge [Wed, 20 May 2015 12:40:53 +0000 (15:40 +0300)]
win32: Update exports

9 years agortp: Add GstRTPProfile enum
Sebastian Dröge [Wed, 20 May 2015 10:36:30 +0000 (13:36 +0300)]
rtp: Add GstRTPProfile enum

9 years agortsp: Add FIXME 2.0 comment about GstRTSPTransport being an enum instead of flags
Sebastian Dröge [Wed, 20 May 2015 10:35:13 +0000 (13:35 +0300)]
rtsp: Add FIXME 2.0 comment about GstRTSPTransport being an enum instead of flags

9 years agortsp: Use glib-mkenums to generate GstRTSPProfile and GstRTSPLowerTrans GTypes
Sebastian Dröge [Wed, 20 May 2015 10:33:42 +0000 (13:33 +0300)]
rtsp: Use glib-mkenums to generate GstRTSPProfile and GstRTSPLowerTrans GTypes

9 years agoRevert "oggdemux: Prevent seeks when _SCHEDULING_FLAG_SEQUENTIAL is set"
Tim-Philipp Müller [Wed, 20 May 2015 09:22:48 +0000 (10:22 +0100)]
Revert "oggdemux: Prevent seeks when _SCHEDULING_FLAG_SEQUENTIAL is set"

This reverts commit 76647f2710d718e27f207b005956b7dba72c2d19.

Avoiding pull mode activation is a feature regression, and
demuxers should always use pull mode where that is possible,
e.g. if there's an upstream queue2 with a ring buffer or
a download buffer.

This patch made reverse playback no longer possible over http.

If the goal is to minimise seeks, then that can still be done
by making the demuxer behave differently in pull mode if
the SEQUENTIAL flag is set. If there are bugs, like the demuxer
needlessly scanning the entire file on start-up in pull mode,
then those should be fixed instead.

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

9 years agowin32: update .def file for new API
Tim-Philipp Müller [Tue, 19 May 2015 18:48:54 +0000 (19:48 +0100)]
win32: update .def file for new API

9 years agortsp: don't use soon-to-be-deprecated g_cancellable_reset()
Tim-Philipp Müller [Fri, 24 Oct 2014 16:49:37 +0000 (17:49 +0100)]
rtsp: don't use soon-to-be-deprecated g_cancellable_reset()

From the API documentation: "Note that it is generally not
a good idea to reuse an existing cancellable for more
operations after it has been cancelled once, as this
function might tempt you to do. The recommended practice
is to drop the reference to a cancellable after cancelling
it, and let it die with the outstanding async operations.
You should create a fresh cancellable for further async
operations."

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

9 years agogio: don't use soon-to-be-deprecated g_cancellable_reset()
Tim-Philipp Müller [Fri, 24 Oct 2014 16:49:23 +0000 (17:49 +0100)]
gio: don't use soon-to-be-deprecated g_cancellable_reset()

From the API documentation: "Note that it is generally not
a good idea to reuse an existing cancellable for more
operations after it has been cancelled once, as this
function might tempt you to do. The recommended practice
is to drop the reference to a cancellable after cancelling
it, and let it die with the outstanding async operations.
You should create a fresh cancellable for further async
operations."

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

9 years agotcp: don't use soon-to-be-deprecated g_cancellable_reset()
Tim-Philipp Müller [Fri, 24 Oct 2014 16:48:54 +0000 (17:48 +0100)]
tcp: don't use soon-to-be-deprecated g_cancellable_reset()

From the API documentation: "Note that it is generally not
a good idea to reuse an existing cancellable for more
operations after it has been cancelled once, as this
function might tempt you to do. The recommended practice
is to drop the reference to a cancellable after cancelling
it, and let it die with the outstanding async operations.
You should create a fresh cancellable for further async
operations."

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

9 years agogstdiscoverer: Add since annotation.
Mathieu Duponchelle [Tue, 19 May 2015 16:53:09 +0000 (18:53 +0200)]
gstdiscoverer: Add since annotation.

Forgot to add the since annotation to the
GstDiscovererSerializeFlags in the previous commit.

9 years agodiscoverer: Add serialization methods.
Mathieu Duponchelle [Sun, 3 May 2015 01:18:28 +0000 (03:18 +0200)]
discoverer: Add serialization methods.

[API] gst_discoverer_info_to_variant
[API] gst_discoverer_info_from_variant
[API] GstDiscovererSerializeFlags

+ Serializes as a GVariant
+ Adds a test
+ Does not serialize potential GstToc (s)

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

9 years agortpbasepayload: Try harder to reuse previously configured caps values and give more...
Sebastian Dröge [Tue, 19 May 2015 13:32:38 +0000 (16:32 +0300)]
rtpbasepayload: Try harder to reuse previously configured caps values and give more preference to anything set as properties

This affects the pt, ssrc, seqnum-offset and timestamp-offset properties. If
they were set from a property, or we configured caps before, we try to use
that value for them. Even if the first structure of the downstream caps
specifies a different value, we check if the value is supported by other
structures.
Only if all this fails, we use the values given by downstream in the first
structure, i.e. if no properties were set and these are the first caps we
negotiate or downstream does not support our values.

By doing this we ensure that we don't spuriously change ssrcs or other fields
in the middle of the stream (and also consider property values more). Ssrc
changes would currently happen after sending an RTX packet (thus creating a
new internal source inside the rtpsession), and then renegotiating the
payloader (which then gets the RTX ssrc from rtpsession).

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

9 years agodocs: a random set of trivial fixes for the library docs
Stefan Sauer [Mon, 18 May 2015 19:09:25 +0000 (21:09 +0200)]
docs: a random set of trivial fixes for the library docs

Warnings down to 35, unused symbols doen to 112.

9 years agodocs: add fdmemory to docs
Stefan Sauer [Mon, 18 May 2015 18:56:28 +0000 (20:56 +0200)]
docs: add fdmemory to docs

9 years agodocs: a random set of trivial fixes for the library docs
Stefan Sauer [Mon, 18 May 2015 18:45:45 +0000 (20:45 +0200)]
docs: a random set of trivial fixes for the library docs

All those where super straight forward from the warnings gtkdoc prints. It kind
of makes sense to apply them before the list of warnings is >100 and people
complain that gtkdoc is noisy.

9 years agomikey: fix a bunch of doc warnings
Stefan Sauer [Mon, 18 May 2015 18:31:30 +0000 (20:31 +0200)]
mikey: fix a bunch of doc warnings

Rename header/source mismatch of parameters. Update the exposed API in
sections.txt.

9 years agoRevert "doc: Workaround gtkdoc issue"
Stefan Sauer [Mon, 18 May 2015 18:01:49 +0000 (20:01 +0200)]
Revert "doc: Workaround gtkdoc issue"

This reverts commit df7ef3c35d34352257a28307c07d4673f239452e.

This is fixed by the gtk-doc 1.23 release.

9 years agoappsrc: optimise caps changing when previously-set caps have not taken effect yet
Tim-Philipp Müller [Mon, 18 May 2015 10:23:16 +0000 (11:23 +0100)]
appsrc: optimise caps changing when previously-set caps have not taken effect yet

Only negotiate/change caps once when setting caps twice and
the first-set caps have not been used yet.

Based on patch by Eunhae Choi.

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

9 years agoxvimagesink: fix pool leak
Vineeth T M [Mon, 18 May 2015 07:16:10 +0000 (16:16 +0900)]
xvimagesink: fix pool leak

During set caps when config fails, the referenced newpool
is not unref ed.

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

9 years agoplaybin: check the flags before set again
eunhae choi [Mon, 18 May 2015 06:45:01 +0000 (15:45 +0900)]
playbin: check the flags before set again

check the previous flags of playsink to avoid the reconfigure of playsink repeatedly

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

9 years agodoc: Workaround gtkdoc issue
Nicolas Dufresne [Sun, 17 May 2015 03:33:55 +0000 (23:33 -0400)]
doc: Workaround gtkdoc issue

With gtkdoc 1.22, the XML generator fails when a itemizedlist is
followed by a refsect2. Workaround the issue by wrapping the refsect2
into para.

9 years agoplayback: use the new gst_object api
Stefan Sauer [Fri, 15 May 2015 12:49:47 +0000 (14:49 +0200)]
playback: use the new gst_object api

Use gst_object_has_as_anchestor instead of the now deprecated _has_ancestor.

9 years agodocs: fix up example pipeline
Tim-Philipp Müller [Sun, 10 May 2015 10:42:21 +0000 (11:42 +0100)]
docs: fix up example pipeline

9 years agodocs: update element example pipelines
Tim-Philipp Müller [Sat, 9 May 2015 21:33:26 +0000 (22:33 +0100)]
docs: update element example pipelines

- gst-launch -> gst-launch-1.0
- use autoaudiosink and audiovideosink more often
- review pipeline examples and descriptions

9 years agovideo: Update win32 exports for new libgstvideo API
Jan Schmidt [Sun, 10 May 2015 00:51:09 +0000 (10:51 +1000)]
video: Update win32 exports for new libgstvideo API

9 years agovideoconvert: Expose some properties from the videoconverter API
Vivia Nikolaidou [Fri, 8 May 2015 12:21:16 +0000 (15:21 +0300)]
videoconvert: Expose some properties from the videoconverter API

Expose chroma resampler, alpha mode, alpha value, chroma mode, matrix mode,
gamma mode and primaries mode from the videoconverter API.

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

9 years agovideo-converter: Change some implicit string enums to real enums
Vivia Nikolaidou [Fri, 8 May 2015 11:57:03 +0000 (14:57 +0300)]
video-converter: Change some implicit string enums to real enums

GST_VIDEO_CONVERTER_OPT_ALPHA_MODE, GST_VIDEO_CONVERTER_OPT_CHROMA_MODE,
GST_VIDEO_CONVERTER_OPT_MATRIX_MODE, GST_VIDEO_CONVERTER_OPT_GAMMA_MODE and
GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE were G_TYPE_STRING with only a few valid
options. Changed those to real enums.

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

9 years agoaudiodecoder: Also negotiate with downstream if needed before handling a GAP event
Sebastian Dröge [Fri, 8 May 2015 13:06:34 +0000 (15:06 +0200)]
audiodecoder: Also negotiate with downstream if needed before handling a GAP event

9 years agovideodecoder: Also negotiate with downstream if needed before handling a GAP event
Sebastian Dröge [Fri, 8 May 2015 13:02:48 +0000 (15:02 +0200)]
videodecoder: Also negotiate with downstream if needed before handling a GAP event

9 years agovideodecoder: Try to be smarter when clipping buffers without duration/framerate...
Sebastian Dröge [Wed, 6 May 2015 10:40:48 +0000 (12:40 +0200)]
videodecoder: Try to be smarter when clipping buffers without duration/framerate to the segment

2 second frame duration is rather unlikely... but if we don't clip
away buffers that far before the segment we can cause the pipeline to
lockup. This can happen if audio is properly clipped, and thus the
audio sink does not preroll yet but the video sink prerolls because
we already outputted a buffer here... and then queues run full.

In the worst case we will clip one buffer too many here now if no
framerate is given, no buffer duration is given and the actual
framerate is less than 0.5fps.

Fixes seeking on HLS/DASH streams, when seeking into the middle of
fragments and having no framerate/buffer duration.

9 years agoxvimagesink: fix navigation event leak when early returning
Guillaume Desmottes [Mon, 4 May 2015 15:59:30 +0000 (17:59 +0200)]
xvimagesink: fix navigation event leak when early returning

Create the event *after* the early return check so it's not leaked.

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

9 years agoxvimagesink: fix navigation event leak when not handled
Guillaume Desmottes [Mon, 4 May 2015 16:00:18 +0000 (18:00 +0200)]
xvimagesink: fix navigation event leak when not handled

gst_navigation_message_new_event() is *not* consuming the event so we should
always drop our extra reference.

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

9 years agonavigation: fix structure leak if subclass doesn't implement send_event()
Guillaume Desmottes [Mon, 4 May 2015 15:58:38 +0000 (17:58 +0200)]
navigation: fix structure leak if subclass doesn't implement send_event()

The send_event() implementation is supposed to consume @structure.

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

9 years agostreamsynchronizer: Don't override segment.base from upstream with 0
Sebastian Dröge [Tue, 5 May 2015 13:35:46 +0000 (15:35 +0200)]
streamsynchronizer: Don't override segment.base from upstream with 0

Upstream might want to use it to properly map timestamps to running/stream
times, if we just override it with 0 synchronization will be just wrong.

For this we remove some old 0.10 code related to segment accumulation, and
remove some more code that is useless now, and accumulate the group start time
(aka segment.base offset) manually now.

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

9 years agortpbasedepayload: Add some debug output
Sebastian Dröge [Tue, 5 May 2015 11:14:12 +0000 (13:14 +0200)]
rtpbasedepayload: Add some debug output

9 years agovideo: add NV61 format support
Aurélien Zanelli [Thu, 19 Mar 2015 09:50:22 +0000 (10:50 +0100)]
video: add NV61 format support

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

9 years agodocs: add new video API to docs
Tim-Philipp Müller [Mon, 4 May 2015 19:33:23 +0000 (20:33 +0100)]
docs: add new video API to docs

9 years agovideo: check colorimetry and chroma_site equality in gst_video_info_is_equal()
Jan Schmidt [Sun, 3 May 2015 16:18:22 +0000 (02:18 +1000)]
video: check colorimetry and chroma_site equality in gst_video_info_is_equal()

Add VideoInfo accessors for colorimetry and chroma_site and use them
when checking the equality of two GstVideoInfo

9 years agovideo-color: Add gst_video_colorimetry_is_equal()
Jan Schmidt [Sun, 3 May 2015 16:10:17 +0000 (02:10 +1000)]
video-color: Add gst_video_colorimetry_is_equal()

Add a function for comparing the equality of 2 colorimetry
structures.

9 years agooggdemux: remove unused code
Young Han Lee [Fri, 10 Apr 2015 07:05:45 +0000 (16:05 +0900)]
oggdemux: remove unused code

These lines have done nothing for about 10 years.

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

9 years agopbutils: Use more strict profile checking for hevc
Sreerenj Balachandran [Fri, 10 Apr 2015 12:24:28 +0000 (15:24 +0300)]
pbutils: Use more strict profile checking for hevc

Use the profile_idc value to set the profile string in caps.
Don't use compatibility flags for this purpose.

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

9 years agovideo-converter: Remove unused macro
Ravi Kiran K N [Thu, 30 Apr 2015 09:25:14 +0000 (14:55 +0530)]
video-converter: Remove unused macro

Remove unused macro GET_TMP_LINE

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

9 years agogst-play: add some more key navigation mappings
Tim-Philipp Müller [Wed, 29 Apr 2015 14:44:59 +0000 (15:44 +0100)]
gst-play: add some more key navigation mappings

And don't feed multi-character key descriptors to the
event handler, it won't be what it expects.

9 years agonavigation: sprinkle some since markers and add new API to .def file
Tim-Philipp Müller [Wed, 29 Apr 2015 14:30:02 +0000 (15:30 +0100)]
navigation: sprinkle some since markers and add new API to .def file

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

9 years agotools: Add mouse/keyboard handling from messages
Edward Hervey [Thu, 2 Apr 2015 14:16:58 +0000 (16:16 +0200)]
tools: Add mouse/keyboard handling from messages

Allows the user to control playback with the window in focus

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

9 years agoxvimagesink: Post unhandled navigation events on the bus
Edward Hervey [Thu, 2 Apr 2015 14:10:32 +0000 (16:10 +0200)]
xvimagesink: Post unhandled navigation events on the bus

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

9 years agovideo: Add a new "event" navigation message type
Edward Hervey [Thu, 2 Apr 2015 14:09:13 +0000 (16:09 +0200)]
video: Add a new "event" navigation message type

This will be useful for elements that wish to post unhandled navigation
events on the bus to give the application a chance to do something with
it

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

9 years agovideo-info: expose InterlaceMode conversion to/from string
Wim Taymans [Tue, 28 Apr 2015 10:01:02 +0000 (12:01 +0200)]
video-info: expose InterlaceMode conversion to/from string

Expose the methods used to convert a GstVideoInterlaceMode to and
from a string.

9 years agoRename property enums from ARG_ to PROP_
Luis de Bethencourt [Mon, 27 Apr 2015 10:26:10 +0000 (11:26 +0100)]
Rename property enums from ARG_ to PROP_

Property enum items should be named PROP_ for consistency and readability.

9 years agovideoconvert: Keep colorimetry and chroma-site fields if passthrough
Matthieu Bouron [Mon, 27 Apr 2015 09:06:58 +0000 (11:06 +0200)]
videoconvert: Keep colorimetry and chroma-site fields if passthrough

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

9 years agoaudio: Change the remaining "samples" in the ::delay() vfunc docs to "frames"
Sebastian Dröge [Mon, 27 Apr 2015 08:08:17 +0000 (10:08 +0200)]
audio: Change the remaining "samples" in the ::delay() vfunc docs to "frames"

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

9 years agotests: tcp: remove SOCK_CLOEXEC which causes build problems on OS/X
Tim-Philipp Müller [Sun, 26 Apr 2015 19:13:01 +0000 (20:13 +0100)]
tests: tcp: remove SOCK_CLOEXEC which causes build problems on OS/X

It's not needed here.

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

9 years agoaudio: The delay vfunc returns the number of frames, not samples
Sebastian Dröge [Sun, 26 Apr 2015 19:08:14 +0000 (21:08 +0200)]
audio: The delay vfunc returns the number of frames, not samples

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

9 years agoRemove obsolete Android build cruft
Tim-Philipp Müller [Sun, 26 Apr 2015 16:49:33 +0000 (17:49 +0100)]
Remove obsolete Android build cruft

This is not needed any longer.

9 years agotests: typefindfunctions: add test for UTF-16 MSS manifest typefinding
Tim-Philipp Müller [Sun, 26 Apr 2015 13:37:56 +0000 (14:37 +0100)]
tests: typefindfunctions: add test for UTF-16 MSS manifest typefinding

9 years agotypefinding: don't read more data than needed in MSS typefinder
Tim-Philipp Müller [Sun, 26 Apr 2015 13:44:33 +0000 (14:44 +0100)]
typefinding: don't read more data than needed in MSS typefinder

9 years agotypefinding: detect MSS manifests without using g_convert()
Tim-Philipp Müller [Sun, 26 Apr 2015 13:27:30 +0000 (14:27 +0100)]
typefinding: detect MSS manifests without using g_convert()

Embedded systems often have limited charset conversion
functionality, so don't rely on g_convert() (i.e. iconv)
for UTF-16 to UTF-8 conversions, we can easily enough do
that ourselves by converting to native endianness and
then using GLib's helper functions.

9 years agoaudiovisualizer: fix the license from GPL to LGPL
Stefan Sauer [Sat, 25 Apr 2015 16:45:50 +0000 (18:45 +0200)]
audiovisualizer: fix the license from GPL to LGPL

This was a copy'n'paste buf in the initial commit done by myself.

9 years agoxmptag: fix invalid reads in GST_DEBUG statement
Guillaume Desmottes [Fri, 24 Apr 2015 12:59:21 +0000 (14:59 +0200)]
xmptag: fix invalid reads in GST_DEBUG statement

Don't try to print a string that is not NUL-terminated. This
log line does not really seem useful so let's just drop it.

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

9 years agoremove unused enum items PROP_LAST
Luis de Bethencourt [Fri, 24 Apr 2015 16:10:59 +0000 (17:10 +0100)]
remove unused enum items PROP_LAST

This were probably added to the enums due to cargo cult programming and are
unused. Removing them.

9 years agoaudiodecoder: Add sink and src query virtual method
Wonchul Lee [Thu, 2 Apr 2015 15:44:12 +0000 (00:44 +0900)]
audiodecoder: Add sink and src query virtual method

API: GstAudioDecoderClass::src_query()
API: GstAudioDecoderClass::sink_query()

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

9 years agotests: define GST_CHECK_TEST_ENVIRONMENT_BEACON
Tim-Philipp Müller [Thu, 23 Apr 2015 14:57:37 +0000 (15:57 +0100)]
tests: define GST_CHECK_TEST_ENVIRONMENT_BEACON

Make sure the test environment is set up.

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

9 years agoconfigure: bump automake requirement to 1.14 and autoconf to 2.69
Tim-Philipp Müller [Thu, 23 Apr 2015 14:42:41 +0000 (15:42 +0100)]
configure: bump automake requirement to 1.14 and autoconf to 2.69

This is only required for builds from git, people can still
build tarballs if they only have older autotools.

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

9 years agoUpdate .gitignore
Tim-Philipp Müller [Thu, 23 Apr 2015 14:14:07 +0000 (15:14 +0100)]
Update .gitignore

9 years agovideo-converter: n_lines member should be a guint not a boolean
Ravi Kiran K N [Thu, 23 Apr 2015 04:20:12 +0000 (09:50 +0530)]
video-converter: n_lines member should be a guint not a boolean

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

9 years agooggdemux: fix event leaks
Guillaume Desmottes [Tue, 21 Apr 2015 13:27:57 +0000 (15:27 +0200)]
oggdemux: fix event leaks

gst_event_replace() takes its own reference on the event so we should drop
ours after creating and storing an event using it.

This fix leaks which can be reproduced using the
validate.http.media_check.vorbis_theora_1_ogg scenario.

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

9 years agoRemove INSTALL file
Sebastian Dröge [Wed, 22 Apr 2015 08:34:09 +0000 (10:34 +0200)]
Remove INSTALL file

autotools automatically generate this, and when using different versions
for autogen.sh there will always be changes to a file tracked by git.

9 years agoRemove LICENSE_readme
Sebastian Dröge [Wed, 22 Apr 2015 08:33:58 +0000 (10:33 +0200)]
Remove LICENSE_readme

It's completely outdated and just confusing, better if people are
forced to look at the actual code in question than trusting this file.

9 years agovideo-scaler: fix YUY2 scaling some more
Wim Taymans [Tue, 21 Apr 2015 11:31:44 +0000 (13:31 +0200)]
video-scaler: fix YUY2 scaling some more

Take into account the different steps between Y and UV when calculating
the line size for vertical resampling or else we might not resample
enough pixels and leave bad lines.

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

9 years agovideo-scaler: scale enough pixels in YUY2 (and friends) mode
Wim Taymans [Tue, 21 Apr 2015 11:16:29 +0000 (13:16 +0200)]
video-scaler: scale enough pixels in YUY2 (and friends) mode

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

9 years agotests: rtpbasedepayload: fix crash in test when passing varargs
Hyunjun Ko [Fri, 17 Apr 2015 07:21:05 +0000 (16:21 +0900)]
tests: rtpbasedepayload: fix crash in test when passing varargs

Need to pass 64 bits where 64 bits are expected.

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

9 years agovideo-converter: Remove unused variables
Ravi Kiran K N [Fri, 17 Apr 2015 05:48:22 +0000 (11:18 +0530)]
video-converter: Remove unused variables

Remove unused variables n_taps, max_taps in setup_scale()

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

9 years agovideo: add missing part of documentation text
Thiago Santos [Thu, 16 Apr 2015 13:03:05 +0000 (10:03 -0300)]
video: add missing part of documentation text

9 years agodiscoverer: fix GstToc leak when parsing toc messages
Guillaume Desmottes [Tue, 31 Mar 2015 11:26:21 +0000 (13:26 +0200)]
discoverer: fix GstToc leak when parsing toc messages

gst_message_parse_toc() returns a reffed GstToc which is owned by the
GstDiscovererInfo. But we have to make sure we unref its previous value before
setting the new one.

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

9 years agowin32: Update defs for new API
Edward Hervey [Fri, 17 Apr 2015 09:45:34 +0000 (11:45 +0200)]
win32: Update defs for new API

9 years agoallocators: make GstFdAllocator non-abstract
Wim Taymans [Fri, 17 Apr 2015 07:31:40 +0000 (09:31 +0200)]
allocators: make GstFdAllocator non-abstract

Make the GstFdAllocator non-abstract because it is perfectly possible
to make memory from a generic fd. Mark the memory as simply "fd".