platform/upstream/gstreamer.git
9 years agoUpdate .po files
Sebastian Dröge [Wed, 24 Jun 2015 21:01:24 +0000 (23:01 +0200)]
Update .po files

9 years agotests: dashdemux: added explicit type conversions
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.

9 years agotests: dashdemux: corrected return type for duration_to_ms function
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.

9 years agopo: Update translations
Sebastian Dröge [Wed, 24 Jun 2015 09:15:46 +0000 (11:15 +0200)]
po: Update translations

9 years agoadaptivedemux: Also update segment.base and segment.time when switching periods
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.

9 years agoRevert "gl/window/x11: don't create our own X11 display"
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

9 years agoRevert "eagl: Don't dispatch_sync() to the main thread if we are on the main thread"
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.

9 years agoadaptivedemux: Remember the last return value of gst_adaptive_demux_stream_update_fra...
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.

9 years agoeagl: Don't dispatch_sync() to the main thread if we are on the main thread
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

9 years agogl: Include texParameterf in the GL function table
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

9 years agoerror-ignore: New element to convert some GstFlowReturn types into others
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

9 years agovideoaggregator: simplifies and improves sink_get_caps.
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

9 years agomotioncells: Port to g_get_current_time
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

9 years agoavfvideosrc: add frame rate range to caps
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

9 years agotests: dashdemux: added parsing of period element
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)

9 years agoglmemory: fix consistency about pbo availability.
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

9 years agotests: dashdemux: extended MPD element test to test xml namespaces
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

9 years agoopusenc: Add bitrate to the tags
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

9 years agodashdemux: corrected computation of period's duration
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

9 years agobayer: update ORC files
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.

9 years agoirtspparse: reflow code to avoid uninitialized variable warning
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

9 years agotsmux: code style fix
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

9 years agouvch264src: fix small leak in caps query handler
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.

9 years agouvch264_src: add missing break in caps query handler
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

9 years agompeg1sys: remove ancient plugin that's never even been ported to 0.8
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

9 years agocodecparsers: jpeg: add some padding to ScanHdr struct
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.

9 years agocodecparsers: jpeg: add new API to .def file
Tim-Philipp Müller [Sun, 21 Jun 2015 16:03:52 +0000 (17:03 +0100)]
codecparsers: jpeg: add new API to .def file

9 years agocodecparsers: jpeg: fix docs for table parsing functions
Tim-Philipp Müller [Sun, 21 Jun 2015 13:58:17 +0000 (14:58 +0100)]
codecparsers: jpeg: fix docs for table parsing functions

9 years agodocs: add new JPEG codecparser API to the docs
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

9 years agoexamples: move vp8 parser test to codecparser example directory
Tim-Philipp Müller [Sun, 21 Jun 2015 10:51:38 +0000 (11:51 +0100)]
examples: move vp8 parser test to codecparser example directory

9 years agoexamples: add small jpeg codecparser test
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

9 years agocodecparsers: jpeg: fix validity checking of data parsed
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

9 years agocodecparsers: jpeg: fix up API
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

9 years agocodecparsers: jpeg: tweak API a little
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

9 years agocodecparsers: jpeg: hide gst_jpeg_scan_for_marker_code()
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

9 years agocodecparsers: jpeg: fix and optimize scan for next marker code.
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.

9 years agocodecparsers: jpeg: fix calculation of segment size.
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

9 years agocodecparsers: jpeg: fix default Huffman tables generation.
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.

9 years agocodecparsers: jpeg: add JPEG bitstream parser
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

9 years agoh264parse: fix typo in log message
Tim-Philipp Müller [Sat, 20 Jun 2015 15:07:57 +0000 (16:07 +0100)]
h264parse: fix typo in log message

9 years agogldisplay: add gst_gl_display_create_context
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

9 years agoglcontext: move display from priv
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

9 years agoRevert "glcontext: add gst_gl_context_set_display helper"
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.

9 years agoRevert "gl: add GstGLContextGPUProcess backend"
Julien Isorce [Thu, 18 Jun 2015 09:52:18 +0000 (10:52 +0100)]
Revert "gl: add GstGLContextGPUProcess backend"

This reverts commit b377112ee38912d316e77b4e2102041389dc0051.

