platform/upstream/gstreamer.git
10 years agoopencv: make the plugin compile with all 2.4.x versions
Nicola Murino [Tue, 20 May 2014 05:18:39 +0000 (07:18 +0200)]
opencv: make the plugin compile with all 2.4.x versions

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

10 years agodvb/cam*: use g_strerror and other few nits
Reynaldo H. Verdejo Pinochet [Tue, 27 May 2014 02:34:01 +0000 (22:34 -0400)]
dvb/cam*: use g_strerror and other few nits

10 years agodvbbasebin: fix dvbsrc signal proxying
Reynaldo H. Verdejo Pinochet [Fri, 30 May 2014 15:00:06 +0000 (11:00 -0400)]
dvbbasebin: fix dvbsrc signal proxying

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

10 years agodvbbasebin: proxy new props/signals from dvbsrc
Reynaldo H. Verdejo Pinochet [Fri, 30 May 2014 04:49:49 +0000 (00:49 -0400)]
dvbbasebin: proxy new props/signals from dvbsrc

Proxy tuning start/done/fail signals and tuning-timeout
property.

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

10 years agodvbsrc: smarten up tuning logic
Reynaldo H. Verdejo Pinochet [Thu, 1 May 2014 22:25:05 +0000 (18:25 -0400)]
dvbsrc: smarten up tuning logic

* Drop remaining sleep() logic in favor of polling
* Use best guess delivery system if none is set
* Make tuning/locking timeout configurable
* Add signals for tuning start, done and fail
* Drop gst_dvbsrc_frontend_status(). It was used only
  for signal LOCK checking. This is now part of the
  tuning/locking loop
* Break up frontend configuration and tuning
  on separate functions

Plus:

