platform/upstream/gstreamer.git
14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 23 Apr 2010 13:39:20 +0000 (14:39 +0100)]
Automatic update of common submodule

From fc85867 to 4d67bd6

14 years agodocs: Consistently use MyFilter instead of sometimes ExampleFilter in the example
Sebastian Dröge [Fri, 16 Apr 2010 18:09:40 +0000 (20:09 +0200)]
docs: Consistently use MyFilter instead of sometimes ExampleFilter in the example

Fixes bug #615579.

14 years agopad: add enums for custom flow return success and error codes
Tim-Philipp Müller [Fri, 16 Apr 2010 13:22:18 +0000 (14:22 +0100)]
pad: add enums for custom flow return success and error codes

This way people can just #define their own custom flow returns to
one of these without having the compiler (esp. gcc-4.5) complain
about comparing integers to an enum or the enum not being listed

Fixes #615880.

API: GST_FLOW_CUSTOM_SUCCESS_1
API: GST_FLOW_CUSTOM_SUCCESS_2
API: GST_FLOW_CUSTOM_ERROR_1
API: GST_FLOW_CUSTOM_ERROR_2

14 years agolfocontrolsource: Use correct setter for double GValues
Sebastian Dröge [Thu, 15 Apr 2010 20:05:38 +0000 (22:05 +0200)]
lfocontrolsource: Use correct setter for double GValues

14 years agotags: doc fixes
Thiago Santos [Thu, 15 Apr 2010 14:08:03 +0000 (11:08 -0300)]
tags: doc fixes

Adds missing ':' to tags docs

14 years agobin: fix bogus variable type
Tim-Philipp Müller [Thu, 15 Apr 2010 10:38:19 +0000 (11:38 +0100)]
bin: fix bogus variable type

The result of gst_iterator_find_custom() is not a GstIterator *.

14 years ago0.10.28.2 pre-release
Tim-Philipp Müller [Wed, 14 Apr 2010 11:20:13 +0000 (12:20 +0100)]
0.10.28.2 pre-release

14 years agopo: update translations
Tim-Philipp Müller [Wed, 14 Apr 2010 11:12:56 +0000 (12:12 +0100)]
po: update translations

14 years agostructure: log what structure string we failed to parse
Tim-Philipp Müller [Wed, 14 Apr 2010 11:43:41 +0000 (12:43 +0100)]
structure: log what structure string we failed to parse

14 years agobin: fix refcount when removing elements during state change
Wim Taymans [Wed, 14 Apr 2010 15:56:17 +0000 (17:56 +0200)]
bin: fix refcount when removing elements during state change

When an element is removed from a bin because it caused a state change error,
don't unref the child twice.
Add some more debug info.
Add a unit test for this error.

Fixes #615756

14 years agotests: more LDFLAGS -> LDADD fixes
Tim-Philipp Müller [Wed, 14 Apr 2010 10:50:38 +0000 (11:50 +0100)]
tests: more LDFLAGS -> LDADD fixes

14 years agobuild: $(LIBM) belongs into LIBADD not LDFLAGS
Tim-Philipp Müller [Wed, 14 Apr 2010 10:40:21 +0000 (11:40 +0100)]
build: $(LIBM) belongs into LIBADD not LDFLAGS

14 years agobuild: when building executables, put libs to link to into LDADD instead of LDFLAGS
Tim-Philipp Müller [Thu, 8 Apr 2010 08:14:24 +0000 (09:14 +0100)]
build: when building executables, put libs to link to into LDADD instead of LDFLAGS

Use foo_LDADD instead of foo_LDFLAGS to specify the libraries to link to.
This should make sure arguments are passed to the linker in the right
order. See #615697.

14 years agoconfigure: Remove -Wcast-align
Benjamin Otte [Wed, 14 Apr 2010 09:19:14 +0000 (11:19 +0200)]
configure: Remove -Wcast-align

Apparently gcc warns that GstMiniObject is not castable to
GstEvent/Message/Buffer due to them containing 64bit variables, even
though ARM hackers claim that those only need 4byte alignment. And as
long as gcc behaves that way, this warning is not very useful.

So we'll remove the warning until this problem is fixed.

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

14 years agoconfigure: remove superfluous return statements at end of AC_TRY_{LINK,COMPILE} blocks
Tim-Philipp Müller [Tue, 13 Apr 2010 09:48:41 +0000 (10:48 +0100)]
configure: remove superfluous return statements at end of AC_TRY_{LINK,COMPILE} blocks

