platform/upstream/gst-plugins-bad.git
10 years agogl/examples: add the srcdir and builddir includes
Matthew Waters [Thu, 12 Jun 2014 03:06:31 +0000 (13:06 +1000)]
gl/examples: add the srcdir and builddir includes

And remove references to $(GST_PLUGINS_GL_*)

10 years agoglfilterapp: remove the reshape/draw properties
Matthew Waters [Thu, 12 Jun 2014 02:49:42 +0000 (12:49 +1000)]
glfilterapp: remove the reshape/draw properties

The reshape property was never used.
Replace the draw property with a signal.

Based on patch by Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>

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

10 years agoglmixer: lock the size of mix->frames to the number of pads
Matthew Waters [Thu, 12 Jun 2014 02:14:35 +0000 (12:14 +1000)]
glmixer: lock the size of mix->frames to the number of pads

Fixes a segfault with decodebin ! glmixer where the request pads on
both sides were being requested after the state change to PAUSED.

Also fixes dynamically adding and removing pads while glmixer is
in a state >= PAUSED.

10 years agogl/examples: Port to using signals instead of properties
Matthew Waters [Thu, 12 Jun 2014 02:09:56 +0000 (12:09 +1000)]
gl/examples: Port to using signals instead of properties

Based on patch by Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>

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

10 years agoglimagesink: replace pointer properties with signals
Matthew Waters [Sun, 1 Jun 2014 05:02:52 +0000 (15:02 +1000)]
glimagesink: replace pointer properties with signals

Based on patch by Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>

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

10 years agompegtspacketizer: Use first group for handling reference pcr
Edward Hervey [Wed, 11 Jun 2014 07:38:00 +0000 (09:38 +0200)]
mpegtspacketizer: Use first group for handling reference pcr

If _set_current_pcr_offset gets called after a flushing seek, we ended
up using the current group for delta calculation ... whereas we should
be using the first group to calculate shifts.

Also add an early exit if there are no changes to apply

10 years agotsdemux: Remove unused variable
Edward Hervey [Tue, 10 Jun 2014 12:50:10 +0000 (14:50 +0200)]
tsdemux: Remove unused variable

The seeksegment was no longer used since the switch to calculating segments
when we see data.

10 years agompegtspacketizer: Fix debug statement
Edward Hervey [Tue, 10 Jun 2014 12:27:53 +0000 (14:27 +0200)]
mpegtspacketizer: Fix debug statement

10 years agompegtspacketizer: Fix duration evaluation in push mode
Edward Hervey [Tue, 10 Jun 2014 12:27:01 +0000 (14:27 +0200)]
mpegtspacketizer: Fix duration evaluation in push mode

When working in push mode, we need to be able to evaluate the duration
based on a single group of observations.

To do that we use the current group values

10 years agompegtspacketizer: Handle early PTS conversion
Edward Hervey [Mon, 2 Jun 2014 09:07:01 +0000 (11:07 +0200)]
mpegtspacketizer: Handle early PTS conversion

When handling the PTS/DTS conversion in new groups, there's a possibility
that the PTS might be smaller than the first PCR value observed, due to
re-ordering.

When using the current group, only apply the wraparound correction when we
are certain it is one (i.e. differs by more than a second) and not when it's
just a small difference (like out-of-order PTS).

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

10 years agogdp: don't print already-freed string
Tim-Philipp Müller [Mon, 9 Jun 2014 09:10:01 +0000 (10:10 +0100)]
gdp: don't print already-freed string

CID 1221987

10 years agospeed: Fix position query some more
Edward Hervey [Mon, 9 Jun 2014 08:56:48 +0000 (10:56 +0200)]
speed: Fix position query some more

Forgot to remove code in 16fd917632c0992349ca28cf9108e9562c493ad7

CID #1139677

10 years agompegtsdemux: Fix sticky event handling
Edward Hervey [Sat, 7 Jun 2014 05:13:59 +0000 (07:13 +0200)]
mpegtsdemux: Fix sticky event handling

When we receive sticky events from upstream, always return TRUE.

Fixes the issue where we receive custom sticky events (such as "uri")
and no pads are created yet.

10 years agohlsdemux: Improve parsing quoted key URIs and apply it for I-frame-based stream URI
Damian Ziobro [Wed, 4 Jun 2014 17:34:44 +0000 (18:34 +0100)]
hlsdemux: Improve parsing quoted key URIs and apply it for I-frame-based stream URI

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

10 years agohlsdemux: Don't store the current key in the playlist
Sebastian Dröge [Fri, 6 Jun 2014 10:08:04 +0000 (13:08 +0300)]
hlsdemux: Don't store the current key in the playlist

It's per fragment and applying to all following fragments
until the next key is specified.

10 years agohlsdemux: Fix compiler warnings
Sebastian Dröge [Fri, 6 Jun 2014 10:04:04 +0000 (13:04 +0300)]
hlsdemux: Fix compiler warnings