* Add some more useful DEBUG/TRACE messages
* Move over misplaced DVB API message
* Fix wrong comment for default DVB buffer size (http://linuxtv.org/downloads/v4l-dvb-apis/dmx_fcalls.html#DMX_SET_BUFFER_SIZE)

This patch builds up on previous work done by
Fabrizio (Misto) Milo <mistobaan@gmail.com>

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

10 years agoandroidmedia: Add exceptions from the Java API to error messages, and post more error...
Sebastian Dröge [Fri, 30 May 2014 14:35:30 +0000 (16:35 +0200)]
androidmedia: Add exceptions from the Java API to error messages, and post more error/warning messages overall

10 years agoandroidmedia: Add a GError argument to all amc methods and catch exceptions there
Sebastian Dröge [Fri, 30 May 2014 13:24:48 +0000 (15:24 +0200)]
androidmedia: Add a GError argument to all amc methods and catch exceptions there

10 years agoandroidmedia: Describe exceptions happening when scanning all codecs
Sebastian Dröge [Fri, 30 May 2014 13:24:15 +0000 (15:24 +0200)]
androidmedia: Describe exceptions happening when scanning all codecs

10 years agoandroidmedia: Add API to convert an exception into a string
Sebastian Dröge [Fri, 30 May 2014 10:19:22 +0000 (12:19 +0200)]
androidmedia: Add API to convert an exception into a string

10 years agoRelease the codec before freeing it
Jorge Zapata [Fri, 30 May 2014 10:40:08 +0000 (12:40 +0200)]
Release the codec before freeing it

On Samsung Galaxy S4 it is impossible to have more than one
hardware decoder at the same time. If we do not release it
explicitly the GC only releases it whenever the whole application
is finished not whenever the activity is finished and thus a player
will not be able to work correctly

10 years agocamerabin: fix structure handling in preview message
Thiago Santos [Fri, 30 May 2014 05:10:25 +0000 (02:10 -0300)]
camerabin: fix structure handling in preview message

Avoid trying to modify the message structure as it isn't mutable.
Use a copy and post a new message if necessary.

Fixes failing tests.

10 years agoglmemory: remove uneeded gl api ifdefs
Matthew Waters [Fri, 30 May 2014 02:23:09 +0000 (12:23 +1000)]
glmemory: remove uneeded gl api ifdefs

10 years agoglwindow_x11: allow expose events to redraw our window
Matthew Waters [Fri, 30 May 2014 01:51:01 +0000 (11:51 +1000)]
glwindow_x11: allow expose events to redraw our window

otherwise we will not update the window contents on low framerate
streams until the next buffer

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

10 years agoglimagesink: unref the old buffer outside the lock
Matthew Waters [Fri, 30 May 2014 01:46:00 +0000 (11:46 +1000)]
glimagesink: unref the old buffer outside the lock

it could very well deadlock

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

10 years agoRevert "[880/906] glimagesink: remove unused stored_buffer field"
Matthew Waters [Fri, 30 May 2014 01:35:04 +0000 (11:35 +1000)]
Revert "[880/906] glimagesink: remove unused stored_buffer field"

This reverts commit af3a68db7dc473fb6903c18966b39e4c3f1464d7.

Conflicts:
ext/gl/gstglimagesink.c

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

10 years agoglcontext: fix up assertion
Matthew Waters [Fri, 30 May 2014 00:46:25 +0000 (10:46 +1000)]
glcontext: fix up assertion

error: 'return' with no value, in function returning non-void

10 years agoglfeature: remove GST_GL_API_GLES3
Matthew Waters [Fri, 30 May 2014 00:27:14 +0000 (10:27 +1000)]
glfeature: remove GST_GL_API_GLES3

instead check the gl version using gst_gl_context_check_gl_version()

10 years agoglcontext: check for GLES versions
Matthew Waters [Fri, 30 May 2014 00:25:18 +0000 (10:25 +1000)]
glcontext: check for GLES versions

10 years agogl/context: add check_gl_version
Matthew Waters [Thu, 29 May 2014 10:35:48 +0000 (20:35 +1000)]
gl/context: add check_gl_version

10 years agoglcontext: Try GLX support before EGL support
Edward Hervey [Thu, 29 May 2014 15:09:26 +0000 (17:09 +0200)]
glcontext: Try GLX support before EGL support

If available, glx has got a better chance of being the Gl platform
we want to use compared to EGL

10 years agoglcontext: Try to open lib{EGL|GL|GLESv2}.so.1 before lib{EGL|GL|GLESv2}
Edward Hervey [Thu, 29 May 2014 14:59:28 +0000 (16:59 +0200)]
glcontext: Try to open lib{EGL|GL|GLESv2}.so.1 before lib{EGL|GL|GLESv2}

Fixes issues with .so (without numbering) being installed for development
(such as from mesa-dev) but actual driver (with numbering) coming from
some other place (like nvidia drivers)

10 years agoUpdate spec file with latest changes
Christian Fredrik Kalager Schaller [Thu, 29 May 2014 14:01:22 +0000 (16:01 +0200)]
Update spec file with latest changes

10 years agoatsc-section: Fix annotation
Edward Hervey [Thu, 29 May 2014 10:30:13 +0000 (12:30 +0200)]
atsc-section: Fix annotation

10 years agodvb-descriptor: Fix multilingual service name parsing
Edward Hervey [Thu, 29 May 2014 10:29:52 +0000 (12:29 +0200)]
dvb-descriptor: Fix multilingual service name parsing

the provider and service name was inverted

10 years agoexample: ts-parser: add parential rating descriptor
Stefan Ringel [Wed, 28 May 2014 14:47:53 +0000 (16:47 +0200)]
example: ts-parser: add parential rating descriptor

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

10 years agoexample: ts-parser: add ca iddentifier descriptor
Stefan Ringel [Wed, 28 May 2014 14:47:28 +0000 (16:47 +0200)]
example: ts-parser: add ca iddentifier descriptor

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

10 years agoexample: ts-parser: add stream identifier descriptor
Stefan Ringel [Wed, 28 May 2014 10:23:50 +0000 (12:23 +0200)]
example: ts-parser: add stream identifier descriptor

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

10 years agoexample: ts-parser: add content descriptor
Stefan Ringel [Wed, 28 May 2014 10:23:12 +0000 (12:23 +0200)]
example: ts-parser: add content descriptor

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

10 years agoexample: ts-parser: add component descriptor
Stefan Ringel [Wed, 28 May 2014 10:19:43 +0000 (12:19 +0200)]
example: ts-parser: add component descriptor

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

10 years agoexamples: factor dumping code
Edward Hervey [Thu, 29 May 2014 09:55:51 +0000 (11:55 +0200)]
examples: factor dumping code

We can just re-use the new function instead of having two duplicates

10 years agoexample: ts-parser: add linkage descriptor
Stefan Ringel [Thu, 29 May 2014 08:50:58 +0000 (10:50 +0200)]
example: ts-parser: add linkage descriptor

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

10 years agompegts: bugfix mobile hand over linkage parse missmatch
Stefan Ringel [Wed, 28 May 2014 18:42:05 +0000 (20:42 +0200)]
mpegts: bugfix mobile hand over linkage parse missmatch

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

10 years agompegts: atsc: add missing field to ETT table
Thiago Santos [Wed, 28 May 2014 19:34:08 +0000 (16:34 -0300)]
mpegts: atsc: add missing field to ETT table

Set the subtable_extension as ett_table_id_extension
for ETT tables as it is used by it

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

10 years agompegts: atsc: add atsc's EIT table parsing
Thiago Santos [Wed, 28 May 2014 18:59:23 +0000 (15:59 -0300)]
mpegts: atsc: add atsc's EIT table parsing

ATSC has its own version of the EIT table (DVB also has one).

This patch adds parsing for the ATSC EIT table and also fixed
the section identification to mark it as the ATSC one.

The implementation aws refactored to reuse some common internal
structures from ETT.

Also adds its dumping function to ts-parser example

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

10 years agotests: mpegts: add test for STT parsing
Thiago Santos [Thu, 22 May 2014 20:49:39 +0000 (17:49 -0300)]
tests: mpegts: add test for STT parsing

Specially for the time to UTC datetime conversion

Example taken from the A65 spec

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

10 years agompegts: atsc: add STT table parsing
Thiago Santos [Thu, 22 May 2014 04:47:48 +0000 (01:47 -0300)]
mpegts: atsc: add STT table parsing

Adds the system time table structure and functions for convenient parsing of
it and for getting the UTC datetime that it represents. Also adds its
information dumping to the ts-parser example

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

10 years agompegts: atsc: add encoding conversion for UTF-16 ETT strings
Thiago Santos [Mon, 19 May 2014 19:20:44 +0000 (16:20 -0300)]
mpegts: atsc: add encoding conversion for UTF-16 ETT strings

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

10 years agoexamples: mpegts: add function to dump ETT tables
Thiago Santos [Mon, 19 May 2014 17:50:13 +0000 (14:50 -0300)]
examples: mpegts: add function to dump ETT tables

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

10 years agompegts: atsc: add ETT structures and parsing
Thiago Santos [Mon, 19 May 2014 16:46:03 +0000 (13:46 -0300)]
mpegts: atsc: add ETT structures and parsing

ETT (extended text table) contains ATSC text information with descriptions
of virtual channels and events. The text can be internationalized and also
compressed.

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

10 years agotsbase: parse the mgt and add listed EIT/ETT pids to the known psi
Thiago Santos [Fri, 16 May 2014 18:39:48 +0000 (15:39 -0300)]
tsbase: parse the mgt and add listed EIT/ETT pids to the known psi

This will make tsbase also parse the EITs and ETTs from ATSC streams that have
their pids reported on the MGT and post to the bus

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

10 years agompegts: add atsc MGT section parsing
Thiago Santos [Thu, 15 May 2014 15:31:05 +0000 (12:31 -0300)]
mpegts: add atsc MGT section parsing

Add a parsing function for MGT and also detect the EIT tables
for ATSC, the EIT pids are reported inside the MGT and we are still
only relying only on the table id for detecting it. In the future we
would want to also check the pid and compare with whatever the MGT
previously reported to confirm that it is indeed the EIT.

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

10 years agompegts: atsc: rename TVCT to VCT as it is the same as CVCT
Thiago Santos [Fri, 23 May 2014 04:41:18 +0000 (01:41 -0300)]
mpegts: atsc: rename TVCT to VCT as it is the same as CVCT

Make the ATSC section parse handle both TVCT and CVCT as they are
nearly the same struct (CVCT uses 2 reserved bits that are ignored
in TVCT).

This is changing the glib type and the struct name but TVCT wasn't
released in a stable package yet so there should be no problem.

Also includes some parsing fixes and changes short_name to be
directly stored as utf8 rather than utf16

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

10 years agoexamples: ts-parser: add TVCT and CVCT tables dumping
Thiago Santos [Wed, 28 May 2014 16:11:05 +0000 (13:11 -0300)]
examples: ts-parser: add TVCT and CVCT tables dumping

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

10 years agoglupload: Fix assertion after API changes
Sebastian Dröge [Thu, 29 May 2014 08:37:02 +0000 (10:37 +0200)]
glupload: Fix assertion after API changes

10 years agogl/colorconvert: keep our private pointer
Matthew Waters [Thu, 29 May 2014 08:33:10 +0000 (18:33 +1000)]
gl/colorconvert: keep our private pointer

again, avoid to much trigger

10 years agotests: update for glupload changes
Matthew Waters [Thu, 29 May 2014 08:32:48 +0000 (18:32 +1000)]
tests: update for glupload changes

10 years agogl/colorconvert: use GstObject's lock instead of our own
Matthew Waters [Thu, 29 May 2014 07:29:41 +0000 (17:29 +1000)]
gl/colorconvert: use GstObject's lock instead of our own

10 years agogl/colorconvert: remove unnecassary pointer inderection
Matthew Waters [Thu, 29 May 2014 07:12:03 +0000 (17:12 +1000)]
gl/colorconvert: remove unnecassary pointer inderection

10 years agogl/upload: re add the upload meta to the private struct
Matthew Waters [Thu, 29 May 2014 06:45:37 +0000 (16:45 +1000)]
gl/upload: re add the upload meta to the private struct

try and avoid being to trigger happy

10 years agogl/upload: small code cleanup and gst-indent
Matthew Waters [Thu, 29 May 2014 06:29:09 +0000 (16:29 +1000)]
gl/upload: small code cleanup and gst-indent

10 years agogl/download: use GstObject's lock instead of out own
Matthew Waters [Thu, 29 May 2014 06:22:52 +0000 (16:22 +1000)]
gl/download: use GstObject's lock instead of out own

10 years agogl/upload: use GstObject's lock instead of our own
Matthew Waters [Thu, 29 May 2014 06:20:30 +0000 (16:20 +1000)]
gl/upload: use GstObject's lock instead of our own

10 years agogl/filter: also remove the width/height in transform_caps
Matthew Waters [Thu, 29 May 2014 06:18:08 +0000 (16:18 +1000)]
gl/filter: also remove the width/height in transform_caps

allows scaling in the filters

10 years agogl/colorconvert: optimise the same format case
Matthew Waters [Thu, 29 May 2014 06:11:20 +0000 (16:11 +1000)]
gl/colorconvert: optimise the same format case

simply return the input buffer unchanged

10 years agogl/colorconvert: fix YUY2/UYVY download for RG/LA textures
Matthew Waters [Thu, 29 May 2014 06:07:40 +0000 (16:07 +1000)]
gl/colorconvert: fix YUY2/UYVY download for RG/LA textures

10 years agogl/colorconvert: allocate output buffers
Matthew Waters [Thu, 29 May 2014 05:50:56 +0000 (15:50 +1000)]
gl/colorconvert: allocate output buffers

Allows the nop optimisation by simply reffing the input buffer.

10 years agoexamples: Avoid shadowing main loop variable
Edward Hervey [Wed, 28 May 2014 14:18:13 +0000 (16:18 +0200)]
examples: Avoid shadowing main loop variable

We end up with interesting results otherwise :)

