platform/upstream/gstreamer.git
10 years agompegts: Install generated headers
Mariusz Buras [Wed, 18 Dec 2013 12:45:22 +0000 (13:45 +0100)]
mpegts: Install generated headers

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

10 years agoapplemedia: vtdec: Enable hardware accelerated decoding on 10.9
Davide Bertola [Tue, 17 Dec 2013 09:01:42 +0000 (10:01 +0100)]
applemedia: vtdec: Enable hardware accelerated decoding on 10.9

10 years agocurl: Fix indention
Sebastian Dröge [Tue, 17 Dec 2013 11:17:51 +0000 (12:17 +0100)]
curl: Fix indention

10 years agocurlftpsink: Optionally create a temporary file during FTP transfer/upload
Haridass Selvaraj [Tue, 17 Dec 2013 11:06:13 +0000 (12:06 +0100)]
curlftpsink: Optionally create a temporary file during FTP transfer/upload

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

10 years agodecklinksink: Give preference to the order of the filter caps when querying caps
Sebastian Dröge [Tue, 17 Dec 2013 09:23:15 +0000 (10:23 +0100)]
decklinksink: Give preference to the order of the filter caps when querying caps

10 years agodecklinksink: Only intersect with the filter caps if there actually is a filter
Sebastian Dröge [Tue, 17 Dec 2013 09:21:26 +0000 (10:21 +0100)]
decklinksink: Only intersect with the filter caps if there actually is a filter

10 years agovc1parse: Some compiler warning fixes to satisfy XCode compiler
Todd Agulnick [Mon, 16 Dec 2013 05:05:31 +0000 (21:05 -0800)]
vc1parse: Some compiler warning fixes to satisfy XCode compiler

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

10 years agoid3tag: Read image-description from the info structure, not the caps
Sebastian Dröge [Mon, 16 Dec 2013 15:07:44 +0000 (16:07 +0100)]
id3tag: Read image-description from the info structure, not the caps

10 years agoconfigure.ac: Fix typo in bz2 check
Aurélien Zanelli [Mon, 16 Dec 2013 10:14:29 +0000 (11:14 +0100)]
configure.ac: Fix typo in bz2 check

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

10 years agoid3tag: Write image-type into the APIC tag
Sebastian Dröge [Mon, 16 Dec 2013 10:51:00 +0000 (11:51 +0100)]
id3tag: Write image-type into the APIC tag

10 years agovc1parse: Post VIDEO_CODEC tag
Sebastian Dröge [Mon, 16 Dec 2013 09:25:22 +0000 (10:25 +0100)]
vc1parse: Post VIDEO_CODEC tag

10 years agopngparse: Post VIDEO_CODEC tag
Sebastian Dröge [Mon, 16 Dec 2013 09:24:28 +0000 (10:24 +0100)]
pngparse: Post VIDEO_CODEC tag

10 years agompegvideoparse: Use pbutils API to create the VIDEO_CODEC tag string
Sebastian Dröge [Mon, 16 Dec 2013 09:22:24 +0000 (10:22 +0100)]
mpegvideoparse: Use pbutils API to create the VIDEO_CODEC tag string

10 years agompeg4videoparse: Post VIDEO_CODEC tag
Sebastian Dröge [Mon, 16 Dec 2013 09:21:00 +0000 (10:21 +0100)]
mpeg4videoparse: Post VIDEO_CODEC tag

10 years agoh265parse: Post VIDEO_CODEC tag
Sebastian Dröge [Mon, 16 Dec 2013 09:19:36 +0000 (10:19 +0100)]
h265parse: Post VIDEO_CODEC tag

10 years agoh264parse: Post VIDEO_CODEC tag
Sebastian Dröge [Mon, 16 Dec 2013 09:18:23 +0000 (10:18 +0100)]
h264parse: Post VIDEO_CODEC tag

10 years agoh263parse: Post VIDEO_CODEC tag
Sebastian Dröge [Mon, 16 Dec 2013 09:16:14 +0000 (10:16 +0100)]
h263parse: Post VIDEO_CODEC tag

