platform/upstream/gstreamer.git
15 years agodump2dot: make caps in DOT debug graphs more readable. Fixes 574484
Laszlo Pandy [Wed, 11 Mar 2009 08:27:16 +0000 (10:27 +0200)]
dump2dot: make caps in DOT debug graphs more readable. Fixes 574484

Use a monospace font for edge labels and indent.

15 years agopadtemplate: Allow %u as conversion modifier additional to %d and %s
Sebastian Dröge [Wed, 11 Mar 2009 13:11:30 +0000 (14:11 +0100)]
padtemplate: Allow %u as conversion modifier additional to %d and %s

15 years agogstbasesrc: unsigned long is "%lu", not "%ul". Fixes build on macosx
Edward Hervey [Wed, 11 Mar 2009 10:23:05 +0000 (11:23 +0100)]
gstbasesrc: unsigned long is "%lu", not "%ul". Fixes build on macosx

15 years agologging: some additional logging for tracing caps negotiation.
Stefan Kost [Tue, 10 Mar 2009 19:08:34 +0000 (21:08 +0200)]
logging: some additional logging for tracing caps negotiation.

Demote one log that can come quite often. Remove one fixme that is done. Apply
gst-indent changes.

15 years agocomment: add a fixme-0.11
Stefan Kost [Tue, 10 Mar 2009 19:03:44 +0000 (21:03 +0200)]
comment: add a fixme-0.11

15 years agoformatting: tabs to spaces
Stefan Kost [Tue, 10 Mar 2009 19:01:21 +0000 (21:01 +0200)]
formatting: tabs to spaces

15 years agoAutomatic update of common submodule
Jan Schmidt [Mon, 9 Mar 2009 23:11:24 +0000 (23:11 +0000)]
Automatic update of common submodule

From 7032163 to f8b3d91

15 years agogstreamer.spec: fix stray @GLIB2_REQ@ that didn't get expanded properly
Tim-Philipp Müller [Mon, 9 Mar 2009 20:07:12 +0000 (20:07 +0000)]
gstreamer.spec: fix stray @GLIB2_REQ@ that didn't get expanded properly

15 years agodocs: reword stuff about custom mainloops
Wim Taymans [Mon, 9 Mar 2009 15:09:38 +0000 (16:09 +0100)]
docs: reword stuff about custom mainloops

Fixes #574229.

15 years agodump2dot: don't use GST_TIME_FORMAT when building filenames. fixes #574623
Stefan Kost [Mon, 9 Mar 2009 14:01:20 +0000 (16:01 +0200)]
dump2dot: don't use GST_TIME_FORMAT when building filenames. fixes #574623

15 years agopad: call new callbacks set in the block callback
Wim Taymans [Mon, 9 Mar 2009 10:39:34 +0000 (11:39 +0100)]
pad: call new callbacks set in the block callback

Keep track of when a new callback is installed in the callback and call the new
callback in that case.
Add unit test for checking pad blocking.
Fixes #573823.

15 years agowin32: update enumtypes and config.h
Tim-Philipp Müller [Sun, 8 Mar 2009 17:22:43 +0000 (17:22 +0000)]
win32: update enumtypes and config.h

15 years agodocs: improve docs for gst_tag_list_get_date*()
Tim-Philipp Müller [Sun, 8 Mar 2009 17:15:33 +0000 (17:15 +0000)]
docs: improve docs for gst_tag_list_get_date*()

Mention that the date value needs to be freed and how to free it.

15 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 8 Mar 2009 11:02:15 +0000 (12:02 +0100)]
Automatic update of common submodule

From ffa738d to 7032163

15 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 8 Mar 2009 10:17:50 +0000 (11:17 +0100)]
Automatic update of common submodule

From 3f13e4e to ffa738d

15 years agodump2dot: improve caps logging
Stefan Kost [Sat, 7 Mar 2009 22:27:26 +0000 (00:27 +0200)]
dump2dot: improve caps logging

Factor out code to describe caps. Improve formating (no \n in caps fields).
Check peer caps too and show both if they differ.

15 years agoAutomatic update of common submodule
Sebastian Dröge [Sat, 7 Mar 2009 10:43:31 +0000 (11:43 +0100)]
Automatic update of common submodule

From 3c7456b to 3f13e4e

15 years agoAutomatic update of common submodule
Sebastian Dröge [Sat, 7 Mar 2009 09:43:32 +0000 (10:43 +0100)]
Automatic update of common submodule