9 years agoglimagesink: Remove duplicate, useless line of code
Jan Schmidt [Fri, 19 Jun 2015 04:35:37 +0000 (14:35 +1000)]
glimagesink: Remove duplicate, useless line of code

9 years agoopengl: glstero* are only built with full OpenGL
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.

9 years agostyle: Remove white spaces at the end of line
Nicolas Dufresne [Fri, 19 Jun 2015 01:09:24 +0000 (21:09 -0400)]
style: Remove white spaces at the end of line

9 years agoglviewconvert: Fix GLES2 compatibility
Nicolas Dufresne [Thu, 18 Jun 2015 22:09:55 +0000 (18:09 -0400)]
glviewconvert: Fix GLES2 compatibility

9 years agoglviewconvert: Fix broken validity check
Nicolas Dufresne [Thu, 18 Jun 2015 22:02:21 +0000 (18:02 -0400)]
glviewconvert: Fix broken validity check

9 years agoh264parse: Move PAR calcs, and use them for stereoscopic half-aspect
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.

9 years ago3dvideo: Add simple gtk example stereoscopic video player
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

9 years agogl: Add glviewconvert, glstereomix and glstereosplit elements
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

9 years agoglimagesink: Support multiview/stereoscopic video
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

9 years agogl libs: Add glviewconvert helper object
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

9 years agodashdemux: added warnings in gst_mpd_client_setup_streaming function
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

9 years agodashdemux: corrected comments in gstmpdparser.h
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

9 years agodashdemux: fixed getting representation based on max bandwidth
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

9 years agoandroidmedia: Allow the application to provide the Java VM
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.

9 years agoandroidmedia: Prefer software codecs over hardware codecs for audio
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.

9 years agoandroidmedia: Failing to detach a thread is not that much of a problem
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()

9 years agoandroidmedia: Don't fail if JNI_CreateJavaVM can't be found
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.

9 years agofpsdisplaysink: get rendered and dropped stats from QOS messages
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.

9 years agonalutils: trivial patch to check if
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

9 years agoAutomatic update of common submodule
Nicolas Dufresne [Tue, 16 Jun 2015 21:48:51 +0000 (17:48 -0400)]
Automatic update of common submodule

From 6015d26 to f74b2df

9 years agogtkglwidget: Const'ify another array
Sebastian Dröge [Mon, 15 Jun 2015 19:32:43 +0000 (21:32 +0200)]
gtkglwidget: Const'ify another array

9 years agogtkglwidget: Calculate the viewport size ourselves
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.

9 years agogtk: Use the display width/height for the widget's preferred width/height
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

9 years agogtksink: Add support for xRGB/BGRx
Sebastian Dröge [Mon, 15 Jun 2015 18:45:11 +0000 (20:45 +0200)]
gtksink: Add support for xRGB/BGRx

9 years agogtk: Cairo color formats are in native endianness, GStreamer's in memory order
Sebastian Dröge [Mon, 15 Jun 2015 18:39:59 +0000 (20:39 +0200)]
gtk: Cairo color formats are in native endianness, GStreamer's in memory order

CAIRO_FORMAT_ARGB32 is ARGB on big endian and BGRA on little endian.

9 years agogtk: Implement ignore-alpha property and enable it by default
Sebastian Dröge [Mon, 15 Jun 2015 18:35:38 +0000 (20:35 +0200)]
gtk: Implement ignore-alpha property and enable it by default

9 years agogtk: Sync properties from the sink to the widget upon widget creation
Sebastian Dröge [Mon, 15 Jun 2015 18:13:57 +0000 (20:13 +0200)]
gtk: Sync properties from the sink to the widget upon widget creation

9 years agompegtsmux: Remove redundant min_dts
Nicolas Dufresne [Mon, 15 Jun 2015 14:08:57 +0000 (10:08 -0400)]
mpegtsmux: Remove redundant min_dts

After few iteration, this variable became the same as dts. It's not
the min as the name says, but the dts of the current buffer. Simply
remove and place with dts. Also move the debug trace to actually
print the signed version of the running-time dts.