10 years agoexamples: Add support for private-data-specifier and frequency-list
Edward Hervey [Wed, 28 May 2014 13:53:21 +0000 (15:53 +0200)]
examples: Add support for private-data-specifier and frequency-list

10 years agompegts: Make some fields optional
Edward Hervey [Wed, 28 May 2014 13:52:49 +0000 (15:52 +0200)]
mpegts: Make some fields optional

Some people might just not care about the contents

10 years agompegts: Update docs for DVB frequency list
Edward Hervey [Wed, 28 May 2014 13:52:03 +0000 (15:52 +0200)]
mpegts: Update docs for DVB frequency list

10 years agotests: update for recent glupload changes
Matthew Waters [Wed, 28 May 2014 13:21:07 +0000 (23:21 +1000)]
tests: update for recent glupload changes

GstGLUploadMeta object is now the GstVideoGLTextureUploadMeta
provider.

10 years agomssdemux: Always use the redirect target to resolve relative URIs
Sebastian Dröge [Wed, 28 May 2014 10:56:24 +0000 (12:56 +0200)]
mssdemux: Always use the redirect target to resolve relative URIs

But redownload the playlists from the original URI if it's not
a permanent redirect.

10 years agodashdemux: Always use the redirect target to resolve relative URIs
Sebastian Dröge [Wed, 28 May 2014 10:43:43 +0000 (12:43 +0200)]
dashdemux: Always use the redirect target to resolve relative URIs

