platform/upstream/gstreamer.git
11 years agoUpdate .po files
Sebastian Dröge [Thu, 19 Sep 2013 08:46:27 +0000 (10:46 +0200)]
Update .po files

11 years agopo: Update translations
Sebastian Dröge [Thu, 19 Sep 2013 07:46:34 +0000 (09:46 +0200)]
po: Update translations

11 years agoeglglessink: Update for new GstContext API
Sebastian Dröge [Wed, 18 Sep 2013 20:36:51 +0000 (22:36 +0200)]
eglglessink: Update for new GstContext API

11 years agoegl: Update for new GstContext API
Sebastian Dröge [Wed, 18 Sep 2013 20:24:07 +0000 (22:24 +0200)]
egl: Update for new GstContext API

11 years agohlsdemux: Reset GstUriDownloader cancellation when restarting to play
Olivier Crête [Tue, 17 Sep 2013 21:41:39 +0000 (17:41 -0400)]
hlsdemux: Reset GstUriDownloader cancellation when restarting to play

11 years agompegtspacketizer: Correct condition check for current next indicator
Sudip Jain [Sun, 15 Sep 2013 11:39:16 +0000 (17:09 +0530)]
mpegtspacketizer: Correct condition check for current next indicator

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

11 years agorawparse: fix event order
Wim Taymans [Thu, 12 Sep 2013 10:03:45 +0000 (12:03 +0200)]
rawparse: fix event order

Delay forwarding the segment event until we pushed caps.
Send STREAM_START in pull mode.

11 years agoamcvideodec: Don't put the level restrictions on the sinkpad caps
Sebastian Dröge [Thu, 12 Sep 2013 11:21:37 +0000 (13:21 +0200)]
amcvideodec: Don't put the level restrictions on the sinkpad caps

They tend to be inaccurate and having them in the sinkpad caps
prevents playback of files that would otherwise play fine.

11 years agotsdemux: respect seqnums on seeks
Thiago Santos [Tue, 10 Sep 2013 21:51:52 +0000 (18:51 -0300)]
tsdemux: respect seqnums on seeks

Pass the seqnum to other events that are consequence of the
original seek event

11 years agoopencv: We also work with OpenCV 2.4.6.1
Sebastian Dröge [Tue, 10 Sep 2013 09:37:55 +0000 (11:37 +0200)]
opencv: We also work with OpenCV 2.4.6.1

11 years agomodplug: Specify directory when including stdafx.h
Iain Lane [Tue, 10 Sep 2013 08:48:32 +0000 (08:48 +0000)]
modplug: Specify directory when including stdafx.h

modplug stopped exposing their directory in their pcfile, meaining
consumers accessing the headers directly fail to build.

http://sourceforge.net/p/modplug-xmms/git/ci/75e9b166982ed637b59ef7cbc1835a09f768923e/

11 years agouvch264src: Fix small mem leak
Olivier Crête [Mon, 9 Sep 2013 17:14:13 +0000 (13:14 -0400)]
uvch264src: Fix small mem leak

11 years agoh264parse: don't update src caps if only codec_data differs
Matej Knopp [Sat, 7 Sep 2013 21:09:31 +0000 (23:09 +0200)]
h264parse: don't update src caps if only codec_data differs

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

11 years agouvch264src: Let the caps be NULL if there is no peer
Olivier Crête [Thu, 5 Sep 2013 23:23:10 +0000 (19:23 -0400)]
uvch264src: Let the caps be NULL if there is no peer

11 years agouvch264src: No need to drop segment events
Olivier Crête [Thu, 5 Sep 2013 23:22:51 +0000 (19:22 -0400)]
uvch264src: No need to drop segment events

In 1.0, segment events are sticky and not additive, no need to prevent
their accumulation.

11 years agodecklinksrc: send caps event before segment
Tim-Philipp Müller [Thu, 5 Sep 2013 18:10:31 +0000 (19:10 +0100)]
decklinksrc: send caps event before segment