9 years agoglimagesink: add missing handle-events/ignore-alpha property to the bin
Matthew Waters [Mon, 15 Jun 2015 12:43:54 +0000 (22:43 +1000)]
glimagesink: add missing handle-events/ignore-alpha property to the bin

9 years agogtk: implement pixel and display aspect ratio handling
Matthew Waters [Mon, 15 Jun 2015 08:28:37 +0000 (18:28 +1000)]
gtk: implement pixel and display aspect ratio handling

9 years agovideoaggregator: Print some debug output if we change the timestamp offset
Sebastian Dröge [Mon, 15 Jun 2015 12:29:04 +0000 (14:29 +0200)]
videoaggregator: Print some debug output if we change the timestamp offset

9 years agovideoaggregator: Add some more debug output
Sebastian Dröge [Mon, 15 Jun 2015 12:25:43 +0000 (14:25 +0200)]
videoaggregator: Add some more debug output

9 years agoandroidmedia: Move variables into the scope where they are needed
Sebastian Dröge [Mon, 15 Jun 2015 12:22:00 +0000 (14:22 +0200)]
androidmedia: Move variables into the scope where they are needed

9 years agovideoaggregator: Don't update the ts-offset before updating the actual configured...
Sebastian Dröge [Mon, 15 Jun 2015 12:19:05 +0000 (14:19 +0200)]
videoaggregator: Don't update the ts-offset before updating the actual configured caps

9 years agovideoaggregator: Remember if the last LATENCY query returned live or not and use...
Sebastian Dröge [Mon, 15 Jun 2015 12:18:39 +0000 (14:18 +0200)]
videoaggregator: Remember if the last LATENCY query returned live or not and use the in the QoS messages

9 years agoandroidmedia: Don't query supported color formats for non-video codecs
Sebastian Dröge [Mon, 15 Jun 2015 10:20:24 +0000 (12:20 +0200)]
androidmedia: Don't query supported color formats for non-video codecs

9 years agompegtsmux: fix build error
Vineeth TM [Mon, 15 Jun 2015 01:34:56 +0000 (10:34 +0900)]
mpegtsmux: fix build error

after e000a6f0a4984fbe81190df6cd439c70dafde3d6, there is build error in bad plugins
this happens because, GST_CLOCK_STIME_IS_VALID () is being checked for pad_data
but it expects a GstClockTime parameter. Changing the check to 'dts'

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

9 years agogl/examples: update qt examples for api changes
Matthew Waters [Mon, 15 Jun 2015 06:47:15 +0000 (16:47 +1000)]
gl/examples: update qt examples for api changes

9 years agogtk: silence unused variable warnings for unsupported winsys'
Matthew Waters [Mon, 15 Jun 2015 04:35:35 +0000 (14:35 +1000)]
gtk: silence unused variable warnings for unsupported winsys'

9 years agogtk: implement basic wayland GL support
Matthew Waters [Mon, 15 Jun 2015 04:33:08 +0000 (14:33 +1000)]
gtk: implement basic wayland GL support

9 years agocompositor: update zorder documentation.
Mathieu Duponchelle [Sun, 14 Jun 2015 21:20:38 +0000 (23:20 +0200)]
compositor: update zorder documentation.

It is not bound between 0 and 10000 anymore.

9 years agovideoaggregator: No need to artificially bound the zorder.
Mathieu Duponchelle [Sun, 14 Jun 2015 21:13:59 +0000 (23:13 +0200)]
videoaggregator: No need to artificially bound the zorder.

It is an unsigned integer so the upper bound is G_MAXUINT.

9 years agocodecparsers: mpeg4: actually return full number of bits of resync marker
Luis de Bethencourt [Wed, 29 Oct 2014 15:03:04 +0000 (15:03 +0000)]
codecparsers: mpeg4: actually return full number of bits of resync marker

Switch the increment of markersize from when it is used to when it is
returned from compute_resync_marker_size.

This also makes the CHECK_REMAINING in gst_mpeg4_parse_video_packet_header
check for the actually required number of bits now and not one too few.

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

9 years agoRevert "codecparsers: remove ignored increment of return"
Tim-Philipp Müller [Sat, 13 Jun 2015 16:36:20 +0000 (17:36 +0100)]
Revert "codecparsers: remove ignored increment of return"

