platform/upstream/gstreamer.git
13 years agoaudioresample: use SSE/SSE2 when possible
Vincent Penquerc'h [Thu, 11 Aug 2011 14:54:15 +0000 (15:54 +0100)]
audioresample: use SSE/SSE2 when possible

Compile in the code on i386 and x86_64, and use ORC to determine
when the runtime platform can run the code.

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

13 years agoaudioresample: fix SSE2 building with double precision
Vincent Penquerc'h [Thu, 11 Aug 2011 18:23:42 +0000 (19:23 +0100)]
audioresample: fix SSE2 building with double precision

The full double implementation was missing.

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

13 years agotag: exif: Check for utf8 before trying to convert
Thiago Santos [Thu, 11 Aug 2011 15:12:07 +0000 (12:12 -0300)]
tag: exif: Check for utf8 before trying to convert

If the string is already on utf8, there is no need to
try to convert it, because it is useless and it might garble
the string.

13 years agotests: tag: exif: Add tests for 'non-trivial' chars
Thiago Santos [Wed, 10 Aug 2011 16:16:13 +0000 (13:16 -0300)]
tests: tag: exif: Add tests for 'non-trivial' chars

Adds two new cases to check that characters are properly
converted to ascii when writen to exif and parsed correctly
back to utf8 when read.

13 years agotag: exif: Exif strings should be ascii
Thiago Santos [Tue, 9 Aug 2011 19:02:28 +0000 (16:02 -0300)]
tag: exif: Exif strings should be ascii

Use g_convert to turn all strings into extended ascii before writing
to the exif buffer and converting back from ascii to utf8 when
reading them.

13 years agowin32: update libgsttag.def for new API
Tim-Philipp Müller [Wed, 10 Aug 2011 14:57:02 +0000 (15:57 +0100)]
win32: update libgsttag.def for new API

13 years agotag: don't build helper programs that generate/update data by default
Tim-Philipp Müller [Wed, 10 Aug 2011 14:21:41 +0000 (15:21 +0100)]
tag: don't build helper programs that generate/update data by default

No point building these by default. Also, these generated files
should go into the srcdir, not the builddir in this case, since
they're version controlled.

13 years agotag: fix stray printf in mklicensestables
Tim-Philipp Müller [Wed, 10 Aug 2011 14:20:37 +0000 (15:20 +0100)]
tag: fix stray printf in mklicensestables

Don't dump debug output to stdout.

13 years agotag: fix compilation of new licenses code with GLib versions < 2.28
Tim-Philipp Müller [Wed, 10 Aug 2011 14:06:59 +0000 (15:06 +0100)]
tag: fix compilation of new licenses code with GLib versions < 2.28

Add local g_variant_lookup_value() fallback for now when compiling
against older GLib versions.

13 years agotag: add GType for GstTagLicenseFlags
Tim-Philipp Müller [Wed, 10 Aug 2011 13:57:14 +0000 (14:57 +0100)]
tag: add GType for GstTagLicenseFlags

API: gst_tag_license_flags_get_type()

13 years agosubparse: fix runtime warnings when doing position query
Tim-Philipp Müller [Wed, 10 Aug 2011 09:49:38 +0000 (10:49 +0100)]
subparse: fix runtime warnings when doing position query

Add missing 'break'.

13 years agotag: add unit test for new license API
Tim-Philipp Müller [Fri, 15 Jul 2011 12:19:38 +0000 (13:19 +0100)]
tag: add unit test for new license API

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

13 years agotag: add mklicensestables utility
Tim-Philipp Müller [Fri, 15 Jul 2011 12:14:16 +0000 (13:14 +0100)]
tag: add mklicensestables utility

Add (uninstalled) tool to create licenses-table.dat from liblicense's
RDF files. It's not very pretty and makes loats of assumptions about
the input, but should work. If things change, we can fix it then.

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

13 years agotag: add convenience API to handle creative commons licenses
Tim-Philipp Müller [Fri, 15 Jul 2011 12:07:55 +0000 (13:07 +0100)]
tag: add convenience API to handle creative commons licenses

Based on liblicense's RDF files.

API: GstTagLicenseFlags
API: gst_tag_get_licenses()
API: gst_tag_get_license_flags()
API: gst_tag_get_license_nick()
API: gst_tag_get_license_title()
API: gst_tag_get_license_version()
API: gst_tag_get_license_description()
API: gst_tag_get_license_jurisdiction()

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

13 years agotypefind: bump probability if all frames we found are similar
Vincent Penquerc'h [Mon, 8 Aug 2011 09:00:40 +0000 (10:00 +0100)]
typefind: bump probability if all frames we found are similar