11 years agoeglglessink: change pool->sink->last_buffer to pool->last_buffer
Julien Isorce [Wed, 4 Sep 2013 09:58:24 +0000 (10:58 +0100)]
eglglessink: change pool->sink->last_buffer to pool->last_buffer

So that GstEGLImageBufferPool does not depend on GstEglGlesSink
The goal is still to move it into gstegl lib

11 years agoeglglessink: buffer pool does not need to maintain a ref on the display
Julien Isorce [Wed, 4 Sep 2013 09:56:12 +0000 (10:56 +0100)]
eglglessink: buffer pool does not need to maintain a ref on the display

Because it does not use it and also it may not know it when
we create the pool

11 years agoeglglessink: add GstEGLImageBufferPoolSendBlockingAllocate callback
Julien Isorce [Wed, 4 Sep 2013 09:52:51 +0000 (10:52 +0100)]
eglglessink: add GstEGLImageBufferPoolSendBlockingAllocate callback

The goal here is to prepare GstEGLBufferPool to be moved into
gstegl lib. So it has to not depend on 'gst_eglglessink_queue_object'

11 years agoeglglessink: prepare gst_egl_adaptation_allocate_eglimage to be moved
Julien Isorce [Wed, 4 Sep 2013 09:48:34 +0000 (10:48 +0100)]
eglglessink: prepare gst_egl_adaptation_allocate_eglimage to be moved

into gstegl lib or splited between gstegl lib and gstgl lib
because it both depends on egl and gl

So it has to not depend on GstEglAdaptationContext

11 years agoh264parse: Add support for stream-format=avc3
Alex Ashley [Fri, 30 Aug 2013 12:54:40 +0000 (13:54 +0100)]
h264parse: Add support for stream-format=avc3

When outputting in AVC3 stream format, the codec_data should not
contain any SPS or PPS, because they are embedded inside the stream.

In case of avc->bytestream h264parse will push the SPS and PPS from
codec_data downstream at the start of the stream, at intervals
controlled by "config-interval" and when there is a codec_data change.

In the case of avc3->bytstream h264parse detects that there is
already SPS/PPS in the stream and sets h264parse->push_codec to FALSE.
Therefore avc3->bytstream was already supported, except for the stream
type.

In the case of bystream->avc h264parse will generate codec_data caps
from the parsed SPS/PPS in the stream. However it does not remove these
SPS/PPS from the stream. bytestream->avc3 is the same as bytestream->avc
except that the codec_data must not have any SPS/PPS in it.

|--------------+-------------+-------------------|
|stream-format | SPS in-band | SPS in codec_data |
|--------------+-------------+-------------------|
| avc          | maybe       | always            |
|--------------+-------------+-------------------|
| avc3         | always      | never             |
|--------------+-------------+-------------------|

Amendment 2 of ISO/IEC 14496-15 (AVC file format) is defining a new
structure for fragmented MP4 called "avc3". The principal difference
between AVC1 and AVC3 is the location of the codec initialisation
data (e.g. SPS, PPS). In AVC1 this data is placed in the initial MOOV box
(moov.trak.mdia.minf.stbl.stsd.avc1) but in AVC3 this data goes in the
first sample of every fragment.

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

11 years agosoundtouch: Fix compilation with soundtouch 1.4.0
Sebastian Dröge [Tue, 3 Sep 2013 15:36:08 +0000 (17:36 +0200)]
soundtouch: Fix compilation with soundtouch 1.4.0

It used FLOAT_SAMPLES/INTEGER_SAMPLES #defines instead of ones properly
prefixed with a namespace.

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

11 years ago.gitignore: ignore new win32 config.h-new
Tim-Philipp Müller [Tue, 3 Sep 2013 10:14:43 +0000 (11:14 +0100)]
.gitignore: ignore new win32 config.h-new

