Tim-Philipp Müller [Mon, 15 Jun 2015 22:40:44 +0000 (23:40 +0100)]
pcapparse: fix another regression
Introduced by
c4c9fe60b pcapparse: Take buffer directly from the adapter
Using gst_adapter_take_buffer_fast() can lead to buffers that are
made up of multiple memories with the first memory smaller than the
RTP header size, which violates assumptions GstRtpBaseDepayloader
makes, namely that the complete RTP header will be in the first
memory. This leads to such packets being dropped when feeding
them from pcapparse to RTP depayloaders. Use take_buffer() so
we get buffers with a single memory.
Stian Selnes [Thu, 2 Jul 2015 11:45:04 +0000 (13:45 +0200)]
tests: pcapparse: add unit test for frames with eth padding
https://bugzilla.gnome.org/show_bug.cgi?id=751879
Tim-Philipp Müller [Mon, 15 Jun 2015 11:55:39 +0000 (12:55 +0100)]
pcapparse: fix regression when handling packets with eth padding
Introduced by
c4c9fe60b pcapparse: Take buffer directly from the adapter
Flush any trailing bytes after the payload from the adapter as well,
otherwise we'll read a bogus packet size from the adapter next and
then everything goes downhill from there.
https://bugzilla.gnome.org/show_bug.cgi?id=751879
Sebastian Dröge [Thu, 2 Jul 2015 16:51:09 +0000 (18:51 +0200)]
openh264dec: Unref video frames and codec state in all cases
Julien Isorce [Thu, 2 Jul 2015 09:26:18 +0000 (10:26 +0100)]
gl: initialize output params to 0 before calling gl functions
The client side API of the Chromium's GPU Process has asserts
in debug mode that check that output params are initialized to 0.
Nicolas Dufresne [Fri, 26 Jun 2015 19:34:35 +0000 (15:34 -0400)]
gl: Don't leak pool if set_config failed
Nicolas Dufresne [Fri, 26 Jun 2015 19:33:33 +0000 (15:33 -0400)]
glfilter: Don't cache buffer pool
Caching and sharing to multiple element the same pool prevents
renegotiation from passthrough to not passthrough.
Sebastian Dröge [Thu, 2 Jul 2015 12:15:05 +0000 (14:15 +0200)]
openh264dec: Uninitializing the decoder can't fail and will always return 0 == cmResultSuccess
... but when we cast cmResultSuccess to a gboolean it will be FALSE, and make
GstVideoDecoder::stop() fail for no reason.
Vineeth TM [Thu, 2 Jul 2015 08:08:26 +0000 (17:08 +0900)]
glimagesink: use g_clear_error instead of g_error_free
replace g_error_free with g_clear_error, as it internally
checks if error variable is valid or not.
https://bugzilla.gnome.org/show_bug.cgi?id=751823
Vineeth TM [Thu, 2 Jul 2015 07:27:06 +0000 (16:27 +0900)]
amc: fix check whether we managed to acquire a buffer
https://bugzilla.gnome.org/show_bug.cgi?id=751821
Miguel París Díaz [Tue, 30 Jun 2015 13:52:18 +0000 (15:52 +0200)]
srtpdec: Add config for the replay window size
https://bugzilla.gnome.org/show_bug.cgi?id=751729
Florin Apostol [Tue, 30 Jun 2015 12:20:43 +0000 (13:20 +0100)]
dashdemux: corrected parsing of %u in segment templates
https://bugzilla.gnome.org/show_bug.cgi?id=751716
Florin Apostol [Mon, 29 Jun 2015 21:18:38 +0000 (22:18 +0100)]
dashdemux: corrected recognition of $$$ in segment templates
fixed recognition of $$ after a $ that ends an identifier, eg $Time$$$
https://bugzilla.gnome.org/show_bug.cgi?id=751682
Sebastian Dröge [Mon, 29 Jun 2015 16:50:09 +0000 (18:50 +0200)]
androidmedia: Call initialize_classes() also when we got the Java VM from the app
https://bugzilla.gnome.org/show_bug.cgi?id=751664
Luis de Bethencourt [Mon, 29 Jun 2015 15:10:39 +0000 (16:10 +0100)]
gl: add missing break
gst_gl_view_convert_element_set_property() is missing a break at the end
of the PROP_OUTPUT_DOWNMIX_MODE case. Adding it.
CID #1308949
Nicolas Dufresne [Fri, 26 Jun 2015 18:12:22 +0000 (14:12 -0400)]
glimagesink: Don't leak pool
gst_query_add_allocation_pool is transfer none. Also unref
if there was a configuration error.
Sangkyu Park [Fri, 26 Jun 2015 06:58:25 +0000 (15:58 +0900)]
mpegdemux: check pointer before dereferencing
gst_ps_demux_get_stream() could return NULL when it is unknown stream,
check this hasn't happened before dereferencing the returned pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=751528
Florin Apostol [Fri, 26 Jun 2015 12:09:54 +0000 (13:09 +0100)]
dashdemux: corrected next fragment duration validation
Before returning the next fragment duration value, the
gst_mpd_client_get_next_fragment_duration function tries to validate it.
But the condition was incorrect.
https://bugzilla.gnome.org/show_bug.cgi?id=751539
Sebastian Dröge [Thu, 25 Jun 2015 21:49:10 +0000 (23:49 +0200)]
adaptivedemux: Move unref() into the right scope
Sebastian Dröge [Thu, 25 Jun 2015 21:32:10 +0000 (23:32 +0200)]
adaptivedemux: Properly handle presentationTimeOffset for seeking and multi-period streams
Segment start/time/position/base should only be modified if this is the first
time we send a segment, otherwise we will override values from the seek
segment if new streams have to be exposed as part of the seek.
Segment base should be calculated from the segment start based on the stream's
own segment, not the demuxer's segment. Both might differ slightly because of
the presentationTimeOffset.
Always add the presentationTimeOffset (relative to the period start, not
timestamp 0) to the segment start after resetting the stream's segment based
on the demuxer's segment (i.e. after seeks or stream restart). Also make sure
to keep the stream's segment up to date and not just send a new segment event
without storing the segment in the stream.
https://bugzilla.gnome.org/show_bug.cgi?id=745455
Sebastian Dröge [Thu, 25 Jun 2015 21:24:50 +0000 (23:24 +0200)]
dashdemux: Subtract the period start time from the presentation offset
We're interested in the offset between the period start timestamp and the
actual media timestamp so that we can properly correct for it. The absolute
presentation offset to timestamp 0 is useless as the only thing we really
care about is the offset between the current fragment timestamp and the
media timestamp.
Sebastian Dröge [Thu, 25 Jun 2015 18:19:34 +0000 (20:19 +0200)]
dashdemux: Subtract the period start when seeking based on a template
Otherwise we will look for segments after the period usually. The seek
timestamp is relative to the start of the first period and we have to
select a segment relative to the current period's start.
Sebastian Dröge [Thu, 25 Jun 2015 18:09:14 +0000 (20:09 +0200)]
dashdemux: Include the period start in the fragment timestamps in all cases
We didn't do this for fragments that are generated on demand from a template,
only for the other cases when they were all generated upfront. This caused
fragment timestamps to start from 0 again for each new period.
Sebastian Dröge [Thu, 25 Jun 2015 21:23:58 +0000 (23:23 +0200)]
dashdemux: Seek on the new streams if the seek caused a period switch
Seeking on the old streams is pointless, they are going to be freed on the
next opportunity.
Florin Apostol [Thu, 25 Jun 2015 14:05:20 +0000 (15:05 +0100)]
dash: Correct check for valid timeShiftBufferDepth
If not set, the timeShiftBufferDepth has a default value of -1.
The standard says that this should be interpreted as infinite.
The gst_mpd_client_check_time_position function incorrectly compares
timeShiftBufferDepth with 0 instead of -1 to determine if it was set.
https://bugzilla.gnome.org/show_bug.cgi?id=751500
Luis de Bethencourt [Thu, 25 Jun 2015 10:02:41 +0000 (11:02 +0100)]
docs: decodebin2 -> decodebin
Ilya Konstantinov [Mon, 27 Apr 2015 12:09:18 +0000 (15:09 +0300)]
applemedia: enable sharing of CMBlockBuffer data
Instead of wrapping with GST_MEMORY_FLAG_NO_SHARE, we make the GstMemory
object retain the underlying CMBlockBuffer.
https://bugzilla.gnome.org/show_bug.cgi?id=751072
Ilya Konstantinov [Mon, 27 Apr 2015 12:02:59 +0000 (15:02 +0300)]
applemedia: CMBlockBuffer can be non-contiguous
CMBlockBufferGetDataLength would return the entire data length, while
size of individual blocks can be smaller. Iterate over the block buffer
and add the individual (possibly non-contiguous) memory blocks.
https://bugzilla.gnome.org/show_bug.cgi?id=751071
Florin Apostol [Wed, 24 Jun 2015 16:16:46 +0000 (17:16 +0100)]
dashdemux: Corrected duration argument for gst_mpd_client_add_media_segment call
The last parameter of gst_mpd_client_add_media_segment function is a
duration. But when called from gst_mpd_client_setup_representation, the
last argument was wrongly set to PeriodEnd
https://bugzilla.gnome.org/show_bug.cgi?id=751449
Florin Apostol [Wed, 24 Jun 2015 20:42:32 +0000 (21:42 +0100)]
dashdemux: incorrect use of period start
The period start information, calculated in gst_mpd_client_setup_media_presentation
function is stored in stream_period->start. The information read from
xml file and stored in stream_period->period->start is not changed.
If the xml file does not contain the period start information,
stream_period->period->start will be -1.
The function gst_mpd_client_get_next_segment_availability_end_time wants to
use period start time, but incorrectly uses stream_period->period->start
(value from xml file, which could be -1) instead of stream_period->start
(computed value)
https://bugzilla.gnome.org/show_bug.cgi?id=751465
Florin Apostol [Mon, 15 Jun 2015 16:18:41 +0000 (17:18 +0100)]
tests: dashdemux: renamed functions
Renamed 2 testcase functions:
- dash_mpdparser_program_information
- dash_mpdparser_base_URL
Sebastian Dröge [Wed, 24 Jun 2015 22:04:32 +0000 (00:04 +0200)]
Back to development
Sebastian Dröge [Wed, 24 Jun 2015 21:37:26 +0000 (23:37 +0200)]
Release 1.5.2
Sebastian Dröge [Wed, 24 Jun 2015 21:01:24 +0000 (23:01 +0200)]
Update .po files
Florin Apostol [Mon, 15 Jun 2015 16:30:26 +0000 (17:30 +0100)]
tests: dashdemux: added explicit type conversions
flexelint (http://www.gimpel.com/html/flex.htm) static code analyser
complained about implicit conversions from unsigned to signed, so I added
explicit conversions.
Ideally, the size parameter of gst_mpd_parse function should be unsigned,
but I don't want to change the API.
Florin Apostol [Mon, 15 Jun 2015 15:59:33 +0000 (16:59 +0100)]
tests: dashdemux: corrected return type for duration_to_ms function
The duration_to_ms function converts a time specified by year, month, day,
hour, minute, second, millisecond to a millisecond value. Because all the
arguments are positive numbers, the result must also be positive.
This patch changes the returned value from a gint64 to a guint64 type.
Sebastian Dröge [Wed, 24 Jun 2015 09:15:46 +0000 (11:15 +0200)]
po: Update translations
Sebastian Dröge [Tue, 23 Jun 2015 16:19:35 +0000 (18:19 +0200)]
adaptivedemux: Also update segment.base and segment.time when switching periods
And include the presentation offset in the last known position for each
stream, and just because we can also keep track of the latest known position
inside the demuxer segment.
Sebastian Dröge [Tue, 23 Jun 2015 14:46:39 +0000 (16:46 +0200)]
Revert "gl/window/x11: don't create our own X11 display"
This reverts commit
5697b6b89b4b2a15c45bd47be940a17f4412ea11.
https://bugzilla.gnome.org/show_bug.cgi?id=751003
Sebastian Dröge [Tue, 23 Jun 2015 12:16:39 +0000 (14:16 +0200)]
Revert "eagl: Don't dispatch_sync() to the main thread if we are on the main thread"
This reverts commit
0bff481011cf74c59869b511393d1696b570e3d5.
It wasn't supposed to be merged and also doesn't fix the problem.
Sebastian Dröge [Tue, 23 Jun 2015 11:13:49 +0000 (13:13 +0200)]
adaptivedemux: Remember the last return value of gst_adaptive_demux_stream_update_fragment_info()
It's going to return EOS if the period ended or otherwise there is just no
next fragment left. If we don't store the last return value, it will always
stay OK and gst_adaptive_demux_combine_flows() will always return OK instead
of EOS once all streams are done.
This partially switches period changes in DASH by at least trying to switch
instead of just stopping. What is still left is that after a period change
with DASH the times all start at 0 again instead of continuing.
Sebastian Dröge [Tue, 23 Jun 2015 09:05:06 +0000 (11:05 +0200)]
eagl: Don't dispatch_sync() to the main thread if we are on the main thread
This will otherwise deadlock.
https://bugzilla.gnome.org/show_bug.cgi?id=751101
John Ludwig [Tue, 23 Jun 2015 08:31:44 +0000 (10:31 +0200)]
gl: Include texParameterf in the GL function table
https://bugzilla.gnome.org/show_bug.cgi?id=751228
Vivia Nikolaidou [Fri, 29 May 2015 11:27:24 +0000 (14:27 +0300)]
error-ignore: New element to convert some GstFlowReturn types into others
Can be used to fix misbehaving sinks. It will pass through all buffers
until it encounters GST_FLOW_ERROR or GST_FLOW_NOT_NEGOTIATED (configurable).
At that point it will unref the buffers and return GST_FLOW_NOT_LINKED
(configurable) - until the next READY_TO_PAUSED or FLUSH_STOP.
https://bugzilla.gnome.org/show_bug.cgi?id=750098
Mathieu Duponchelle [Sat, 20 Jun 2015 11:36:27 +0000 (13:36 +0200)]
videoaggregator: simplifies and improves sink_get_caps.
The problem here was that after removing the formats and
all the things we could convert, we then intersected these
caps with the template caps.
Hence if a subclass offered permissive sink templates
(eg all the possible formats videoconvert handles), but only
one output format, then at negotiation time getcaps returned
caps with the format restricted to that format, even though
we do handle conversion.
https://bugzilla.gnome.org/show_bug.cgi?id=751255
Nicolas Dufresne [Mon, 22 Jun 2015 19:47:18 +0000 (15:47 -0400)]
motioncells: Port to g_get_current_time
This is more portable.
https://bugzilla.gnome.org/show_bug.cgi?id=751221
Ilya Konstantinov [Tue, 16 Jun 2015 14:18:52 +0000 (17:18 +0300)]
avfvideosrc: add frame rate range to caps
When AVFoundation indicates a supported frame rate range, add it to
the caps. This is important for devices such as the iPhone 6, which
indicate a single AVFrameRateRange of 2fps - 60fps.
https://bugzilla.gnome.org/show_bug.cgi?id=751048
Florin Apostol [Mon, 15 Jun 2015 16:37:42 +0000 (17:37 +0100)]
tests: dashdemux: added parsing of period element
Improved dash_mpd unit tests by adding new tests that parse the Period element.
Code coverage reported by lcov for dash/gstmpdparser.c is:
lines......: 43.0% (985 of 2290 lines)
functions..: 47.5% (67 of 141 functions)
Julien Isorce [Mon, 22 Jun 2015 13:06:04 +0000 (14:06 +0100)]
glmemory: fix consistency about pbo availability.
https://bugzilla.gnome.org/show_bug.cgi?id=751165
Florin Apostol [Mon, 15 Jun 2015 16:34:48 +0000 (17:34 +0100)]
tests: dashdemux: extended MPD element test to test xml namespaces
Extended the dash_mpdparser_mpd testcase to also test parsing the xml
namespace attribute.
https://bugzilla.gnome.org/show_bug.cgi?id=750863
Mersad Jelacic [Mon, 15 Jun 2015 11:43:53 +0000 (13:43 +0200)]
opusenc: Add bitrate to the tags
https://bugzilla.gnome.org/show_bug.cgi?id=750992
Florin Apostol [Mon, 15 Jun 2015 11:59:55 +0000 (12:59 +0100)]
dashdemux: corrected computation of period's duration
According to ISO/IEC 23009-1:2014(E), chapter 5.3.2.1
"The Period extends until the PeriodStart of the next Period, or until
the end of the Media Presentation in the case of the last Period."
This means that a configured value for optional attribute period duration
should be ignored if the next period contains a start attribute or it is
the last period and the MPD contains a mediaPresentationDuration attribute.
https://bugzilla.gnome.org/show_bug.cgi?id=750797
Wim Taymans [Mon, 22 Jun 2015 11:29:25 +0000 (13:29 +0200)]
bayer: update ORC files
Update ORC files with newest ORC to fix backup code generation error.
Tim-Philipp Müller [Mon, 22 Jun 2015 09:49:50 +0000 (10:49 +0100)]
irtspparse: reflow code to avoid uninitialized variable warning
This should hopefully allow even the most challenged static
code analyzer to figure out that it's all fine. Also makes
the flow clearer.
https://bugzilla.gnome.org/show_bug.cgi?id=751305
Vineeth TM [Mon, 22 Jun 2015 01:58:00 +0000 (10:58 +0900)]
tsmux: code style fix
trivial patch to add proper ( while checking for if(G_UNLIKELY())
https://bugzilla.gnome.org/show_bug.cgi?id=751305
Tim-Philipp Müller [Mon, 22 Jun 2015 08:23:12 +0000 (09:23 +0100)]
uvch264src: fix small leak in caps query handler
gst_query_set_caps_result() does not take ownership of the caps.
Vineeth TM [Mon, 22 Jun 2015 02:03:15 +0000 (11:03 +0900)]
uvch264_src: add missing break in caps query handler
There is a missing break statement in switch,
which will result in executing default case as well
resulting in wrong behavior
https://bugzilla.gnome.org/show_bug.cgi?id=751305
Tim-Philipp Müller [Mon, 22 Jun 2015 08:08:00 +0000 (09:08 +0100)]
mpeg1sys: remove ancient plugin that's never even been ported to 0.8
Tim-Philipp Müller [Sun, 21 Jun 2015 16:13:07 +0000 (17:13 +0100)]
codecparsers: jpeg: add some padding to ScanHdr struct
For bits that we don't parse out at the moment.
Tim-Philipp Müller [Sun, 21 Jun 2015 16:03:52 +0000 (17:03 +0100)]
codecparsers: jpeg: add new API to .def file
Tim-Philipp Müller [Sun, 21 Jun 2015 13:58:17 +0000 (14:58 +0100)]
codecparsers: jpeg: fix docs for table parsing functions
Tim-Philipp Müller [Sun, 21 Jun 2015 12:55:29 +0000 (13:55 +0100)]
docs: add new JPEG codecparser API to the docs
And sprinkle some more Since markers
Tim-Philipp Müller [Sun, 21 Jun 2015 10:51:38 +0000 (11:51 +0100)]
examples: move vp8 parser test to codecparser example directory
Tim-Philipp Müller [Sun, 21 Jun 2015 10:20:57 +0000 (11:20 +0100)]
examples: add small jpeg codecparser test
https://bugzilla.gnome.org/show_bug.cgi?id=673925
Tim-Philipp Müller [Sat, 20 Jun 2015 21:49:23 +0000 (22:49 +0100)]
codecparsers: jpeg: fix validity checking of data parsed
g_return_val_if_fail() and g_assert() are not appropriate
for checking untrusted external data.
https://bugzilla.gnome.org/show_bug.cgi?id=673925
Tim-Philipp Müller [Sat, 20 Jun 2015 18:52:42 +0000 (19:52 +0100)]
codecparsers: jpeg: fix up API
- add data pointer to GstJpegSegment and pass segment
to all parsing functions, rename accordingly
- shorten GstJpegMarkerCode enum type name to GstJpegMarker
- move function gtk-doc blurbs into .c file
- add since markers
- flesh out docs for SOF markers
https://bugzilla.gnome.org/show_bug.cgi?id=673925
Tim-Philipp Müller [Sun, 14 Jun 2015 10:41:52 +0000 (11:41 +0100)]
codecparsers: jpeg: tweak API a little
https://bugzilla.gnome.org/show_bug.cgi?id=673925
Tim-Philipp Müller [Sun, 14 Jun 2015 18:01:12 +0000 (19:01 +0100)]
codecparsers: jpeg: hide gst_jpeg_scan_for_marker_code()
Make this function private for now, since it's unclear whether
it's actually needed seeing that gst_jpeg_parse() scans too.
https://bugzilla.gnome.org/show_bug.cgi?id=673925
Gwenole Beauchesne [Tue, 24 Sep 2013 14:10:45 +0000 (16:10 +0200)]
codecparsers: jpeg: fix and optimize scan for next marker code.
Fix scan for next marker code when there is an odd number of filler
(0xff) bytes before the actual marker code. Also optimize the loop
to execute with fewer instructions (~10%).
This fixes parsing for Spectralfan.mov.
Gwenole Beauchesne [Wed, 18 Sep 2013 13:56:52 +0000 (15:56 +0200)]
codecparsers: jpeg: fix calculation of segment size.
The size of a marker segment is defined to be exclusive of any initial
marker code. So, fix the size for SOI, EOI and APPn segments but also
the size of any possible segment that is usually "reserved" or not
explicitly defined.
https://bugzilla.gnome.org/show_bug.cgi?id=707447
Wind Yuan [Thu, 13 Jun 2013 05:22:18 +0000 (13:22 +0800)]
codecparsers: jpeg: fix default Huffman tables generation.
Fix build_huffman_table() to correctly fill in the associated HUFFVAL
entries to the default Huffman tables.
Gwenole Beauchesne [Wed, 12 Sep 2012 08:40:06 +0000 (10:40 +0200)]
codecparsers: jpeg: add JPEG bitstream parser
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=673925
Tim-Philipp Müller [Sat, 20 Jun 2015 15:07:57 +0000 (16:07 +0100)]
h264parse: fix typo in log message
Julien Isorce [Mon, 15 Jun 2015 15:09:54 +0000 (16:09 +0100)]
gldisplay: add gst_gl_display_create_context
It also emits a create-context signal so that an application
can provide an external GstGLContext backend.
https://bugzilla.gnome.org/show_bug.cgi?id=750310
Julien Isorce [Mon, 15 Jun 2015 15:36:26 +0000 (16:36 +0100)]
glcontext: move display from priv
https://bugzilla.gnome.org/show_bug.cgi?id=750310
Julien Isorce [Thu, 18 Jun 2015 09:55:28 +0000 (10:55 +0100)]
Revert "glcontext: add gst_gl_context_set_display helper"
This reverts commit
71b8103cbd16fff9cf5a65cf517083cb794aa3b5.
Julien Isorce [Thu, 18 Jun 2015 09:52:18 +0000 (10:52 +0100)]
Revert "gl: add GstGLContextGPUProcess backend"
This reverts commit
b377112ee38912d316e77b4e2102041389dc0051.
Jan Schmidt [Fri, 19 Jun 2015 04:35:37 +0000 (14:35 +1000)]
glimagesink: Remove duplicate, useless line of code
Nicolas Dufresne [Fri, 19 Jun 2015 02:11:05 +0000 (22:11 -0400)]
opengl: glstero* are only built with full OpenGL
Don't try to register the elements unless they are built.
Nicolas Dufresne [Fri, 19 Jun 2015 01:09:24 +0000 (21:09 -0400)]
style: Remove white spaces at the end of line
Nicolas Dufresne [Thu, 18 Jun 2015 22:09:55 +0000 (18:09 -0400)]
glviewconvert: Fix GLES2 compatibility
Nicolas Dufresne [Thu, 18 Jun 2015 22:02:21 +0000 (18:02 -0400)]
glviewconvert: Fix broken validity check
Jan Schmidt [Mon, 15 Jun 2015 06:06:41 +0000 (16:06 +1000)]
h264parse: Move PAR calcs, and use them for stereoscopic half-aspect
Move the pixel-aspect-ratio calculations higher up in caps
determination, so the results are available for a call to
gst_video_multiview_guess_half_aspect() when stereoscopic video
is detected.
Jan Schmidt [Fri, 29 May 2015 17:09:17 +0000 (03:09 +1000)]
3dvideo: Add simple gtk example stereoscopic video player
https://bugzilla.gnome.org/show_bug.cgi?id=611157
Jan Schmidt [Fri, 29 May 2015 16:29:04 +0000 (02:29 +1000)]
gl: Add glviewconvert, glstereomix and glstereosplit elements
Conversion elements for transforming multiview/stereoscopic video
https://bugzilla.gnome.org/show_bug.cgi?id=611157
Jan Schmidt [Fri, 29 May 2015 16:26:32 +0000 (02:26 +1000)]
glimagesink: Support multiview/stereoscopic video
Support video with multiview info in the caps, transform
it to mono anaglyph by default, but allow for configuring
other output modes and handoff to the app via
the draw signal.
https://bugzilla.gnome.org/show_bug.cgi?id=611157
Jan Schmidt [Fri, 29 May 2015 16:21:43 +0000 (02:21 +1000)]
gl libs: Add glviewconvert helper object
Add API for a helper object that can convert between different
stereoscopic video representations, and later do filtering
of multiple view streams.
https://bugzilla.gnome.org/show_bug.cgi?id=611157
Florin Apostol [Thu, 18 Jun 2015 15:20:26 +0000 (16:20 +0100)]
dashdemux: added warnings in gst_mpd_client_setup_streaming function
Added some warning messages in gst_mpd_client_setup_streaming to help
debug situations when the function will return FALSE.
Renamed a wrongly spelled variable.
https://bugzilla.gnome.org/show_bug.cgi?id=751149
Florin Apostol [Thu, 18 Jun 2015 11:21:43 +0000 (12:21 +0100)]
dashdemux: corrected comments in gstmpdparser.h
Corrected some comments in gstmpdparser.h file.
Moved gst_mpd_client_get_adaptation_sets function to be grouped with
other functions from AdaptationSet group
https://bugzilla.gnome.org/show_bug.cgi?id=751149
Florin Apostol [Thu, 18 Jun 2015 12:08:25 +0000 (13:08 +0100)]
dashdemux: fixed getting representation based on max bandwidth
The gst_mpdparser_get_rep_idx_with_max_bandwidth function assumes
representations are ordered by bandwidth and incorrectly returns the
first one when wanting the one with minimum bandwidth.
Corrected gst_mpdparser_get_rep_idx_with_max_bandwidth function to get the
correct representation in case max_bandwidth parameter is 0.
https://bugzilla.gnome.org/show_bug.cgi?id=751153
Sebastian Dröge [Thu, 18 Jun 2015 12:38:04 +0000 (14:38 +0200)]
androidmedia: Allow the application to provide the Java VM
In JNI_OnLoad() we will already get the Java VM passed and could
just directly use that. gstreamer_android-1.0.c will now provide
this to us.
Reason for this is that apparently not all Android system are
providing the JNI functions to get the currently running Java VMs, so
we would fail to get. With this we will always be able to get the Java
VM on such systems.
Sebastian Dröge [Thu, 18 Jun 2015 12:31:39 +0000 (14:31 +0200)]
androidmedia: Prefer software codecs over hardware codecs for audio
Hardware codecs don't make sense for audio and are generally less reliable on
Android than the software codecs.
Sebastian Dröge [Thu, 18 Jun 2015 12:29:33 +0000 (14:29 +0200)]
androidmedia: Failing to detach a thread is not that much of a problem
Someone else might have detached it before us, so make this just normal debug
output instead of a GST_ERROR()
Sebastian Dröge [Thu, 18 Jun 2015 08:43:53 +0000 (10:43 +0200)]
androidmedia: Don't fail if JNI_CreateJavaVM can't be found
We only need that if no Java VM is running yet, and all usual cases,
i.e. when calling GStreamer from an actual Android app, there will already
be a Java VM we can just use.
It seems like some phones come without that symbol, let's hope they come
with the other symbol but for now don't make a missing JNI_CreateJavaVM fatal.
Alessandro Decina [Thu, 18 Jun 2015 05:59:18 +0000 (12:59 +0700)]
fpsdisplaysink: get rendered and dropped stats from QOS messages
Use QOS messages to update rendered and dropped frame stats. This is
the only accurate method. The old method didn't take max-lateness and
latency into account.
Vineeth TM [Wed, 17 Jun 2015 01:44:16 +0000 (10:44 +0900)]
nalutils: trivial patch to check if
trivial patch to add proper ( while checking for if(G_UNLIKELY())
https://bugzilla.gnome.org/show_bug.cgi?id=751087
Nicolas Dufresne [Tue, 16 Jun 2015 21:48:51 +0000 (17:48 -0400)]
Automatic update of common submodule
From 6015d26 to f74b2df
Sebastian Dröge [Mon, 15 Jun 2015 19:32:43 +0000 (21:32 +0200)]
gtkglwidget: Const'ify another array
Sebastian Dröge [Mon, 15 Jun 2015 19:29:46 +0000 (21:29 +0200)]
gtkglwidget: Calculate the viewport size ourselves
Getting the current viewport and modifying it relatively will produce an
interesting feedback loop during widget resizing. Over a few frames we
will gradually move the viewport a bit until it converged again, adding
unnecessary additional borders at the top and left.
Sebastian Dröge [Mon, 15 Jun 2015 19:24:01 +0000 (21:24 +0200)]
gtk: Use the display width/height for the widget's preferred width/height