Tim-Philipp Müller [Wed, 27 May 2015 17:55:20 +0000 (18:55 +0100)]
rtp: rtpbasedepayload: add process_rtp_packet() vfunc
Add process_rtp_packet() vfunc that works just like the
existing process() vfunc only that it takes the GstRTPBuffer
that the base class has already mapped (with MAP_READ),
which means that the subclass doesn't have to map it again,
which allows more performant processing of input buffers
for most RTP depayloaders.
https://bugzilla.gnome.org/show_bug.cgi?id=750235
Sebastian Dröge [Fri, 10 Jul 2015 08:53:24 +0000 (11:53 +0300)]
playsink: Require the streamvolume interface on the sink when using the sink's volume/mute properties
If the sink has properties named volume and mute, we have no idea about their
meaning. The streamvolume interface standardizes the meaning.
In the case of osxaudiosink for example, the current volume property has a
range of 0.0 to 1.0, but we need 0.0 to 10.0 or similar. Also osxaudiosink
has no mute property. As such, the volume element should be used here instead.
https://bugzilla.gnome.org/show_bug.cgi?id=752156
Nicolas Dufresne [Thu, 9 Jul 2015 14:47:20 +0000 (10:47 -0400)]
doc/build: Fix doc typos
This minor update should workaround a build system bug. While the
makefile has been updated to generate more enum type, there is nothing
that updates the header and would lead to the generated code to be
produced again. This minor doc fix should ensure no one get a build with
missing symbols.
Sebastian Dröge [Thu, 9 Jul 2015 14:20:55 +0000 (17:20 +0300)]
Revert "win32 def: Remove video flags symbol that don't exist"
This reverts commit
b20cc6a02a007521eabceeceb60356e5a252f38a.
They are actually there in the autogenerated enum header/source file.
Nicolas Dufresne [Thu, 9 Jul 2015 14:15:11 +0000 (10:15 -0400)]
win32 def: Remove video flags symbol that don't exist
There has been a some refactoring and these symbols don't exist anynmore.
So remove it from the win32 def. This should fix distcheck.
Tim-Philipp Müller [Tue, 7 Jul 2015 18:56:52 +0000 (19:56 +0100)]
rtpbasedepayload: fix typo in comment
Tim-Philipp Müller [Tue, 7 Jul 2015 14:05:59 +0000 (15:05 +0100)]
rtpbasepayload: fix possible segment event leak
Need to clear it when shutting down, not when starting up.
Fixes leak in rtp-payloading unit test.
Hyunjun Ko [Tue, 7 Jul 2015 13:23:57 +0000 (22:23 +0900)]
video/audio meta: transform_func: return FALSE if not supported or failed
https://bugzilla.gnome.org/show_bug.cgi?id=751778
Vineeth T M [Tue, 7 Jul 2015 10:55:44 +0000 (19:55 +0900)]
xvimagesink: refactor to use gst_pad_push_event
Right now navigation events are being sent via gst_pad_send_event
after getting the peer pad of the sinkpad.
But the same functionality can be done using gst_pad_push_event
without need of getting peer pad in xvimagesink.
https://bugzilla.gnome.org/show_bug.cgi?id=752059
Sebastian Dröge [Tue, 7 Jul 2015 11:32:25 +0000 (14:32 +0300)]
video: Add some more GTypes for enums
Tobias Mueller [Thu, 2 Jul 2015 05:36:12 +0000 (07:36 +0200)]
GstVideoScaler: Initialised scaling functions to get rid of compiler messages
E.g.
video-scaler.c: In function 'gst_video_scaler_horizontal':
video-scaler.c:1332:3: error: 'func' may be used uninitialized in this function [-Werror=maybe-uninitialized]
func (scale, src, dest, dest_offset, width, n_elems);
^
video-scaler.c: In function 'gst_video_scaler_vertical':
video-scaler.c:1373:3: error: 'func' may be used uninitialized in this function [-Werror=maybe-uninitialized]
func (scale, src_lines, dest, dest_offset, width, n_elems);
^
GCC's analyses seem to be correct, for the simple fact that if you pass
get_functions a known format, but no hscale or vscale, it'll return
True without having done anything.
Some callers check for the scale values to be not NULL, but then
hscale->resampler.max_taps could return 0.
A different approach to the one presented in this patch is to check
for those max_taps, too, before calling get_functions.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=752051
Vineeth T M [Tue, 7 Jul 2015 10:45:43 +0000 (19:45 +0900)]
ximagesink: Post navigation events as message on the bus
post unhandled events to bus, so that
application can utilise the same if needed
https://bugzilla.gnome.org/show_bug.cgi?id=752043
Vineeth T M [Tue, 7 Jul 2015 10:35:40 +0000 (19:35 +0900)]
ximagesink: fix navigation event leak
Create event only when pad is created
and send the event to pad.
https://bugzilla.gnome.org/show_bug.cgi?id=752041
Vineeth TM [Tue, 7 Jul 2015 00:31:01 +0000 (09:31 +0900)]
xvimagesink: fix pad memory leak
pad is not being freed when xwindow is not created
https://bugzilla.gnome.org/show_bug.cgi?id=752042
Vineeth TM [Mon, 6 Jul 2015 23:53:09 +0000 (08:53 +0900)]
gst-play: fix memory leak
In gst-play, for GST_MESSAGE_ELEMENT bus message,
event is being allocated through
gst_navigation_message_parse_event, but not freed.
https://bugzilla.gnome.org/show_bug.cgi?id=752040
Stefan Sauer [Fri, 3 Jul 2015 19:48:52 +0000 (21:48 +0200)]
x/xv_image_sink: rename for consitency
Insert '_' to match the CamelCase. This is needed so that the plugin docs can
guess the names from the type name.
Stefan Sauer [Fri, 3 Jul 2015 19:35:32 +0000 (21:35 +0200)]
docs: update master doc for plugins
Thiago Santos [Mon, 6 Jul 2015 13:05:53 +0000 (10:05 -0300)]
typefind: also check moof to recognize video/quicktime
Helps recognizing fragmented files with the right type
Sebastian Dröge [Mon, 6 Jul 2015 12:36:07 +0000 (15:36 +0300)]
docs: Add new symbols to the docs and .def files
Sebastian Dröge [Mon, 6 Jul 2015 09:53:15 +0000 (12:53 +0300)]
{audio,video}info: Add GST_TYPE_{AUDIO,VIDEO}_INFO macros
Marcin Kolny [Mon, 6 Jul 2015 09:36:58 +0000 (11:36 +0200)]
video-info: implement GstVideoInfo as boxed type
GstVideoInfo usually is created on the stack, but boxed type can be useful
for bindings.
https://bugzilla.gnome.org/show_bug.cgi?id=752011
Stian Selnes [Thu, 2 Jul 2015 18:50:00 +0000 (20:50 +0200)]
rtcpbuffer: Fix validation of packets with padding
The padding (if any) is included in the length of the last packet, see
RFC 3550.
Section 6.4.1:
padding (P): 1 bit
If the padding bit is set, this individual RTCP packet contains
some additional padding octets at the end which are not part of
the control information but are included in the length field. The
last octet of the padding is a count of how many padding octets
should be ignored, including itself (it will be a multiple of
four).
Section A.2:
* The padding bit (P) should be zero for the first packet of a
compound RTCP packet because padding should only be applied, if it
is needed, to the last packet.
* The length fields of the individual RTCP packets must add up to
the overall length of the compound RTCP packet as received.
https://bugzilla.gnome.org/show_bug.cgi?id=751883
Stian Selnes [Wed, 1 Jul 2015 15:09:35 +0000 (17:09 +0200)]
videodecoder: Fix setting default pixel-aspect-ratio
It's needed to check if pixel-aspect-ratio exists before fixating.
It does not exist if input caps is not set yet and allowed caps
does not contain pixel-aspect-ratio (e.g. when using GST_VIDEO_CAPS_MAKE)
https://bugzilla.gnome.org/show_bug.cgi?id=751932
Stefan Sauer [Fri, 3 Jul 2015 19:58:04 +0000 (21:58 +0200)]
Automatic update of common submodule
From f74b2df to 9aed1d7
Stefan Sauer [Fri, 3 Jul 2015 19:16:27 +0000 (21:16 +0200)]
docs: order and canonicalize the -sections.txt file
Have all sections in alphabetical order. Also make the macro order consistent.
This is a preparation for generating the file. Remove GET_CLASS macro for
some elements, since it is not used and the header is not installed.
Stefan Sauer [Fri, 3 Jul 2015 19:09:29 +0000 (21:09 +0200)]
cdparanoiasrc: remove unused defines
Stefan Sauer [Fri, 3 Jul 2015 19:08:03 +0000 (21:08 +0200)]
videoscale: fix debug categories
Use a local category for the default category and fix the import for the
performance category.
Nicolas Dufresne [Thu, 2 Jul 2015 14:47:45 +0000 (10:47 -0400)]
basetextoverlay: Fix bug with unused upstream_has_meta
The intention was to skip the allocation query if upstream has decided
to use the overlay meta feature in the caps. We can safely assume that
upstream have done that query already before making this decision. This
is an optimization since doing allocation queries is relatively
expensive.
CID #1308943
Nicolas Dufresne [Thu, 2 Jul 2015 14:27:39 +0000 (10:27 -0400)]
Revert "basetextoverlay: remove dead code"
This reverts commit
e863e5f8a98ceec0ec0bd24274bbae8795e0ab75.
Luis de Bethencourt [Thu, 2 Jul 2015 13:52:47 +0000 (14:52 +0100)]
basetextoverlay: remove dead code
upstream_has_meta is set to FALSE and never changed. The two checks for if
upstream_has_meta will never go to the true branch. Removing the boolean
and the true branches of these checks.
CID #1308943
Sebastian Dröge [Thu, 2 Jul 2015 11:15:58 +0000 (13:15 +0200)]
audioencoder: Don't try to get buffers from an empty adapter
Sebastian Dröge [Wed, 1 Jul 2015 08:58:07 +0000 (10:58 +0200)]
{audio,video}{en,de}oder: Also copy POOL metas and make sure to copy over metas when creating subbuffers
POOL meta just means that this specific instance of the meta is related to a
pool, a copy should be made when reasonable and the flag should just not be
set in the copy.
Sebastian Dröge [Mon, 29 Jun 2015 16:00:17 +0000 (18:00 +0200)]
audiodecoder: Add transform_meta() vfunc with default implementation
The default implementation copies all metadata without tags, and metadata
with only the audio tag. Same behaviour as in GstAudioFilter.
https://bugzilla.gnome.org/show_bug.cgi?id=742385
Sebastian Dröge [Mon, 29 Jun 2015 15:38:38 +0000 (17:38 +0200)]
audioencoder: Add transform_meta() vfunc with default implementation
The default implementation copies all metadata without tags, and metadata
with only the audio tag. Same behaviour as in GstAudioFilter.
https://bugzilla.gnome.org/show_bug.cgi?id=742385
Sebastian Dröge [Mon, 29 Jun 2015 13:58:38 +0000 (15:58 +0200)]
videodecoder: Add transform_meta() vfunc with default implementation
The default implementation copies all metadata without tags, and metadata
with only the video tag. Same behaviour as in GstVideoFilter.
This currently does not work if the ::parse() vfunc is implemented as all
metas are getting lost inside GstAdapter.
https://bugzilla.gnome.org/show_bug.cgi?id=742385
Sebastian Dröge [Mon, 29 Jun 2015 11:59:25 +0000 (13:59 +0200)]
videoencoder: Add transform_meta() vfunc with default implementation
The default implementation copies all metadata without tags, and metadata
with only the video tag. Same behaviour as in GstVideoFilter.
https://bugzilla.gnome.org/show_bug.cgi?id=742385
Sebastian Dröge [Tue, 30 Jun 2015 08:37:27 +0000 (10:37 +0200)]
rtpbaseaudiopayload: Don't copy memory if not needed, just append payload to the RTP buffer
danny song [Mon, 29 Jun 2015 22:26:00 +0000 (07:26 +0900)]
playbin: remove unnecessary break
https://bugzilla.gnome.org/show_bug.cgi?id=751690
Luis de Bethencourt [Mon, 29 Jun 2015 15:16:06 +0000 (16:16 +0100)]
videoscaler: remove check for below zero for unsigned value
CLAMP checks both if value is '< 0' and '> max'. Value will never be a negative
number since it is a division of an unsigned integer (i). Removing that check
and only checking if it is bigger than max and setting it appropriately.
CID #1308950
Sebastian Dröge [Mon, 29 Jun 2015 11:06:59 +0000 (13:06 +0200)]
audioresample: Also copy metas if their API has no tags attached to it
This is the default basetransform behaviour, being more strict than that
is not really useful.
Sebastian Dröge [Mon, 29 Jun 2015 11:06:49 +0000 (13:06 +0200)]
audioconvert: Also copy metas if their API has no tags attached to it
This is the default basetransform behaviour, being more strict than that
is not really useful.
Sebastian Dröge [Mon, 29 Jun 2015 11:06:33 +0000 (13:06 +0200)]
audiofilter: Also copy metas if their API has no tags attached to it
This is the default basetransform behaviour, being more strict than that
is not really useful.
Sebastian Dröge [Mon, 29 Jun 2015 11:05:54 +0000 (13:05 +0200)]
videofilter: Also copy metas if their API has no tags attached to it
This is the default basetransform behaviour, being more strict than that
is not really useful.
Sebastian Dröge [Wed, 24 Jun 2015 22:04:11 +0000 (00:04 +0200)]
Back to development
Sebastian Dröge [Wed, 24 Jun 2015 21:24:01 +0000 (23:24 +0200)]
Release 1.5.2
Sebastian Dröge [Wed, 24 Jun 2015 20:49:29 +0000 (22:49 +0200)]
Update .po files
Sebastian Dröge [Wed, 24 Jun 2015 09:14:21 +0000 (11:14 +0200)]
po: Update translations
Song Bing [Wed, 17 Jun 2015 10:03:09 +0000 (18:03 +0800)]
streamsynchronizer: Unblock EOS wait when track switching.
sink_event () will blocked on EOS event. which will cause can't
send event when switch EOS track to non-EOS one.
https://bugzilla.gnome.org/show_bug.cgi?id=750761
Sebastian Dröge [Mon, 22 Jun 2015 18:54:18 +0000 (20:54 +0200)]
streamsynchronizer: Don't wait for sparse streams when doing stream switches
Their stream-start event might come a bit later, like just before the first
buffer... and queues might run full before that happens.
Sebastian Dröge [Mon, 22 Jun 2015 18:29:52 +0000 (20:29 +0200)]
streamsynchronizer: Add some more debug output
Sebastian Dröge [Mon, 22 Jun 2015 18:17:56 +0000 (20:17 +0200)]
streamsynchronizer: Reset group start time when flushing
We reset the group start time to the running time of the start of the other
streams that are not flushed. This fixes seeking in gapless mode after the
first track has played.
https://bugzilla.gnome.org/show_bug.cgi?id=750013
Sebastian Dröge [Mon, 22 Jun 2015 17:51:32 +0000 (19:51 +0200)]
rtspconnection: Only drop everything after the ; of a session header in requests
For responses it is actually allowed and used to signal the timeout to the
client!
https://bugzilla.gnome.org/show_bug.cgi?id=736267
Lyon Wang [Thu, 18 Jun 2015 09:38:09 +0000 (17:38 +0800)]
audioringbuffer: Fix alaw/mulaw channel positions
For alaw/mulaw we should also try to initialize the channel positions in the
ringbuffer's audio info. This allow pulsesink to directly use the channel
positions instead of using the default zero-initialized ones, which doesn't
work well.
https://bugzilla.gnome.org/show_bug.cgi?id=751144
Wim Taymans [Mon, 22 Jun 2015 14:53:06 +0000 (16:53 +0200)]
tests: fix cpp directives
Wim Taymans [Mon, 22 Jun 2015 13:59:42 +0000 (15:59 +0200)]
tests: add PPC64 abi struct sizes
Sebastian Dröge [Mon, 22 Jun 2015 12:51:07 +0000 (14:51 +0200)]
playbin: Reset suburi also when receiving an error message from the sub uridecodebin
http://bugzilla.gnome.org/show_bug.cgi?id=751118
Brijesh Singh [Wed, 17 Jun 2015 15:20:54 +0000 (10:20 -0500)]
playbin: free group->suburi on failure
If suburidecodebin is failed to negotiate (e.g file does not exist)
then free internal suburi variable so that 'current-suburi' property
returns correct status.
https://bugzilla.gnome.org/show_bug.cgi?id=751118
Guillaume Desmottes [Mon, 15 Jun 2015 14:08:10 +0000 (16:08 +0200)]
oggdemux: set building_chain to NULL when deactivating chain
The chain is about to be invalidated so we shouldn't keep it around.
Prevent a double free crash when the demuxer is being finalized.
https://bugzilla.gnome.org/show_bug.cgi?id=751000
Vineeth T M [Fri, 19 Jun 2015 10:51:25 +0000 (19:51 +0900)]
tools: gst-play: fix seeking issue
For positive seeking segment.stop value will be -1,
when we change rate to -1, then the stop value will be udpated
with the current position. And then again if we change rate to 1,
the segment.stop value does not get updated and remains as position
where we last changed rate to -1. Hence playback stops at that point.
In case of positive rates, call gst_element_new_seek with correct values
https://bugzilla.gnome.org/show_bug.cgi?id=751213
Nicolas Dufresne [Fri, 19 Jun 2015 01:02:48 +0000 (21:02 -0400)]
doc: Fix gsttrtphdrext section name
Nicolas Dufresne [Thu, 18 Jun 2015 22:23:45 +0000 (18:23 -0400)]
video: Add missing new symbol to win32 def file
Fixes make distcheck
Jan Schmidt [Thu, 18 Jun 2015 16:19:12 +0000 (02:19 +1000)]
Add gst_video_multiview_guess_half_aspect() to the docs
Jan Schmidt [Mon, 15 Jun 2015 06:04:55 +0000 (16:04 +1000)]
multiview: Add gst_video_multiview_guess_half_aspect()
Add a utility function that, given a video size and a
packed stereoscopic mode, attempts to guess if the video
is packed at half resolution per view or not, since
very few videos provide the information.
Wim Taymans [Wed, 17 Jun 2015 15:09:46 +0000 (17:09 +0200)]
video-converter: make sure we draw enough border for YUY2 formats
Round width up to 2 so that we draw all border pixels for YUY2 formats
Wim Taymans [Wed, 17 Jun 2015 14:43:03 +0000 (16:43 +0200)]
video-scaler: fix scaling of odd width for YUY2 formats
We need to scale groups of 4 bytes for YUY2 formats so round up to 4.
It's possible that there is no Y byte for the last pixel so make sure
we clamp correctly.
Thibault Saunier [Wed, 17 Jun 2015 08:02:08 +0000 (10:02 +0200)]
discoverer: Fix a wrong naming in the documentation
gst_discoverer_stream_get_missing_elements_installer_details does not
exist, one should use gst_discoverer_info_get_missing_elements_installer_details
Nicolas Dufresne [Tue, 16 Jun 2015 22:04:57 +0000 (18:04 -0400)]
gi: Use INTROSPECTION_INIT for --add-init-section
This new define was added to common. The new init section fixed
compilation warning found in the init line that was spread across
all files.
Nicolas Dufresne [Tue, 16 Jun 2015 21:47:24 +0000 (17:47 -0400)]
Automatic update of common submodule
From 6015d26 to f74b2df
Tim-Philipp Müller [Tue, 16 Jun 2015 21:32:49 +0000 (22:32 +0100)]
tools: gst-play: error out instead of crashing if there's no playbin element
Nicolas Dufresne [Tue, 16 Jun 2015 20:08:39 +0000 (16:08 -0400)]
gi: Skip Scaler, Chroma, Conveter, Dither constructor
Please box these types before removing the skip mark.
Nicolas Dufresne [Tue, 16 Jun 2015 20:07:27 +0000 (16:07 -0400)]
gi: Add (transfer none) for various video meta
These method chains gst_buffer_add_meta() which is also transfer
none.
Nicolas Dufresne [Tue, 16 Jun 2015 19:50:13 +0000 (15:50 -0400)]
gi: Fix warnings in GstRtsp
* The custom GSource is not boxed (skip for now)
* The comment block has wrong name for _read_socket()
Nicolas Dufresne [Tue, 16 Jun 2015 19:16:33 +0000 (15:16 -0400)]
gi: Don't produce gir and typlib for GstRiff
The API does not follow the type naming convention. Re-enable
only if one take the time to box and rename (see (rename-to SYMBOL)
annotation) all types.
Nicolas Dufresne [Tue, 16 Jun 2015 18:36:44 +0000 (14:36 -0400)]
gi: Skip fft constructor for now
These types have never been boxed, hence cannot be used
safely in interpreted languages. This fixes warnings.
Nicolas Dufresne [Tue, 16 Jun 2015 18:34:04 +0000 (14:34 -0400)]
gi: Fix warnings in libgstaudio
* Duplicate section
* Miss-named parameter
* Missing transfer none annotation for meta
Lazar Claudiu [Wed, 27 May 2015 09:20:19 +0000 (12:20 +0300)]
basetextoverlay: add "draw-shadow" and "draw-outline" properties
https://bugzilla.gnome.org/show_bug.cgi?id=749823
Tim-Philipp Müller [Sat, 13 Jun 2015 12:41:35 +0000 (13:41 +0100)]
videoencoder: fix gtk-doc chunk for new function
Nicolas Dufresne [Tue, 12 May 2015 18:12:52 +0000 (14:12 -0400)]
basetextoverlay: Rewrite negotiation method
This cleanup the negotiation function by properly splitting the probe
and the decisions. This allow handling correctly pipeline where upstream
caps have special memory type. An example pipeline is:
gltestsrc ! textoverlay text=bla ! fakesink
The upstream caps will be memory:GLMemory, which isn't supported by the
blitter.
https://bugzilla.gnome.org/show_bug.cgi?id=749243
Nicolas Dufresne [Fri, 5 Jun 2015 18:30:12 +0000 (14:30 -0400)]
xvimagesink: Don't share internal pool
Sharing the internal pool results in situation where the pool may have
two upstream owners. This creates 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
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.