11 years agoamcvideodec: Port tiled NV12 conversion to 1.0
Sebastian Dröge [Tue, 3 Sep 2013 09:05:02 +0000 (11:05 +0200)]
amcvideodec: Port tiled NV12 conversion to 1.0

11 years agoamcvideodec: Add FIXME comment
Sebastian Dröge [Tue, 3 Sep 2013 08:56:46 +0000 (10:56 +0200)]
amcvideodec: Add FIXME comment

11 years agoandroidmedia: add support for a new qualcomm colorspace
Jorge Luis Zapata [Mon, 12 Aug 2013 10:16:16 +0000 (10:16 +0000)]
androidmedia: add support for a new qualcomm colorspace

11 years agompegpsdemux: minor clean-up
Tim-Philipp Müller [Mon, 2 Sep 2013 22:28:38 +0000 (23:28 +0100)]
mpegpsdemux: minor clean-up

11 years agompegdemux: send events on pads that are not linked
Matej Knopp [Mon, 2 Sep 2013 20:54:32 +0000 (22:54 +0200)]
mpegdemux: send events on pads that are not linked

Someone might be waiting for certain events with a probe.

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

11 years agod3dvideosink: disable buffer pools
Andoni Morales Alastruey [Wed, 28 Aug 2013 18:07:48 +0000 (20:07 +0200)]
d3dvideosink: disable buffer pools

On a device lost, all the surfaces allocated in the
device need to be released before resetting the device,
which can't be done for the allocated buffers.

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

11 years agoChange how win32/common/config.h is updated
Tim-Philipp Müller [Mon, 2 Sep 2013 12:40:37 +0000 (13:40 +0100)]
Change how win32/common/config.h is updated

Generate win32/common/config.h-new directly from config.h.in,
using shell variables in configure and some hard-coded information.
Change top-level makefile so that 'make win32-update' copies the
generated file to win32/common/config.h, which we keep in source
control.  It's kept in source control so that the git tree is
buildable from VS.

This change is similar to the one recently applied to GStreamer
and gst-plugins-good.  The previous config.h file in -bad was in
pretty bad shape, so unlike core and base, I didn't attempt to
leave it strictly the same, but fixed it as necessary.  Needs
testing I cannot do myself.

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

11 years agotests: ignore new aiffparse test binary
Tim-Philipp Müller [Mon, 2 Sep 2013 11:19:12 +0000 (12:19 +0100)]
tests: ignore new aiffparse test binary

11 years agosoundtouch: Allow compilation against float and integer version of the library
Sebastian Dröge [Mon, 2 Sep 2013 08:29:08 +0000 (10:29 +0200)]
soundtouch: Allow compilation against float and integer version of the library

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

11 years agodashdemux: Fix warnings when building in OS X Snow Leopard
Josep Torra [Fri, 30 Aug 2013 19:52:35 +0000 (21:52 +0200)]
dashdemux: Fix warnings when building in OS X Snow Leopard

gstdashdemux.c:1753: warning: format '%llu' expects type 'long long unsigned int', but argument 8 has type 'long unsigned int'
gstdashdemux.c:2224: warning: format '%llu' expects type 'long long unsigned int', but argument 9 has type 'guint64'
gstdashdemux.c:2224: warning: format '%llu' expects type 'long long unsigned int', but argument 10 has type 'guint64'

11 years agodashdemux: Fix warnings when building in OS X Snow Leopard
Josep Torra [Fri, 30 Aug 2013 19:36:19 +0000 (21:36 +0200)]
dashdemux: Fix warnings when building in OS X Snow Leopard

gstmpdparser.h:530: warning: type qualifiers ignored on function return type
gstmpdparser.c:4177: warning: type qualifiers ignored on function return type

11 years agoh264parse: Use codecparsers macros
Edward Hervey [Fri, 30 Aug 2013 07:05:43 +0000 (09:05 +0200)]
h264parse: Use codecparsers macros