10 years agodiracparse: Post VIDEO_CODEC tag
Sebastian Dröge [Mon, 16 Dec 2013 09:13:36 +0000 (10:13 +0100)]
diracparse: Post VIDEO_CODEC tag

10 years agodecklinksrc: Process EOS even when there are no incoming video frames.
Todd Agulnick [Sat, 14 Dec 2013 23:12:53 +0000 (18:12 -0500)]
decklinksrc: Process EOS even when there are no incoming video frames.

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

10 years agoapplemedia: vtdec: handle level 3 in get_dpb_max_mb_s_from_level. oops.
Alessandro Decina [Sat, 14 Dec 2013 14:55:42 +0000 (15:55 +0100)]
applemedia: vtdec: handle level 3 in get_dpb_max_mb_s_from_level. oops.

10 years agoapplemedia: atdec: fix mp3 caps
Alessandro Decina [Sat, 14 Dec 2013 14:55:22 +0000 (15:55 +0100)]
applemedia: atdec: fix mp3 caps

10 years agodecklinksrc: Set GST_ELEMENT_FLAG_SOURCE on the source
Sebastian Dröge [Sat, 14 Dec 2013 17:42:11 +0000 (18:42 +0100)]
decklinksrc: Set GST_ELEMENT_FLAG_SOURCE on the source

As it does not inherit from basesrc, this flag is not automatically set
and e.g. gst_bin_iterate_sources() and other code does not consider this
element a source.

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

10 years agoconfigure.ac: add missing AM_CONDITIONAL for OPENEXR and SBC
Alessandro Decina [Sat, 14 Dec 2013 12:32:26 +0000 (13:32 +0100)]
configure.ac: add missing AM_CONDITIONAL for OPENEXR and SBC

Makes my automake (1.14) happier.

10 years agoapplemedia: always include <Foundation/Foundation.h>
Alessandro Decina [Sat, 14 Dec 2013 12:30:01 +0000 (13:30 +0100)]
applemedia: always include <Foundation/Foundation.h>

Fixes compilation with newest xcode.

10 years agoh264parser: not all startcodes should have 3-byte 0 prefix
Matej Knopp [Thu, 12 Dec 2013 16:49:24 +0000 (17:49 +0100)]
h264parser: not all startcodes should have 3-byte 0 prefix

The parser assumes that every time there is a 0 before the startcode,
it is part of the startcode. But that's not true.

From the specification

Byte stream NAL unit syntax
zero_byte is a single byte equal to 0x00.
  When any of the following conditions are fulfilled, the zero_byte syntax
  element shall be present.
  – the nal_unit_type within the nal_unit( ) is equal to 7 (sequence parameter
    set) or 8 (picture parameter set)
  – the byte stream NAL unit syntax structure contains the first NAL unit of an
    access unit in decoding order, as specified by subclause 7.4.1.2.3.

The problem with doing this for all startcodes is that a trailing zero can mess
up timestamps. The trailing zero gets prepended to the startcode, which will
carry the PTS and DTS of previous buffer.

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

10 years agoasfparse: add timestamps to packets
Thiago Santos [Tue, 10 Dec 2013 14:27:52 +0000 (11:27 -0300)]
asfparse: add timestamps to packets

re-enable the code that adds timestamps to packets after baseparse's
port

10 years agoasfparse: port to baseparse
Thiago Santos [Tue, 10 Dec 2013 13:34:02 +0000 (10:34 -0300)]
asfparse: port to baseparse

asfparse was not really functional after the port to 1.0

Now porting it to baseparse to get it working again

10 years agodvbsuboverlay: fix reading of display window in display definition segment
Benjamin Gaignard [Fri, 13 Dec 2013 10:49:52 +0000 (11:49 +0100)]
dvbsuboverlay: fix reading of display window in display definition segment

From ETSI EN 300 743 V1.3.1 (2006-11) 7.2.1 Display definition segment specifictations
the parameters of display window are in this order: Xmin, Xmax, Ymin, Ymax.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Pierre-Yves Mordret <pierre-yves.mordret@st.com>
https://bugzilla.gnome.org/show_bug.cgi?id=720382