But redownload the playlists from the original URI if it's not
a permanent redirect.

10 years agohlsdemux: Don't set base URI if there was no redirect
Sebastian Dröge [Wed, 28 May 2014 10:44:38 +0000 (12:44 +0200)]
hlsdemux: Don't set base URI if there was no redirect

10 years agohlsdemux: Make parsing of "-quoted key URIs more resilient
Damian Ziobro [Wed, 28 May 2014 08:18:49 +0000 (09:18 +0100)]
hlsdemux: Make parsing of "-quoted key URIs more resilient

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

10 years agohlsdemux: Always use the redirect target to resolve relative URIs
Sebastian Dröge [Wed, 28 May 2014 08:19:40 +0000 (10:19 +0200)]
hlsdemux: Always use the redirect target to resolve relative URIs

But redownload the playlists from the original URI if it's not
a permanent redirect.

10 years agouridownloader: Store URI and redirect target in the downloaded fragments
Sebastian Dröge [Wed, 28 May 2014 07:42:44 +0000 (09:42 +0200)]
uridownloader: Store URI and redirect target in the downloaded fragments

10 years agompegts: Fix Logical Channel Descriptor parsing
Edward Hervey [Wed, 28 May 2014 05:40:19 +0000 (07:40 +0200)]
mpegts: Fix Logical Channel Descriptor parsing