Similar meaning same layer, same bitrate, and same number of channels

This fixes misdetection of (some MP3 files that have zero padding
between the ID3 tag and the MP3 stream) as H.264 video.

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

13 years agogstvorbistag: map ENCODER Vorbis comment to application-name
Vincent Penquerc'h [Fri, 5 Aug 2011 15:53:47 +0000 (16:53 +0100)]
gstvorbistag: map ENCODER Vorbis comment to application-name

What GStreamer calls encoder ("encoder used to encode this stream") is
stored in the vendor string in Vorbis/Theora/Kate and possibly others.
The Vorbis comment packet used in those streams uses ENCODER as the name
of the encoding program, which GStreamer calls application-name.

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

13 years agovolume: fix sample depth typo
Vincent Penquerc'h [Fri, 5 Aug 2011 10:32:09 +0000 (11:32 +0100)]
volume: fix sample depth typo

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

13 years agovolume: Update disted ORC files
Sebastian Dröge [Fri, 5 Aug 2011 11:05:43 +0000 (13:05 +0200)]
volume: Update disted ORC files

13 years agoencodebin: Set queues to silent=true
Thiago Santos [Wed, 3 Aug 2011 17:14:55 +0000 (14:14 -0300)]
encodebin: Set queues to silent=true

As encodebin doesn't connect to the queue signals, it can set
queues to silent mode to make queue not emit them.

Check https://bugzilla.gnome.org/show_bug.cgi?id=621299 for
more info on queue's silent property.

13 years agoencodebin: Fix typo on installing properties
Thiago Santos [Wed, 3 Aug 2011 16:40:19 +0000 (13:40 -0300)]
encodebin: Fix typo on installing properties

queue buffers and bytes properties have ids swapped, fix it.

13 years agooggstream: Fix crashes with 0-byte vorbis packets
Jonathan Liu [Wed, 3 Aug 2011 08:18:29 +0000 (10:18 +0200)]
oggstream: Fix crashes with 0-byte vorbis packets

Fixes bug #655574.

13 years agopbutils: Add SP levels 4a, 5 and 6
Jens Georg [Thu, 28 Jul 2011 12:43:53 +0000 (14:43 +0200)]
pbutils: Add SP levels 4a, 5 and 6

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

13 years agotheoradec: segfault on 0-byte ogg_packet in _chain_reverse
Philip Jägenstedt [Tue, 26 Jul 2011 14:10:17 +0000 (16:10 +0200)]
theoradec: segfault on 0-byte ogg_packet in _chain_reverse

13 years agoAdd new GstTagMux base class
Tim-Philipp Müller [Fri, 29 Jul 2011 09:23:02 +0000 (10:23 +0100)]
Add new GstTagMux base class

Hook up new tag muxing base class to build system.

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

API: GstTagMux

13 years agodocs: add documentation for GstTagMux
Tim-Philipp Müller [Fri, 29 Jul 2011 09:22:26 +0000 (10:22 +0100)]
docs: add documentation for GstTagMux

13 years agotagmux: require subclass to install sink pad template
Tim-Philipp Müller [Thu, 28 Jul 2011 19:38:37 +0000 (20:38 +0100)]
tagmux: require subclass to install sink pad template

Require the subclass to install both source and sink pad
templates. Also, print some warnings if the subclass doesn't
do that.

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

13 years agotagmux: const-ify GstTagList argument of render vfuncs
Tim-Philipp Müller [Fri, 15 Jul 2011 19:57:47 +0000 (20:57 +0100)]
tagmux: const-ify GstTagList argument of render vfuncs

13 years agotagmux: fix up private base class header so it can be made public
Tim-Philipp Müller [Fri, 15 Jul 2011 19:39:20 +0000 (20:39 +0100)]
tagmux: fix up private base class header so it can be made public

Move private bits into a private struct, add some padding.

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

13 years agotagmux: add support for end tags
Michael Smith [Thu, 28 Jul 2011 22:31:03 +0000 (23:31 +0100)]
tagmux: add support for end tags

Originally "id3tag: Add new id3 tagging plugin, supports v1, v2.3,
and v2.4." from gst-plugins-bad. This is an artificial bridge commit.

13 years agoext: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs
Sebastian Dröge [Sun, 6 Jun 2010 16:00:22 +0000 (18:00 +0200)]
ext: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs

13 years agoFix build on Mac OS X 10.5
Julien Moutte [Tue, 20 Nov 2007 11:41:13 +0000 (11:41 +0000)]
Fix build on Mac OS X 10.5

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