10 years agohlsdemux: Reload the variant playlist if refreshing a playlist or downloading a fragm...
Thomas Bluemel [Fri, 30 May 2014 22:34:18 +0000 (16:34 -0600)]
hlsdemux: Reload the variant playlist if refreshing a playlist or downloading a fragment fails

This can happen if the playlists have moved due to the variant playlist
now being redirected to another target. This currently only works as long
as the referenced playlists don't change in relation to the variant
playlist, and the new location is purely due to a new path triggered by a
new redirection target of the variant playlist, or a new redirection
target of the playlist itself.

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

10 years agoschroenc: Use an arbitrary framerate if none if given
Olivier Crête [Thu, 5 Jun 2014 20:45:12 +0000 (16:45 -0400)]
schroenc: Use an arbitrary framerate if none if given

The schro encoder always requires a framerate, but some source material,
such as RTP doesn't have a fixed one, so just fake it.

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

10 years agodvbsrc: drop redundant assignment
Reynaldo H. Verdejo Pinochet [Wed, 4 Jun 2014 18:35:51 +0000 (14:35 -0400)]
dvbsrc: drop redundant assignment

10 years agodvbsrc: improve timeout handing at locking loop
Reynaldo H. Verdejo Pinochet [Wed, 4 Jun 2014 05:02:20 +0000 (01:02 -0400)]
dvbsrc: improve timeout handing at locking loop

New approach attempts to be more accurate by measuring
the elapsed time by iteration. Also:

* Use a 10 seconds default timeout and a half a second
  polling step. New values should better match the tuning
  process on real-life scenarios.
* Correct elapsed_time computation.
* Add _retry_ioctl() to avoid bailing out on temporary
  ioctl EINTR failures (no need to check for EAGAIN cause
  we are opening the frontend on blocking mode)
* Small corrections to fail condition handling

10 years agogl/wayland: create a dummy display instead of an EGLDisplay
Matthew Waters [Thu, 5 Jun 2014 08:43:30 +0000 (18:43 +1000)]
gl/wayland: create a dummy display instead of an EGLDisplay

Currently, GstGLWindowWaylandEGL holds the wayland display connection
If we create the EGLDisplay at the GstDisplay creation time, then
libEGL will internally open another connection to the wayland server.
These two display connections are unable to communicate resulting in
no window output/display and hangs inside libEGL.

Eventually we will move the wl_display from GstGLWindow to GstGLDisplay.

10 years agortmp: proxy logging from librtmp
Edward Hervey [Thu, 5 Jun 2014 07:40:38 +0000 (09:40 +0200)]
rtmp: proxy logging from librtmp

Helps with debugging various librtmp issues

10 years agortmpsrc: Fix position querying
Edward Hervey [Thu, 5 Jun 2014 06:29:50 +0000 (08:29 +0200)]
rtmpsrc: Fix position querying

It's the position we're querying, not the duration :)

10 years agotsdemux: Remove extraneous extra parameter from check_pending_buffers function
Jan Schmidt [Wed, 4 Jun 2014 11:39:48 +0000 (21:39 +1000)]
tsdemux: Remove extraneous extra parameter from check_pending_buffers function

10 years agompegtspacketiser: Always initialise packet AFC flags and PCR fields
Jan Schmidt [Wed, 4 Jun 2014 11:31:21 +0000 (21:31 +1000)]
mpegtspacketiser: Always initialise packet AFC flags and PCR fields

Also fix a slight typo in a comment about the smoothing algorithm

10 years agotsdemux: Reset pending_ts on a discont, to re-measure initial timestamps
Jan Schmidt [Fri, 23 May 2014 05:07:19 +0000 (15:07 +1000)]
tsdemux: Reset pending_ts on a discont, to re-measure initial timestamps

Since all the other timestamp tracking now gets reset on a discont,
it makes sense to wait for a PCR and timestamp buffers like when
playback first starts

10 years agosrtp: add support for rollover counters and replay protection window size
Aleix Conchillo Flaqué [Sat, 22 Mar 2014 05:16:41 +0000 (22:16 -0700)]
srtp: add support for rollover counters and replay protection window size

We add a new signal, get-rollover-counter, to the SRTP encoder. Given a
ssrc the signal will return the currently internal SRTP rollover counter
for the given stream.

For the SRTP decoder we have a new SRTP caps parameter "roc" that needs
to be set when a new SRTP stream is created for a given SSRC.

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

10 years agoliveadder: handle gap buffer flag
Michael Olbrich [Mon, 14 Oct 2013 14:14:42 +0000 (16:14 +0200)]
liveadder: handle gap buffer flag

Remove GAP flag unless both sides have gap data, ignore
incoming data if it is gap data.

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

10 years agoglimagesink: improve state change debug message
Matthieu Bouron [Sun, 25 May 2014 20:43:22 +0000 (21:43 +0100)]
glimagesink: improve state change debug message

10 years agoglupload: always release the previous buffer
Matthew Waters [Tue, 3 Jun 2014 03:59:51 +0000 (13:59 +1000)]
glupload: always release the previous buffer