10 years agosrtp: add 256-bit key support
Aleix Conchillo Flaqué [Fri, 13 Dec 2013 22:16:49 +0000 (14:16 -0800)]
srtp: add 256-bit key support

* ext/srtp/gstsrtp.[ch]: added GST_SRTP_CIPHER_AES_256_ICM to
  GstSrtpCipherType and new function cipher_key_size.

* ext/srtp/gstsrtpenc.c: maximum key size is now 46 characters (14 for
  the salt plus the key). If different ciphers are chosen for RTP and
  RTCP the maximum needed key size is expected.

* ext/srtp/gstsrtpdec.c: minor documentation updates.

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

10 years agogsmdec: process all available input frames in one go
Tim-Philipp Müller [Thu, 12 Dec 2013 13:21:15 +0000 (13:21 +0000)]
gsmdec: process all available input frames in one go

Instead of parsing, decoding and sending out
lots os little 20ms audio buffers one by one.

10 years agoapplemedia: vtdec: fix compiler warning (uninitialized variable)
Alessandro Decina [Wed, 11 Dec 2013 17:52:53 +0000 (18:52 +0100)]
applemedia: vtdec: fix compiler warning (uninitialized variable)

10 years agoapplemedia: vtdec: rename reorder_queue_frame_delay to reorder_queue_length
Alessandro Decina [Wed, 11 Dec 2013 07:11:50 +0000 (08:11 +0100)]
applemedia: vtdec: rename reorder_queue_frame_delay to reorder_queue_length

10 years agoapplemedia: vtdec: report latency
Alessandro Decina [Wed, 11 Dec 2013 07:10:19 +0000 (08:10 +0100)]
applemedia: vtdec: report latency

10 years agoapplemedia: vtdec: set reorder queue length to the max DPB length
Alessandro Decina [Wed, 11 Dec 2013 06:58:23 +0000 (07:58 +0100)]
applemedia: vtdec: set reorder queue length to the max DPB length

Set reorder_queue_frame_delay from the DPB size (in frames). Still not optimal,
as the DPB size is larger than the max bframe forward prediction length, but I
don't know how to compute the latter without parsing every group of pictures.

10 years agosoundtouch: Call default event handler for basetransform
Jan Schmidt [Tue, 10 Dec 2013 12:06:53 +0000 (23:06 +1100)]
soundtouch: Call default event handler for basetransform

Make pipeline end properly at EOS and not leak by passing events
to the default event handler.

10 years agoresindvd: Remove racy glib warning.
Jan Schmidt [Thu, 5 Dec 2013 13:45:50 +0000 (00:45 +1100)]
resindvd: Remove racy glib warning.

Sometimes, the pad probes can be called twice - for OOB events
travelling downstream. Clear out the pad block id, so it only
gets removed once.

10 years agogsmdec: fix decoding of audio/ms-gsm variant
Tim-Philipp Müller [Fri, 6 Dec 2013 00:22:20 +0000 (00:22 +0000)]
gsmdec: fix decoding of audio/ms-gsm variant

Alternates between 33 and 32 byte frames, but must start
with a 33 byte frame. This has been broken for ages since
the element was ported to the audio decoder base class.

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

10 years agoapplemedia: vtdec: set the correct video format in the video meta
Alessandro Decina [Tue, 10 Dec 2013 10:10:54 +0000 (11:10 +0100)]
applemedia: vtdec: set the correct video format in the video meta

Fixes all kinds of weird bugs when videoconvert is used with the decoder.

10 years agocodecparsers: h264: fix picture level scaling lists derivation (rule B).
Cong Zhong [Wed, 17 Apr 2013 02:44:48 +0000 (10:44 +0800)]
codecparsers: h264: fix picture level scaling lists derivation (rule B).

Fix picture level scaling lists derivation from fall-back rule set B,
as specified in 7.4.2.2. More precisely, the sequence level scaling
lists need to be used but intra and inter lists arguments were swapped.