Spotted by JF Mertens. See #614767.

14 years agoconfigure: Change check for uint128_t
David Schleef [Mon, 5 Apr 2010 20:46:23 +0000 (13:46 -0700)]
configure: Change check for uint128_t

Check for ability to divide uint128_t values, since that what
we actually use it for (in gstutils.c).  The existence of a
uint128_t type doesn't mean the compiler can actually generate
code for it.  Also make sure that we can actually link the
result successfully.

Fixes bug #614767.

14 years agodocs: minor moving-plugins addition
Tim-Philipp Müller [Mon, 12 Apr 2010 14:13:57 +0000 (15:13 +0100)]
docs: minor moving-plugins addition

14 years agolaunch: make -q be more quiet
Wim Taymans [Fri, 9 Apr 2010 13:48:00 +0000 (15:48 +0200)]
launch: make -q be more quiet

Convert some g_print into PRINT so that they are not printed when the -q option
is selected.

14 years agoqueue2: add some more debug info
Wim Taymans [Fri, 9 Apr 2010 13:19:12 +0000 (15:19 +0200)]
queue2: add some more debug info

14 years agofdsrc: allow specifying the size in bytes on the uri
Wim Taymans [Fri, 9 Apr 2010 11:12:38 +0000 (13:12 +0200)]
fdsrc: allow specifying the size in bytes on the uri

Parse a size=value from the query string to specify a size. This is interesting
when reading from a file descriptor that actually has a size (and is not
stat-able, such as the socket of an http connection)

14 years agoqueue2: when EOS we know the duration
Wim Taymans [Fri, 9 Apr 2010 10:35:47 +0000 (12:35 +0200)]
queue2: when EOS we know the duration

When we are EOS, we don't need to do an upstream query for the duration in bytes
because we already know it is the offset of the last written byte.

14 years agoregistrychunks: Initialize typefind/element factory registry chunks with zeroes
Sebastian Dröge [Fri, 9 Apr 2010 11:08:13 +0000 (13:08 +0200)]
registrychunks: Initialize typefind/element factory registry chunks with zeroes

This makes valgrind stop complaining about reading unitializated memory,
which is not initialized because it's just compiler-added struct padding...

14 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 9 Apr 2010 09:19:53 +0000 (11:19 +0200)]
Automatic update of common submodule

From d66a8c3 to fc85867

14 years ago.gitignore: add new .svg file in docs
Tim-Philipp Müller [Thu, 8 Apr 2010 09:10:18 +0000 (10:10 +0100)]
.gitignore: add new .svg file in docs

14 years agodocs: use informalfigure tag to not syntax highlight the content
Stefan Kost [Thu, 8 Apr 2010 07:47:03 +0000 (10:47 +0300)]
docs: use informalfigure tag to not syntax highlight the content

14 years agodocs: add concept map
Stefan Kost [Thu, 25 Mar 2010 08:35:13 +0000 (10:35 +0200)]
docs: add concept map

Add a graphviz dot file. Add rules to render it to svg and include in docs.
Nodes are clickable. It is an attempt to show how things fit together.

14 years agodocs: add a few code snippets that show how to use gst_message_parse_*().
Tim-Philipp Müller [Wed, 7 Apr 2010 18:30:49 +0000 (19:30 +0100)]
docs: add a few code snippets that show how to use gst_message_parse_*().

14 years agobuild: bump autoconf requirement to 2.60 for gobject-introspection.m4
Tim-Philipp Müller [Wed, 7 Apr 2010 18:05:04 +0000 (19:05 +0100)]
build: bump autoconf requirement to 2.60 for gobject-introspection.m4

Require autoconf 2.60 (which was released in June 2006).

Fixes #600718.

14 years agoparse: fix more compiler warnings
Tim-Philipp Müller [Wed, 7 Apr 2010 11:29:52 +0000 (12:29 +0100)]
parse: fix more compiler warnings

Fix 'grammar.tab.c:815:6: warning: "YYENABLE_NLS" is not defined'
compiler warning and the same for YYLTYPE_IS_TRIVIAL. The two
translated strings aren't particularly helpful, so just define
YYENABLE_NLS to 0.

14 years agoparse: fix compiler warning
Tim-Philipp Müller [Wed, 7 Apr 2010 11:24:14 +0000 (12:24 +0100)]
parse: fix compiler warning