Fixes the case where _perform_with_buffer() is called without
intervening calls to _release_buffer() as is the case on start up
with glimagesink.

Also release the buffer when reseting the upload.

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

10 years agotests: Take account of memory alignment in shm test
Olivier Crête [Tue, 3 Jun 2014 01:51:38 +0000 (21:51 -0400)]
tests: Take account of memory alignment in shm test

10 years agogdp: Fail gracefully if event can't be parsed
Olivier Crête [Tue, 3 Jun 2014 01:43:56 +0000 (21:43 -0400)]
gdp: Fail gracefully if event can't be parsed

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

10 years agoshmsink: Allocate enough memory to do alignment
Olivier Crête [Tue, 3 Jun 2014 01:43:34 +0000 (21:43 -0400)]
shmsink: Allocate enough memory to do alignment

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

10 years agoandroidmedia: Actually print the stacktrace into the error string
Sebastian Dröge [Mon, 2 Jun 2014 10:39:49 +0000 (12:39 +0200)]
androidmedia: Actually print the stacktrace into the error string

10 years agoandroidmedia: Clear the exception before trying to call Java methods to convert it...
Sebastian Dröge [Mon, 2 Jun 2014 09:28:43 +0000 (11:28 +0200)]
androidmedia: Clear the exception before trying to call Java methods to convert it to a string

10 years agoandroidmedia: Fix crashes when loading the plugin in a standalone application on...
Sebastian Dröge [Mon, 2 Jun 2014 09:16:32 +0000 (11:16 +0200)]
androidmedia: Fix crashes when loading the plugin in a standalone application on Android >= 4.4

Check if libnativehelper is loaded in the process and if
it has these awful wrappers for JNI_CreateJavaVM and
JNI_GetCreatedJavaVMs that crash the app if you don't
create a JniInvocation instance first. If it isn't we
just fail here and don't initialize anything.

See this code for reference:
https://android.googlesource.com/platform/libnativehelper/+/master/JniInvocation.cpp

10 years agospeed: make position query able to convert bytes to time
Edward Hervey [Mon, 2 Jun 2014 08:11:58 +0000 (10:11 +0200)]
speed: make position query able to convert bytes to time

(same as 744c58d71b21475d2edd5b9334e277cfa4c53260 but for the
position query)

It was only querying in time, but then trying to use dead bytes
to time conversion code.

Coverity 1139677

10 years agompegdemux: avoid crashing in pathological case
Edward Hervey [Mon, 2 Jun 2014 07:42:33 +0000 (09:42 +0200)]
mpegdemux: avoid crashing in pathological case

(Identical to commit 612cdeec80da95b12f9fad928419c7de2be20d68 which
was for resindvd)

When we'd see an unknown stream type, then a SDDS stream.
Then we'd get to the end of the switch with a NULL temp stream
pointer, and dereference it.

Coverity 1139708

10 years agoglcontext: Handle (unlikely) NULL return of gl->GetString (GL_VERSION) more gracefully
Sebastian Dröge [Mon, 2 Jun 2014 07:23:39 +0000 (09:23 +0200)]
glcontext: Handle (unlikely) NULL return of gl->GetString (GL_VERSION) more gracefully

CID 1219858

10 years agompegts: Remove unneeded NULL check
Edward Hervey [Mon, 2 Jun 2014 06:22:15 +0000 (08:22 +0200)]
mpegts: Remove unneeded NULL check

Allocating those structures is done in all code paths leading there

CID #1219860
CID #1219861
CID #1219862
CID #1219863
CID #1219864

10 years agompeg2enc: increase max. allowed value for bitrate property
Tim-Philipp Müller [Sun, 1 Jun 2014 09:43:49 +0000 (10:43 +0100)]
mpeg2enc: increase max. allowed value for bitrate property

For DVD the limit is around 10Mbit/s, but for e.g. ATSC
it could be much higher.

10 years agodvbbasebin: better error handling in case tsparse is missing
Tim-Philipp Müller [Sun, 25 May 2014 12:05:49 +0000 (13:05 +0100)]
dvbbasebin: better error handling in case tsparse is missing

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

10 years agodvbbasebin: add prop setup code for guint64
Reynaldo H. Verdejo Pinochet [Fri, 30 May 2014 21:35:49 +0000 (17:35 -0400)]
dvbbasebin: add prop setup code for guint64

Needed since we are now proxying tuning-timeout
from dvbsrc.

10 years agomotioncells: improve logging
Nicola Murino [Tue, 20 May 2014 05:34:56 +0000 (07:34 +0200)]
motioncells: improve logging

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

10 years agomotioncells: make framedrop work at 30 fps too
Nicola Murino [Tue, 20 May 2014 05:29:16 +0000 (07:29 +0200)]
motioncells: make framedrop work at 30 fps too

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

10 years agomotioncells: use standard macro for boolean
Nicola Murino [Tue, 20 May 2014 05:25:20 +0000 (07:25 +0200)]
motioncells: use standard macro for boolean

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

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