platform/upstream/gstreamer.git
15 years agoRemove core file from previous commit
Edward Hervey [Sun, 22 Feb 2009 21:09:39 +0000 (22:09 +0100)]
Remove core file from previous commit

15 years agoGstPad: Add gst_pad_set_blocked_async_full
Alessandro Decina [Sun, 22 Feb 2009 19:01:05 +0000 (20:01 +0100)]
GstPad: Add gst_pad_set_blocked_async_full

This allows connecting a GDestroyNotify for when the callback is removed/replaced.
Partially fixes #514717

15 years agoInclude floating point write/read functions in the docs by working around a gtk-doc bug
Sebastian Dröge [Sun, 22 Feb 2009 18:05:20 +0000 (19:05 +0100)]
Include floating point write/read functions in the docs by working around a gtk-doc bug

15 years agoUse the correct unref function
Ali Sabil [Sun, 22 Feb 2009 17:53:10 +0000 (18:53 +0100)]
Use the correct unref function

15 years agoConvert unref/copy functions of GstMiniObject subclasses to static inline functions
Ali Sabil [Sun, 22 Feb 2009 17:51:08 +0000 (18:51 +0100)]
Convert unref/copy functions of GstMiniObject subclasses to static inline functions

unref and copy functions are sometimes used as function
pointers for example in the case of g_hash_table_new_full
as a GDestroyNotify function.

Currently GstBuffer, GstEvent, GstMessage and GstQuery
define their respective unref and copy functions as
macros, making use of gst_mini_object_unref/copy.
This approach works very well for most cases, except
for some automatically generated bindings (currently Vala),
where the memory management semantics are defined
declaratively.

The possible solutions would be to either convert all
the macros into static inline function, or change the
signature of gst_mini_object_unref to take a void*
instead of a GstMiniObject*.

Fixes bug #572480.