From 57c83f2 to 3c7456b

15 years agocollectpads: revert accidential commit from the queue (me should start using branches)
Stefan Kost [Fri, 6 Mar 2009 20:10:10 +0000 (22:10 +0200)]
collectpads: revert accidential commit from the queue (me should start using branches)

15 years agoapidocs: markup example as highlightable example and copy same for structure
Stefan Kost [Fri, 6 Mar 2009 19:59:20 +0000 (21:59 +0200)]
apidocs: markup example as highlightable example and copy same for structure

structures can be printed like we can do for caps. Mark the example so that
gtk-doc can pretty print and xref it.

15 years agocollectpads: reliably go to eos. Fixes #574160
Stefan Kost [Wed, 4 Mar 2009 19:21:56 +0000 (21:21 +0200)]
collectpads: reliably go to eos. Fixes #574160

Update collectpads status when removing pads.

15 years agoidentity: ignore the return value of gst_pad_event_default when sending out the newse...
Alessandro Decina [Fri, 6 Mar 2009 11:08:42 +0000 (12:08 +0100)]
identity: ignore the return value of gst_pad_event_default when sending out the newsegment event in single-segment mode.

This makes identity single-segment=true ! oggmux work again after a change in
oggmux (commit b0e3d449 in -base).

15 years agobasesink: propagate UPSTREAM events in pull mode too
Andy Wingo [Thu, 5 Mar 2009 16:42:22 +0000 (17:42 +0100)]
basesink: propagate UPSTREAM events in pull mode too

* libs/gst/base/gstbasesink.c (gst_base_sink_send_event): Propagate
  upstream events in pull mode too.

15 years agoGstPad: relax failure to deactivate unlinked pads
Antoine Tremblay [Thu, 5 Mar 2009 10:29:48 +0000 (11:29 +0100)]
GstPad: relax failure to deactivate unlinked pads

When de/activating a pad in pull mode the pad needs to de/activate the
peer pad it is connected to, failure to be able to do this in activation mode
is an error.

However if there is no peerpad, we can still deactivate the pad correctly and
assume the application will deactivate the unlinked peer pad eventually.

Fixes #574163.

15 years agoGstPoll: set the return value on windows
LRN [Thu, 5 Mar 2009 10:02:59 +0000 (11:02 +0100)]
GstPoll: set the return value on windows

Make sure that the return value of the functions _read/_write_control()
return the actual result instead of always FALSE on windows.
Fixes #574211.

15 years agopwg: update for CVS-to-git migration
Tim-Philipp Müller [Wed, 4 Mar 2009 10:46:15 +0000 (10:46 +0000)]
pwg: update for CVS-to-git migration

Fixes #573946.

15 years agoGstAdapter: Discard empty buffers in _push(). Fixes #574024
Edward Hervey [Wed, 4 Mar 2009 08:20:43 +0000 (09:20 +0100)]
GstAdapter: Discard empty buffers in _push(). Fixes #574024

15 years agoUpdate .gitignore
Tim-Philipp Müller [Tue, 3 Mar 2009 20:01:43 +0000 (20:01 +0000)]
Update .gitignore

15 years agogst-uninstalled: add bits for uninstalled checkouts of gst-openmax and totem
Tim-Philipp Müller [Tue, 3 Mar 2009 19:58:53 +0000 (19:58 +0000)]
gst-uninstalled: add bits for uninstalled checkouts of gst-openmax and totem

15 years agoAPI: Add gst_util_array_binary_search() for binary searchs on a sorted array
Sebastian Dröge [Mon, 2 Mar 2009 15:17:45 +0000 (16:17 +0100)]
API: Add gst_util_array_binary_search() for binary searchs on a sorted array

This will be mostly useful in all elements that have some kind of internal
seek/index table. Currently almost all of them (or even all of them)
are using a linear search although the used array is already sorted,
wasting some CPU time without good reason.

Fixes bug #573623.

15 years agoBump glib requirement to 2.14
David Schleef [Sat, 28 Feb 2009 19:15:29 +0000 (11:15 -0800)]
Bump glib requirement to 2.14

Also remove code conditional on < 2.14.

15 years agoRemove win32/common/config.h.in from MANIFEST, it no longer exists
Olivier Crête [Sat, 28 Feb 2009 18:34:08 +0000 (13:34 -0500)]
Remove win32/common/config.h.in from MANIFEST, it no longer exists