note: I/SI also covers the S_I/S_SI variants

11 years agoexamples: port directfb example to 1.0
Kerrick Staley [Thu, 29 Aug 2013 18:02:37 +0000 (11:02 -0700)]
examples: port directfb example to 1.0

gst_pad_get_negotiated_caps was removed from 1.0;
gst_pad_get_current_caps should be used instead. See
http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/random
/porting-to-1.0.txt

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

11 years agowin32: update config.h
Tim-Philipp Müller [Thu, 29 Aug 2013 14:55:08 +0000 (15:55 +0100)]
win32: update config.h

11 years agodfbvideosink: make "layer-mode" property an enum
Tim-Philipp Müller [Thu, 29 Aug 2013 14:46:14 +0000 (15:46 +0100)]
dfbvideosink: make "layer-mode" property an enum

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

11 years agodfbvideosink: don't use deprecated GLib thread API
Tim-Philipp Müller [Thu, 29 Aug 2013 13:48:28 +0000 (14:48 +0100)]
dfbvideosink: don't use deprecated GLib thread API

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

11 years agodfbvideosink: port to 1.0
Kazunori Kobayashi [Wed, 26 Jun 2013 02:07:14 +0000 (11:07 +0900)]
dfbvideosink: port to 1.0

including the following supports and fixes:

* Create DirectFB surfaces from GstBufferPool
* Add NV12 pixel format support
* Don't use the cursor in the exclusive mode
  - EnableCusor() can be only used when the administrative mode is set
    in DirectFB 1.6.0 and later.
* Support multiple plane rendering for planar color formats
  - This accommodates the chroma plane offsets of the framebuffer
    in planar formats.
* Invoke SetConfiguration regardless of video mode setting in setcaps()
  - SetConfiguration() method should be invoked regardless of
    the result of gst_dfbvideosink_get_best_vmode(), since the two are
    unrelated.
* Disable DirectFB signal handler
  - "--dfb:no-sighandler" option is passed to DirectFBInit().
    This prevents DirectFB from trying to kill the process and allows
    GStreamer's termination sequence to proceed normally.

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

11 years agoavdtputil: Some minor cleanup and leak fixes
Sebastian Dröge [Thu, 29 Aug 2013 08:20:56 +0000 (10:20 +0200)]
avdtputil: Some minor cleanup and leak fixes

11 years agobluez: support aac in avdtpsrc
Bernhard Miller [Wed, 28 Aug 2013 12:26:04 +0000 (14:26 +0200)]
bluez: support aac in avdtpsrc

Signed-off-by: Bernhard Miller <bernhard.miller@streamunlimited.com>
11 years agoBack to development
Sebastian Dröge [Wed, 28 Aug 2013 11:26:56 +0000 (13:26 +0200)]
Back to development

11 years agoRelease 1.1.4
Sebastian Dröge [Wed, 28 Aug 2013 11:07:27 +0000 (13:07 +0200)]
Release 1.1.4

11 years agoUpdate .po files
Sebastian Dröge [Wed, 28 Aug 2013 11:07:24 +0000 (13:07 +0200)]
Update .po files

11 years agopo: update translations
Sebastian Dröge [Wed, 28 Aug 2013 10:33:17 +0000 (12:33 +0200)]
po: update translations

11 years agompegts: mark as unstable API
Tim-Philipp Müller [Wed, 28 Aug 2013 10:13:14 +0000 (11:13 +0100)]
mpegts: mark as unstable API

11 years agompegtsdemux: fix possible read beyond end of buffer when resyncing
Tim-Philipp Müller [Tue, 27 Aug 2013 16:05:44 +0000 (17:05 +0100)]
mpegtsdemux: fix possible read beyond end of buffer when resyncing