No wonder we were getting garbage ...

10 years agoexample: ts-parser: add terrestrial delivery system descriptor
Stefan Ringel [Tue, 27 May 2014 18:37:26 +0000 (20:37 +0200)]
example: ts-parser: add terrestrial delivery system descriptor

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

10 years agoexample: ts-parser: printing enum types
Stefan Ringel [Tue, 27 May 2014 18:32:42 +0000 (20:32 +0200)]
example: ts-parser: printing enum types

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

10 years agogl/upload: fix incorrect type in macros
Matthew Waters [Wed, 28 May 2014 04:43:43 +0000 (14:43 +1000)]
gl/upload: fix incorrect type in macros

10 years agogl/upload: add GstGLUploadMeta object
Matthew Waters [Wed, 28 May 2014 04:40:10 +0000 (14:40 +1000)]
gl/upload: add GstGLUploadMeta object

That simply deals with the provider aspect of GstVideoGLTextureUploadMeta.

10 years agoexamples: Add DVB Extended event parsing
Edward Hervey [Tue, 27 May 2014 15:34:05 +0000 (17:34 +0200)]
examples: Add DVB Extended event parsing

10 years agompegts: Ensure NULL-terminated language code
Edward Hervey [Tue, 27 May 2014 15:32:52 +0000 (17:32 +0200)]
mpegts: Ensure NULL-terminated language code