Fix 'grammar.y:668: passing argument 1 of ‘g_free’ discards qualifiers
from pointer target type' compiler warning.

14 years agomessage: add Since: markers
Wim Taymans [Wed, 7 Apr 2010 14:05:38 +0000 (16:05 +0200)]
message: add Since: markers

14 years agotests: gstsystemclock: don't leak the system clock
Edward Hervey [Wed, 7 Apr 2010 07:31:39 +0000 (09:31 +0200)]
tests: gstsystemclock: don't leak the system clock

14 years agobuild: fix out of sourcedir build for check
Stefan Kost [Sun, 4 Apr 2010 21:01:56 +0000 (00:01 +0300)]
build: fix out of sourcedir build for check

Move the internal header to nodist (as we copy it around anyway).
Use builddir in pattern substitution for it.
Fixes #61483.

14 years agodocs: fix some typos
Wim Taymans [Tue, 6 Apr 2010 15:46:36 +0000 (17:46 +0200)]
docs: fix some typos

14 years agobasesrc: fix gst_base_src_new_seamless_segment()
Jonas Holmberg [Tue, 23 Feb 2010 08:16:55 +0000 (09:16 +0100)]
basesrc: fix gst_base_src_new_seamless_segment()

Keep track of pending newsegment in gst_base_src_new_seamless_segment()
to avoid pushing newsegment update before newsegment.

14 years agodocs: improve event docs
Stefan Kost [Sun, 4 Apr 2010 12:21:16 +0000 (15:21 +0300)]
docs: improve event docs

Rephrase first paragraph of section docs. Add detail to eos event docs.

14 years agogst-indent: Add --leave-preprocessor-space for indent 2.2.11
Edward Hervey [Mon, 29 Mar 2010 06:43:05 +0000 (08:43 +0200)]
gst-indent: Add --leave-preprocessor-space for indent 2.2.11

It was previously broken, which is why we never needed it. This keeps backward
compatibility with indent <= 2.2.11

14 years agolibs: point gobject-introspection scanner to .la files
Tim-Philipp Müller [Wed, 31 Mar 2010 09:43:04 +0000 (10:43 +0100)]
libs: point gobject-introspection scanner to .la files

Point g-ir-scanner to the .la file of our library, which hopefully
makes it find the right dependencies in all cases (ie. our locally
built libgstreamer and not the system-installed one). This is also
how it's done in Gtk+ and how it's documented in the wiki, see
http://live.gnome.org/GObjectIntrospection/AutotoolsIntegration

Based on patches by Vincent Untz and Alan Knowles.

Fixes #603710.

14 years agoutils: Use G_GNUC_CONST instead of G_GNUC_PURE for conversion functions
Philip Withnall [Fri, 2 Apr 2010 00:16:16 +0000 (01:16 +0100)]
utils: Use G_GNUC_CONST instead of G_GNUC_PURE for conversion functions

Fixes bug #614629.

14 years agotests: Don't forget to unref the newsegment event
Edward Hervey [Thu, 1 Apr 2010 11:19:06 +0000 (13:19 +0200)]
tests: Don't forget to unref the newsegment event

14 years agocommon: Update to latest revision for new suppressions
Edward Hervey [Thu, 1 Apr 2010 10:34:53 +0000 (12:34 +0200)]
common: Update to latest revision for new suppressions

14 years agotests: add test for updating playback rate
Stefan Kost [Wed, 31 Mar 2010 19:07:57 +0000 (22:07 +0300)]
tests: add test for updating playback rate

Tests if a seek with both positions being GST_SEEK_TYPE_NONE is handled.

14 years agodocs: add copy and conv function to buffer2 draft
Wim Taymans [Wed, 31 Mar 2010 14:55:55 +0000 (16:55 +0200)]
docs: add copy and conv function to buffer2 draft

14 years agodocs: update buffer2 draft
Wim Taymans [Wed, 31 Mar 2010 08:54:55 +0000 (10:54 +0200)]
docs: update buffer2 draft

14 years agodocs: improve communication picture and section
Stefan Kost [Wed, 31 Mar 2010 08:26:28 +0000 (11:26 +0300)]
docs: improve communication picture and section

Indicate that only messages go via bus. Also add queries between elements.