15 years agocapsfilter: Properly reset the capsfilter when setting caps ANY.
Edward Hervey [Fri, 27 Feb 2009 12:35:35 +0000 (13:35 +0100)]
capsfilter: Properly reset the capsfilter when setting caps ANY.

15 years agodesign: update the framestep draft
Wim Taymans [Fri, 27 Feb 2009 11:34:29 +0000 (12:34 +0100)]
design: update the framestep draft

Update the docs a little.
Add property to allow incremental stepping so that we can reduce excessive
queueing.

15 years agobasesink: move left over handling of the error case to the activate_failed label.
Stefan Kost [Thu, 26 Feb 2009 13:40:26 +0000 (15:40 +0200)]
basesink: move left over handling of the error case to the activate_failed label.

If was left as dead code.

15 years agobuild: Update shave init statement for changes in common. Bump common.
Jan Schmidt [Wed, 25 Feb 2009 19:59:57 +0000 (19:59 +0000)]
build: Update shave init statement for changes in common. Bump common.

15 years agobinary registry: Don't attempt to parse empty caps
Stefan Kost [Wed, 25 Feb 2009 08:51:57 +0000 (10:51 +0200)]
binary registry: Don't attempt to parse empty caps

15 years agoregistry: Set typefind factory caps to NULL instead of empty caps if they originally...
Sebastian Dröge [Wed, 25 Feb 2009 13:19:08 +0000 (14:19 +0100)]
registry: Set typefind factory caps to NULL instead of empty caps if they originally were NULL

15 years agoAutomatic update of common submodule
Jan Schmidt [Wed, 25 Feb 2009 11:31:38 +0000 (11:31 +0000)]
Automatic update of common submodule

From 9cf8c9b to a6ce5c6

15 years agoregistrybinary: Check if typefind factory caps are NULL before copying them
Sebastian Dröge [Tue, 24 Feb 2009 14:10:15 +0000 (15:10 +0100)]
registrybinary: Check if typefind factory caps are NULL before copying them

15 years agoRemove undeclared symbols from docs
Wim Taymans [Tue, 24 Feb 2009 10:40:14 +0000 (11:40 +0100)]
Remove undeclared symbols from docs

Remove some undeclared symbols from the docs.

15 years agoChange how win32/common/config.h is updated
David Schleef [Mon, 23 Feb 2009 21:01:11 +0000 (13:01 -0800)]
Change how win32/common/config.h is updated

Generate win32/common/config.h-new directly from config.h.in,
using shell variables in configure and some hard-coded information.
Change top-level makefile so that 'make win32-update' copies the
generated file to win32/common/config.h, which we keep in source
control.  It's kept in source control so that the git tree is
buildable from VS.

15 years agoAdd srcdir to includes for out-of-source builds
David Flynn [Mon, 23 Feb 2009 18:52:14 +0000 (10:52 -0800)]
Add srcdir to includes for out-of-source builds

When you use gstreamer uninstalled and build outside
the source tree, the includes need to be specified for
both the source tree and the build tree.

Signed-off-by: David Schleef <ds@schleef.org>
15 years agoError out more specifically on empty caps
Wim Taymans [Mon, 23 Feb 2009 16:36:23 +0000 (17:36 +0100)]
Error out more specifically on empty caps

When we get empty caps from the getcaps function in the default negotiate
function, post a more descriptive error.

15 years agofix uri handler iteration in gst-inspect
Andy Wingo [Mon, 23 Feb 2009 14:24:00 +0000 (15:24 +0100)]
fix uri handler iteration in gst-inspect

* tools/gst-inspect.c (print_all_uri_handlers): Whoops, fix iteration.
  I'm stupid.

15 years agoFix signed when compiling with MSys/MinGW
LRN [Mon, 23 Feb 2009 11:33:13 +0000 (12:33 +0100)]
Fix signed when compiling with MSys/MinGW

fix signed issues when compiling with MSys/MinGW.
Fixes #572591.

15 years agoDon't forward LATENCY event when not ready
Wim Taymans [Mon, 23 Feb 2009 09:53:17 +0000 (10:53 +0100)]
Don't forward LATENCY event when not ready

When we are not ready to handle a latency query (we are not yet prerolled) we
also don't try to forward the latency event because that might cause unexpected
errors when upstream is not yet linked.

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.