Yup, it breaks API and ABI, I know. But let's avoid people and bindings
printing out garbage

10 years agompegts: Fix Extended DVB descriptor parsing
Edward Hervey [Tue, 27 May 2014 15:25:25 +0000 (17:25 +0200)]
mpegts: Fix Extended DVB descriptor parsing

We were over-reading data, and the nb_items field isn't needed,
it's a property of the GPtrArray

10 years agogl/win32: make send_message reentrant
Matthew Waters [Tue, 27 May 2014 14:56:05 +0000 (00:56 +1000)]
gl/win32: make send_message reentrant

I could not find a comparable win32API function so keep the running
thread pointer to compare against.

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

10 years agompegts: Fix usage of memcpy
Edward Hervey [Tue, 27 May 2014 14:17:39 +0000 (16:17 +0200)]
mpegts: Fix usage of memcpy

source and destination were inverted

10 years agoexamples: Add support for DVB multilingual component descriptor
Stefan Ringel [Mon, 26 May 2014 18:38:45 +0000 (20:38 +0200)]
examples: Add support for DVB multilingual component descriptor

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

10 years agoexamples: Add support for DVB multilingual service name descriptor
Stefan Ringel [Mon, 26 May 2014 18:38:19 +0000 (20:38 +0200)]
examples: Add support for DVB multilingual service name descriptor

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

10 years agoexamples: Add support for DVB multilingual bouquet name descriptor
Stefan Ringel [Mon, 26 May 2014 18:37:53 +0000 (20:37 +0200)]
examples: Add support for DVB multilingual bouquet name descriptor

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

10 years agoexamples: Add support for DVB multilingual network name descriptor
Stefan Ringel [Mon, 26 May 2014 18:37:21 +0000 (20:37 +0200)]
examples: Add support for DVB multilingual network name descriptor

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

10 years agompegts: add multilingual component descriptor
Stefan Ringel [Thu, 17 Apr 2014 16:20:39 +0000 (18:20 +0200)]
mpegts: add multilingual component descriptor

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

10 years agompegts: add multilingual service name descriptor
Stefan Ringel [Thu, 17 Apr 2014 16:20:03 +0000 (18:20 +0200)]
mpegts: add multilingual service name descriptor

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

10 years agompegts: add multilingual bouquet name descriptor
Stefan Ringel [Thu, 17 Apr 2014 16:10:51 +0000 (18:10 +0200)]
mpegts: add multilingual bouquet name descriptor

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

10 years agompegts: add multilingual network name descriptor
Stefan Ringel [Thu, 17 Apr 2014 16:07:52 +0000 (18:07 +0200)]
mpegts: add multilingual network name descriptor

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

10 years agotsdemux: add/remove pads to flowcombiner differently due to streaming nature
Thiago Santos [Tue, 27 May 2014 13:21:45 +0000 (10:21 -0300)]
tsdemux: add/remove pads to flowcombiner differently due to streaming nature

Due to mpegts streaming nature some pads are created but are only added
later to the element. This can cause a scenario where the first stream
doesn't have an available decoder (while the next ones still pending
would have) and tsdemux will fail with not-linked as the first stream
added wouldn't be linked.

To avoid this tsdemux needs to add pads to the flowcombiner
when they are created instead of only when adding them to the
element.

10 years agoglcolorconvert: fix compiler warning
Tim-Philipp Müller [Tue, 27 May 2014 12:56:34 +0000 (13:56 +0100)]
glcolorconvert: fix compiler warning

gstglcolorconvert.c:1133:11: error: 'j' may be used uninitialized in this function