14 years agoevent: Use correct type for the message parameter in gst_event_{new,parse}_sink_message
Sebastian Dröge [Wed, 31 Mar 2010 08:24:11 +0000 (10:24 +0200)]
event: Use correct type for the message parameter in gst_event_{new,parse}_sink_message

The struct workaround was only necessary in gstevent.h, gstutils.h knows about GstMessage

14 years agodocs: add communication overview to docs
Stefan Kost [Wed, 31 Mar 2010 06:56:50 +0000 (09:56 +0300)]
docs: add communication overview to docs

Add a section to the basics that show buffers, events, messages and queries
together and describe the basics.

14 years agopkgconfig: add girdir and typelibdir variables to .pc files
Tim-Philipp Müller [Tue, 30 Mar 2010 14:56:39 +0000 (15:56 +0100)]
pkgconfig: add girdir and typelibdir variables to .pc files

So that the -base libs can figure out the right include paths for the
gobject-introspection tools even if core got installed into a prefix
that's not the same prefix as gobject-introspection is installed in
or it's being build in an uninstalled gstreamer setup.

14 years agopo: update for new string
Tim-Philipp Müller [Tue, 30 Mar 2010 14:22:54 +0000 (15:22 +0100)]
po: update for new string

14 years agobuild: make autotools put its m4 files into m4/ instead of common/m4/
Tim-Philipp Müller [Tue, 30 Mar 2010 14:20:07 +0000 (15:20 +0100)]
build: make autotools put its m4 files into m4/ instead of common/m4/

This is how we do it in the other modules, and gets rid of the annoying
dirty status for common when doing git status (at least once you clean
out the old files from there).

14 years agobuild: build examples subdirectories in parallel if requested
Tim-Philipp Müller [Tue, 30 Mar 2010 11:33:01 +0000 (12:33 +0100)]
build: build examples subdirectories in parallel if requested

14 years agobasetransform: Refactor caps suggestion on pad_alloc
Thiago Santos [Sun, 28 Mar 2010 23:55:09 +0000 (20:55 -0300)]
basetransform: Refactor caps suggestion on pad_alloc

Refactor the handling of sink suggestion caps variable
so that it always has a ref to the caps it points to.

Makes the code clearer.

14 years agogstinfo: add a comment explaining the reason for using fucntion protos here.
Stefan Kost [Mon, 29 Mar 2010 13:34:03 +0000 (16:34 +0300)]
gstinfo: add a comment explaining the reason for using fucntion protos here.

14 years agogstinfo: always define dummy debug category as a function prototype
Stefan Kost [Mon, 29 Mar 2010 13:13:54 +0000 (16:13 +0300)]
gstinfo: always define dummy debug category as a function prototype

It does not seem to make sense to define this as a function only if we have
varargs macros.

14 years agobuild: fix redeclaration erors when building with --gst-disable-gst-debug
Stefan Kost [Sun, 28 Mar 2010 12:10:20 +0000 (15:10 +0300)]
build: fix redeclaration erors when building with --gst-disable-gst-debug

Give dummy symbols a uniqe name.

14 years agobuild: move some prototypes out of #ifndef GST_DISABLE_GST_DEBUG
Stefan Kost [Sun, 28 Mar 2010 11:49:03 +0000 (14:49 +0300)]
build: move some prototypes out of #ifndef GST_DISABLE_GST_DEBUG

Move the prototypes up together. We only define the macros differently.
Fixes bug #614167 mostly.

14 years agoinfo: readd the use of GstDebugFuncPtr typedef and tell why
Stefan Kost [Mon, 29 Mar 2010 13:05:44 +0000 (16:05 +0300)]
info: readd the use of GstDebugFuncPtr typedef and tell why

This reverts the related changes from 3f4954e42d0440a7a598a908325c45ea9db076e4
and ffb0a4e1905a873191f8c802346261e8c4435065.

14 years agonet: fix typo in net client clock structure
Alan Knowles [Mon, 29 Mar 2010 09:22:43 +0000 (10:22 +0100)]
net: fix typo in net client clock structure

It's sockaddr_in, not sockaddr_id.

14 years agobuild: add cruft alert for common/shave*
Tim-Philipp Müller [Fri, 26 Mar 2010 17:12:05 +0000 (17:12 +0000)]
build: add cruft alert for common/shave*

14 years agoinfo: Fix build at least until the correct fix is found
Sebastian Dröge [Sun, 28 Mar 2010 19:02:41 +0000 (21:02 +0200)]
info: Fix build at least until the correct fix is found