11 years agoh264parse: only update src CAPS when it's necessary
Matthieu Bouron [Tue, 27 Aug 2013 10:27:04 +0000 (11:27 +0100)]
h264parse: only update src CAPS when it's necessary

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

11 years agoh264parse: do not set CAPS and passthrough mode if SPS/PPS have not been parsed
Matthieu Bouron [Tue, 20 Aug 2013 10:59:34 +0000 (11:59 +0100)]
h264parse: do not set CAPS and passthrough mode if SPS/PPS have not been parsed

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

11 years agoconfigure.ac: Don't set BZ2_LIBS if bz2 is not found
Sebastian Dröge [Mon, 26 Aug 2013 11:48:02 +0000 (13:48 +0200)]
configure.ac: Don't set BZ2_LIBS if bz2 is not found

11 years agowebpdec: Some cleanup and minor fixes
Sebastian Dröge [Mon, 26 Aug 2013 08:22:06 +0000 (10:22 +0200)]
webpdec: Some cleanup and minor fixes

11 years agowebp: Add WebP image decoder plugin
Sreerenj Balachandran [Fri, 23 Aug 2013 21:46:38 +0000 (00:46 +0300)]
webp: Add WebP image decoder plugin

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

11 years agofacedetect: new property to control bus messages updates
Nicola Murino [Sat, 1 Sep 2012 18:46:43 +0000 (20:46 +0200)]
facedetect: new property to control bus messages updates

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

11 years agoopencv: Fix indention
Sebastian Dröge [Fri, 23 Aug 2013 10:01:32 +0000 (12:01 +0200)]
opencv: Fix indention

11 years agoopencv: Port to non-deprecated GMutex/GCond API
Sebastian Dröge [Fri, 23 Aug 2013 10:01:07 +0000 (12:01 +0200)]
opencv: Port to non-deprecated GMutex/GCond API

11 years agoopencv: Add disparity-map calculation element
Miguel Casas-Sanchez [Fri, 23 Aug 2013 09:38:04 +0000 (11:38 +0200)]
opencv: Add disparity-map calculation element

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

11 years agodirectsoundsrc: Remove unused variable
Sebastian Dröge [Thu, 22 Aug 2013 15:32:17 +0000 (17:32 +0200)]
directsoundsrc: Remove unused variable

11 years agoconfigure: Update opencv dependency, 2.4.5 works too.
Sebastian Dröge [Thu, 22 Aug 2013 14:07:58 +0000 (16:07 +0200)]
configure: Update opencv dependency, 2.4.5 works too.

11 years agodirectsoundsrc: Add 'device-name' property for selecting a audio device
Kishore Arepalli [Thu, 22 Aug 2013 11:45:59 +0000 (13:45 +0200)]
directsoundsrc: Add 'device-name' property for selecting a audio device

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

11 years agoconfigure: Fix bz2 configure check for Windows
Sebastian Dröge [Thu, 22 Aug 2013 12:56:05 +0000 (14:56 +0200)]
configure: Fix bz2 configure check for Windows

Due to function decorations on Windows AC_CHECK_LIB can't be used to check for bz2.

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

11 years agotsdemux: Refuse negative rates which we don't support yet
Edward Hervey [Wed, 21 Aug 2013 12:44:38 +0000 (14:44 +0200)]
tsdemux: Refuse negative rates which we don't support yet

And remove a check which was done before

11 years agompegtsmux: Set the program number from prog-map
Jesper Larsen [Sun, 10 Mar 2013 16:02:18 +0000 (17:02 +0100)]
mpegtsmux: Set the program number from prog-map

The prog-map property of mpegtsmux only allows you to group pids together in a program.
The program number set in the PAT/PMT tables cannot be set explicitly.

This patch will set the program number according to the prog-map.
If a program id of 0 is given, the first vacant program number starting from 1 will be used.

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

11 years agodvb: Adapt for latest mpegts lib changes
Edward Hervey [Wed, 21 Aug 2013 06:58:52 +0000 (08:58 +0200)]
dvb: Adapt for latest mpegts lib changes