Was used uninitialized when jumping to out label
in error case.

10 years agogl/colorconvert: operate on buffers instead of memories
Matthew Waters [Tue, 27 May 2014 08:20:29 +0000 (18:20 +1000)]
gl/colorconvert: operate on buffers instead of memories

10 years agomxfdemux: remove unread last_flow variable
Thiago Santos [Tue, 27 May 2014 10:42:14 +0000 (07:42 -0300)]
mxfdemux: remove unread last_flow variable

it isn't necessary anymore and is already unused

10 years agoglimagesink: make it actually honor show-preroll-frame property
Julien Isorce [Tue, 27 May 2014 10:28:27 +0000 (11:28 +0100)]
glimagesink: make it actually honor show-preroll-frame property

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

10 years agomxfdemux: Compare positions to find the earliest pad, not flow returns
Sebastian Dröge [Tue, 27 May 2014 10:08:50 +0000 (12:08 +0200)]
mxfdemux: Compare positions to find the earliest pad, not flow returns

10 years agogl: add missing cgl and eagl context type
Julien Isorce [Tue, 27 May 2014 07:54:20 +0000 (08:54 +0100)]
gl: add missing cgl and eagl context type

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

10 years agogl: rename platform cocoa to cgl
Julien Isorce [Tue, 27 May 2014 07:46:16 +0000 (08:46 +0100)]
gl: rename platform cocoa to cgl

Before:
GST_GL_PLATFORM=cocoa GST_GL_WINDOW=cocoa
gst-launch-1.0 videotestsrc ! glimagesink

After:
GST_GL_PLATFORM=cgl GST_GL_WINDOW=cocoa
gst-launch-1.0 videotestsrc ! glimagesink

but still pass --enable-cocoa to configure script
because currently it can only be used with cocoa API.

We could later have cgl/gstglcontext_cgl.h that manages
a CGLContextObj directly and cocoa/gstglcontext_cocoa.h
would just wrap it.
So that it could be used with other Apple's window APIs.

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

10 years agoRevert "androidmedia: Place some const keywords in a few places"
Sebastian Dröge [Tue, 27 May 2014 06:51:09 +0000 (08:51 +0200)]
Revert "androidmedia: Place some const keywords in a few places"

This reverts commit 3078b3a34c1f75b86bd629df1cd7c089a0f69999.

gst_video_frame_map() doesn't take a const GstVideoInfo*, so
all this is rather useless.

10 years agogl/mixer: don't segfault when we don't have a buffer
Matthew Waters [Tue, 27 May 2014 03:55:15 +0000 (13:55 +1000)]
gl/mixer: don't segfault when we don't have a buffer

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

10 years agogl/window_x11: avoid BadDrawable error on shutdown
Matthew Waters [Tue, 27 May 2014 03:04:39 +0000 (13:04 +1000)]
gl/window_x11: avoid BadDrawable error on shutdown

10 years agomxfdemux: use GstFlowCombiner
Thiago Santos [Mon, 26 May 2014 20:34:40 +0000 (17:34 -0300)]
mxfdemux: use GstFlowCombiner

Removes flow return combination code to use the newly added GstFlowCombiner

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

10 years agompegdemux: use GstFlowCombiner
Thiago Santos [Mon, 26 May 2014 20:18:01 +0000 (17:18 -0300)]
mpegdemux: use GstFlowCombiner

Removes flow return combination code to use the newly added GstFlowCombiner

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

10 years agotsdemux: use GstFlowCombiner
Thiago Santos [Fri, 23 May 2014 21:26:57 +0000 (18:26 -0300)]
tsdemux: use GstFlowCombiner

Removes flow return combination code to use the newly added GstFlowCombiner

10 years agogl/context_egl: pass the vars in the right order to DestroySurface
Matthew Waters [Tue, 27 May 2014 00:47:25 +0000 (10:47 +1000)]
gl/context_egl: pass the vars in the right order to DestroySurface

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