See bug #614167.

14 years agostructure: Make structure abbreviations array one-time initialization threadsafe
Sebastian Dröge [Sun, 28 Mar 2010 17:13:22 +0000 (19:13 +0200)]
structure: Make structure abbreviations array one-time initialization threadsafe

14 years agoiterator: Add FIXME 0.11 for using GSlice for allocation
Sebastian Dröge [Sun, 28 Mar 2010 16:05:36 +0000 (18:05 +0200)]
iterator: Add FIXME 0.11 for using GSlice for allocation

14 years agogst: Use GSlice instead of normal g_malloc in more places
Sebastian Dröge [Sun, 28 Mar 2010 16:05:36 +0000 (18:05 +0200)]
gst: Use GSlice instead of normal g_malloc in more places

14 years agobuild: more some prototypes out if #ifndef GST_DISABLE_GST_DEBUG
Stefan Kost [Sun, 28 Mar 2010 10:14:06 +0000 (13:14 +0300)]
build: more some prototypes out if #ifndef GST_DISABLE_GST_DEBUG

The build was failing becasue of a new warning. There are still failures
(tracked via bug #614167).

14 years agopo: update translations for newly-added strings
Tim-Philipp Müller [Thu, 25 Mar 2010 20:04:37 +0000 (20:04 +0000)]
po: update translations for newly-added strings

14 years agodocs: fix intermittent make distcheck failures
Tim-Philipp Müller [Thu, 25 Mar 2010 19:56:00 +0000 (19:56 +0000)]
docs: fix intermittent make distcheck failures

Use .NOTPARALLEL when building docs. This avoids intermittent
make distcheck failures like 'cp: cannot create regular file
`build/image.entities': File exists' when using -jN.

Fixes #590718.

14 years agoelementfactory: Add FIXME 0.11 to remove GstElementDetails from the public API
Sebastian Dröge [Thu, 25 Mar 2010 17:57:40 +0000 (18:57 +0100)]
elementfactory: Add FIXME 0.11 to remove GstElementDetails from the public API

It's not necessary anymore to expose this as public API and this allows
easier extension of the element details by new fields.

14 years agoqueue2: handle write errors
Wim Taymans [Thu, 25 Mar 2010 17:43:04 +0000 (18:43 +0100)]
queue2: handle write errors

Handle write errors to the temporary download file and post errors when
something went wrong.

14 years agoqueue2: add element query function
Wim Taymans [Thu, 25 Mar 2010 17:13:02 +0000 (18:13 +0100)]
queue2: add element query function

Add an element query function that is a little more efficient than the generic
default query handler.

14 years agobin: improve docs a little
Wim Taymans [Thu, 25 Mar 2010 17:12:06 +0000 (18:12 +0100)]
bin: improve docs a little

Mention that a DURATION message does not mean that one can safely query the
duration on a bin, that only works when the bin is prerolled.

14 years agoqueue2: remove fixed FIXME
Wim Taymans [Thu, 25 Mar 2010 17:05:28 +0000 (18:05 +0100)]
queue2: remove fixed FIXME

14 years agoqueue2: add the buffering percent in BUFFERING query
Wim Taymans [Thu, 25 Mar 2010 16:36:45 +0000 (17:36 +0100)]
queue2: add the buffering percent in BUFFERING query

14 years agoqueue2: improve buffer level measurement in download mode
Wim Taymans [Thu, 25 Mar 2010 16:21:02 +0000 (17:21 +0100)]
queue2: improve buffer level measurement in download mode

Keep track of the current buffer level in the current range in download mode so
that we post the correct buffering messages.

14 years agolibs: don't use fancy shell features when invoking gobject-introspection scanner
Tim-Philipp Müller [Thu, 25 Mar 2010 15:54:19 +0000 (15:54 +0000)]
libs: don't use fancy shell features when invoking gobject-introspection scanner

It's POSIX, but tcsh doesn't seem to support it.

14 years agolibs: fix PKG_CONFIG_PATH used when calling gobject-introspection scanner
Tim-Philipp Müller [Thu, 25 Mar 2010 13:46:35 +0000 (13:46 +0000)]
libs: fix PKG_CONFIG_PATH used when calling gobject-introspection scanner

Our own pkgconfig directory should come first, so that pkg-config uses
the in-tree libgstreamer and not some external one when --pkg=gstreamer-0.10
is passed to g-ir-scanner.

See #603710.

14 years agoGstAdapter: add a unchecked variant of flush for internal usage
Edward Hervey [Thu, 25 Mar 2010 09:27:00 +0000 (10:27 +0100)]
GstAdapter: add a unchecked variant of flush for internal usage

Trims off 10-20% cpu time when using gst_adapter_take[_buffer]

14 years agotags: Add new _USER_RATING tag
Thiago Santos [Fri, 19 Mar 2010 18:10:07 +0000 (15:10 -0300)]
tags: Add new _USER_RATING tag

Adds a new tag for user favorite media rating.
User rating informs how much (from 0 to 100) a user
'likes' a media.
Having an percent uint range for this is easy to map into other scales,
like some players that allow users to attribute 'stars' to its
media.

API: GST_TAG_USER_RATING

Fixes #520697

14 years agoqueue2: add more info in the buffering query
Wim Taymans [Wed, 24 Mar 2010 18:02:12 +0000 (19:02 +0100)]
queue2: add more info in the buffering query

Add the estimated download time and estimated time left to the buffering query
results along with the estimated download and playback speed.

14 years agoqueue2: implement flushing in download buffering
Wim Taymans [Wed, 24 Mar 2010 17:18:13 +0000 (18:18 +0100)]
queue2: implement flushing in download buffering

Maintain a separate variable to control src and sink flowreturn values so that
we can unlock the src part without shutting down the sink part.
Add flushing for upstream pull based elements that unblocks our getrange
function. This implements seeking when blocking for more data.
Add some arbitrary threshold before attempting a seek. Add a FIXME for this
because we need to find a sensible threshold based on the input rate.

14 years agoAutomatic update of common submodule
Edward Hervey [Wed, 24 Mar 2010 17:50:02 +0000 (18:50 +0100)]
Automatic update of common submodule

From 55cd514 to c1d07dd

14 years agoRemove unused code
Benjamin Otte [Wed, 24 Mar 2010 16:32:54 +0000 (17:32 +0100)]
Remove unused code

OPT_CFLAGS was never AC_SUBST()'ed so it wasn't used. And the last time
it was touched was in 2005.

14 years agobuild: fix make distcheck
Tim-Philipp Müller [Wed, 24 Mar 2010 15:47:22 +0000 (15:47 +0000)]
build: fix make distcheck

The change from GST_ALL_CFLAGS to GST_OPTION_CFLAGS dropped the includes,
putting them back fixes make distcheck.

14 years agoFix tests after set_element_details() deprecation
Benjamin Otte [Wed, 24 Mar 2010 14:15:23 +0000 (15:15 +0100)]
Fix tests after set_element_details() deprecation

14 years agogit-update: Fix and restructure logic
Robert Swain [Wed, 24 Mar 2010 12:33:58 +0000 (13:33 +0100)]
git-update: Fix and restructure logic

14 years agoDeprecated gst_element_class_set_details()
Benjamin Otte [Fri, 19 Mar 2010 21:36:07 +0000 (22:36 +0100)]
Deprecated gst_element_class_set_details()

Use gst_element_class_set_details_simple() instead. If you want to
convert automatically, here's a script:

for file in `git grep -l GstElementDetails`; do
  sed -i -n -r '
    1h
    1!H
    $ {
      g
      s/((\/\*[^\n]*\*\/)?\n)*[^\n]*GstElementDetails .* =\s*GST_ELEMENT_DETAILS\s*\((\"[^\"]*\",\s*\"[^\"]*\",\s*\"[^\"]*\",\s*(\"[^\"]*\"\s*)*)\);\n*(.*)gst_element_class_set_details \(([^,]*),\s*[^)]*\)/\n\n\5gst_element_class_set_details_simple (\6, \3)/
      s/((\/\*[^\n]*\*\/)?\n)*[^\n]*GstElementDetails .* =\s*\{\s*(\"[^\"]*\",\s*\"[^\"]*\",\s*\"[^\"]*\",\s*(\"[^\"]*\"\s*)*)\};\n*(.*)gst_element_class_set_details \(([^,]*),\s*[^)]*\)/\n\n\5gst_element_class_set_details_simple (\6, \3)/
      p
    }' $file
  ~/gst/gstreamer/tools/gst-indent $file
done

14 years agoqueue2: Fix uninitialized variable compiler warning
Philippe Normand [Wed, 24 Mar 2010 09:57:08 +0000 (10:57 +0100)]
queue2: Fix uninitialized variable compiler warning

14 years agotests: remove unused CHECK_CFLAGS and CHECK_LIBS from Makefile.am
Tim-Philipp Müller [Tue, 23 Mar 2010 19:25:08 +0000 (19:25 +0000)]
tests: remove unused CHECK_CFLAGS and CHECK_LIBS from Makefile.am

14 years agostructure: add mapping for (uint) to allow deserialisation of unsigned integers
Tim-Philipp Müller [Tue, 23 Mar 2010 19:23:22 +0000 (19:23 +0000)]
structure: add mapping for (uint) to allow deserialisation of unsigned integers

Unsigned ints are used in taglists, would be nice to be able to
deserialise them, esp. in connection with the taginject API.

14 years agoqueue2: implement seeking in download mode
Wim Taymans [Tue, 23 Mar 2010 18:25:29 +0000 (19:25 +0100)]
queue2: implement seeking in download mode

When in download mode and the requested offset is too far away, attempt to do a
seek request to fetch the data.
Keep track of all downloaded parts and merge ranges when needed.

Fixes #600877

14 years agogit-update.sh: use autogen.sh instead of autoregen.sh on fresh repositories.
André Dieb Martins [Mon, 22 Mar 2010 14:06:21 +0000 (11:06 -0300)]
git-update.sh: use autogen.sh instead of autoregen.sh on fresh repositories.

Fixes #613593.

14 years agogettext: build fixes: #if -> #ifdef
Stefan Kost [Mon, 22 Mar 2010 15:10:06 +0000 (17:10 +0200)]
gettext: build fixes: #if -> #ifdef

14 years agoparse-launch: make delayed set recursive
Stefan Kost [Thu, 18 Mar 2010 08:22:09 +0000 (10:22 +0200)]
parse-launch: make delayed set recursive

Right now deleyed set would only try for first set of children. We need to keep
trying to support arbitrary deep hierarchies (like in playbin2 with auto*sinks).
Also GstBin would need to actualy emit the child-added/removed signal as it
implements the iface. Fixes #613215.

14 years agopkgconfig: Use @LIBM@ instead of -lm
Sebastian Dröge [Mon, 22 Mar 2010 07:40:34 +0000 (08:40 +0100)]
pkgconfig: Use @LIBM@ instead of -lm

14 years agopkgconfig: add back support for builddir != srcdir case in uninstalled setup
Tim-Philipp Müller [Fri, 19 Mar 2010 01:02:30 +0000 (01:02 +0000)]
pkgconfig: add back support for builddir != srcdir case in uninstalled setup

Attempt to add back support for builddir != srcdir. Use absolute paths
instead of relative paths based on pcfiledir this time to make things
clearer - there's not really any need for uninstalled trees to be
relocatable without re-running configure.

14 years agobasetransform: Implement QoS message posting
Robert Swain [Thu, 18 Mar 2010 11:18:39 +0000 (11:18 +0000)]
basetransform: Implement QoS message posting

And some more for bug #322947

14 years agobasesrc: catch, parse and store QoS event values
Wim Taymans [Thu, 18 Mar 2010 12:41:35 +0000 (13:41 +0100)]
basesrc: catch, parse and store QoS event values

Catch, parse and store the QoS values from QoS events for later use.

14 years agobasesink: Implement QoS message posting in basesink
Robert Swain [Wed, 17 Mar 2010 15:29:48 +0000 (15:29 +0000)]
basesink: Implement QoS message posting in basesink

Post QoS messages when frames are dropped.
This goes a little further towards resolving bug #322947

14 years agomessage: improve docs a little
Wim Taymans [Wed, 17 Mar 2010 18:26:30 +0000 (19:26 +0100)]
message: improve docs a little

14 years agomessage: add QoS message to inform apps of lost data
Robert Swain [Wed, 17 Mar 2010 18:16:42 +0000 (19:16 +0100)]
message: add QoS message to inform apps of lost data

This has been implemented as per part-qos.txt and partially addresses
bug #322947

14 years agotest: Remove needless cast
Benjamin Otte [Wed, 17 Mar 2010 15:44:05 +0000 (16:44 +0100)]
test: Remove needless cast

GstValueArray.name is const now