15 years agoUse shave (http://git.lespiau.name/cgit/shave/) to simplify build output
Jan Schmidt [Sun, 22 Feb 2009 15:22:16 +0000 (15:22 +0000)]
Use shave (git.lespiau.name/cgit/shave/) to simplify build output

15 years agoAutomatic update of common submodule
Jan Schmidt [Sun, 22 Feb 2009 15:44:35 +0000 (15:44 +0000)]
Automatic update of common submodule

From 5d7c9cc to 9cf8c9b

15 years agoAutomatic update of common submodule
David Schleef [Sat, 21 Feb 2009 19:13:30 +0000 (11:13 -0800)]
Automatic update of common submodule

From 80c627d to 5d7c9cc

15 years agoGstBufferFlags: Add "Since: 0.10.23" for the newly added flags
Edward Hervey [Thu, 19 Feb 2009 17:05:07 +0000 (18:05 +0100)]
GstBufferFlags: Add "Since: 0.10.23" for the newly added flags

15 years agoGstBufferFlags: Add 3 new media-specific buffer flags.
Edward Hervey [Thu, 19 Feb 2009 15:04:43 +0000 (16:04 +0100)]
GstBufferFlags: Add 3 new media-specific buffer flags.

Partially fixes #163577

15 years agotools: print normal output to stdout, and only errors and warnings to stderr in gst...
Tim-Philipp Müller [Thu, 19 Feb 2009 12:57:17 +0000 (12:57 +0000)]
tools: print normal output to stdout, and only errors and warnings to stderr in gst-launch

Let's not print everything to stderr. Suppress some more 'normal' messages when --quiet was passed.

15 years agotools: use g_print*() instead of *printf() in gst-launch
Tim-Philipp Müller [Thu, 19 Feb 2009 12:45:53 +0000 (12:45 +0000)]
tools: use g_print*() instead of *printf() in gst-launch

We should use GLib's g_print*() functions for printing stuff in gst-launch, not printf and friends, since we're printing
translated strings, which we get in UTF-8 encoding, and GLib's print functions expect UTF-8 encoded strings whereas printf
et al. expect strings in the locale encoding, which may or may not be UTF-8.

Also add a PRINT convenience macro so we don't have to litter the code with if (!quiet) statements.

15 years agodocs: fix constants for G_LITTLE_ENDIAN and G_BIG_ENDIAN
Tim-Philipp Müller [Thu, 19 Feb 2009 11:18:07 +0000 (11:18 +0000)]
docs: fix constants for G_LITTLE_ENDIAN and G_BIG_ENDIAN

We got the constants for G_LITTLE_ENDIAN and G_BIG_ENDIAN the wrong way around in some docs (fixes: #572392). Also mention
G_BYTE_ORDER in the audio types section.

15 years agoAdd new symbols to def files
Wim Taymans [Thu, 19 Feb 2009 09:25:34 +0000 (10:25 +0100)]
Add new symbols to def files

Add the new request_message symbols to the windows def file.

15 years agoAdd message to request a state change
Wim Taymans [Wed, 18 Feb 2009 14:31:55 +0000 (15:31 +0100)]
Add message to request a state change

Add a GST_MESSAGE_REQUEST_STATE that can be posted by element when they would
like to have the application change the state of the pipeline. the primary use
case is to pause the pipeline when an audio mixer is mixing a higher priority
stream but it can also be used for other purposes.

Add some docs and a unit test.

Implement the REQUEST_STATE message in gst-launch.

API: gst_message_new_request_state()
API: gst_message_parse_request_state()
API: GST_MESSAGE_REQUEST_STATE

15 years agoClear target when the target pad disappears
Wim Taymans [Mon, 16 Feb 2009 11:58:34 +0000 (12:58 +0100)]
Clear target when the target pad disappears

When the target pad disappears (because it was explicitly unlinked or the
element was removed/unreffed) make sure we receive a notify with the unlink
function on the proxy pad and clear the target. We use a simple flag to not do
this and cause deadlocks when the target was changed explicitly using the
ghostpad functions.

Update the unit test because we now unref the target sooner (and correctly).

15 years agodocs: format and indent examples.
Stefan Kost [Sun, 15 Feb 2009 14:37:17 +0000 (16:37 +0200)]
docs: format and indent examples.

15 years agogst-launch: add -q/--quiet option to supress any non error output.
Stefan Kost [Mon, 9 Feb 2009 20:49:05 +0000 (22:49 +0200)]
gst-launch: add -q/--quiet option to supress any non error output.

Having no output is nice for scripting. Also update the manpage.

15 years agoFAQ: update for git and miscellaneous small fixes and additions
Tim-Philipp Müller [Sat, 14 Feb 2009 13:35:48 +0000 (13:35 +0000)]
FAQ: update for git and miscellaneous small fixes and additions

Replace all mentions of CVS with git. Add link to gst-uninstalled script in cgit and to SubmittingPatches page in wiki. Fix some typos. Update indenting rules to what we actually use (#571646).

15 years agopo: update *.po files for newly-added translatable strings
Tim-Philipp Müller [Fri, 13 Feb 2009 16:17:03 +0000 (16:17 +0000)]
po: update *.po files for newly-added translatable strings

The only people who should get conflicts now are people who have cloned and built gstreamer between the time those strings
were added and this commit.

15 years agotaglist: API: Add HOMEPAGE tag
Sebastian Dröge [Thu, 12 Feb 2009 09:38:05 +0000 (10:38 +0100)]
taglist: API: Add HOMEPAGE tag

This tag will list a homepage for the media,
i.e. the artist's or movie's homepage.

This is different to GST_TAG_LOCATION as the latter
lists the original location of the media.

Fixes bug #571227.

15 years agoBump revision to use for common submodule.
Edward Hervey [Mon, 9 Feb 2009 11:00:43 +0000 (12:00 +0100)]
Bump revision to use for common submodule.

15 years agoReplace some mentions of CVS by GIT
Sebastian Dröge [Sun, 8 Feb 2009 09:28:16 +0000 (10:28 +0100)]
Replace some mentions of CVS by GIT

15 years agobinary registry: Rewrite sanity check to actualy catch something.
Stefan Kost [Fri, 6 Feb 2009 08:51:28 +0000 (10:51 +0200)]
binary registry: Rewrite sanity check to actualy catch something.

The previous commit was bogus, as was the check before. We just point m to the file data,
so neither it nor its members will be NULL. Better check if we have enough data.

15 years agopo: avoid conflicts of local *.po files with files in git
Tim-Philipp Müller [Thu, 5 Feb 2009 23:11:07 +0000 (23:11 +0000)]
po: avoid conflicts of local *.po files with files in git

Make it so that filenames and line numbers are only stored in the *.pot file (which is not in git), but not in the
individual *.po files. This information is hardly useful for translators in our case, and it should avoid the constant
conflicts of local *.po files with the ones in git which are caused by the source files changing and the line numbers
being updated.

This commit is likely to cause one last merge conflict for you, which you can work around with "git checkout po/*.po"
before merging or pulling. After that there should (hopefully) not be any more local modifications of these files.

15 years agowin32: add new GstPoll API to libgstreamer.def
Tim-Philipp Müller [Thu, 5 Feb 2009 15:22:46 +0000 (15:22 +0000)]
win32: add new GstPoll API to libgstreamer.def

15 years agocleanup: remove unused variables in _class_init() and reindent.
Stefan Kost [Thu, 5 Feb 2009 15:23:44 +0000 (17:23 +0200)]
cleanup: remove unused variables in _class_init() and reindent.

15 years agobus: remove unused set/get property functions
Stefan Kost [Thu, 5 Feb 2009 15:05:56 +0000 (17:05 +0200)]
bus: remove unused set/get property functions

15 years agobinary registry: comparing arrays against NULL is useless
Stefan Kost [Thu, 5 Feb 2009 13:56:19 +0000 (15:56 +0200)]
binary registry: comparing arrays against NULL is useless

15 years agoqueue: remove unused code
Stefan Kost [Thu, 5 Feb 2009 11:59:48 +0000 (13:59 +0200)]
queue: remove unused code

Skip looping thru a dummy implementation.

15 years agotests: GstClockTime is always >= 0
Stefan Kost [Thu, 5 Feb 2009 11:57:05 +0000 (13:57 +0200)]
tests: GstClockTime is always >= 0

15 years agocontroller: remove unused variable
Stefan Kost [Thu, 5 Feb 2009 11:42:30 +0000 (13:42 +0200)]
controller: remove unused variable

15 years agocleanup: Either check always for internal being NULL or don't.
Stefan Kost [Wed, 4 Feb 2009 15:20:21 +0000 (17:20 +0200)]
cleanup: Either check always for internal being NULL or don't.

IMHO the ghostpad is borked if internal is NULL. So the check can go and it is
used later unchecked anyway.

15 years agocrash: Don't crash on non existent tags.
Stefan Kost [Wed, 4 Feb 2009 14:26:23 +0000 (16:26 +0200)]
crash: Don't crash on non existent tags.

15 years agoleak: Don't leak type name in failure cases.
Stefan Kost [Wed, 4 Feb 2009 14:17:34 +0000 (16:17 +0200)]
leak: Don't leak type name in failure cases.

15 years agocheck: Don't assume gst_pad_get_peer returns non NULL value.
Stefan Kost [Wed, 4 Feb 2009 14:07:30 +0000 (16:07 +0200)]
check: Don't assume gst_pad_get_peer returns non NULL value.

15 years agoleak: don't return without calling va_end
Stefan Kost [Wed, 4 Feb 2009 13:41:24 +0000 (15:41 +0200)]
leak: don't return without calling va_end

15 years agoImplement the systemclock with gstpoll
Jonas Holmberg [Tue, 3 Feb 2009 17:04:46 +0000 (18:04 +0100)]
Implement the systemclock with gstpoll

Add a property to select the clock type, currently REALTIME and MONOTONIC when
posix timers are available.

Implement the systemclock with GstPoll instead of GCond. This allows us to
schedule timeouts with nanosecond precission on newer kernels and with ppoll
support. It's also resilient to changes to the systemclock because of NTP or
similar.

15 years agoGstPoll: add methods to use gstpoll for timeouts
Wim Taymans [Tue, 3 Feb 2009 16:49:02 +0000 (17:49 +0100)]
GstPoll: add methods to use gstpoll for timeouts

Add a special timer mode in GstPoll that makes it only use the control socket
with a timeout to schedule timeouts. Also add a pair of methods to wakeup the
timeout thread.
API: GstPoll::gst_poll_new_timer()
API: GstPoll::gst_poll_write_control()
API: GstPoll::gst_poll_read_control()

15 years agoGstBaseSink: use new variable to schedule preroll
Wim Taymans [Tue, 3 Feb 2009 14:27:34 +0000 (15:27 +0100)]
GstBaseSink: use new variable to schedule preroll

Use a separate variable to keep track if we need to call the preroll method
instead of abusing the commited variable.

15 years agoGstBaseSink: avoid calling preroll multiple times
Wim Taymans [Tue, 3 Feb 2009 11:52:49 +0000 (12:52 +0100)]
GstBaseSink: avoid calling preroll multiple times

Fix a regression introduced by fix for #567725 in commit
1c7ab4ed4f19b63ba046a6f2fe7d09a6c17357c5. We should only call the preroll
function once namely when we did not yet commit the state change.

Add a unit test to check that we call the preroll function when interrupting the
clock_wait (see #567725).

Add a unit test to check that we only call the preroll function once.

15 years agoForce reconfigure of basetransform to recheck alloc request
Thijs Vermeir [Thu, 29 Jan 2009 12:30:45 +0000 (13:30 +0100)]
Force reconfigure of basetransform to recheck alloc request

While reconfiguring a basetransform element we need also to recheck
the alloc request. Because it's possible that due to caps changes
the proxy_alloc state is not correct anymore.
(Re-commit after discusion with Wim on IRC)

15 years agogstregistrybinary: Make it compile with GST_DISABLE_GST_DEBUG.
Peter Kjellerstedt [Mon, 2 Feb 2009 13:19:57 +0000 (14:19 +0100)]
gstregistrybinary: Make it compile with GST_DISABLE_GST_DEBUG.

15 years agorepo: Rearrange gitignores in docs subdir
Jan Schmidt [Sat, 31 Jan 2009 21:34:28 +0000 (21:34 +0000)]
repo: Rearrange gitignores in docs subdir

tmpl directories are removed by make clean, which deletes the
.gitignore. Use a .gitignore higher up to ignore the tmpl dirs instead.

15 years agocheck: Fix comment about the timeout for generic stress test.
Jan Schmidt [Sat, 31 Jan 2009 21:32:36 +0000 (21:32 +0000)]
check: Fix comment about the timeout for generic stress test.

Setting the timeout to 0 makes it infinite, so fix the comment
above accordingly.

15 years agocheck: Increase timeout for the tee test
Jan Schmidt [Sat, 31 Jan 2009 21:31:48 +0000 (21:31 +0000)]
check: Increase timeout for the tee test

The tee stress test keeps timing out for me on one of the slower
machines, so increase the timeout to 3 mins.

15 years agoUpdate the win32 config.h.in template from the main config.h.in
Jan Schmidt [Fri, 30 Jan 2009 14:56:08 +0000 (14:56 +0000)]
Update the win32 config.h.in template from the main config.h.in

15 years agoAdd releaseinfo with online url.
Stefan Kost [Fri, 30 Jan 2009 20:18:17 +0000 (22:18 +0200)]
Add releaseinfo with online url.

15 years agoRemove broken class to interface cast macros from GstUriHandler and GstImplementsInte...
Tim-Philipp Müller [Fri, 30 Jan 2009 18:17:03 +0000 (18:17 +0000)]
Remove broken class to interface cast macros from GstUriHandler and GstImplementsInterface headers

Remove class-to-interface-struct cast macros which don't work,
don't make sense, and in some cases wouldn't even compile if
used. Removal should be ok seeing that code which uses any of
these is broken and bound to crash. Fixes #565607.

API: remove GST_IMPLEMENTS_INTERFACE_CLASS
API: remove GST_IS_IMPLEMENTS_INTERFACE_CLASS
API: remove GST_URI_HANDLER_CLASS

15 years agoRemove gitignore in docs/gst/tmpl.
Jan Schmidt [Fri, 30 Jan 2009 16:28:14 +0000 (16:28 +0000)]
Remove gitignore in docs/gst/tmpl.

This gitignore file seems to get deleted by the build, and doesn't
seem to be doing anything useful anyway.

15 years agoBump common
Jan Schmidt [Fri, 30 Jan 2009 16:21:55 +0000 (16:21 +0000)]
Bump common

15 years agoFix compilation warning with Forte.
Jan Schmidt - Sun Microsystems - Dublin Ireland [Fri, 30 Jan 2009 14:59:07 +0000 (14:59 +0000)]
Fix compilation warning with Forte.

15 years agoRevert "Check suggested caps for proxy alloc"
Wim Taymans [Fri, 30 Jan 2009 09:43:55 +0000 (10:43 +0100)]
Revert "Check suggested caps for proxy alloc"

This reverts commit 50afd459579191772f42d1a44f3959e530c5c269.

It breaks the interactive test-scale unit test.

15 years agoRevert "Force reconfigure of basetransform to recheck alloc request"
Wim Taymans [Fri, 30 Jan 2009 09:42:50 +0000 (10:42 +0100)]
Revert "Force reconfigure of basetransform to recheck alloc request"

This reverts commit 3a4602d7719de3c3ef7aece68b5f9489d0780162.

It breaks the interactive test-scale unit test.

15 years agoAllocate everything that is written to the registry with g_malloc0()
Sebastian Dröge [Fri, 30 Jan 2009 09:29:56 +0000 (10:29 +0100)]
Allocate everything that is written to the registry with g_malloc0()

Allocate every structure that is directly written to the binary
registry with g_malloc0(). Otherwise some parts of it will be
uninitialized (struct padding because of alignment, etc) and
valgrind will complain about it.

15 years agoUse a symbolic link for the pre-commit client-side hook
Edward Hervey [Fri, 30 Jan 2009 07:30:28 +0000 (08:30 +0100)]
Use a symbolic link for the pre-commit client-side hook

15 years agoMake sure to take a copy of the strings we're going to free later.
Jan Schmidt [Thu, 29 Jan 2009 15:49:24 +0000 (15:49 +0000)]
Make sure to take a copy of the strings we're going to free later.

15 years agoAdd logging in failure case. Add more details to a todo comment.
Stefan Kost [Mon, 26 Jan 2009 15:15:15 +0000 (17:15 +0200)]
Add logging in failure case. Add more details to a todo comment.

15 years agoAdd a trivial source for tracking gst_init time accross versions.
Stefan Kost [Mon, 26 Jan 2009 15:14:07 +0000 (17:14 +0200)]
Add a trivial source for tracking gst_init time accross versions.

15 years agoAdd todo comments.
Stefan Kost [Mon, 26 Jan 2009 15:13:09 +0000 (17:13 +0200)]
Add todo comments.

15 years agoCheck suggested caps for proxy alloc
Thijs Vermeir [Thu, 29 Jan 2009 12:39:29 +0000 (13:39 +0100)]
Check suggested caps for proxy alloc

Because we are trying to resolve a suggestion here we don't need
to check on caps for proxy_alloc but we need to check on the suggested
caps instead.

15 years agoForce reconfigure of basetransform to recheck alloc request
Thijs Vermeir [Thu, 29 Jan 2009 12:30:45 +0000 (13:30 +0100)]
Force reconfigure of basetransform to recheck alloc request

While reconfiguring a basetransform element we need also to recheck
the alloc request. Because it's possible that due to caps changes
the proxy_alloc state is not correct anymore.

15 years agoImprove the docs for gst_clock_id_wait_async().
Stefan Kost [Tue, 27 Jan 2009 21:14:49 +0000 (23:14 +0200)]
Improve the docs for gst_clock_id_wait_async().

Its mentioned in the section docs, but lets repeat at the function docs that the callback can be invoked from any thread.

15 years agodocs: don't use ERROR_CFLAGS when building $docmodule-scan.c
Tim-Philipp Müller [Tue, 27 Jan 2009 17:53:01 +0000 (17:53 +0000)]
docs: don't use ERROR_CFLAGS when building $docmodule-scan.c

We don't want to use -Wall -Werror and friends when building the gtk-doc-generated
$docmodule-scan.c, since we can't easily fix stuff if a certain gtk-doc/compiler
combination breaks the build. Fixes build on ubuntu intrepid.

15 years agoMake git ignore backup files.
Tim-Philipp Müller [Tue, 27 Jan 2009 17:52:14 +0000 (17:52 +0000)]
Make git ignore backup files.

15 years agoDon't check timestamp here, its done in the called function anyway.
Stefan Kost [Mon, 26 Jan 2009 19:29:02 +0000 (21:29 +0200)]
Don't check timestamp here, its done in the called function anyway.

15 years agoAvoid unneeded reads from the control socket
Wim Taymans [Mon, 26 Jan 2009 11:52:12 +0000 (12:52 +0100)]
Avoid unneeded reads from the control socket

Add a new variable that keeps track of the status of the control socket. This
allows us to avoid doing a read() on the control socket when we did not write
anything to it.
Fixes #568438.

15 years agoAdd more debug logging for failure cases.
Stefan Kost [Sun, 25 Jan 2009 20:17:31 +0000 (22:17 +0200)]
Add more debug logging for failure cases.

15 years agoDocument that GST_PLUGIN_DEFINE macros use PACKAGE define. Fixes #559722.
Stefan Kost [Sun, 25 Jan 2009 20:11:32 +0000 (22:11 +0200)]
Document that GST_PLUGIN_DEFINE macros use PACKAGE define. Fixes #559722.

PACKAGE is defined by autofoo. If people use something different, they might want to define it themself.

15 years agoFix typo
Thijs Vermeir [Sun, 25 Jan 2009 16:58:52 +0000 (17:58 +0100)]
Fix typo

15 years agoOnly free list of buffers once
Thijs Vermeir [Sat, 24 Jan 2009 20:50:08 +0000 (21:50 +0100)]
Only free list of buffers once

15 years agoFix typo
Thijs Vermeir [Sat, 24 Jan 2009 13:37:14 +0000 (14:37 +0100)]
Fix typo

15 years agoIgnore another file
Jan Schmidt [Fri, 23 Jan 2009 23:08:03 +0000 (23:08 +0000)]
Ignore another file

15 years agoadd gst_type_find_helper_for_extension to the win32 defs file
Jan Schmidt [Fri, 23 Jan 2009 21:44:11 +0000 (21:44 +0000)]
add gst_type_find_helper_for_extension to the win32 defs file

15 years agoUpdate win32 config.h for 0.10.22.1 dev cycle...
Jan Schmidt [Fri, 23 Jan 2009 16:09:35 +0000 (16:09 +0000)]
Update win32 config.h for 0.10.22.1 dev cycle...

15 years agoUpdate a bunch of gitignores to clean up my git status output
Jan Schmidt [Fri, 23 Jan 2009 16:08:09 +0000 (16:08 +0000)]
Update a bunch of gitignores to clean up my git status output

15 years agoFix linking failures on Solaris. Fixes bug #568481.
Brian Cameron [Fri, 23 Jan 2009 08:54:53 +0000 (09:54 +0100)]
Fix linking failures on Solaris. Fixes bug #568481.

Link libgstreamer with $(LIBM) as it uses math functions.

Add a configure check for socket and nsl library and add
them to LIBS if they're found. This is needed on Solaris
for socket() and gethostbyname().

15 years agoUpdate common snapshot.
Stefan Kost [Thu, 22 Jan 2009 16:02:19 +0000 (18:02 +0200)]
Update common snapshot.

15 years agoImprove debug output by logging the offsets. Fixes bug #568678.
Sebastian Dröge [Thu, 22 Jan 2009 12:58:57 +0000 (13:58 +0100)]
Improve debug output by logging the offsets. Fixes bug #568678.

In create() also log the offsets and not only the
buffer size.

15 years agoFix pre-commit hook
Sebastian Dröge [Thu, 22 Jan 2009 12:51:02 +0000 (13:51 +0100)]
Fix pre-commit hook

15 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gstreamer
Wim Taymans [Thu, 22 Jan 2009 11:52:50 +0000 (12:52 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gstreamer

15 years agoAdd Doc for new typefind method.
Wim Taymans [Thu, 22 Jan 2009 10:54:41 +0000 (11:54 +0100)]
Add Doc for new typefind method.

15 years agoBack to development -> 0.10.22.1
Jan Schmidt [Thu, 22 Jan 2009 10:45:59 +0000 (10:45 +0000)]
Back to development -> 0.10.22.1

15 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gstreamer
Wim Taymans [Thu, 22 Jan 2009 09:16:03 +0000 (10:16 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gstreamer

15 years agoInstall and use pre-commit indentation hook from common
Edward Hervey [Thu, 22 Jan 2009 04:35:02 +0000 (05:35 +0100)]
Install and use pre-commit indentation hook from common

15 years agoIf no type was found using the typefind functions, try doing an upstream
Wim Taymans [Wed, 21 Jan 2009 11:50:29 +0000 (12:50 +0100)]
If no type was found using the typefind functions, try doing an upstream
URI query to guess the type from the extension. See #566661.

15 years agoAdd new typefing helper function to guess the caps based on the file
Wim Taymans [Wed, 21 Jan 2009 11:48:18 +0000 (12:48 +0100)]
Add new typefing helper function to guess the caps based on the file
extension. See #566661.
API: gst_type_find_helper_for_extension()

15 years agoAllow adding a typefinder without a typefind function so that it can be used
Wim Taymans [Wed, 21 Jan 2009 11:45:45 +0000 (12:45 +0100)]
Allow adding a typefinder without a typefind function so that it can be used
to map the caps to the extension. See #566661.

15 years agoUpdate the last_buffer exactly with the buffer that caused the
Wim Taymans [Wed, 21 Jan 2009 11:43:55 +0000 (12:43 +0100)]
Update the last_buffer exactly with the buffer that caused the
preroll and also call the preroll method with that preroll buffer.
Fixes #567725.

15 years agodo not call the unlink function on the target pad when the ghostpad
Wim Taymans [Wed, 21 Jan 2009 11:21:49 +0000 (12:21 +0100)]
do not call the unlink function on the target pad when the ghostpad
is unlinked.
Add some unit tests for this behaviour.
Fixes #566936.

15 years agoautogen.sh : Use git submodule
Edward Hervey [Wed, 21 Jan 2009 03:29:25 +0000 (04:29 +0100)]
autogen.sh : Use git submodule

15 years agoRelease 0.10.22 GIT_CONVERSION RELEASE-0_10_22
Jan Schmidt [Mon, 19 Jan 2009 22:58:59 +0000 (22:58 +0000)]
Release 0.10.22

Original commit message from CVS:
Release 0.10.22

15 years agoUpdate .po files
Jan Schmidt [Mon, 19 Jan 2009 21:20:40 +0000 (21:20 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

15 years agogst/gstbus.c: Fix order of members in GstBusSource structure - the first member must...
Tim-Philipp Müller [Sat, 17 Jan 2009 21:04:41 +0000 (21:04 +0000)]
gst/gstbus.c: Fix order of members in GstBusSource structure - the first member must be the parent structure ie. GSou...

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_set_main_context), (gst_bus_create_watch):
Fix order of members in GstBusSource structure - the first member
must be the parent structure ie. GSource. Should make bus sources
attached to non-default main contexts work in all cases now (ie.
primarily in cases where the callback has a non-NULL user data
argument). Fixes #562170.
* tests/check/gst/gstbus.c: (test_custom_main_context):
Add unit test for the above, based on code by
Justin Karneges <justin at affinix com>.

15 years agogst/gstpad.h: A small documentation fix.
Jonas Holmberg [Thu, 15 Jan 2009 10:04:37 +0000 (10:04 +0000)]
gst/gstpad.h: A small documentation fix.

Original commit message from CVS:
Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
* gst/gstpad.h:
A small documentation fix.

15 years agogst/gstutils.h: Initialize g_once_init* data with 0. Fixes bug #567225.
Sebastian Dröge [Sun, 11 Jan 2009 09:46:52 +0000 (09:46 +0000)]
gst/gstutils.h: Initialize g_once_init* data with 0. Fixes bug #567225.

Original commit message from CVS:
* gst/gstutils.h:
Initialize g_once_init* data with 0. Fixes bug #567225.

15 years agoconfigure.ac: pre-release 0.10.21.3
Jan Schmidt [Fri, 9 Jan 2009 23:37:19 +0000 (23:37 +0000)]
configure.ac: pre-release 0.10.21.3

Original commit message from CVS:
* configure.ac:
pre-release 0.10.21.3

15 years agolibs/gst/base/gstbasesink.*: Fix documentation for the wait_clock method, rename...
Wim Taymans [Fri, 9 Jan 2009 15:43:17 +0000 (15:43 +0000)]
libs/gst/base/gstbasesink.*: Fix documentation for the wait_clock method, rename basesink -> sink for consistency.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_wait_clock):
* libs/gst/base/gstbasesink.h:
Fix documentation for the wait_clock method, rename basesink -> sink
for consistency.

15 years agogst/gst.c: Create a registry if there is none also when the option for gst-disable...
Stefan Kost [Thu, 8 Jan 2009 13:41:19 +0000 (13:41 +0000)]
gst/gst.c: Create a registry if there is none also when the option for gst-disable-registry-update has been selected....

Original commit message from CVS:
* gst/gst.c:
Create a registry if there is none also when the option for
gst-disable-registry-update has been selected. Fixes #567002

15 years agogst/gst.c: Ref new enum type in gst_init.
Tim-Philipp Müller [Tue, 6 Jan 2009 18:10:22 +0000 (18:10 +0000)]
gst/gst.c: Ref new enum type in gst_init.

Original commit message from CVS:
* gst/gst.c: (init_post):
Ref new enum type in gst_init.
* win32/common/libgstreamer.def:
Add recently-added API.