platform/upstream/gstreamer.git
15 years ago[MOVED FROM BAD 20/57] gst/flv/gstflvdemux.c: Forward unknown queries upstream instea...
Wim Taymans [Fri, 25 Apr 2008 08:07:36 +0000 (08:07 +0000)]
[MOVED FROM BAD 20/57] gst/flv/gstflvdemux.c: Forward unknown queries upstream instead of returning FALSE on them.

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_query):
Forward unknown queries upstream instead of returning FALSE on them.

15 years ago[MOVED FROM BAD 19/57] gst/flv/gstflvparse.c: Handle NULL returns from FLV_GET_STRING...
Tim-Philipp Müller [Fri, 11 Apr 2008 23:19:21 +0000 (23:19 +0000)]
[MOVED FROM BAD 19/57] gst/flv/gstflvparse.c: Handle NULL returns from FLV_GET_STRING() more gracefully. Fixes crash caused by a strlen on a...

Original commit message from CVS:
* gst/flv/gstflvparse.c: (gst_flv_parse_metadata_item),
(gst_flv_parse_tag_script):
Handle NULL returns from FLV_GET_STRING() more gracefully. Fixes
crash caused by a strlen on a NULL string (#527622).

15 years ago[MOVED FROM BAD 18/57] gst/flv/gstflvparse.c: Don't strdup (and thus leak) codec...
Tim-Philipp Müller [Tue, 11 Dec 2007 11:54:43 +0000 (11:54 +0000)]
[MOVED FROM BAD 18/57] gst/flv/gstflvparse.c: Don't strdup (and thus leak) codec name strings when passing them to gst_tag_list_add().

Original commit message from CVS:
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video):
Don't strdup (and thus leak) codec name strings when passing
them to gst_tag_list_add().

15 years ago[MOVED FROM BAD 17/57] gst/flv/gstflvparse.c: Fix list of supported and known codecs.
Edward Hervey [Sun, 9 Dec 2007 19:37:53 +0000 (19:37 +0000)]
[MOVED FROM BAD 17/57] gst/flv/gstflvparse.c: Fix list of supported and known codecs.

Original commit message from CVS:
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video):
Fix list of supported and known codecs.
Emit tag with the codec name so it gets properly reported in totem and
other applications.

15 years ago[MOVED FROM BAD 16/57] gst/flv/gstflvparse.c: Output segment with proper 'stop' value...
Edward Hervey [Sun, 25 Nov 2007 10:45:09 +0000 (10:45 +0000)]
[MOVED FROM BAD 16/57] gst/flv/gstflvparse.c: Output segment with proper 'stop' value, makes flvdemux 100% compatible with gnonlin.

Original commit message from CVS:
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video):
Output segment with proper 'stop' value, makes flvdemux 100% compatible
with gnonlin.

15 years ago[MOVED FROM BAD 15/57] gst/flv/gstflvparse.c: Add mapping for Nellymoser ASAO audio...
Edward Hervey [Mon, 12 Nov 2007 19:22:24 +0000 (19:22 +0000)]
[MOVED FROM BAD 15/57] gst/flv/gstflvparse.c: Add mapping for Nellymoser ASAO audio codec.

Original commit message from CVS:
* gst/flv/gstflvparse.c:
Add mapping for Nellymoser ASAO audio codec.
(gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Make sure we
actually have data to read at the end of the tag. This avoids trying
to allocate negative buffers.

15 years ago[MOVED FROM BAD 14/57] gst/flv/gstflvparse.c: Don't emit no-more-pads for single...
Julien Moutte [Mon, 22 Oct 2007 15:45:49 +0000 (15:45 +0000)]
[MOVED FROM BAD 14/57] gst/flv/gstflvparse.c: Don't emit no-more-pads for single pad scenarios as the header is definitely not reliable. We ...

Original commit message from CVS:
2007-10-22  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video), (gst_flv_parse_tag_type): Don't
emit no-more-pads for single pad scenarios as the header
is definitely not reliable. We emit them for 2 pads scenarios
though to speed up media discovery.

15 years ago[MOVED FROM BAD 13/57] gst/flv/gstflvparse.c: I got it wrong again, audio rate was...
Julien Moutte [Thu, 27 Sep 2007 10:06:23 +0000 (10:06 +0000)]
[MOVED FROM BAD 13/57] gst/flv/gstflvparse.c: I got it wrong again, audio rate was not detected correctly in all cases.

Original commit message from CVS:
2007-09-27  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video): I got it wrong again, audio rate
was not detected correctly in all cases.