This fixes FRExt/freh5.264 from conformance testing.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
10 years agoapplemedia: corevideobuffer: set the correct stride for packed formats
Alessandro Decina [Sun, 8 Dec 2013 15:46:58 +0000 (16:46 +0100)]
applemedia: corevideobuffer: set the correct stride for packed formats

10 years agoapplemedia: vtdec: fix mpeg2 video support
Alessandro Decina [Sun, 8 Dec 2013 14:31:09 +0000 (15:31 +0100)]
applemedia: vtdec: fix mpeg2 video support

10 years agoapplemedia: vtdec: make jpeg decoding actually work
Alessandro Decina [Sun, 8 Dec 2013 14:25:27 +0000 (15:25 +0100)]
applemedia: vtdec: make jpeg decoding actually work

10 years agoapplemedia: vtdec: fail gracefully when not negotiated
Alessandro Decina [Sun, 8 Dec 2013 14:24:58 +0000 (15:24 +0100)]
applemedia: vtdec: fail gracefully when not negotiated

10 years agoapplemedia: rewrite VideoToolbox decoder based on GstVideoDecoder
Alessandro Decina [Sat, 7 Dec 2013 22:55:13 +0000 (23:55 +0100)]
applemedia: rewrite VideoToolbox decoder based on GstVideoDecoder

10 years agovmcndec: Add missing header file
Olivier Crête [Sat, 7 Dec 2013 02:11:32 +0000 (21:11 -0500)]
vmcndec: Add missing header file

Forgot to add header file to previou commit

10 years agovmncdec: Port to GStreamer 1.0 API
Olivier Crête [Sat, 7 Dec 2013 01:58:48 +0000 (20:58 -0500)]
vmncdec: Port to GStreamer 1.0 API

10 years agostereo: Port to GStreamer 1.0 API
Olivier Crête [Fri, 6 Dec 2013 22:58:13 +0000 (17:58 -0500)]
stereo: Port to GStreamer 1.0 API

10 years agojp2kdecimator: Port to GStreamer 1.0 API
Olivier Crête [Fri, 6 Dec 2013 22:10:39 +0000 (17:10 -0500)]
jp2kdecimator: Port to GStreamer 1.0 API

10 years agortpasfpay: Use GstRTPBasePayload method to push buffer
Olivier Crête [Thu, 5 Dec 2013 21:50:27 +0000 (16:50 -0500)]
rtpasfpay: Use GstRTPBasePayload method to push buffer

This way the event is also pushed.

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

10 years agosbcdec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:05:30 +0000 (12:05 +0100)]
sbcdec: Require caps to be set before any data processing

10 years agoadpcmdec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:05:21 +0000 (12:05 +0100)]
adpcmdec: Require caps to be set before any data processing

10 years agosirendec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:05:09 +0000 (12:05 +0100)]
sirendec: Require caps to be set before any data processing

10 years agoopusdec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:04:59 +0000 (12:04 +0100)]
opusdec: Require caps to be set before any data processing

10 years agompg123audiodec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:04:39 +0000 (12:04 +0100)]
mpg123audiodec: Require caps to be set before any data processing

10 years agogsmdec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:04:23 +0000 (12:04 +0100)]
gsmdec: Require caps to be set before any data processing

10 years agoamcvideodec: Use new gst_video_decoder_set_needs_format() API
Sebastian Dröge [Thu, 5 Dec 2013 10:49:41 +0000 (11:49 +0100)]
amcvideodec: Use new gst_video_decoder_set_needs_format() API

10 years agomfcdec: Use new gst_video_decoder_set_needs_format() API
Sebastian Dröge [Thu, 5 Dec 2013 10:49:31 +0000 (11:49 +0100)]
mfcdec: Use new gst_video_decoder_set_needs_format() API

10 years agoopenjpegdec: Use new gst_video_decoder_set_needs_format() API
Sebastian Dröge [Thu, 5 Dec 2013 10:49:14 +0000 (11:49 +0100)]
openjpegdec: Use new gst_video_decoder_set_needs_format() API

10 years agodaaladec: Use new gst_video_decoder_set_needs_format() API
Sebastian Dröge [Thu, 5 Dec 2013 10:45:36 +0000 (11:45 +0100)]
daaladec: Use new gst_video_decoder_set_needs_format() API