This reverts commit 916b954315abc2f94348ec0be3e116c19b080b54.

Clearly something else was intended, and it also makes
more sense to add the extra bit. The resync marker is
N zero bits plus a 1 bit, and the pattern/mask needs to
be run on N+1 bits too.

(Even after the rever the code doesn't do that of course, so
it still needs to be fixed differently.)

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

9 years agoopensles: Fix build with Android API level < 14
Arun Raghavan [Fri, 12 Jun 2015 12:38:44 +0000 (18:08 +0530)]
opensles: Fix build with Android API level < 14

Headers were broken on older Android versions, apparently.

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

9 years agoopenslessink: Allow setting the stream type via a property
Arun Raghavan [Wed, 28 Jan 2015 07:36:39 +0000 (13:06 +0530)]
openslessink: Allow setting the stream type via a property

9 years agoopenslessrc: Implement recording presets
Arun Raghavan [Tue, 27 Jan 2015 09:55:59 +0000 (15:25 +0530)]
openslessrc: Implement recording presets

This allows us to signal what kind of audio we are expecting to record,
which should tell the system to apply filters (such as echo
cancellation, noise suppression, etc.) if required.

9 years agodecklinkvideosink: Remove late frame-dropping workaround for basesink bug
Sebastian Dröge [Sat, 13 Jun 2015 09:40:14 +0000 (11:40 +0200)]
decklinkvideosink: Remove late frame-dropping workaround for basesink bug

This was fixed by https://bugzilla.gnome.org/show_bug.cgi?id=749258
in basesink, and is not necessary to duplicate here anymore.

9 years agoglmixerbin: implement proper dynamic pad removal
Matthew Waters [Sat, 13 Jun 2015 08:43:04 +0000 (18:43 +1000)]
glmixerbin: implement proper dynamic pad removal

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

9 years agoglimagesink: Don't do pool caching
Nicolas Dufresne [Sat, 13 Jun 2015 00:14:37 +0000 (20:14 -0400)]
glimagesink: Don't do pool caching

We now know that pool caching can cause renegotiation issues
when an element in the pipeline change from passthrough to not
passthrough. As it's not needed, don't cache existing pools.

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

9 years agoconfigure.ac: Remove reference to cvs
Nicolas Dufresne [Fri, 12 Jun 2015 22:08:40 +0000 (18:08 -0400)]
configure.ac: Remove reference to cvs

9 years agotsdemux: Segment start should match first PTS
Nicolas Dufresne [Wed, 10 Jun 2015 21:05:52 +0000 (17:05 -0400)]
tsdemux: Segment start should match first PTS

The segment should start at first PTS, and the vairable name lower_pts
state so correctly. Though we where using the first DTS instead. This
could lead to small desynchronization of video stream.

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

9 years agotsmux: Add negative DTS support
Nicolas Dufresne [Wed, 10 Jun 2015 16:32:34 +0000 (12:32 -0400)]
tsmux: Add negative DTS support

Use the saved DTS, make it signed and pass that to the stream muxer. This
preserves the running time sign. All usage of -1 as invalid TS are now
replaced with G_MININT64. Negative values will be seen as wrap-around
point, but the delta between PTS and DTS will remain correct. Demuxers
don't care about absolute values, they only cares about deltas.

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

9 years agotsmux: Remove uneeded cast and cast macro
Nicolas Dufresne [Wed, 10 Jun 2015 16:31:13 +0000 (12:31 -0400)]
tsmux: Remove uneeded cast and cast macro

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

9 years agompegtsmux: Properly detect backward DTS
Nicolas Dufresne [Wed, 10 Jun 2015 15:39:01 +0000 (11:39 -0400)]
mpegtsmux: Properly detect backward DTS

There was code to detect backward dts, but the marker min_dts
was never set. Setting it enable this feature that prevents
potential integer overflow when generating TS.

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

9 years agodashdemux: fixed segfault for missing default namespace
Florin Apostol [Fri, 12 Jun 2015 15:44:55 +0000 (16:44 +0100)]
dashdemux: fixed segfault for missing default namespace

Added a check for a_node->ns before accessing a_node->ns->href in
gst_mpdparser_get_xml_node_namespace. This could happen if the xml
is missing the default namespace.

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