* gst-libs/gst/tag/gsttagmux.c: (gst_tag_lib_mux_render_tag),
(gst_tag_lib_mux_adjust_event_offsets):
* gst/qtdemux/qtdemux.c: (qtdemux_parse_theora_extension):
* sys/osxaudio/Makefile.am:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m: Fix build on Mac OS X 10.5

13 years agoUpdate my mail address.
Sebastian Dröge [Thu, 13 Sep 2007 15:04:15 +0000 (15:04 +0000)]
Update my mail address.

Original commit message from CVS:
* ext/taglib/gstapev2mux.cc:
* ext/taglib/gstapev2mux.h:
* gst-libs/gst/tag/gsttagmux.c:
* tests/check/elements/apev2mux.c:
Update my mail address.

13 years agoAdd apev2mux element (#343122).
Sebastian Dröge [Tue, 30 May 2006 14:35:18 +0000 (14:35 +0000)]
Add apev2mux element (#343122).

Original commit message from CVS:
Patch by: Sebastian Dröge  <mail at slomosnail de >
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* ext/taglib/Makefile.am:
* ext/taglib/gstapev2mux.cc:
* ext/taglib/gstapev2mux.h:
* ext/taglib/gstid3v2mux.cc:
* gst-libs/gst/tag/gsttagmux.c: (plugin_init):
* gst-libs/gst/tag/gsttagmux.h:
Add apev2mux element (#343122).
* tests/check/Makefile.am:
* tests/check/elements/apev2mux.c:
(test_taglib_apev2mux_create_tags),
(test_taglib_apev2mux_check_tags), (fill_mp3_buffer), (got_buffer),
(demux_pad_added), (test_taglib_apev2mux_check_output_buffer),
(test_taglib_apev2mux_with_tags), (GST_START_TEST),
(apev2mux_suite), (main):
Add unit test for apev2mux element.

13 years agogst-libs/gst/tag/gsttagmux.c: Merge event tags and tag setter tags
James Doc Livingston [Thu, 18 May 2006 12:46:08 +0000 (12:46 +0000)]
gst-libs/gst/tag/gsttagmux.c: Merge event tags and tag setter tags
correctly (#339918). Also, don't leak taglist in case...

Original commit message from CVS:
Patch by: James "Doc" Livingston  <doclivingston gmail com>
* gst-libs/gst/tag/gsttagmux.c: (gst_tag_lib_mux_render_tag):
Merge event tags and tag setter tags correctly (#339918). Also,
don't leak taglist in case of an error.

13 years agodocs/plugins/Makefile.am: also check .cc files for gtk-doc markup
Thomas Vander Stichele [Mon, 1 May 2006 11:46:33 +0000 (11:46 +0000)]
docs/plugins/Makefile.am: also check .cc files for gtk-doc markup

Original commit message from CVS:

* docs/plugins/Makefile.am:
also check .cc files for gtk-doc markup
* configure.ac:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* tests/check/Makefile.am:
* tests/check/elements/id3v2mux.c: (id3v2mux_suite), (main):
* ext/Makefile.am:
* ext/taglib/Makefile.am:
* ext/taglib/gstid3v2mux.h:
* gst-libs/gst/tag/gsttagmux.c:
* gst-libs/gst/tag/gsttagmux.h:
move taglib-based id3v2muxer to -good.  Fixes #336110.

13 years agosmall cleanups
Thomas Vander Stichele [Sun, 30 Apr 2006 16:16:59 +0000 (16:16 +0000)]
small cleanups

Original commit message from CVS:
small cleanups

13 years agoext/taglib/gsttaglib.cc: Post an error message on the bus in the
Tim-Philipp Müller [Sat, 29 Apr 2006 18:46:36 +0000 (18:46 +0000)]
ext/taglib/gsttaglib.cc: Post an error message on the bus in the
(extremely unlikely) case of an error.

Original commit message from CVS:
* ext/taglib/gsttaglib.cc:
Post an error message on the bus in the (extremely unlikely)
case of an error.

13 years agoext/taglib/: Split the actual ID3v2 tag rendering code into its own
Tim-Philipp Müller [Sat, 29 Apr 2006 18:18:24 +0000 (18:18 +0000)]
ext/taglib/: Split the actual ID3v2 tag rendering code into its own
subclass.

Original commit message from CVS:
* ext/taglib/Makefile.am:
* ext/taglib/gstid3v2mux.cc:
* ext/taglib/gstid3v2mux.h:
* ext/taglib/gsttaglib.cc:
* ext/taglib/gsttaglib.h:
Split the actual ID3v2 tag rendering code into
its own subclass.

13 years agopedantic cleanups
Thomas Vander Stichele [Fri, 28 Apr 2006 15:33:09 +0000 (15:33 +0000)]
pedantic cleanups

Original commit message from CVS:
pedantic cleanups

13 years agoadd taglib checks and docs
Thomas Vander Stichele [Sat, 1 Apr 2006 16:50:49 +0000 (16:50 +0000)]
add taglib checks and docs

Original commit message from CVS:
add taglib checks and docs

13 years agoext/taglib/gsttaglib.*: Fix newsegment event handling a bit. We need
Tim-Philipp Müller [Sun, 26 Mar 2006 19:56:37 +0000 (19:56 +0000)]
ext/taglib/gsttaglib.*: Fix newsegment event handling a bit. We need
to cache the first newsegment event, because we ...

Original commit message from CVS:
* ext/taglib/gsttaglib.cc:
* ext/taglib/gsttaglib.h:
Fix newsegment event handling a bit. We need to
cache the first newsegment event, because we can't
adjust offsets yet when we get it, as we don't
know the size of the tag yet for sure at that point.
Also do some minor cleaning up here and there and add
some debug statements.

13 years agoext/taglib/gsttaglib.cc: We do not want to proxy the caps on the
Tim-Philipp Müller [Sat, 25 Mar 2006 21:57:24 +0000 (21:57 +0000)]
ext/taglib/gsttaglib.cc: We do not want to proxy the caps on the
sink pad; our source pad should have application/x-i...

Original commit message from CVS:
* ext/taglib/gsttaglib.cc:
We do not want to proxy the caps on the sink pad; our
source pad should have application/x-id3 caps; also,
don't use already-freed strings in debug messages;
finally, adjust buffer offsets on buffers sent out.

13 years agoext/taglib/gsttaglib.h: Fix left-over gst_my_filter_get_type.
Tim-Philipp Müller [Mon, 20 Mar 2006 08:59:29 +0000 (08:59 +0000)]
ext/taglib/gsttaglib.h: Fix left-over gst_my_filter_get_type.

Original commit message from CVS:
* ext/taglib/gsttaglib.h:
Fix left-over gst_my_filter_get_type.

13 years agoext/taglib/gsttaglib.cc: Add gtk-doc blurb (unused for the time
Tim-Philipp Müller [Mon, 13 Mar 2006 17:22:19 +0000 (17:22 +0000)]
ext/taglib/gsttaglib.cc: Add gtk-doc blurb (unused for the time
being); match registered plugin name to the filename ...

Original commit message from CVS:
* ext/taglib/gsttaglib.cc:
Add gtk-doc blurb (unused for the time being); match registered
plugin name to the filename of the plugin (taglibmux => taglib)

13 years agoext/taglib/: Add support for writing MusicBrainz IDs.
Tim-Philipp Müller [Sun, 12 Mar 2006 15:02:02 +0000 (15:02 +0000)]
ext/taglib/: Add support for writing MusicBrainz IDs.

Original commit message from CVS:
* ext/taglib/Makefile.am:
* ext/taglib/gsttaglib.cc:
* ext/taglib/gsttaglib.h:
Add support for writing MusicBrainz IDs.

13 years agoext/taglib/gsttaglib.cc: and add support for TCOP (copyright)
Alex Lancaster [Sat, 11 Mar 2006 10:58:08 +0000 (10:58 +0000)]
ext/taglib/gsttaglib.cc: and add support for TCOP (copyright)

Original commit message from CVS:
2006-03-11  Christophe Fergeau  <teuf@gnome.org>

Patch by: Alex Lancaster

* ext/taglib/gsttaglib.cc: fix writing of TPOS tags (album number),
and add support for TCOP (copyright)

13 years agonew id3v2 muxer based on TagLib
Christophe Fergeau [Thu, 9 Mar 2006 17:44:17 +0000 (17:44 +0000)]
new id3v2 muxer based on TagLib

Original commit message from CVS:
2006-03-09  Christophe Fergeau  <teuf@gnome.org>

reviewed by: Tim-Philipp Müller  <tim at centricular dot net>

* configure.ac:
* ext/Makefile.am:
* ext/taglib/Makefile.am:
* ext/taglib/gsttaglib.cc:
* ext/taglib/gsttaglib.h: new id3v2 muxer based on TagLib

13 years agoencodebin: rename flags names
Thiago Santos [Thu, 28 Jul 2011 14:21:26 +0000 (11:21 -0300)]
encodebin: rename flags names

Rename flags names from native-audio/-video to
no-audio/video-conversion to be more explicit on what it does

13 years agobaseaudiosink: fix latency calculation for live elements
Stefan Sauer [Wed, 20 Jul 2011 16:10:57 +0000 (18:10 +0200)]
baseaudiosink: fix latency calculation for live elements

Max_latency was computed on already adjusted min_latency. Introduce a new
variable for clarity. Spotted by Blaise Gassend.
Fixes #644284

13 years agobaseaudiosink: fix max latency calculation
Mark Nauwelaerts [Thu, 28 Jul 2011 09:44:20 +0000 (11:44 +0200)]
baseaudiosink: fix max latency calculation

... to allow infinite max, as also claimed by comment.

13 years agobaseaudiosink: drop samples that are too late
Mark Nauwelaerts [Wed, 1 Jun 2011 08:21:39 +0000 (10:21 +0200)]
baseaudiosink: drop samples that are too late

... rather than having all of them rendered at 0 or subsequently aligned,
likely inevitably leading to repeated resyncing.

13 years agobasetime: fix failing test
Stefan Sauer [Tue, 26 Jul 2011 11:51:31 +0000 (13:51 +0200)]
basetime: fix failing test

Always use audiotestsrc as it seems to have been the intention according to the
comment header. The test does not work with live-audiosources.

13 years agotests: rename the test suite to match the binary
Stefan Kost [Mon, 25 Jul 2011 17:51:24 +0000 (19:51 +0200)]
tests: rename the test suite to match the binary

This unbreaks determining the name for make elements/playbin2-compressed.check
from the test output.

13 years agoadder: rework pending event handling
Stefan Kost [Mon, 25 Jul 2011 17:39:55 +0000 (19:39 +0200)]
adder: rework pending event handling

Use atomic ops on pending flags. Rename the segment_pending to
new_segment_pending. Set new_segment_pending not when we received seek, but
when we received the first upstream new_segment.

13 years agoadder: more debug logging for events
Stefan Kost [Mon, 25 Jul 2011 17:11:59 +0000 (19:11 +0200)]
adder: more debug logging for events

13 years agodecodebin2: Allow all EOS to go through if we don't have a next group
Edward Hervey [Tue, 26 Jul 2011 10:33:56 +0000 (12:33 +0200)]
decodebin2: Allow all EOS to go through if we don't have a next group

Only drop them if the current group isn't drained .. AND there is a
next group to switch to.

Should Fix #655268

13 years agoplaybin2: Avoid resetting playsink when not needed
Edward Hervey [Mon, 25 Jul 2011 16:37:15 +0000 (18:37 +0200)]
playbin2: Avoid resetting playsink when not needed

When we don't have specific {audio|video|text}-sink properties, don't
set them on playsink when reconfiguring.
If we do that, we end up setting the previous configured sink to
GST_STATE_NULL resulting in any potentially pending push being returned
with GST_FLOW_WRONG_STATE which will cause the upstream elements to
silently stop.

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

13 years agotextoverlay: improve the example
Stefan Sauer [Mon, 25 Jul 2011 10:04:02 +0000 (12:04 +0200)]
textoverlay: improve the example

Mentioned that this is not ment to be used with subtitles and suggest alternatives.

13 years agodecodebin2: Properly handle multi-stream chains
Edward Hervey [Mon, 25 Jul 2011 08:41:04 +0000 (10:41 +0200)]
decodebin2: Properly handle multi-stream chains

When we have a multi-stream (i.e. audio and video) input and the demuxer
adds/removes pads for a new stream (common in a mpeg-ts stream when the
program stream mapping is updated), the algorithm for EOS handling was
previously wrong (it would only drop the EOS of the *last* pad but would
let the EOS on the other pads go through).

The logic has only been changed a tiny bit for EOS handling resulting in:
* If there is no next group, let the EOS go through
* If there is a next group, but not all pads are drained in the active
  group, drop the EOS event
* If there is a next group and all pads are drained, then the ghostpads
  will be removed and the EOS event will be dropped automatically.

13 years agotextoverlay: add example for feeding from stdin
Stefan Sauer [Sat, 23 Jul 2011 12:21:27 +0000 (14:21 +0200)]
textoverlay: add example for feeding from stdin

13 years agotest: print actual timestamp on failure
Stefan Sauer [Sat, 23 Jul 2011 11:46:31 +0000 (13:46 +0200)]
test: print actual timestamp on failure

13 years agotextoverlay: keep untimestamped textbuffer until next one
Stefan Sauer [Wed, 20 Jul 2011 11:46:31 +0000 (13:46 +0200)]
textoverlay: keep untimestamped textbuffer until next one

Instead of discarding untimestamped text-buffers immeditely after rendering,
keep them until we receive the next text buffer.
Fixes #654959

13 years agotests: add decodebin2 test for parser autoplugging
Tim-Philipp Müller [Fri, 15 Jul 2011 15:46:54 +0000 (16:46 +0100)]
tests: add decodebin2 test for parser autoplugging

Make sure decodebin2 doesn't try to plug the same parser twice
in a row.

13 years agotests: add decodebin1 test for parser autoplugging
Tim-Philipp Müller [Wed, 6 Jul 2011 18:40:48 +0000 (19:40 +0100)]
tests: add decodebin1 test for parser autoplugging

Make sure decodebin1 doesn't try to plug the same parser twice
in a row (so we can change all parsers to accept parsed input as
well without breaking applications still using the old decodebin1
element).

13 years agodecodebin: don't plug the same parser multiple times in a row
Tim-Philipp Müller [Thu, 7 Jul 2011 14:02:19 +0000 (15:02 +0100)]
decodebin: don't plug the same parser multiple times in a row

This allows us to make parsers accept both parsed and unparsed input
without decodebin plugging them in a loop until things blow up, ie.
without affecting applications that still use the old playbin or the
old decodebin.

(Making parsers accept parsed input is useful for later when we want
to use parsers to convert the stream-format into something the decoder
can handle. It's also much more convenient for application authors
who can plug parsers unconditionally in transcoding pipelines, for
example).

13 years agodocs: add Since marker to gtk-doc chunk for new codec utils API
Tim-Philipp Müller [Thu, 14 Jul 2011 12:56:02 +0000 (13:56 +0100)]
docs: add Since marker to gtk-doc chunk for new codec utils API

And add new API to .def file.

API: gst_codec_utils_h264_get_level_idc()

13 years agocodec-utils: Add method to convert H.264 text level in a level_idc
Olivier Crête [Mon, 7 Mar 2011 22:55:48 +0000 (17:55 -0500)]
codec-utils: Add method to convert H.264 text level in a level_idc

13 years agooggmux: check for EOS on both current and best pad
David Schleef [Sun, 10 Jul 2011 01:33:38 +0000 (18:33 -0700)]
oggmux: check for EOS on both current and best pad

Oops, need both.  Fixes #654270.

13 years agooggmux: check for EOS on current pad, not best
David Schleef [Sun, 10 Jul 2011 01:24:26 +0000 (18:24 -0700)]
oggmux: check for EOS on current pad, not best

Fixes #654270.

13 years agotypefind: fixed detection of audio/x-sap
Piotr Fusik [Sat, 9 Jul 2011 09:59:42 +0000 (11:59 +0200)]
typefind: fixed detection of audio/x-sap

Fixes: #654295.

Signed-off-by: David Schleef <ds@schleef.org>
13 years agoencodebin: fix compiler warning
Luis de Bethencourt [Thu, 30 Jun 2011 18:33:36 +0000 (20:33 +0200)]
encodebin: fix compiler warning

cspace and cspace2 may run uninitialized.

13 years agoencodebin: Add flags to disable conversion elements
Robert Swain [Wed, 29 Jun 2011 11:12:49 +0000 (13:12 +0200)]
encodebin: Add flags to disable conversion elements

Add a flags property and two flags to allow one to disable the
conversion elements within encodebin. Doing so insists that the
uncompressed input to encodebin for the appropriate stream type is
sufficient to meet the caps requirements of the encoders, muxers and
encodebin target.

This is mostly beneficial to bypass slow caps negotiations in the
conversion elements.

13 years agotag: xmp: Remove extra chars from end of xmp packet
Thiago Santos [Wed, 29 Jun 2011 12:59:05 +0000 (09:59 -0300)]
tag: xmp: Remove extra chars from end of xmp packet

Windows picture viewer is unhappy with extra trailing chars at the
end of the xmppacket footer. So remove them as they aren't needed.

13 years agostreamsplitter: Fix getcaps src pad caps merge
Robert Swain [Wed, 29 Jun 2011 09:30:51 +0000 (11:30 +0200)]
streamsplitter: Fix getcaps src pad caps merge

Caps returned from gst_pad_peer_get_caps_reffed () may not be writable.
If they are not is should cause an assertion in gst_caps_merge (),
however, sometimes assertions are disabled in binary builds of -base and
it's safer to just be sure the caps are writable. Also, check that the
reffed caps pointer is not NULL.

13 years agotypefind: NULL check in degas_type_find
Philip Jägenstedt [Wed, 15 Jun 2011 11:51:31 +0000 (13:51 +0200)]
typefind: NULL check in degas_type_find

The length check isn't sufficient, an source might
report the correct length, but then still fail to
read the requested number of bytes for some reason.

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

13 years agodocs: minor addition to decodebin2 design doc
Tim-Philipp Müller [Sun, 26 Jun 2011 00:06:58 +0000 (01:06 +0100)]
docs: minor addition to decodebin2 design doc

13 years agotests: the navigation interface isn't GstImplementsInterface-wrapped
Tim-Philipp Müller [Sun, 26 Jun 2011 00:06:19 +0000 (01:06 +0100)]
tests: the navigation interface isn't GstImplementsInterface-wrapped

13 years agointerfaces: GstStreamVolume isn't wrapped by GstImplementsInterface
Tim-Philipp Müller [Sat, 25 Jun 2011 23:49:46 +0000 (00:49 +0100)]
interfaces: GstStreamVolume isn't wrapped by GstImplementsInterface

This interface depends on properties and isn't per-instance.

13 years agortsp: GstRTSPExtension isn't wrapped by GstImplementsInterface
Tim-Philipp Müller [Sat, 25 Jun 2011 23:40:20 +0000 (00:40 +0100)]
rtsp: GstRTSPExtension isn't wrapped by GstImplementsInterface

Fix copy'n'paste error in headers, GstRTSPExtension isn't
something that's per-instance.

13 years agotag: GstXmpWriter doesn't use the GstImplementsInterface
Tim-Philipp Müller [Sat, 25 Jun 2011 23:36:36 +0000 (00:36 +0100)]
tag: GstXmpWriter doesn't use the GstImplementsInterface

No need for per-instance checking of interface implementation here,
presumably just a copy'n'paste issue.

13 years agoencoding-target: set names on audio and video profiles
Jonathan Matthew [Sat, 11 Jun 2011 09:03:57 +0000 (19:03 +1000)]
encoding-target: set names on audio and video profiles

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

13 years agoAutomatic update of common submodule
David Schleef [Thu, 23 Jun 2011 18:28:04 +0000 (11:28 -0700)]
Automatic update of common submodule

From 69b981f to 605cd9a

13 years agoBump git version after unplanned 0.10.35 release
Tim-Philipp Müller [Sat, 18 Jun 2011 12:32:17 +0000 (13:32 +0100)]
Bump git version after unplanned 0.10.35 release

Merge branch '0.10.35'

Conflicts:
configure.ac
docs/plugins/inspect/plugin-adder.xml
docs/plugins/inspect/plugin-alsa.xml
docs/plugins/inspect/plugin-app.xml
docs/plugins/inspect/plugin-audioconvert.xml
docs/plugins/inspect/plugin-audiorate.xml
docs/plugins/inspect/plugin-audioresample.xml
docs/plugins/inspect/plugin-audiotestsrc.xml
docs/plugins/inspect/plugin-cdparanoia.xml
docs/plugins/inspect/plugin-decodebin.xml
docs/plugins/inspect/plugin-encoding.xml
docs/plugins/inspect/plugin-ffmpegcolorspace.xml
docs/plugins/inspect/plugin-gdp.xml
docs/plugins/inspect/plugin-gio.xml
docs/plugins/inspect/plugin-gnomevfs.xml
docs/plugins/inspect/plugin-libvisual.xml
docs/plugins/inspect/plugin-ogg.xml
docs/plugins/inspect/plugin-pango.xml
docs/plugins/inspect/plugin-playback.xml
docs/plugins/inspect/plugin-subparse.xml
docs/plugins/inspect/plugin-tcp.xml
docs/plugins/inspect/plugin-theora.xml
docs/plugins/inspect/plugin-typefindfunctions.xml
docs/plugins/inspect/plugin-uridecodebin.xml
docs/plugins/inspect/plugin-videorate.xml
docs/plugins/inspect/plugin-videoscale.xml
docs/plugins/inspect/plugin-videotestsrc.xml
docs/plugins/inspect/plugin-volume.xml
docs/plugins/inspect/plugin-vorbis.xml
docs/plugins/inspect/plugin-ximagesink.xml
docs/plugins/inspect/plugin-xvimagesink.xml
gst-libs/gst/audio/Makefile.am
gst/subparse/gstsubparse.c
win32/common/_stdint.h
win32/common/config.h

13 years agodiscoverer: Allow GError* argument to be NULL
Edward Hervey [Sat, 18 Jun 2011 09:16:19 +0000 (11:16 +0200)]
discoverer: Allow GError* argument to be NULL

This is how other methods taking GError* arguments behave.

Fixes #652838

13 years agoRelease 0.10.35
Tim-Philipp Müller [Wed, 15 Jun 2011 18:29:48 +0000 (19:29 +0100)]
Release 0.10.35

This is an ad-hoc release that is almost identical to 0.10.34:

 * work around GLib atomic ops API change
 * don't use G_CONST_RETURN in public headers
 * subparse: typefinding fixes for subtitles in non-UTF8 charsets

13 years agoAdd gobject introspection files to spec
Christian Fredrik Kalager Schaller [Wed, 15 Jun 2011 14:08:32 +0000 (15:08 +0100)]
Add gobject introspection files to spec

13 years agoremove old v4l plugin from spec file
Christian Fredrik Kalager Schaller [Wed, 15 Jun 2011 13:53:56 +0000 (14:53 +0100)]
remove old v4l plugin from spec file

13 years agoAdd missing dist subdir
Christian Fredrik Kalager Schaller [Wed, 15 Jun 2011 13:49:41 +0000 (14:49 +0100)]
Add missing dist subdir

13 years agoaudio: link test program against libgstaudio
Tim-Philipp Müller [Wed, 15 Jun 2011 13:21:30 +0000 (14:21 +0100)]
audio: link test program against libgstaudio

13 years agocodec-utils: restore 7350 as a valid sampling frequency for AAC
Debarshi Ray [Tue, 14 Jun 2011 05:01:18 +0000 (10:31 +0530)]
codec-utils: restore 7350 as a valid sampling frequency for AAC

This was lost during c77f88cac675a1dbb89e40da8e3c28320523bfca.

13 years agolibs: replace G_CONST_RETURN with 'const'
Tim-Philipp Müller [Thu, 9 Jun 2011 17:30:33 +0000 (18:30 +0100)]
libs: replace G_CONST_RETURN with 'const'

G_CONST_RETURN will be deprecated soon.

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

13 years agoconvert M_PI to G_PI, for msvc
David Schleef [Wed, 1 Jun 2011 05:14:09 +0000 (22:14 -0700)]
convert M_PI to G_PI, for msvc

13 years agotagdemux: no input data implies no type can be found
Mark Nauwelaerts [Mon, 6 Jun 2011 12:41:41 +0000 (14:41 +0200)]
tagdemux: no input data implies no type can be found

... and posting a proper error message to this effect is appropriately
informative and prevents auto-plugging otherwise stalling.

13 years agoadder: Work around changes in g_atomic API
David Schleef [Sat, 4 Jun 2011 20:36:55 +0000 (13:36 -0700)]
adder: Work around changes in g_atomic API

See #651514 for details.

13 years agodiscoverer: fix c99-ism
David Schleef [Wed, 1 Jun 2011 03:38:56 +0000 (20:38 -0700)]
discoverer: fix c99-ism

13 years agosubparse: Try to typefind even if conversion to UTF8 failed
Sebastian Dröge [Mon, 23 May 2011 14:02:34 +0000 (16:02 +0200)]
subparse: Try to typefind even if conversion to UTF8 failed

Fixes bug #600043.

13 years agosubparse: Interprete typefind strings passed to GRegex as raw bytes instead of valid...
Sebastian Dröge [Mon, 23 May 2011 13:51:14 +0000 (15:51 +0200)]
subparse: Interprete typefind strings passed to GRegex as raw bytes instead of valid UTF8

13 years agolang: fix possible array overrun
Stefan Kost [Fri, 20 May 2011 07:48:39 +0000 (10:48 +0300)]
lang: fix possible array overrun

We where checking for i<G_N_ELEMENTS, but where accessing i+1.

13 years agocodec-utils: restore 7350 as a valid sampling frequency for AAC
Debarshi Ray [Tue, 14 Jun 2011 05:01:18 +0000 (10:31 +0530)]
codec-utils: restore 7350 as a valid sampling frequency for AAC

This was lost during c77f88cac675a1dbb89e40da8e3c28320523bfca.

13 years agoconvert M_PI to G_PI, for msvc
David Schleef [Wed, 1 Jun 2011 05:14:09 +0000 (22:14 -0700)]
convert M_PI to G_PI, for msvc