10 years agompegvideoparser: Also initialize debug category in parse_sequence_header
Olivier Crête [Wed, 4 Dec 2013 22:31:27 +0000 (17:31 -0500)]
mpegvideoparser: Also initialize debug category in parse_sequence_header

Also remove the useless initialized flag, this is already done by the macro

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

10 years agoopenexrdec: Instead of trying to parse the bitstream, just look for the next header
Sebastian Dröge [Wed, 4 Dec 2013 21:38:20 +0000 (22:38 +0100)]
openexrdec: Instead of trying to parse the bitstream, just look for the next header

This should be more robust and allows us to handle new versions of the
file format if the library supports it.

10 years agovideoparsers: use ACCEPT_INTERSECT
Wim Taymans [Wed, 4 Dec 2013 08:13:31 +0000 (09:13 +0100)]
videoparsers: use ACCEPT_INTERSECT

We can also accept caps with missing fields.

10 years agovideoparsers: remove fields from filter
Wim Taymans [Wed, 4 Dec 2013 08:03:45 +0000 (09:03 +0100)]
videoparsers: remove fields from filter

Don't filter out the caps properties we can convert between when
proxying the getcaps query to the downstream peer pad.

10 years agovideoparsers: refactor remove_fields in getcaps
Wim Taymans [Wed, 4 Dec 2013 08:00:43 +0000 (09:00 +0100)]
videoparsers: refactor remove_fields in getcaps

10 years agoopenni2src: Check color format
Sebastian Dröge [Tue, 3 Dec 2013 13:53:24 +0000 (14:53 +0100)]
openni2src: Check color format

10 years agoopenni2src: Add support for the video meta
Sebastian Dröge [Tue, 3 Dec 2013 13:47:32 +0000 (14:47 +0100)]
openni2src: Add support for the video meta

10 years agoopenni2src: Use GstVideoFrame API for better handling of strides
Sebastian Dröge [Tue, 3 Dec 2013 13:46:25 +0000 (14:46 +0100)]
openni2src: Use GstVideoFrame API for better handling of strides

And do proper stride conversion.

10 years agoopenni2src: Fix buffer handling to actually work and properly timestamp buffers
Sebastian Dröge [Tue, 3 Dec 2013 13:35:57 +0000 (14:35 +0100)]
openni2src: Fix buffer handling to actually work and properly timestamp buffers

10 years agoopenni2src: Don't shut down library when finalizing an element instance
Sebastian Dröge [Tue, 3 Dec 2013 13:35:42 +0000 (14:35 +0100)]
openni2src: Don't shut down library when finalizing an element instance

10 years agoopenni2src: Fix negotiation and creation of a video buffer pool
Sebastian Dröge [Tue, 3 Dec 2013 13:35:21 +0000 (14:35 +0100)]
openni2src: Fix negotiation and creation of a video buffer pool

10 years agoopenni2src: Use debug category properly
Sebastian Dröge [Tue, 3 Dec 2013 13:34:56 +0000 (14:34 +0100)]
openni2src: Use debug category properly

10 years agoopenni2src: Classification of the element should be Source/Video
Sebastian Dröge [Mon, 2 Dec 2013 16:03:46 +0000 (17:03 +0100)]
openni2src: Classification of the element should be Source/Video

10 years agoopenni2src: Use GstVideoInfo to create caps and don't leak them
Sebastian Dröge [Mon, 2 Dec 2013 16:01:36 +0000 (17:01 +0100)]
openni2src: Use GstVideoInfo to create caps and don't leak them

10 years agoopenni2src: Some random cleanup and minor fixes
Sebastian Dröge [Mon, 2 Dec 2013 15:59:14 +0000 (16:59 +0100)]
openni2src: Some random cleanup and minor fixes

10 years agoopenni: Add OpenNNI2 plugin
Miguel Casas-Sanchez [Mon, 2 Dec 2013 10:17:02 +0000 (11:17 +0100)]
openni: Add OpenNNI2 plugin

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

