Nicolas Dufresne [Fri, 5 Jun 2015 18:28:41 +0000 (14:28 -0400)]
ximagesink: Don't share internal pool
Sharing the internal pool results in situation where the pool may have
two upstream owners. This create a race upon deactivation. Instead,
always offer a new pool, and keep the internal pool internal in case
we absolutely need it.
https://bugzilla.gnome.org/show_bug.cgi?id=748344
Matej Knopp [Wed, 26 Nov 2014 20:06:57 +0000 (21:06 +0100)]
videoencoder: Add gst_video_encoder_set_min_pts()
For streams with reordered frames this can be used to ensure that there
is enough time to accomodate first DTS, which may be less than first PTS
https://bugzilla.gnome.org/show_bug.cgi?id=740575
Tim-Philipp Müller [Fri, 12 Jun 2015 18:58:34 +0000 (19:58 +0100)]
Update .def file for new API
Jan Schmidt [Fri, 12 Jun 2015 15:35:52 +0000 (01:35 +1000)]
videodecoder: Copy multiview-mode, flags and view count from ref info
When copying info from the reference input state, duplicate
all the fields of the video info. The sub-class will have the
chance to override them later.
Wim Taymans [Fri, 12 Jun 2015 14:57:39 +0000 (16:57 +0200)]
video-scaler: enforce same taps when combining scalers
Wim Taymans [Fri, 12 Jun 2015 14:52:27 +0000 (16:52 +0200)]
video-scaler: make sure to clamp to max width
When estimating the area that should first be vertically scaled, make
sure we clamp to the max input size or else we get invalid reads.
Wim Taymans [Fri, 12 Jun 2015 14:47:03 +0000 (16:47 +0200)]
video-scaler: Enforce same taps on Y and UV scalers for merged formats
Make sure we have the same number of taps for the Y and UV scalers so
that the scalers can be merged correctly.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=749764
Arun Raghavan [Fri, 12 Jun 2015 07:20:35 +0000 (12:50 +0530)]
rtsp: Add a FIXME 2.0 for gst_rtsp_connection_create_from_socket()
There's a couple of redundant arguments from the pre-GIO days.
Tim-Philipp Müller [Thu, 11 Jun 2015 22:32:55 +0000 (23:32 +0100)]
typefinding: check for full UTF-8 BOM in MSS typefinder
https://bugzilla.gnome.org/show_bug.cgi?id=750802
Philippe Normand [Thu, 11 Jun 2015 16:14:47 +0000 (18:14 +0200)]
typefindfunctions: UTF-8 MSS Manifest detection support
Check if the first bytes of data contain an UTF-8 BOM.
https://bugzilla.gnome.org/show_bug.cgi?id=750802
Sebastian Dröge [Thu, 11 Jun 2015 14:18:51 +0000 (16:18 +0200)]
playbin: Check in autoplug_continue against the subtitle factory caps correctly
6a2f017bfa9cb73c6db65eea0b84b1d5b56febb7 changed it to check the subtitle
factory caps if there is a text-sink but we fail to get its sinkpad. What
actually should be done here is to use the factory caps if there is no
text-sink at all.
https://bugzilla.gnome.org/show_bug.cgi?id=750785
Jan Schmidt [Thu, 11 Jun 2015 13:01:48 +0000 (23:01 +1000)]
playbin: Fix some warnings with clang around multiview enums
There is the GstVideoMultiviewMode enum and the
GstVideoMultiviewFramePacking, which is a subset of the
multiview modes, with the same values as the corresponding
types from the full enum. Do some casts and use the right
times to avoid implicitly using/passing GstVideoMultiviewFramePacking
when a GstVideoMultiviewMode is needed.
Jan Schmidt [Thu, 11 Jun 2015 02:21:08 +0000 (12:21 +1000)]
tests: Fix video libs test for multiview GstVideoInfo change
The GstVideoInfo struct was changed late in integrating the
multiview changes, and I forgot to run and fix the unit test.
Jan Schmidt [Thu, 11 Jun 2015 01:12:39 +0000 (11:12 +1000)]
playbin: Implement multiview frame-packing overrides
Add GstVideoMultiviewFramePacking enum, and the
video-multiview-mode and video-multiview-flags
properties on playbin.
Use a pad probe to replace the multiview information in
video caps sent out from uridecodebin.
This is a part implementation only - for full
correctness, it should also modify caps in caps events,
accept-caps and allocation queries.
https://bugzilla.gnome.org/show_bug.cgi?id=611157
Jan Schmidt [Thu, 11 Jun 2015 01:12:39 +0000 (11:12 +1000)]
video: Add multiview/stereo support
Add flags and enums to support multiview signalling in
GstVideoInfo and GstVideoFrame, and the caps serialisation and
deserialisation.
videoencoder: Copy multiview settings from reference input state
Add gst_video_multiview_* support API and GstVideoMultiviewMeta meta
https://bugzilla.gnome.org/show_bug.cgi?id=611157
Sebastian Dröge [Wed, 10 Jun 2015 12:33:01 +0000 (14:33 +0200)]
rtpbaseaudiopayload: Use GST_BUFFER_PTS() instead of GST_BUFFER_TIMESTAMP()
Víctor Manuel Jáquez Leal [Wed, 10 Jun 2015 10:26:38 +0000 (12:26 +0200)]
playsink: fix the channel of color balance element
When traversing the color balance element channel list to find the one that
matches with the playsink proxy, the assignation was set to iterator of the
playsink proxy, not the balance element. Thus, the mapping to the values of
the balance element channel was wrong.
This patch fixes the assignation of the color balance element channel, so the
mapping to the channel of the color balance element is fixed.
https://bugzilla.gnome.org/show_bug.cgi?id=750691
Vineeth TM [Wed, 10 Jun 2015 06:50:12 +0000 (15:50 +0900)]
playsink: cannot enable text flag while playing
when text playbin is not enabled in the beginning, then
video_srcpad_stream_synchronizer gets linked to videochain->sinkpad
and when we try to enable text bin during play, since it is already linked to videochain,
text chain does not get linked properly. Hence unlinking the same
before linking to text chain
https://bugzilla.gnome.org/show_bug.cgi?id=748908
Edward Hervey [Wed, 10 Jun 2015 07:59:49 +0000 (09:59 +0200)]
win32: Update defs file
Xavier Claessens [Sat, 6 Jun 2015 02:04:24 +0000 (22:04 -0400)]
GstRTSPConnection: Add GTlsInteraction support
https://bugzilla.gnome.org/show_bug.cgi?id=750471
Vivia Nikolaidou [Tue, 9 Jun 2015 18:24:07 +0000 (21:24 +0300)]
tools: gst-play: don't print 64 whitespaces next to the time indication
Printing 64 whitespaces to erase the "Paused" message (after \r) would make
it wrap to the next line on shorter terminals. Instead we only print the
amount of spaces needed. Also mark the "Paused" string for translation
while we're at it.
Stefan Sauer [Tue, 9 Jun 2015 12:31:15 +0000 (14:31 +0200)]
cruft: add the obsolete tmpl dir to cruft-dirs
Jan Schmidt [Tue, 9 Jun 2015 12:03:37 +0000 (22:03 +1000)]
Update win32 exports
Carlos Rafael Giani [Mon, 9 Dec 2013 17:46:14 +0000 (18:46 +0100)]
alsa: report recoverable device failures to base class
This gives custom slave methods in the base class a chance to
resynchronize themselves
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
https://bugzilla.gnome.org/show_bug.cgi?id=708362
Carlos Rafael Giani [Mon, 9 Dec 2013 16:08:15 +0000 (17:08 +0100)]
audiobasesink: added custom clock slaving method
This new clock slaving method allows for installing a callback that is
invoked during playback. Inside this callback, a custom slaving
mechanism can be used (for example, a control loop adjusting a PLL or an
asynchronous resampler). Upon request, it can skew the playout pointer
just like the "skew" method. This is useful if the clocks drifted apart
too much, and a quick reset is necessary.
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
https://bugzilla.gnome.org/show_bug.cgi?id=708362
Edward Hervey [Tue, 9 Jun 2015 09:30:15 +0000 (11:30 +0200)]
Automatic update of common submodule
From d9a3353 to 6015d26
Tim-Philipp Müller [Tue, 9 Jun 2015 09:16:34 +0000 (10:16 +0100)]
tools: gst-play: add shortcuts to switch audio/subtitle/video tracks
Sreerenj Balachandran [Wed, 5 Nov 2014 07:41:36 +0000 (09:41 +0200)]
playback: Skip 'ANY' capsfeature while finding the count of common capsfeatures
https://bugzilla.gnome.org/show_bug.cgi?id=687182
Sreerenj Balachandran [Wed, 5 Nov 2014 07:40:43 +0000 (09:40 +0200)]
playback: Add gstplaybackutils.{h,c} to deploy the common subroutines
Bring some of the helper functions in gstplaybin2.c to new files
gstplaybackutils.{h,c} which can be utilized by other files
in gst/playback too.
https://bugzilla.gnome.org/show_bug.cgi?id=687182
Stefan Sauer [Mon, 8 Jun 2015 21:07:47 +0000 (23:07 +0200)]
Automatic update of common submodule
From d37af32 to d9a3353
Vivia Nikolaidou [Mon, 8 Jun 2015 17:32:02 +0000 (20:32 +0300)]
tools: gst-play: sort directory entries
When adding a directory to the playlist, the order would be whatever
g_dir_read_name returned. Sorting these using natural sort order.
https://bugzilla.gnome.org/show_bug.cgi?id=750585
Tim-Philipp Müller [Mon, 8 Jun 2015 19:17:07 +0000 (20:17 +0100)]
ximagesink, xvimagesink: fix string leaks when setting class hint
https://bugzilla.gnome.org/show_bug.cgi?id=750455
Nicolas Dufresne [Mon, 8 Jun 2015 17:01:43 +0000 (13:01 -0400)]
video: Allow using bt2020 by name in colorimetry
As the lookup stops at the first element in the array with a NULL
name, bt2020 could not be used by name. Moving up this entry
fixes the issue.
Luis de Bethencourt [Fri, 5 Jun 2015 15:01:05 +0000 (16:01 +0100)]
ximagesink: set WM_CLASS of window
Set WM_CLASS of the ximagesink window so window managers can apply rules
based on xprop filtering.
Luis de Bethencourt [Fri, 5 Jun 2015 14:58:39 +0000 (15:58 +0100)]
xvimagesink: set WM_CLASS of window
Set WM_CLASS of the xvimagesink window so window managers can apply rules
based on xprop filtering.
Stefan Sauer [Sun, 7 Jun 2015 21:06:08 +0000 (23:06 +0200)]
Automatic update of common submodule
From 21ba2e5 to d37af32
Luis de Bethencourt [Sun, 7 Jun 2015 17:49:48 +0000 (18:49 +0100)]
libvisual: clean dereferences of private structures
https://bugzilla.gnome.org/show_bug.cgi?id=742875
Luis de Bethencourt [Sun, 7 Jun 2015 17:23:23 +0000 (18:23 +0100)]
libvisual: make private all variable subclasses don't need
https://bugzilla.gnome.org/show_bug.cgi?id=742875
Stefan Sauer [Sun, 7 Jun 2015 15:31:55 +0000 (17:31 +0200)]
Automatic update of common submodule
From c408583 to 21ba2e5
Stefan Sauer [Sun, 7 Jun 2015 15:00:05 +0000 (17:00 +0200)]
docs: remove variables that we define in the snippet from common
This is syncing our Makefile.am with upstream gtkdoc.
Stefan Sauer [Sun, 7 Jun 2015 15:16:13 +0000 (17:16 +0200)]
Automatic update of common submodule
From 241fcb7 to c408583
Sebastian Dröge [Sun, 7 Jun 2015 14:44:31 +0000 (16:44 +0200)]
Back to development
Sebastian Dröge [Sun, 7 Jun 2015 08:04:41 +0000 (10:04 +0200)]
Release 1.5.1
Sebastian Dröge [Sun, 7 Jun 2015 07:35:03 +0000 (09:35 +0200)]
po: Update translations
Sebastian Dröge [Fri, 5 Jun 2015 14:44:08 +0000 (16:44 +0200)]
rtpbasepayload: Always prefer downstream's ssrc suggestion if any
Otherwise ssrc changes via rtpsession's (deprecated!) internal-ssrc property
are not possible anymore. rtpsession was now patched to only suggest an ssrc
if it makes sense to do so.
In 2.0 we should get rid of all the properties that are also negotiated via
caps, the code and behaviour is too confusing otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=749581
Sebastian Dröge [Fri, 5 Jun 2015 08:16:56 +0000 (10:16 +0200)]
rtcpbuffer: Improve documentation of new functions a bit
Also actually add them to the documentation.
Jose Antonio Santos Cadenas [Wed, 3 Jun 2015 09:20:35 +0000 (11:20 +0200)]
rtcpbuffer: Update package validation to support reduced size rtcp packets
According to this section of the rfc.
https://tools.ietf.org/html/rfc5506#section-3.4.2
The validation should be updated to accept more types of RTCP
packages, with this mask change feedback packages will be also
accepted.
Change-Id: If5ead59e03c7c60bbe45a9b09f3ff680e7fa4868
Mathieu Duponchelle [Thu, 4 Jun 2015 17:03:51 +0000 (19:03 +0200)]
audioresample: copy metadata that only has the "audio" tag.
https://bugzilla.gnome.org/show_bug.cgi?id=750406
Mathieu Duponchelle [Thu, 4 Jun 2015 17:00:45 +0000 (19:00 +0200)]
audiofilter: copy metadata that only has the "audio" tag.
https://bugzilla.gnome.org/show_bug.cgi?id=750406
Mathieu Duponchelle [Thu, 4 Jun 2015 15:59:17 +0000 (17:59 +0200)]
audioconvert: copy metadata that only has the "audio" tag.
https://bugzilla.gnome.org/show_bug.cgi?id=750406
Mathieu Duponchelle [Wed, 20 May 2015 16:16:07 +0000 (18:16 +0200)]
discoverer: Serialize the top level DiscovererInfo
Which contains fields such as duration, uri and tags.
https://bugzilla.gnome.org/show_bug.cgi?id=749673
Sebastian Dröge [Thu, 4 Jun 2015 14:31:12 +0000 (16:31 +0200)]
codec-utils: Add AAC channel configurations 11, 12 and 14 and levels 6 and 7
Edward Hervey [Tue, 2 Jun 2015 14:14:39 +0000 (16:14 +0200)]
check: Use GST_CHECK_MAIN () macro everywhere
Makes source code smaller, and ensures we go through common initialization
path (like the one that sets up XML unit test output ...)
Tim-Philipp Müller [Tue, 2 Jun 2015 11:47:50 +0000 (12:47 +0100)]
pbutils: add description for video/x-cavs caps
https://bugzilla.gnome.org/show_bug.cgi?id=727731
Edward Hervey [Tue, 2 Jun 2015 10:28:19 +0000 (12:28 +0200)]
win32: Update def file for new encoding API
Tim-Philipp Müller [Fri, 29 May 2015 13:15:31 +0000 (14:15 +0100)]
rtpbuffer: optimise payload mapping for buffers with one memory
Micro-optimisation: if the buffer consist of just one memory, we
know we have already mapped that memory to read the headers, so
no need to map it another time to get to the payload data, we
can just set up the payload data details right there and then
and avoid another map call in gst_rtp_buffer_get_payload().
Adds up when receiving RTP-payloaded raw video which can easily
be thousands of packets per frame.
Tim-Philipp Müller [Thu, 21 May 2015 12:59:55 +0000 (13:59 +0100)]
rtpbasedepayload: provide chain_list function on sink pad
Implement a chain_list function, which avoids lots of locking
compared to the default fallback implementation in GstPad.
We may also want to do some more sophisticated timestamp
tracking here at some point, but for now leave it up to the
jitterbuffer and/or subclasses (in case buffers in the
buffer list have no timestamp set on them, there may only
be a timestamp for the whole list on the first buffer).
This provides the exact same behaviour as the default
fallback implementation.
Thibault Saunier [Thu, 7 May 2015 08:26:47 +0000 (10:26 +0200)]
encodebin: Add a way to enable/disabled a GstEncodingProfile
Summary:
So that the user can easily use the same encoding profile to render
with/without audio/video stream.
API:
gst_encoding_profile_is_disabled
gst_encoding_pofile_set_enabled
https://bugzilla.gnome.org/show_bug.cgi?id=749056
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.
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";
^
Jan Schmidt [Fri, 29 May 2015 15:03:46 +0000 (01:03 +1000)]
part-stereo-multiview-video: Add a section of open design questions
Jan Schmidt [Fri, 29 May 2015 14:58:38 +0000 (00:58 +1000)]
video-format: Fix minor docs typo
Jan Schmidt [Mon, 16 Mar 2015 08:37:26 +0000 (19:37 +1100)]
videotestsrc: Document the solid-color pattern
Jan Schmidt [Mon, 16 Mar 2015 08:28:35 +0000 (19:28 +1100)]
playback: Document GST_PLAY_FLAG_SOFT_COLORBALANCE
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)
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
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
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
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
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
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
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
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
Tim-Philipp Müller [Mon, 25 May 2015 21:37:06 +0000 (22:37 +0100)]
Add new generated rtp enum files to .gitignore
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
Tim-Philipp Müller [Sun, 24 May 2015 17:47:25 +0000 (18:47 +0100)]
po: update for new translatable strings
Tim-Philipp Müller [Sun, 24 May 2015 17:46:21 +0000 (18:46 +0100)]
tools: gst-play: mark more strings for translation
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
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.
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.
Sebastian Dröge [Thu, 21 May 2015 10:07:50 +0000 (13:07 +0300)]
rtp: Clean G-I files on make clean too
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
Sebastian Dröge [Wed, 20 May 2015 12:40:53 +0000 (15:40 +0300)]
win32: Update exports
Sebastian Dröge [Wed, 20 May 2015 10:36:30 +0000 (13:36 +0300)]
rtp: Add GstRTPProfile enum
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
Sebastian Dröge [Wed, 20 May 2015 10:33:42 +0000 (13:33 +0300)]
rtsp: Use glib-mkenums to generate GstRTSPProfile and GstRTSPLowerTrans GTypes
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
Tim-Philipp Müller [Tue, 19 May 2015 18:48:54 +0000 (19:48 +0100)]
win32: update .def file for new API
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
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
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
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.
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
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
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.
Stefan Sauer [Mon, 18 May 2015 18:56:28 +0000 (20:56 +0200)]
docs: add fdmemory to 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.
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.
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.
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