15 years ago[MOVED FROM BAD 12/57] gst/flv/gstflvparse.c: codec_data is needed for every tag...
Julien Moutte [Wed, 26 Sep 2007 16:30:50 +0000 (16:30 +0000)]
[MOVED FROM BAD 12/57] gst/flv/gstflvparse.c: codec_data is needed for every tag not just the first one. (Fix a stupid bug i introduced with...

Original commit message from CVS:
2007-09-26  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video): codec_data is needed for every tag
not just the first one. (Fix a stupid bug i introduced without
testing)

15 years ago[MOVED FROM BAD 11/57] gst/flv/gstflvparse.c: Fix bit masks operations to be sure...
Julien Moutte [Wed, 26 Sep 2007 11:17:08 +0000 (11:17 +0000)]
[MOVED FROM BAD 11/57] gst/flv/gstflvparse.c: Fix bit masks operations to be sure we detect the codec_tags and sample rates correctly.

Original commit message from CVS:
2007-09-26  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video): Fix bit masks operations to be
sure we detect the codec_tags and sample rates correctly.
Fix raw audio caps generation.

15 years ago[MOVED FROM BAD 10/57] gst/: Printf format fixes (#476128).
Peter Kjellerstedt [Wed, 12 Sep 2007 08:38:22 +0000 (08:38 +0000)]
[MOVED FROM BAD 10/57] gst/: Printf format fixes (#476128).

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst-libs/gst/app/gstappsink.c:
* gst/flv/gstflvdemux.c:
* gst/flv/gstflvparse.c:
* gst/interleave/deinterleave.c:
* gst/switch/gstswitch.c:
Printf format fixes (#476128).

15 years ago[MOVED FROM BAD 09/57] gst/flv/gstflvdemux.c: Make sure we initialize the seek result.
Julien Moutte [Mon, 27 Aug 2007 14:56:05 +0000 (14:56 +0000)]
[MOVED FROM BAD 09/57] gst/flv/gstflvdemux.c: Make sure we initialize the seek result.

Original commit message from CVS:
2007-08-27  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvdemux.c: (gst_flv_demux_handle_seek_pull):
Make sure we initialize the seek result.

15 years ago[MOVED FROM BAD 08/57] gst/flv/gstflvdemux.c: Remove some useless ifdef.
Julien Moutte [Fri, 24 Aug 2007 17:03:15 +0000 (17:03 +0000)]
[MOVED FROM BAD 08/57] gst/flv/gstflvdemux.c: Remove some useless ifdef.

Original commit message from CVS:
2007-08-24  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvdemux.c: (gst_flv_demux_flush),
(gst_flv_demux_chain), (gst_flv_demux_pull_tag),
(gst_flv_demux_find_offset), (gst_flv_demux_handle_seek_push),
(gst_flv_demux_handle_seek_pull), (gst_flv_demux_sink_event),
(gst_flv_demux_src_event): Remove some useless ifdef.

15 years ago[MOVED FROM BAD 07/57] gst/flv/gstflvdemux.c: Implement seeking in push mode.
Julien Moutte [Fri, 24 Aug 2007 15:31:26 +0000 (15:31 +0000)]
[MOVED FROM BAD 07/57] gst/flv/gstflvdemux.c: Implement seeking in push mode.

Original commit message from CVS:
2007-08-24  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvdemux.c: (gst_flv_demux_flush),
(gst_flv_demux_cleanup), (gst_flv_demux_chain),
(gst_flv_demux_pull_tag), (gst_flv_demux_find_offset),
(gst_flv_demux_handle_seek_push),
(gst_flv_demux_handle_seek_pull),
(gst_flv_demux_sink_event), (gst_flv_demux_src_event): Implement
seeking in push mode.
* gst/flv/gstflvdemux.h:

15 years ago[MOVED FROM BAD 06/57] gst/flv/: Handle pixel aspect ratio through metadata tags...
Julien Moutte [Wed, 22 Aug 2007 14:50:51 +0000 (14:50 +0000)]
[MOVED FROM BAD 06/57] gst/flv/: Handle pixel aspect ratio through metadata tags like ASF does. Fluendo muxer supports this and

Original commit message from CVS:
2007-08-22  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup),
(gst_flv_demux_pull_tag):
* gst/flv/gstflvdemux.h:
* gst/flv/gstflvparse.c: (gst_flv_parse_metadata_item),
(gst_flv_parse_tag_script), (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video): Handle pixel aspect ratio through
metadata tags like ASF does. Fluendo muxer supports this and
Flash players can support it as well this way.

15 years ago[MOVED FROM BAD 05/57] gst/flv/: Make sure we don't try filling up the index if no...
Julien Moutte [Wed, 22 Aug 2007 14:03:42 +0000 (14:03 +0000)]
[MOVED FROM BAD 05/57] gst/flv/: Make sure we don't try filling up the index if no times object was parsed. Fix the way we decide to push ta...

Original commit message from CVS:
2007-08-22  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvdemux.c: (gst_flv_demux_pull_tag):
* gst/flv/gstflvparse.c: (gst_flv_parse_metadata_item),
(gst_flv_parse_tag_script), (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video): Make sure we don't try filling up the
index if no times object was parsed. Fix the way we decide to
push
tags and emit no-more-pads. Fix some printf typing in debugging.

15 years ago[MOVED FROM BAD 04/57] gst/flv/gstflvdemux.c: Fix locking and refcounting on the...
Wim Taymans [Tue, 14 Aug 2007 14:56:20 +0000 (14:56 +0000)]
[MOVED FROM BAD 04/57] gst/flv/gstflvdemux.c: Fix locking and refcounting on the index.

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_set_index),
(gst_flv_demux_get_index):
Fix locking and refcounting on the index.

15 years ago[MOVED FROM BAD 03/57] gst/flv/gstflvdemux.c: First method for seeking in pull mode...
Julien Moutte [Tue, 14 Aug 2007 14:22:09 +0000 (14:22 +0000)]
[MOVED FROM BAD 03/57] gst/flv/gstflvdemux.c: First method for seeking in pull mode using the index built step by step or coming from metadata.

Original commit message from CVS:
2007-08-14  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup),
(gst_flv_demux_adapter_flush), (gst_flv_demux_chain),
(gst_flv_demux_pull_tag), (gst_flv_demux_do_seek),
(gst_flv_demux_handle_seek), (gst_flv_demux_sink_event),
(gst_flv_demux_src_event), (gst_flv_demux_query),
(gst_flv_demux_change_state), (gst_flv_demux_set_index),
(gst_flv_demux_get_index), (gst_flv_demux_dispose),
(gst_flv_demux_class_init): First method for seeking in pull
mode using the index built step by step or coming from metadata.
* gst/flv/gstflvdemux.h:
* gst/flv/gstflvparse.c: (FLV_GET_STRING),
(gst_flv_parse_metadata_item), (gst_flv_parse_tag_script),
(gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Parse
more metadata types and keyframes index.

15 years ago[MOVED FROM BAD 02/57] gst/flv/: Handle not linked pads, try to make it reusable...
Julien Moutte [Wed, 25 Jul 2007 13:29:04 +0000 (13:29 +0000)]
[MOVED FROM BAD 02/57] gst/flv/: Handle not linked pads, try to make it reusable, more safety checks.

Original commit message from CVS:
2007-07-25  Julien MOUTTE  <julien@moutte.net>

(gst_flv_demux_chain), (gst_flv_demux_pull_tag),
(gst_flv_demux_change_state), (gst_flv_demux_dispose),
(gst_flv_demux_init):
* gst/flv/gstflvdemux.h:
* gst/flv/gstflvparse.c: (FLV_GET_STRING),
(gst_flv_parse_metadata_item), (gst_flv_parse_tag_script),
(gst_flv_parse_tag_audio), (gst_flv_parse_tag_video),
(gst_flv_parse_header):
* gst/flv/gstflvparse.h: Handle not linked pads, try to make it
reusable, more safety checks.

15 years ago[MOVED FROM BAD 01/57] Adds a first draft of an FLV demuxer.
Julien Moutte [Thu, 19 Jul 2007 15:05:30 +0000 (15:05 +0000)]
[MOVED FROM BAD 01/57] Adds a first draft of an FLV demuxer.

Original commit message from CVS:
2007-07-19  Julien MOUTTE  <julien@moutte.net>

* configure.ac:
* gst/flv/Makefile.am:
* gst/flv/gstflvdemux.c: (gst_flv_demux_flush),
(gst_flv_demux_cleanup), (gst_flv_demux_chain),
(gst_flv_demux_pull_tag), (gst_flv_demux_pull_header),
(gst_flv_demux_seek_to_prev_keyframe), (gst_flv_demux_loop),
(gst_flv_demux_sink_activate),
(gst_flv_demux_sink_activate_push),
(gst_flv_demux_sink_activate_pull), (gst_flv_demux_sink_event),
(gst_flv_demux_change_state), (gst_flv_demux_dispose),
(gst_flv_demux_base_init), (gst_flv_demux_class_init),
(gst_flv_demux_init), (plugin_init):
* gst/flv/gstflvdemux.h:
* gst/flv/gstflvparse.c: (FLV_GET_BEUI24), (FLV_GET_STRING),
(gst_flv_demux_query_types), (gst_flv_demux_query),
(gst_flv_parse_metadata_item), (gst_flv_parse_tag_script),
(gst_flv_parse_tag_audio), (gst_flv_parse_tag_video),
(gst_flv_parse_tag_type), (gst_flv_parse_header):
* gst/flv/gstflvparse.h: Adds a first draft of an FLV demuxer.
It does not do seeking yet, it supports pull and push mode so
YES
you can use it to play youtube videos directly from an HTTP uri.
Not so much testing done yet but it parses metadata, reply to
duration queries, etc...

15 years agortp: Link to -lm
Sebastian Dröge [Tue, 12 May 2009 11:00:46 +0000 (13:00 +0200)]
rtp: Link to -lm

Fixes bug #582281.

15 years agorganalysis: Remove invalid unit test
Sebastian Dröge [Tue, 12 May 2009 09:16:48 +0000 (11:16 +0200)]
rganalysis: Remove invalid unit test

The test creates buffers with non-silence, sets the GAP
flag on it and expects rganalysis to ignore the content and assume silence.

That's not the way how GAP buffers should be used, if the GAP flag is set
elements *can* assume that they only contain silence but they're not *required*
to assume that. The GAP flag must only be set on silence buffers.

Fixes bug #582252.

15 years ago0.10.14.2 pre-release
Jan Schmidt [Mon, 11 May 2009 23:48:49 +0000 (00:48 +0100)]
0.10.14.2 pre-release

15 years agochecks: dist id3-577468-unsynced-tag.tag test file
Jan Schmidt [Mon, 11 May 2009 22:13:20 +0000 (23:13 +0100)]
checks: dist id3-577468-unsynced-tag.tag test file

15 years agoavidemux: initialize variable to 0
Tristan Matthews [Mon, 11 May 2009 19:02:27 +0000 (21:02 +0200)]
avidemux: initialize variable to 0

Fixes #582218.

15 years agomatroskademux: Only search for the index entry once
Sebastian Dröge [Mon, 11 May 2009 16:21:13 +0000 (18:21 +0200)]
matroskademux: Only search for the index entry once

15 years agomatroskademux: Use the first index entry if it's after the seek position
Sebastian Dröge [Mon, 11 May 2009 16:18:36 +0000 (18:18 +0200)]
matroskademux: Use the first index entry if it's after the seek position

15 years agoavidemux: Use the first entry for a given stream if the first entry is after the...
Sebastian Dröge [Mon, 11 May 2009 16:15:22 +0000 (18:15 +0200)]
avidemux: Use the first entry for a given stream if the first entry is after the seek position

15 years agoavidemux: Use binary search for finding the requested index entry when seeking
Sebastian Dröge [Mon, 11 May 2009 14:50:48 +0000 (16:50 +0200)]
avidemux: Use binary search for finding the requested index entry when seeking

15 years agomatroskademux: Improve/optimize seeking
Sebastian Dröge [Mon, 11 May 2009 13:36:46 +0000 (15:36 +0200)]
matroskademux: Improve/optimize seeking

First of all a keyframe seek should be done to the
keyframe right before the requested position and not
to the keyframe that is nearest to the requested position.

Use per track index arrays and use our new binary search function
from core to speed up the search.

15 years agoRequire released versions of core/base
Sebastian Dröge [Mon, 11 May 2009 13:36:36 +0000 (15:36 +0200)]
Require released versions of core/base

15 years agogdkpixbuf: Use the libs and cflags of gdk pixbuf instead of gtk
Sebastian Dröge [Mon, 11 May 2009 08:15:00 +0000 (10:15 +0200)]
gdkpixbuf: Use the libs and cflags of gdk pixbuf instead of gtk

This fixes the build if gdk-pixbuf is found but gtk isn't

15 years agoAlways define the conditional HAVE_GTK to fix configure in some cases
Sebastian Dröge [Mon, 11 May 2009 07:58:48 +0000 (09:58 +0200)]
Always define the conditional HAVE_GTK to fix configure in some cases

15 years agoRun libtoolize before aclocal
Marc-Andre Lureau [Sun, 10 May 2009 09:17:23 +0000 (11:17 +0200)]
Run libtoolize before aclocal

This unbreaks the build in some cases. Fixes bug #582021

15 years agomatroska: fix printf format to agree with argument
David Schleef [Sat, 9 May 2009 17:50:45 +0000 (10:50 -0700)]
matroska: fix printf format to agree with argument

15 years agoraw1394: include stdlib.h for strtol()
Tim-Philipp Müller [Fri, 8 May 2009 18:42:10 +0000 (19:42 +0100)]
raw1394: include stdlib.h for strtol()

Fixes compiler warning when compiling with xml stuff in core disabled.

15 years agoflacdec: Actually output the pending buffer.. and not a blank one.
Edward Hervey [Fri, 8 May 2009 14:40:57 +0000 (16:40 +0200)]
flacdec: Actually output the pending buffer.. and not a blank one.

It was previously sending the bogus buffer which was returned from
the bufferalloc (required for reverse negotiation apparently) instead
of the pending buffer.

15 years agosouphttpsrc: Allow non-string fields in the extra-headers property
Sebastian Dröge [Fri, 8 May 2009 10:00:57 +0000 (12:00 +0200)]
souphttpsrc: Allow non-string fields in the extra-headers property

15 years agortj2kdepay: add basic JPEG 2000 depayloader
Wim Taymans [Fri, 8 May 2009 09:35:02 +0000 (11:35 +0200)]
rtj2kdepay: add basic JPEG 2000 depayloader

15 years agortpj2kpay: set marker bit correctly
Wim Taymans [Fri, 8 May 2009 09:31:02 +0000 (11:31 +0200)]
rtpj2kpay: set marker bit correctly

15 years agosouphttpsrc: Add support for extra-headers appended to the HTTP request
Sebastian Dröge [Fri, 8 May 2009 09:29:04 +0000 (11:29 +0200)]
souphttpsrc: Add support for extra-headers appended to the HTTP request

This allows to set the Referer header among other things by
adding a "extra-headers" property that takes a GstStructure
with field=string pairs.

Fixes bug #581806.

15 years agortpj2kpay: add a simple JPEG 2000 payloader
Wim Taymans [Fri, 8 May 2009 08:38:42 +0000 (10:38 +0200)]
rtpj2kpay: add a simple JPEG 2000 payloader

15 years agortpjpegpay: we only need to swap bits on LE
Wim Taymans [Fri, 8 May 2009 08:31:12 +0000 (10:31 +0200)]
rtpjpegpay: we only need to swap bits on LE

15 years agoAdd RANKS for various encoders and muxers
Christian Schaller [Thu, 7 May 2009 17:10:08 +0000 (18:10 +0100)]
Add RANKS for various encoders and muxers

15 years agomatroskademux: add some debugging
Wim Taymans [Thu, 7 May 2009 15:09:44 +0000 (17:09 +0200)]
matroskademux: add some debugging

15 years agomatroskademux: parse xiph headers length correctly
Wim Taymans [Thu, 7 May 2009 13:58:43 +0000 (15:58 +0200)]
matroskademux: parse xiph headers length correctly

See #580980

15 years agorganalysis: Add ability to post level messages
Gabriel Bouvigne [Thu, 7 May 2009 14:25:41 +0000 (16:25 +0200)]
rganalysis: Add ability to post level messages

Fixes bug #581568.

15 years agortpjpegpay: refuse some unsupported jpeg formats
Wim Taymans [Wed, 6 May 2009 21:56:44 +0000 (23:56 +0200)]
rtpjpegpay: refuse some unsupported jpeg formats

15 years agortptheorapay: fix description
Wim Taymans [Wed, 6 May 2009 16:06:49 +0000 (18:06 +0200)]
rtptheorapay: fix description

15 years agortpjpegpay: rewrite quant table handling
Wim Taymans [Wed, 6 May 2009 14:09:13 +0000 (16:09 +0200)]
rtpjpegpay: rewrite quant table handling

Rewrite the quant table parsing to also handle multiple tables in one JPEG HDQ
segment.
Handle more jpeg types by keeping track of the tables used per component and
putting the used ones in the quant headers.

15 years agoid3v2mux: Make the test failure slightly more informative
Jan Schmidt [Sat, 18 Apr 2009 16:23:51 +0000 (17:23 +0100)]
id3v2mux: Make the test failure slightly more informative

15 years agoflac: Make buffers created during seek act like normal buffers.
Jan Schmidt [Mon, 20 Apr 2009 17:33:09 +0000 (18:33 +0100)]
flac: Make buffers created during seek act like normal buffers.

Store the offset and caps when allocating a buffer during seeking, and then
allocate a new buffer with buffer_alloc before we push it out. This ensures
that in all respects the first buffer decoded during seeking behaves like
all other buffers, including allowing downstream re-negotiation.

15 years agoflacdec: don't use pad_alloc when decoding while seeking. Fixes #579422
Thomas Vander Stichele [Sat, 18 Apr 2009 16:00:54 +0000 (18:00 +0200)]
flacdec: don't use pad_alloc when decoding while seeking. Fixes #579422

15 years agojpegdec: refactored gst_jpeg_dec_parse_image_data
Arnout Vandecappelle [Wed, 6 May 2009 11:22:51 +0000 (13:22 +0200)]
jpegdec: refactored gst_jpeg_dec_parse_image_data

Fixes #579808

15 years agojpegdec: support additional 0xff before end marker.
Arnout Vandecappelle [Wed, 6 May 2009 11:11:53 +0000 (13:11 +0200)]
jpegdec: support additional 0xff before end marker.

JPEG markers may be preceded by additional 0xff.  jpegdec should
skip over these, even before the end marker.
See #579808

15 years agortpjpegpay: handle input with 1 quant table
Wim Taymans [Wed, 6 May 2009 10:54:22 +0000 (12:54 +0200)]
rtpjpegpay: handle input with 1 quant table

Also handle input with just one quant table, simply duplicate the quant table.
Handle invalid SOF correctly and some small cleanups.
Fixes #578257

15 years agoqtdemux: fix byte order swapping in 3GPP classification entity tag
Marco Ballesio [Wed, 29 Apr 2009 12:58:10 +0000 (15:58 +0300)]
qtdemux: fix byte order swapping in 3GPP classification entity tag

Fixes #580746.

15 years agomultipartdemux: avoid reading from inavlid memory
Arnout Vandecappelle [Tue, 5 May 2009 15:07:13 +0000 (17:07 +0200)]
multipartdemux: avoid reading from inavlid memory

Read the timestamp of the incomming buffer before we push it in the adapter and
flush it out again as the buffer might be unreffed then and we read from invalid
memory.
Fixes #581444.

15 years agomultipartdemux: don't leak dynamic pads
Arnout Vandecappelle [Tue, 5 May 2009 15:03:29 +0000 (17:03 +0200)]
multipartdemux: don't leak dynamic pads

Free the dynamic pads data in finalize.
Fixes #581432

15 years agortpjpegpay: correctly set the type header
Wim Taymans [Tue, 5 May 2009 14:32:17 +0000 (16:32 +0200)]
rtpjpegpay: correctly set the type header

Don't require width/height on the caps. Use the SOF header to find width/height
and fall back to the caps if there is no SOF. Also use the SOF info to find the
subsampling and quantization tables used. This allows us to set the right type
value in the JPEG rtp header.

Deprecate the quality property, it's unused now and it was used wrongly before.

Always send full quant tables for now until we have some code to detect default
ones.

Fixes #580880

15 years agortpjpegdepay: use width/height from payload
Wim Taymans [Tue, 5 May 2009 14:28:44 +0000 (16:28 +0200)]
rtpjpegdepay: use width/height from payload

Use the width and the height from the payload headers and set them on the
output caps for added awesomeness.

Fix quant parsing, we need to check the type in the lower 6 bits.

Add first bits of caching quantization tables.

15 years agojpegenc: set colorspace before _set_defaults()
Wim Taymans [Tue, 5 May 2009 14:24:16 +0000 (16:24 +0200)]
jpegenc: set colorspace before _set_defaults()

The libjpeg api says that we need to set the colorspace before we call
_set_defaults(). Indeed, if we don't do that we end up with some very freaky
non-standard quant table and huffman table indexes.

15 years agotests: don't build examples if --disable-examples was passed to configure
Tim-Philipp Müller [Tue, 5 May 2009 12:19:19 +0000 (13:19 +0100)]
tests: don't build examples if --disable-examples was passed to configure

15 years agoconfigure: clean up mess around gtk+ checking
Tim-Philipp Müller [Tue, 5 May 2009 11:33:57 +0000 (12:33 +0100)]
configure: clean up mess around gtk+ checking

And don't check for gtk+ when it's not needed (ie. if examples are disabled)

15 years agoconfigure: make gdk-pixbuf plugin depend only on gdk-pixbuf, not gtk+
Tim-Philipp Müller [Tue, 5 May 2009 11:27:21 +0000 (12:27 +0100)]
configure: make gdk-pixbuf plugin depend only on gdk-pixbuf, not gtk+

15 years agortspsrc: Fix find_stream_by_* functions
Wim Taymans [Mon, 4 May 2009 16:55:12 +0000 (18:55 +0200)]
rtspsrc: Fix find_stream_by_* functions

Fix various version of find_stream_by_* by not trying to convert an int to a
pointer and vice versa, for portability reasons.

Fixes #581333

15 years agortspsrc: fix dummy nat packet logic
Chris Winter [Mon, 4 May 2009 16:32:05 +0000 (18:32 +0200)]
rtspsrc: fix dummy nat packet logic

Fix a typo in the dummy NAT packet sending code.

Fixes #581329

15 years agortspsrc: avoid errors after server eof
Mark Nauwelaerts [Thu, 30 Apr 2009 08:24:27 +0000 (10:24 +0200)]
rtspsrc: avoid errors after server eof

Server eof (e.g. connection closed) is announced as connection closed,
so better record state and act accordingly to prevent (read/write)
errors during subsequent teardown/cleanup sequences.  #Fixes 580851.(c).

15 years agortspsrc: also set base_time on src after flush
Mark Nauwelaerts [Thu, 30 Apr 2009 08:19:27 +0000 (10:19 +0200)]
rtspsrc: also set base_time on src after flush

timestamps following flush/seek should be consistent between
UDP and TCP interleaved case.  Fixes #580851.(b).

15 years agortspsrc: sanity checks on range info
Mark Nauwelaerts [Thu, 30 Apr 2009 08:17:23 +0000 (10:17 +0200)]
rtspsrc: sanity checks on range info

A max range that overflows should not be trusted,
nor should a max range that equals the min range.
Fixes #580851.(a).

15 years agortspsrc: use SKIP flag to use SCALE headers
Wim Taymans [Mon, 4 May 2009 14:16:54 +0000 (16:16 +0200)]
rtspsrc: use SKIP flag to use SCALE headers

We can use the SKIP seek flag to instruct the server to send data faster then
normal but with the same bandwidth.
Fixes #537609

15 years agospeexdec: make speex_dec_convert work with same-format values when no data has been...
Alessandro Decina [Mon, 4 May 2009 12:19:22 +0000 (14:19 +0200)]
speexdec: make speex_dec_convert work with same-format values when no data has been decoded.

15 years agoflac: Implement preset interface
Sebastian Dröge [Mon, 4 May 2009 10:43:42 +0000 (12:43 +0200)]
flac: Implement preset interface

15 years agospeex: Implement preset interface
Sebastian Dröge [Mon, 4 May 2009 10:41:56 +0000 (12:41 +0200)]
speex: Implement preset interface

15 years agowavpack: Implement preset interface
Sebastian Dröge [Mon, 4 May 2009 10:40:12 +0000 (12:40 +0200)]
wavpack: Implement preset interface

15 years agoqtdemux: use binary search for index
Wim Taymans [Mon, 4 May 2009 10:35:19 +0000 (12:35 +0200)]
qtdemux: use binary search for index

Use the new binary search method for finding the right index entry faster.

15 years agovideobox: draw the complete U and V planes
Wim Taymans [Mon, 4 May 2009 09:26:56 +0000 (11:26 +0200)]
videobox: draw the complete U and V planes

Round up the scaled U and V width and height so that we always draw the correct
amount of pixels to fill the complete image.

Fixes #569611

15 years agoqtdemux: add some more micro optimisations
Wim Taymans [Fri, 1 May 2009 17:35:11 +0000 (19:35 +0200)]
qtdemux: add some more micro optimisations

15 years agoqtdemux: micro optimize qtdemux a little
Wim Taymans [Thu, 30 Apr 2009 16:41:44 +0000 (18:41 +0200)]
qtdemux: micro optimize qtdemux a little

Sprinkle some G_LIKELY around.

Avoid traversing and dumping the tree when debugging is not activated.

15 years agoqtdemux: add support for subtitle pictures
Wim Taymans [Thu, 30 Apr 2009 12:22:27 +0000 (14:22 +0200)]
qtdemux: add support for subtitle pictures

Add support for subtitle pictures.
Fixes #568278.

15 years agopulsesink: make sure we always signal waiters
Wim Taymans [Thu, 30 Apr 2009 08:32:39 +0000 (10:32 +0200)]
pulsesink: make sure we always signal waiters

Always signal the waiters in the async callbacks. Especially for the volume
callbacks since this might cause deadlocks.

15 years agortspsrc: release state lock before stopping task
Wim Taymans [Wed, 29 Apr 2009 16:09:07 +0000 (18:09 +0200)]
rtspsrc: release state lock before stopping task

We need to release the state lock before trying to wait for the task to end
because the task might also take the lock.

Fixes #577671

15 years agoqtdemux: handle ac-3 audio
Hans de Goede [Wed, 29 Apr 2009 10:19:27 +0000 (12:19 +0200)]
qtdemux: handle ac-3 audio

fix demuxing of m4v streams with ac-3 audio
Fixes #580554

15 years agoflacenc: Use the tag merge mode that was set on the interface for merging tag events
Sebastian Dröge [Wed, 29 Apr 2009 09:12:36 +0000 (11:12 +0200)]
flacenc: Use the tag merge mode that was set on the interface for merging tag events

15 years agoudpsrc: fix getaddrinfo error reporting
Wim Taymans [Sat, 25 Apr 2009 07:43:38 +0000 (09:43 +0200)]
udpsrc: fix getaddrinfo error reporting

getaddrinfo errors should be reported with gai_strerror instead of errno as
spotted by MikeS.

15 years agog726pay: fix compilation
Wim Taymans [Mon, 27 Apr 2009 08:08:39 +0000 (10:08 +0200)]
g726pay: fix compilation

15 years agog726pay: add RFC compliant packetizing
Wim Taymans [Mon, 27 Apr 2009 08:02:06 +0000 (10:02 +0200)]
g726pay: add RFC compliant packetizing

Shuffle the input bits according to RFC 3551 for G726 payloads.
Add option to force the previous behaviour.

Fixes #567140

15 years agog726depay: add debug category
Wim Taymans [Mon, 27 Apr 2009 07:59:54 +0000 (09:59 +0200)]
g726depay: add debug category

Add a debugging category, add some comments and remove _peek_parent().

15 years agoid3v2mux: we need taglib 1.5 for ID3v2::RelativeVolumeFrame::setIdentification
Tim-Philipp Müller [Sun, 26 Apr 2009 14:59:50 +0000 (15:59 +0100)]
id3v2mux: we need taglib 1.5 for ID3v2::RelativeVolumeFrame::setIdentification

Bump taglib requirement.

15 years agoid3demux: add unit test file for unsynced id3 tags
Tim-Philipp Müller [Fri, 24 Apr 2009 01:11:28 +0000 (02:11 +0100)]
id3demux: add unit test file for unsynced id3 tags

15 years agoid3demux: parse unsynchronised tags properly
Tim-Philipp Müller [Fri, 24 Apr 2009 00:51:35 +0000 (01:51 +0100)]
id3demux: parse unsynchronised tags properly

We didn't handle unsynchronization at all up to now, which might have
caused frames to not be extracted - esp. frames after an APIC picture
frame. Fixes #577468.

15 years agoid3demux: pass the right size value for size of all frames to the parser
Tim-Philipp Müller [Fri, 24 Apr 2009 00:01:53 +0000 (01:01 +0100)]
id3demux: pass the right size value for size of all frames to the parser

Frame data size is tag size adjusted for size of the tag header and
footer, not tag size including header and footer.

15 years agortspsrc: fix some more pad leaks
Patrick Radizi [Wed, 22 Apr 2009 13:24:55 +0000 (15:24 +0200)]
rtspsrc: fix some more pad leaks

Fix some pad leaks.
See #577318.

15 years agoAutomatic update of common submodule
Jan Schmidt [Tue, 21 Apr 2009 21:12:45 +0000 (22:12 +0100)]
Automatic update of common submodule

From b3941ea to 6ab11d1

15 years agoqtdemux: override caps based on data from ESDS atoms in mpeg4.
Michael Smith [Tue, 21 Apr 2009 21:02:01 +0000 (14:02 -0700)]
qtdemux: override caps based on data from ESDS atoms in mpeg4.

If the codec is actually something else (e.g. mjpeg) change the caps to
match when parsing the ESDS atom.
Also, for AAC, override rate and channels with correct values read from
ESDS, since the rate/channels values elsewhere are often wrong.

15 years agojpegdec: fix warning for still images by not trying to divide by 0
Tim-Philipp Müller [Mon, 20 Apr 2009 18:32:00 +0000 (19:32 +0100)]
jpegdec: fix warning for still images by not trying to divide by 0

Don't pass a 0 divisor to gst_util_uint64_scale(), or it will complain
in the single image case where fps=0/1 (are we supposed to differentiate
between no fps=still image and fps=0/1=variable rate here btw?)

15 years agoudp: Fix a simple typo in the previous commit
Jan Schmidt [Mon, 20 Apr 2009 16:25:34 +0000 (17:25 +0100)]
udp: Fix a simple typo in the previous commit

Use #ifdef instead of #if, to fix the build

15 years agofix format string in pngdec
Andy Wingo [Mon, 20 Apr 2009 13:48:21 +0000 (15:48 +0200)]
fix format string in pngdec

* ext/libpng/gstpngdec.c: Fix size_t vs unsigned int format in error message.

15 years agoonly use struct ip_mreqn if it is detected
Andy Wingo [Mon, 20 Apr 2009 13:46:03 +0000 (15:46 +0200)]
only use struct ip_mreqn if it is detected

* configure.ac: Make an explicit check for struct ip_mreqn.

* gst/udp/gstudpnetutils.c: Use HAVE_IP_MREQN instead of the ad-hoc checks.

15 years agoFix push mode buffering sanity check to actually fit the description.
Mark Nauwelaerts [Mon, 20 Apr 2009 11:45:32 +0000 (13:45 +0200)]
Fix push mode buffering sanity check to actually fit the description.