10 years agogeometrictransform: G_DEFINE_TYPE() already calls g_type_class_peek_parent() for us
Sebastian Dröge [Mon, 2 Dec 2013 09:28:28 +0000 (10:28 +0100)]
geometrictransform: G_DEFINE_TYPE() already calls g_type_class_peek_parent() for us

10 years agogeometrictransform: Remove empty GObject::finalize() implementations
Sebastian Dröge [Mon, 2 Dec 2013 09:25:57 +0000 (10:25 +0100)]
geometrictransform: Remove empty GObject::finalize() implementations

Also don't use GST_DEBUG_FUNCPTR for GObject vfuncs

10 years agogeometrictransform: Add a 2D perspective transform plugin
Antonio Ospite [Sun, 20 Oct 2013 20:04:38 +0000 (22:04 +0200)]
geometrictransform: Add a 2D perspective transform plugin

The perspective plugin applies a 2D perspective (also called projective)
transform to the frame buffer.

A perspective transform can be used for instance to perform keystone
correction when playing the content with a video projector.

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

10 years agompeg2enc: avoid list for one single value in template caps
Tim-Philipp Müller [Sun, 1 Dec 2013 23:31:25 +0000 (23:31 +0000)]
mpeg2enc: avoid list for one single value in template caps

10 years agoasfmux: microoptimisation: avoid unnecessary gst_buffer_get_size() calls
Tim-Philipp Müller [Sun, 1 Dec 2013 22:32:09 +0000 (22:32 +0000)]
asfmux: microoptimisation: avoid unnecessary gst_buffer_get_size() calls

10 years agortpasfpay: init rtp buffer fixing rtp packet creation
Tim-Philipp Müller [Fri, 29 Nov 2013 13:23:40 +0000 (13:23 +0000)]
rtpasfpay: init rtp buffer fixing rtp packet creation

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

10 years agoasfmux: don't use buffer after giving away ownership
Tim-Philipp Müller [Fri, 29 Nov 2013 13:22:56 +0000 (13:22 +0000)]
asfmux: don't use buffer after giving away ownership

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

10 years agoUpdate spec file with latest changes
Christian Fredrik Kalager Schaller [Fri, 29 Nov 2013 09:14:43 +0000 (10:14 +0100)]
Update spec file with latest changes

10 years agopngparse: Don't try to set framerate if not from upstream
Lubosz Sarnecki [Mon, 25 Nov 2013 16:57:00 +0000 (16:57 +0000)]
pngparse: Don't try to set framerate if not from upstream

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

10 years agoh264parse: Fix splitting of multiple NALU per buffer
Sebastian Dröge [Thu, 28 Nov 2013 14:10:16 +0000 (15:10 +0100)]
h264parse: Fix splitting of multiple NALU per buffer

Conversion to byte-stream/nal crashes without that because the
baseparse frame of all NALUs is finished for the first NALU, then
used again for parsing the second NALU. Just that now the buffer
of the frame is already gone. Instead we create temporary frames
for every NALU.

10 years agomssdemux: fix setting codec_data when using WaveFormatEx
Antonio Ospite [Thu, 31 Oct 2013 16:16:14 +0000 (17:16 +0100)]
mssdemux: fix setting codec_data when using WaveFormatEx

When using WaveFormatEx the actual codec private data is at the end of
the wav header structure, after the cbSize field, see for example the
notes at http://wiki.multimedia.cx/index.php?title=WAVEFORMATEX

The previous code was erroneously passing the whole WAVEFORMATEX
structure as codec_data.

The smoothstreaming specifications[1,2,3] always mention WAVEFORMATEX
and never smaller structures like WAVEFORMAT or PCMWAVEFORMAT, so the
buffer can assumed to be at least 18 bytes and always consuming the wav
header gives the (possibly empty) codec private data.

[1] http://web.archive.org/web/20120907004742/http://www.iis.net/community/files/media/smoothspecs/%5BMS-SMTH%5D.pdf
[2] http://download.microsoft.com/download/B/0/B/B0B199DB-41E6-400F-90CD-C350D0C14A53/%5BMS-SSTR%5D.pdf
[3] http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-SSTR%5D.pdf

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