11 years agompegtsbase: Adapt for latest mpegts lib changes
Edward Hervey [Wed, 21 Aug 2013 06:58:23 +0000 (08:58 +0200)]
mpegtsbase: Adapt for latest mpegts lib changes

11 years agompegts: ABI/API break: Use GPtrArray instead of GArray
Edward Hervey [Wed, 21 Aug 2013 06:40:16 +0000 (08:40 +0200)]
mpegts: ABI/API break: Use GPtrArray instead of GArray

While it was a great idea, various g-i based bindings don't support
GArray with entries greater than sizeof(gpointer) :(

So let's just make everybody happy by just using GPtrArray.

And since we're breaking the API, also rename the various descriptor fields
to no longer have the descriptor_ prefix.

It does cost a bit more in terms of memory/cpu usage, but makes it usable
from bindings.

11 years agouvch264src: don't error out on incomplete aux data segment
Robert Krakora [Mon, 19 Aug 2013 19:31:51 +0000 (15:31 -0400)]
uvch264src: don't error out on incomplete aux data segment

It appears that the Logitech C920 sometimes drops the next
to last segment of RAW aux data contained within the MJPEG
container.  H264 data that is multiplexed with in the same
container does not appear to be affected.  This appears to
be a bug in the Logitech C920 firmware and uvch264src should
not error out in this case.

Sometimes it can take 24 hours of continuous streaming for
the problem to occur, but sometimes it takes only a couple
of hours.

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

11 years agoivtc: Use input framerate when possible
Edward Hervey [Tue, 20 Aug 2013 14:01:47 +0000 (16:01 +0200)]
ivtc: Use input framerate when possible

if input is 30000/1001 ... use 24000/1001 as the output fixated framerate

11 years agoid3mux: handle publisher, interpreted-by and musical-key tags
Matthieu Bouron [Thu, 15 Aug 2013 10:45:34 +0000 (11:45 +0100)]
id3mux: handle publisher, interpreted-by and musical-key tags

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

11 years agompegvideoparse: Fix switch statement in level detection code
Sebastian Dröge [Tue, 20 Aug 2013 11:29:14 +0000 (13:29 +0200)]
mpegvideoparse: Fix switch statement in level detection code

Properly fall through the cases without re-assigning the level to
the wrong value.

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

11 years agojpegparse: Forward segment event after caps
Edward Hervey [Mon, 19 Aug 2013 15:23:28 +0000 (17:23 +0200)]
jpegparse: Forward segment event after caps

Store it until we know what our caps are.

11 years agotest: fix compiler warning in aiffparse test on 32-bit x86
Tim-Philipp Müller [Mon, 19 Aug 2013 23:26:06 +0000 (00:26 +0100)]
test: fix compiler warning in aiffparse test on 32-bit x86

11 years agoaiffparse: fix copyright
Matthieu Bouron [Mon, 19 Aug 2013 09:25:20 +0000 (09:25 +0000)]
aiffparse: fix copyright

11 years agotests: fix some leaks in aiffparse unit test
Tim-Philipp Müller [Fri, 16 Aug 2013 23:22:44 +0000 (00:22 +0100)]
tests: fix some leaks in aiffparse unit test

11 years agotests: fix state change order in aiffparse test
Tim-Philipp Müller [Fri, 16 Aug 2013 23:09:18 +0000 (00:09 +0100)]
tests: fix state change order in aiffparse test

Do state changes from sink to src. Fixes race condition in
pull mode test where the source will start up and push buffers
to queue/identity or aiffparse before the main thread has
managed to set them to playing yet.

11 years agoaiffparse: add tests
Matthieu Bouron [Mon, 12 Aug 2013 17:33:39 +0000 (18:33 +0100)]
aiffparse: add tests

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

11 years agoaiffparse: don't leak adapter
Tim-Philipp Müller [Fri, 16 Aug 2013 23:23:08 +0000 (00:23 +0100)]
aiffparse: don't leak adapter

11 years agoaiffparse: s/newsegment/segment/
Matthieu Bouron [Thu, 15 Aug 2013 12:58:48 +0000 (13:58 +0100)]
aiffparse: s/newsegment/segment/

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

11 years agoaiffparse: fix push mode
Matthieu Bouron [Tue, 13 Aug 2013 17:42:55 +0000 (18:42 +0100)]
aiffparse: fix push mode

Fix push mode by handling sink events (CAPS, SEGMENT) properly.

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

11 years agompeg4videoparse: Reparse the config if the size changed
Olivier Crête [Fri, 16 Aug 2013 19:41:48 +0000 (15:41 -0400)]
mpeg4videoparse: Reparse the config if the size changed

Also only re-issue the caps update if the part of the config that
changed is one we care about.

11 years agosrtpdec: fix buffers being dropped due to shadowed variable
Tim-Philipp Müller [Fri, 16 Aug 2013 18:48:03 +0000 (19:48 +0100)]
srtpdec: fix buffers being dropped due to shadowed variable

Spotted by gstblub@gmail.com.

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

11 years agodashdemux: offset segment numbers by startNumber
Chris Bass [Thu, 8 Aug 2013 10:19:00 +0000 (11:19 +0100)]
dashdemux: offset segment numbers by startNumber

For SegmentTemplate elements containing a startNumber attribute, the
`number' member of GstMediaSegments should be offset by the value of
startNumber; however, this is not currently the case. As a result, the
first URI(s) requested by the download loop will be wrong.

This commit ensures that segment numbers will be offset by startNumber
when one is present in a SegmentTemplate element.

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

11 years agodashdemux: remove incorrect timestamp scaling.
Chris Bass [Thu, 8 Aug 2013 14:19:15 +0000 (15:19 +0100)]
dashdemux: remove incorrect timestamp scaling.

When using a SegmentTemplate element, the timestamps of the buffers
output by dashdemux are incorrect, causing problems downstream.

The reason is that GstMediaSegment start times are calculated (in
gst_mpdparser_get_chunk_by_index) by multiplying segment index by
segment duration and then scaling the result according the `timebase'
attribute from the MPD. However, the segment duration is already a
GstClockTime (i.e., it has already been scaled according to the timebase
from the MPD and converted to a nanosecond value), so multiplying it by
the segment index will give the correct timestamp without the need for
any further scaling.

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

11 years agoexamples: remove another obsolete example
Tim-Philipp Müller [Thu, 15 Aug 2013 19:12:42 +0000 (20:12 +0100)]
examples: remove another obsolete example

11 years agoext: Use new flush vfunc of video codec base classes and remove reset implementations
Sebastian Dröge [Thu, 15 Aug 2013 13:46:58 +0000 (15:46 +0200)]
ext: Use new flush vfunc of video codec base classes and remove reset implementations

11 years agoexamples: remove prehistoric examples
Tim-Philipp Müller [Wed, 14 Aug 2013 18:12:16 +0000 (19:12 +0100)]
examples: remove prehistoric examples

11 years agointeraudiosrc: make silence memory actually contain silence
Tim-Philipp Müller [Wed, 14 Aug 2013 17:17:51 +0000 (18:17 +0100)]
interaudiosrc: make silence memory actually contain silence

instead of random data. Reported by Marco Micheletti on
gstreamer-devel.

11 years agodvbbasebin: fix criticals when trying to cast a GstPad to a GstElement
Tim-Philipp Müller [Wed, 14 Aug 2013 12:27:03 +0000 (13:27 +0100)]
dvbbasebin: fix criticals when trying to cast a GstPad to a GstElement

message->src might be a GstPad. Observed during gst-inspect-1.0 -a

11 years ago.gitignore: Update for new files to ignore
Edward Hervey [Wed, 14 Aug 2013 11:59:27 +0000 (13:59 +0200)]
.gitignore: Update for new files to ignore

11 years agopesparse: Refactory secondary PES extension handling
Edward Hervey [Wed, 14 Aug 2013 11:41:37 +0000 (13:41 +0200)]
pesparse: Refactory secondary PES extension handling

Some streams had wrong values for the stream_id_extension, make sure
we only remember the valid ones.

For streams with PES_extension_field_length == 0, assume there's nothing
else.

For streams that state they have a TREF extension but don't have enough
data to store it, just assume it was produced by a non-compliant muxer
and skip the remaining data.

Only store remaining data in stream_id_extension_data instead of storing
data we already parse.

11 years agopcapparse: Remove unneeded unref and only set pad caps if we have caps
Zaheer Abbas Merali [Wed, 14 Aug 2013 08:47:31 +0000 (10:47 +0200)]
pcapparse: Remove unneeded unref and only set pad caps if we have caps

Fixes crashes due to invalid unrefs.

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

11 years agopesparse: Fix pes extension data length check
Edward Hervey [Wed, 14 Aug 2013 08:39:46 +0000 (10:39 +0200)]
pesparse: Fix pes extension data length check

And remove length/data updates (we use the header size just below to
properly set them).

Based on feedback from Stas Sergeev <stsp@list.ru>

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

11 years agopesparse: Remove unused argument
Edward Hervey [Wed, 14 Aug 2013 08:33:14 +0000 (10:33 +0200)]
pesparse: Remove unused argument

We always provided 0 as the offset and never used the returned value.

Based on feedback from Stas Sergeev <stsp@list.ru>

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

11 years agocodecparsers: mpegvideoparse: turn internal consistency check into a g_assert()
Tim-Philipp Müller [Tue, 13 Aug 2013 16:47:14 +0000 (17:47 +0100)]
codecparsers: mpegvideoparse: turn internal consistency check into a g_assert()

We only check input from the API user with g_return_*_if_fail().
Internal sanity checks should use g_assert() instead, which is
disabled by default for releases.

11 years agocodecparsers: mpegvideoparser: minor doc fixes
Tim-Philipp Müller [Tue, 13 Aug 2013 16:45:51 +0000 (17:45 +0100)]
codecparsers: mpegvideoparser: minor doc fixes

11 years agomssdemux: use gst_data_queue_push_force for adding events to queue
Thiago Santos [Tue, 13 Aug 2013 15:41:28 +0000 (12:41 -0300)]
mssdemux: use gst_data_queue_push_force for adding events to queue

This prevents locking on startup when a stream only has a single buffer
for one of the streams and mssdemux decides to push an EOS event right
after it.

11 years agodashdemux: use push_force when adding events to the dataqueue
Thiago Santos [Thu, 8 Aug 2013 16:32:02 +0000 (13:32 -0300)]
dashdemux: use push_force when adding events to the dataqueue

This prevents deadlocks on startup on files that have only a very
large buffer for a stream and the queue is filled and will lock on
the eos event that is pushed after the buffer. As no buffers have yet
been pushed to other streams, the pipeline locks on preroll

11 years agompegvideoparse: support field encoding for interlaced video
Matej Knopp [Tue, 30 Jul 2013 13:17:23 +0000 (15:17 +0200)]
mpegvideoparse: support field encoding for interlaced video

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

11 years agoneonhttpsrc: allow building with neon-0.30
Alexandre Rostovtsev [Mon, 12 Aug 2013 05:02:51 +0000 (01:02 -0400)]
neonhttpsrc: allow building with neon-0.30

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

11 years agosrtp: Let packets through without touching them if no crypto or auth is set
Olivier Crête [Mon, 12 Aug 2013 16:27:33 +0000 (12:27 -0400)]
srtp: Let packets through without touching them if no crypto or auth is set