10 years agomssdemux: use mssdemux_debug debug category for gstmssmanifest.c too
Antonio Ospite [Thu, 31 Oct 2013 14:58:27 +0000 (15:58 +0100)]
mssdemux: use mssdemux_debug debug category for gstmssmanifest.c too

10 years agomssdemux: fix coding style
Antonio Ospite [Wed, 16 Oct 2013 14:22:36 +0000 (16:22 +0200)]
mssdemux: fix coding style

10 years agodvdspu: Don't unmap an unreffed buffer
Jan Schmidt [Mon, 25 Nov 2013 04:17:33 +0000 (15:17 +1100)]
dvdspu: Don't unmap an unreffed buffer

gst_dvd_spu_finish_spu_buf drops the reference to the current
buffer, so make sure to call gst_buffer_unmap before it.

10 years agoopenexrdec: Consider the pixel aspect ratio stored in the file
Sebastian Dröge [Sat, 23 Nov 2013 18:11:42 +0000 (19:11 +0100)]
openexrdec: Consider the pixel aspect ratio stored in the file

10 years agoopenexr: Add OpenEXR decoder element
Sebastian Dröge [Sat, 23 Nov 2013 17:37:00 +0000 (18:37 +0100)]
openexr: Add OpenEXR decoder element

This currently converts from ARGB64_F16 (16 bit float per component)
to ARGB64 by clipping. We should add support for the F16 format and
implement a conversion filter element that can apply gamma curves,
change exposure, etc.

10 years agoopenexr: Add OpenEXR plugin
Sebastian Dröge [Sat, 23 Nov 2013 10:29:08 +0000 (11:29 +0100)]
openexr: Add OpenEXR plugin

See http://www.openexr.com

10 years agoopenjpeg: Fix names of debug categories
Sebastian Dröge [Sat, 23 Nov 2013 10:35:35 +0000 (11:35 +0100)]
openjpeg: Fix names of debug categories

10 years agodvdspu: pop new packet when invalid next command block
Mark Nauwelaerts [Sat, 23 Nov 2013 13:35:06 +0000 (14:35 +0100)]
dvdspu: pop new packet when invalid next command block

... to prevent staying stuck on current command block and busy looping.

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

10 years agompeg4videoparse: accept VideoObjectLayer as start of frame and config
Mark Nauwelaerts [Sat, 23 Nov 2013 10:23:35 +0000 (11:23 +0100)]
mpeg4videoparse: accept VideoObjectLayer as start of frame and config

... which it deserves as much as VideoObject.

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

10 years agoqtwrapper: g_memmove() is deprecated
Tim-Philipp Müller [Thu, 21 Nov 2013 15:54:32 +0000 (15:54 +0000)]
qtwrapper: g_memmove() is deprecated

Just use plain memmove(), g_memmove() is deprecated in
recent GLib versions.

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

10 years agodvdspu: Handle vobsub packets smaller than 4 bytes
Jan Schmidt [Wed, 20 Nov 2013 01:46:23 +0000 (12:46 +1100)]
dvdspu: Handle vobsub packets smaller than 4 bytes

In particular, handle the case of an empty packet with size 0 bytes.

Partially fixes: #712643

10 years agosrtpenc: Set the first session flag to false once one is create
Olivier Crête [Wed, 20 Nov 2013 01:18:48 +0000 (20:18 -0500)]
srtpenc: Set the first session flag to false once one is create

Otherwise it always thinks it's the first session.

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

10 years agosrtpdec: Make sure that stream-id/caps/segment are sent before buffers
Olivier Crête [Wed, 20 Nov 2013 01:12:54 +0000 (20:12 -0500)]
srtpdec: Make sure that stream-id/caps/segment are sent before buffers

It may be possible that only one of the two sink pads is linked in that case,
the events need to be created from the other pad.

10 years agosrtpdec: Pass is_rtcp to setcaps function
Olivier Crête [Wed, 20 Nov 2013 00:10:06 +0000 (19:10 -0500)]
srtpdec: Pass is_rtcp to setcaps function