platform/upstream/gstreamer.git
18 years agocheck/: wait on thread to die so we can check refcount correctly
Thomas Vander Stichele [Wed, 19 Oct 2005 11:43:42 +0000 (11:43 +0000)]
check/: wait on thread to die so we can check refcount correctly

Original commit message from CVS:

* check/gst/gstbin.c: (GST_START_TEST):
* check/gst/gstghostpad.c: (GST_START_TEST):
* check/pipelines/cleanup.c: (GST_START_TEST):
wait on thread to die so we can check refcount correctly

18 years agoupdate tools package naming
Christian Schaller [Wed, 19 Oct 2005 11:43:18 +0000 (11:43 +0000)]
update tools package naming

Original commit message from CVS:
update tools package naming

18 years agolog an if branch
Thomas Vander Stichele [Wed, 19 Oct 2005 11:42:39 +0000 (11:42 +0000)]
log an if branch

Original commit message from CVS:
log an if branch

18 years agocheck/pipelines/stress.c: Make check a little more time consuming.
Wim Taymans [Tue, 18 Oct 2005 17:30:50 +0000 (17:30 +0000)]
check/pipelines/stress.c: Make check a little more time consuming.

Original commit message from CVS:
* check/pipelines/stress.c: (GST_START_TEST):
Make check a little more time consuming.

18 years agocheck/: Small state change torture test.
Wim Taymans [Tue, 18 Oct 2005 17:06:29 +0000 (17:06 +0000)]
check/: Small state change torture test.

Original commit message from CVS:
* check/Makefile.am:
* check/pipelines/stress.c: (GST_START_TEST),
(simple_launch_lines_suite), (main):
Small state change torture test.

* docs/design/part-states.txt:
* gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
(gst_base_sink_change_state):
Never take state lock from streaming thread, clean up ugly
hacks. Unfortunatly core does not yet support nice ways to
async commit state.

* gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
(bin_bus_handler):
Start state recalc if a STATE_DIRTY message is posted, but only
on the toplevel bin.

* gst/gstelement.c: (gst_element_sync_state_with_parent),
(gst_element_get_state_func), (gst_element_abort_state),
(gst_element_commit_state), (gst_element_lost_state),
(gst_element_set_state_func), (gst_element_change_state):
* gst/gstelement.h:
State variables are now protected with the LOCK, the state
lock is only used to serialize _set_state().

18 years agoSeriously, this is better than a previous commit as we only need to notify the fact...
Wim Taymans [Tue, 18 Oct 2005 16:25:38 +0000 (16:25 +0000)]
Seriously, this is better than a previous commit as we only need to notify the fact that an element changed state in ...

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
* check/gst/gstmessage.c: (GST_START_TEST):
* check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
(bin_bus_handler):
* gst/gstelement.c: (gst_element_abort_state),
(gst_element_commit_state), (gst_element_lost_state):
* gst/gstmessage.c: (gst_message_new_state_changed),
(gst_message_new_state_dirty), (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_new_duration),
(gst_message_parse_state_changed),
(gst_message_parse_segment_start),
(gst_message_parse_segment_done), (gst_message_parse_duration):
* gst/gstmessage.h:
* tools/gst-launch.c: (event_loop):
Seriously, this is better than a previous commit as we only need
to notify the fact that an element changed state in a streaming
thread, marking the state of the parents dirty, hence the
STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
message.

18 years agogst/: Cleanups, prepare for state change fixes.
Wim Taymans [Tue, 18 Oct 2005 15:15:11 +0000 (15:15 +0000)]
gst/: Cleanups, prepare for state change fixes.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
(gst_bin_recalc_func):
* gst/gstelement.c: (gst_element_set_clock),
(gst_element_abort_state), (gst_element_lost_state):
Cleanups, prepare for state change fixes.

18 years agogst/: Pending ABI changes.
Wim Taymans [Tue, 18 Oct 2005 14:29:21 +0000 (14:29 +0000)]
gst/: Pending ABI changes.

Original commit message from CVS:
* gst/gstbin.h:
* gst/gstelement.c: (gst_element_class_init),
(gst_element_set_state), (gst_element_set_state_func):
* gst/gstelement.h:
Pending ABI changes.
GThreadPool in GstBinClass to monitor async state changes.
state_cookie in GstElement to detect concurrent gst/set state.
set_state is now virtual too in case a very complicated element
has to be constructed.

18 years agoMake messages future proof. state-change gets a flag if it was a message comming...
Wim Taymans [Tue, 18 Oct 2005 13:19:16 +0000 (13:19 +0000)]
Make messages future proof. state-change gets a flag if it was a message comming from the streaming thread.

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
* check/gst/gstmessage.c: (GST_START_TEST):
* check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
* gst/gstbin.c: (bin_bus_handler):
* gst/gstelement.c: (gst_element_commit_state),
(gst_element_lost_state):
* gst/gstmessage.c: (gst_message_new_state_changed),
(gst_message_new_segment_start), (gst_message_new_segment_done),
(gst_message_new_duration), (gst_message_parse_state_changed),
(gst_message_parse_segment_start),
(gst_message_parse_segment_done), (gst_message_parse_duration):
* gst/gstmessage.h:
* tools/gst-launch.c: (event_loop):
Make messages future proof.
state-change gets a flag if it was a message comming from the
streaming thread.
segment-start/stop can also be specified in other formats.
A message to notify an app that a pipeline changed playback
duration.
Also fix a GstMessage leak in -launch

18 years agogst/gstelement.c (gst_element_dispose): More helpful message.
Andy Wingo [Tue, 18 Oct 2005 10:32:48 +0000 (10:32 +0000)]
gst/gstelement.c (gst_element_dispose): More helpful message.

Original commit message from CVS:
2005-10-18  Andy Wingo  <wingo@pobox.com>

* gst/gstelement.c (gst_element_dispose): More helpful message.

18 years agoremove info messages
Thomas Vander Stichele [Tue, 18 Oct 2005 08:20:25 +0000 (08:20 +0000)]
remove info messages

Original commit message from CVS:
remove info messages

18 years agogst/gstregistry.c: unref a plug-in we get that was already initialized
Thomas Vander Stichele [Tue, 18 Oct 2005 07:13:25 +0000 (07:13 +0000)]
gst/gstregistry.c: unref a plug-in we get that was already initialized

Original commit message from CVS:

* gst/gstregistry.c: (gst_registry_scan_path_level):
unref a plug-in we get that was already initialized

18 years agoadd new api entries hide internal macro
Stefan Kost [Mon, 17 Oct 2005 20:16:55 +0000 (20:16 +0000)]
add new api entries hide internal macro

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* docs/libs/gstreamer-libs-sections.txt:
* gst/gstelement.h:
add new api entries
hide internal macro

18 years agogst/base/gstcollectpads.c (gst_collectpads_chain): Slight cleanup.
Andy Wingo [Mon, 17 Oct 2005 18:09:32 +0000 (18:09 +0000)]
gst/base/gstcollectpads.c (gst_collectpads_chain): Slight cleanup.

Original commit message from CVS:
2005-10-17  Andy Wingo  <wingo@pobox.com>

* gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
cleanup.

* gst/Makefile.am (gstenumtypes.c): Threadsafe now.

* gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.

* gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
(gst_element_get_state_func): Better debug message.
(gst_element_commit_state): s/INFO/DEBUG/.
(gst_element_lost_state, gst_element_change_state):

* gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
(gst_message_new_custom): s/INFO/LOG/.

18 years agoCheck validity of end time based on end time variable, not start time.
Michael Smith [Mon, 17 Oct 2005 17:46:37 +0000 (17:46 +0000)]
Check validity of end time based on end time variable, not start time.

Original commit message from CVS:
Check validity of end time based on end time variable, not start time.

18 years agomerge controller testsuites fix broken tests remove mem-chunk from docs
Stefan Kost [Mon, 17 Oct 2005 17:05:38 +0000 (17:05 +0000)]
merge controller testsuites fix broken tests remove mem-chunk from docs

Original commit message from CVS:
* check/gst-libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode):
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gstinterpolation.c:
* testsuite/controller/.cvsignore:
* testsuite/controller/Makefile.am:
* testsuite/controller/interpolator.c:
merge controller testsuites
fix broken tests
remove mem-chunk from docs

18 years agogst/: out. get out. you're fired. to the Attic !
Thomas Vander Stichele [Mon, 17 Oct 2005 14:42:22 +0000 (14:42 +0000)]
gst/: out.  get out.  you're fired.  to the Attic !

Original commit message from CVS:

* gst/gstmemchunk.c:
* gst/gstmemchunk.h:
* gst/gsttrashstack.c:
* gst/gsttrashstack.h:
out.  get out.  you're fired.  to the Attic !

18 years agogst/gstcaps.c: fix signedness issues in a (hopefully) correct way
Thomas Vander Stichele [Mon, 17 Oct 2005 14:37:06 +0000 (14:37 +0000)]
gst/gstcaps.c: fix signedness issues in a (hopefully) correct way

Original commit message from CVS:

* gst/gstcaps.c: (gst_caps_intersect):
fix signedness issues in a (hopefully) correct way
* gst/gstelement.c: (gst_element_pads_activate):
some debugging
* gst/gstobject.c: (gst_object_set_parent):
some debugging

18 years agoFix a doc typo.
Michael Smith [Mon, 17 Oct 2005 10:37:13 +0000 (10:37 +0000)]
Fix a doc typo.

Original commit message from CVS:
Fix a doc typo.

18 years agogst/gstvalue.h: Fix prototypes.
Julien Moutte [Mon, 17 Oct 2005 09:28:35 +0000 (09:28 +0000)]
gst/gstvalue.h: Fix prototypes.

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

* gst/gstvalue.h: Fix prototypes.

18 years agoadd gst_version_string ()
Thomas Vander Stichele [Sun, 16 Oct 2005 14:32:57 +0000 (14:32 +0000)]
add gst_version_string ()

Original commit message from CVS:
add gst_version_string ()

18 years agocomment; update win32 config.h
Thomas Vander Stichele [Sun, 16 Oct 2005 13:55:41 +0000 (13:55 +0000)]
comment; update win32 config.h

Original commit message from CVS:
comment; update win32 config.h

18 years agoDear Andy: here's a script to update stuff from CVS
Thomas Vander Stichele [Sun, 16 Oct 2005 12:37:14 +0000 (12:37 +0000)]
Dear Andy: here's a script to update stuff from CVS

Original commit message from CVS:
Dear Andy:
here's a script to update stuff from CVS

Love,
Thomas

18 years agoconfigure.ac: clean up further
Thomas Vander Stichele [Sun, 16 Oct 2005 12:28:20 +0000 (12:28 +0000)]
configure.ac: clean up further

Original commit message from CVS:

* configure.ac:
clean up further
* gst/gst.c: (init_post):
* win32/common/config.h.in:
it's PLUGINDIR now
* gst/gstcaps.c: (gst_caps_intersect):
use gint64, the range could be bigger than a guint

18 years agoGStreamer consultants will make a lot of money in 2038
Thomas Vander Stichele [Sun, 16 Oct 2005 11:48:09 +0000 (11:48 +0000)]
GStreamer consultants will make a lot of money in 2038

Original commit message from CVS:
GStreamer consultants will make a lot of money in 2038

18 years agogst/gstcaps.c: Fix guint j diving under 0
Thomas Vander Stichele [Sun, 16 Oct 2005 10:58:41 +0000 (10:58 +0000)]
gst/gstcaps.c: Fix guint j diving under 0

Original commit message from CVS:

* gst/gstcaps.c: (gst_caps_intersect):
Fix guint j diving under 0

18 years agocheck for process.h, declares getpid() on Windows
Thomas Vander Stichele [Sun, 16 Oct 2005 10:38:02 +0000 (10:38 +0000)]
check for process.h, declares getpid() on Windows

Original commit message from CVS:

* configure.ac:
* win32/common/config.h:
* win32/common/config.h.in:
check for process.h, declares getpid() on Windows
* gst/gstinfo.c:
include process.h if we have it
* gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
* gst/gstmemchunk.h:
fix signedness issues
* win32/common/libgstreamer.def:
fix get_type's

18 years agofix signedness
Thomas Vander Stichele [Sun, 16 Oct 2005 10:22:29 +0000 (10:22 +0000)]
fix signedness

Original commit message from CVS:
fix signedness

18 years agofix GST_VERSION
Thomas Vander Stichele [Sun, 16 Oct 2005 10:18:36 +0000 (10:18 +0000)]
fix GST_VERSION

Original commit message from CVS:
fix GST_VERSION

18 years agofix inline
Thomas Vander Stichele [Sun, 16 Oct 2005 10:15:24 +0000 (10:15 +0000)]
fix inline

Original commit message from CVS:
fix inline

18 years agodefine PACKAGE
Thomas Vander Stichele [Sun, 16 Oct 2005 10:12:34 +0000 (10:12 +0000)]
define PACKAGE

Original commit message from CVS:
define PACKAGE

18 years agoupdate available headers
Thomas Vander Stichele [Sun, 16 Oct 2005 10:10:25 +0000 (10:10 +0000)]
update available headers

Original commit message from CVS:
update available headers

18 years agogst/gstcaps.c: Fix a bad bug with a simple fix. Because of unsigned ints, caps inters...
Julien Moutte [Sun, 16 Oct 2005 09:56:33 +0000 (09:56 +0000)]
gst/gstcaps.c: Fix a bad bug with a simple fix. Because of unsigned ints, caps intersection was going nuts and trying...

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

* gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a
simple
fix. Because of unsigned ints, caps intersection was going nuts
and
trying to access structures with G_MAXUINT index. That fixes
videotestsrc ! ffmpegcolorspace ! fakesink
* gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
consistency.

18 years agoupdate
Thomas Vander Stichele [Sun, 16 Oct 2005 09:55:24 +0000 (09:55 +0000)]
update

Original commit message from CVS:
update

18 years agotypo
Thomas Vander Stichele [Sun, 16 Oct 2005 09:54:22 +0000 (09:54 +0000)]
typo

Original commit message from CVS:
typo

18 years agoupdates for 2in32
Thomas Vander Stichele [Sun, 16 Oct 2005 09:51:25 +0000 (09:51 +0000)]
updates for 2in32

Original commit message from CVS:
updates for 2in32

18 years agomore define fixes
Thomas Vander Stichele [Sun, 16 Oct 2005 09:44:04 +0000 (09:44 +0000)]
more define fixes

Original commit message from CVS:
more define fixes

18 years agoconfigure.ac: use the gettext macro
Thomas Vander Stichele [Sun, 16 Oct 2005 09:20:52 +0000 (09:20 +0000)]
configure.ac: use the gettext macro

Original commit message from CVS:
2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>

* configure.ac:
use the gettext macro
* gst/elements/gstelements.c:
* gst/gst.c:
* gst/indexers/gstindexers.c:
update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
* win32/common/config.h:
updated config.h
* win32/common/config.h.in:
add the template to generate config.h
* win32/common/gstenumtypes.c:
* win32/common/gstversion.h:
updated copies

18 years agoremove more PKG_CFLAGS
Thomas Vander Stichele [Sun, 16 Oct 2005 09:11:57 +0000 (09:11 +0000)]
remove more PKG_CFLAGS

Original commit message from CVS:
remove more PKG_CFLAGS

18 years agogst/: add the nano
Thomas Vander Stichele [Sun, 16 Oct 2005 09:10:17 +0000 (09:10 +0000)]
gst/: add the nano

Original commit message from CVS:
* gst/gst.c: (gst_version):
* gst/gstversion.h.in:
add the nano

18 years agoremove GST_PKG_CFLAGS
Thomas Vander Stichele [Sun, 16 Oct 2005 08:59:34 +0000 (08:59 +0000)]
remove GST_PKG_CFLAGS

Original commit message from CVS:
remove GST_PKG_CFLAGS

18 years agogst/gstevent.h: Oops, add missing closing bracket.
Tim-Philipp Müller [Sat, 15 Oct 2005 22:24:20 +0000 (22:24 +0000)]
gst/gstevent.h: Oops, add missing closing bracket.

Original commit message from CVS:
* gst/gstevent.h:
Oops, add missing closing bracket.

18 years agoconfigure.ac: use common m4's for argument checking
Thomas Vander Stichele [Sat, 15 Oct 2005 21:41:20 +0000 (21:41 +0000)]
configure.ac: use common m4's for argument checking

Original commit message from CVS:

* configure.ac:
use common m4's for argument checking

18 years agoAdd GST_EVENT_TYPE_NAME() macro.
Tim-Philipp Müller [Sat, 15 Oct 2005 20:33:09 +0000 (20:33 +0000)]
Add GST_EVENT_TYPE_NAME() macro.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstevent.h:
Add GST_EVENT_TYPE_NAME() macro.

18 years agoupdate defs
Thomas Vander Stichele [Sat, 15 Oct 2005 20:00:30 +0000 (20:00 +0000)]
update defs

Original commit message from CVS:
update defs

18 years agogst/: privatize more symbols
Thomas Vander Stichele [Sat, 15 Oct 2005 19:57:03 +0000 (19:57 +0000)]
gst/: privatize more symbols

Original commit message from CVS:

* gst/gstinfo.c:
* gst/gstpluginfeature.c:
* gst/gsttask.c:
privatize more symbols

18 years agoconfigure.ac: add srcdir, builddir includes to GST_ALL_CFLAGS, since everything that...
Thomas Vander Stichele [Sat, 15 Oct 2005 18:22:31 +0000 (18:22 +0000)]
configure.ac: add srcdir, builddir includes to GST_ALL_CFLAGS, since everything that uses GStreamer API should have t...

Original commit message from CVS:

* configure.ac:
add srcdir, builddir includes to GST_ALL_CFLAGS, since
everything that uses GStreamer API should have the includes

18 years agogive each value a _get_type, removes the DATA exports
Thomas Vander Stichele [Sat, 15 Oct 2005 17:59:07 +0000 (17:59 +0000)]
give each value a _get_type, removes the DATA exports

Original commit message from CVS:

* docs/gst/gstreamer-sections.txt:
* gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
* gst/gstvalue.h:
give each value a _get_type, removes the DATA exports

18 years agofix link flags
Thomas Vander Stichele [Sat, 15 Oct 2005 17:22:34 +0000 (17:22 +0000)]
fix link flags

Original commit message from CVS:
fix link flags

18 years agoupdate defs file
Thomas Vander Stichele [Sat, 15 Oct 2005 16:39:57 +0000 (16:39 +0000)]
update defs file

Original commit message from CVS:
update defs file

18 years agoupdate defs
Thomas Vander Stichele [Sat, 15 Oct 2005 16:37:22 +0000 (16:37 +0000)]
update defs

Original commit message from CVS:
update defs

18 years agogst/gst.*: remove _gst_registry_auto_load, not used anymore
Thomas Vander Stichele [Sat, 15 Oct 2005 16:33:09 +0000 (16:33 +0000)]
gst/gst.*: remove _gst_registry_auto_load, not used anymore

Original commit message from CVS:

* gst/gst.c:
* gst/gst.h:
remove _gst_registry_auto_load, not used anymore
* gst/gstbin.c: (gst_bin_get_type):
* gst/gstbin.h:
* gst/gstelement.c: (gst_element_get_type):
* gst/gstelement.h:
* gst/gstobject.c: (gst_object_get_type):
* gst/gstobject.h:
* gst/gstpad.c: (gst_pad_get_type):
* gst/gstpad.h:
make _get_type functions similar, fixes data export from library

18 years agoI'm too lazy to comment this
Thomas Vander Stichele [Sat, 15 Oct 2005 16:16:04 +0000 (16:16 +0000)]
I'm too lazy to comment this

Original commit message from CVS:
gtk-doc insists on inserting <PARA> at every empty line, sigh

18 years agovarious style fixes
Thomas Vander Stichele [Sat, 15 Oct 2005 16:01:57 +0000 (16:01 +0000)]
various style fixes

Original commit message from CVS:
various style fixes

18 years agowhitespace fixes
Thomas Vander Stichele [Sat, 15 Oct 2005 15:53:59 +0000 (15:53 +0000)]
whitespace fixes

Original commit message from CVS:
whitespace fixes

18 years agoremove obsolete tests whitespace fixes
Thomas Vander Stichele [Sat, 15 Oct 2005 15:53:14 +0000 (15:53 +0000)]
remove obsolete tests whitespace fixes

Original commit message from CVS:
remove obsolete tests
whitespace fixes

18 years agoconfigure.ac: correctly make conditionals
Thomas Vander Stichele [Sat, 15 Oct 2005 15:52:08 +0000 (15:52 +0000)]
configure.ac: correctly make conditionals

Original commit message from CVS:

* configure.ac:
correctly make conditionals
* gst/elements/Makefile.am:
* gst/elements/gstelements.c:
fix typo causing fdsrc not to build

18 years agowhitespace fixes
Thomas Vander Stichele [Sat, 15 Oct 2005 15:30:24 +0000 (15:30 +0000)]
whitespace fixes

Original commit message from CVS:
whitespace fixes

18 years agoconfigure.ac: check for some headers
Thomas Vander Stichele [Sat, 15 Oct 2005 15:01:39 +0000 (15:01 +0000)]
configure.ac: check for some headers

Original commit message from CVS:

* configure.ac:
check for some headers
* gst/elements/Makefile.am:
* gst/elements/gstelements.c:
don't compile fdsrc without sys/socket.h
* gst/indexers/Makefile.am:
* gst/indexers/gstindexers.c: (plugin_init):
don't compile fileindex without mmap

18 years agoconfigure.ac: reorganize clean up document more remove cruft
Thomas Vander Stichele [Sat, 15 Oct 2005 13:58:18 +0000 (13:58 +0000)]
configure.ac: reorganize clean up document more remove cruft

Original commit message from CVS:

* configure.ac:
reorganize
clean up
document more
remove cruft
* check/Makefile.am:
* docs/gst/Makefile.am:
* examples/helloworld/Makefile.am:
* gst/Makefile.am:
* gst/base/Makefile.am:
* gst/check/Makefile.am:
* gst/elements/Makefile.am:
* gst/indexers/Makefile.am:
* gst/parse/Makefile.am:
* libs/gst/controller/Makefile.am:
* libs/gst/dataprotocol/Makefile.am:
* examples/helloworld/helloworld.c: (event_loop):
compile fixes, though it's not being compiled currently

18 years agoclean up pc files
Thomas Vander Stichele [Sat, 15 Oct 2005 13:24:54 +0000 (13:24 +0000)]
clean up pc files

Original commit message from CVS:
clean up pc files

18 years agoremove dir
Thomas Vander Stichele [Sat, 15 Oct 2005 12:03:32 +0000 (12:03 +0000)]
remove dir

Original commit message from CVS:
remove dir

18 years agoremove directory
Thomas Vander Stichele [Sat, 15 Oct 2005 10:34:17 +0000 (10:34 +0000)]
remove directory

Original commit message from CVS:
remove directory

18 years agosignedness/type fixes
Thomas Vander Stichele [Sat, 15 Oct 2005 00:22:02 +0000 (00:22 +0000)]
signedness/type fixes

Original commit message from CVS:
signedness/type fixes

18 years agosignedness/type fixes
Thomas Vander Stichele [Sat, 15 Oct 2005 00:20:45 +0000 (00:20 +0000)]
signedness/type fixes

Original commit message from CVS:
signedness/type fixes

18 years agosignedness fixes
Thomas Vander Stichele [Sat, 15 Oct 2005 00:15:43 +0000 (00:15 +0000)]
signedness fixes

Original commit message from CVS:
signedness fixes

18 years agosignedness fixes
Thomas Vander Stichele [Sat, 15 Oct 2005 00:12:22 +0000 (00:12 +0000)]
signedness fixes

Original commit message from CVS:
signedness fixes

18 years agocheck/gst/gsttag.c: Add some simple tests for the new taglist date API.
Tim-Philipp Müller [Fri, 14 Oct 2005 17:01:56 +0000 (17:01 +0000)]
check/gst/gsttag.c: Add some simple tests for the new taglist date API.

Original commit message from CVS:
* check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
Add some simple tests for the new taglist date API.

18 years agogst/elements/: Beautify 'last-message' output: print 'none' for buffer timestamps...
Tim-Philipp Müller [Fri, 14 Oct 2005 14:10:24 +0000 (14:10 +0000)]
gst/elements/: Beautify 'last-message' output: print 'none' for buffer timestamps and durations if none is set; impro...

Original commit message from CVS:
* gst/elements/gstfakesink.c: (gst_fake_sink_render):
* gst/elements/gstfakesrc.c: (gst_fake_src_create):
Beautify 'last-message' output: print 'none' for buffer timestamps
and durations if none is set; improve alignment with next messages.

18 years agoAdd new API to check plugin feature version requirements.
Tim-Philipp Müller [Fri, 14 Oct 2005 11:09:29 +0000 (11:09 +0000)]
Add new API to check plugin feature version requirements.

Original commit message from CVS:
* gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
* gst/gstpluginfeature.h:
* gst/gstregistry.c: (gst_default_registry_check_feature_version):
* gst/gstregistry.h:
* docs/gst/gstreamer-sections.txt:
Add new API to check plugin feature version requirements.
* check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
Some basic tests for the above.

18 years agogst/gststructure.c: guard against NULL printf - happens when for example a message...
Thomas Vander Stichele [Thu, 13 Oct 2005 21:27:57 +0000 (21:27 +0000)]
gst/gststructure.c: guard against NULL printf - happens when for example a message structure with GstClock gets seria...

Original commit message from CVS:
2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>

* gst/gststructure.c: (gst_structure_to_string):
guard against NULL printf - happens when for example
a message structure with GstClock gets serialized

18 years agogst/base/gstcollectpads.c: Fix presumable copy'n'pasto.
Tim-Philipp Müller [Thu, 13 Oct 2005 18:33:27 +0000 (18:33 +0000)]
gst/base/gstcollectpads.c: Fix presumable copy'n'pasto.

Original commit message from CVS:
* gst/base/gstcollectpads.c: (gst_collectpads_event):
Fix presumable copy'n'pasto.

18 years agoadd correct header for WIN32
Thomas Vander Stichele [Thu, 13 Oct 2005 17:51:51 +0000 (17:51 +0000)]
add correct header for WIN32

Original commit message from CVS:
add correct header for WIN32

18 years agogst/elements/: fix some signedness
Thomas Vander Stichele [Thu, 13 Oct 2005 17:43:36 +0000 (17:43 +0000)]
gst/elements/: fix some signedness

Original commit message from CVS:

* gst/elements/gstfakesrc.h:
* gst/elements/gstfilesrc.c: (gst_file_src_create_read):
* gst/elements/gsttypefindelement.c:
fix some signedness
* gst/elements/gstfilesink.c: (gst_file_sink_render):
I wonder if this could actually write +2GB files before

18 years agoadd an export
Thomas Vander Stichele [Thu, 13 Oct 2005 17:24:53 +0000 (17:24 +0000)]
add an export

Original commit message from CVS:
add an export

18 years agoinclude header correctly; show me the name
Thomas Vander Stichele [Thu, 13 Oct 2005 17:20:44 +0000 (17:20 +0000)]
include header correctly; show me the name

Original commit message from CVS:
include header correctly; show me the name

18 years agofoo
Andy Wingo [Thu, 13 Oct 2005 16:34:04 +0000 (16:34 +0000)]
foo

Original commit message from CVS:
foo

18 years agolibs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps): Fix Timmeke Waymans...
Andy Wingo [Thu, 13 Oct 2005 16:26:12 +0000 (16:26 +0000)]
libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps): Fix Timmeke Waymans bug.

Original commit message from CVS:
2005-10-13  Andy Wingo  <wingo@pobox.com>

* libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
Fix Timmeke Waymans bug.
(gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
string of the proper length to gst_caps_from_string. There's a
potential for, before this fix, that this could cause someone
connecting over the network to cause a segfault if the payload is
not NUL-terminated.

18 years agofixed typos
Stefan Kost [Thu, 13 Oct 2005 15:27:40 +0000 (15:27 +0000)]
fixed typos

Original commit message from CVS:
* docs/design/draft-push-pull.txt:
* docs/design/part-overview.txt:
* docs/random/TODO-pre-0.9:
* docs/random/old/ChangeLog.gstreamer:
* gst/base/gstpushsrc.c:
* gst/gstclock.c:
fixed typos

18 years agogst/: GLib 2.6 g_flags_get_first_value has a bug that triggers an infinite loop
Thomas Vander Stichele [Thu, 13 Oct 2005 15:23:51 +0000 (15:23 +0000)]
gst/: GLib 2.6 g_flags_get_first_value has a bug that triggers an infinite loop

Original commit message from CVS:

* gst/glib-compat.c: (gst_flags_get_first_value):
* gst/glib-compat.h:
* gst/gstvalue.c: (gst_value_deserialize_int_helper),
(gst_value_compare_double), (gst_value_serialize_flags):
GLib 2.6 g_flags_get_first_value has a bug that triggers an
infinite loop

18 years agogst/base/: fix up debugging
Thomas Vander Stichele [Thu, 13 Oct 2005 15:22:26 +0000 (15:22 +0000)]
gst/base/: fix up debugging

Original commit message from CVS:
2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>

* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
* gst/base/gstbasesrc.c: (gst_base_src_get_range):
fix up debugging
* tools/gst-launch.c: (event_loop):
print out clock nicely

18 years agoAdded gst_tag_list_get_date() and gst_tag_list_get_date_index().
Tim-Philipp Müller [Thu, 13 Oct 2005 15:13:32 +0000 (15:13 +0000)]
Added gst_tag_list_get_date() and gst_tag_list_get_date_index().

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.h:
* gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
(gst_tag_list_get_date_index):
Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).

18 years agogst/base/gstcollectpads.*: Handle newsegment and store informations in CollectData.
Julien Moutte [Thu, 13 Oct 2005 14:55:17 +0000 (14:55 +0000)]
gst/base/gstcollectpads.*: Handle newsegment and store informations in CollectData.

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

* gst/base/gstcollectpads.c: (gst_collectpads_event),
(gst_collectpads_chain):
* gst/base/gstcollectpads.h: Handle newsegment and store
informations
in CollectData.

18 years agofix GOption context leaks doc fixes
Stefan Kost [Thu, 13 Oct 2005 09:57:15 +0000 (09:57 +0000)]
fix GOption context leaks doc fixes

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gst.c:
* gst/gsterror.h:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-run.c: (main):
* tools/gst-xmlinspect.c: (main):
fix GOption context leaks
doc fixes

18 years agogst/gstbus.c: use HAVE_UNISTD_H
Thomas Vander Stichele [Wed, 12 Oct 2005 22:34:47 +0000 (22:34 +0000)]
gst/gstbus.c: use HAVE_UNISTD_H

Original commit message from CVS:

* gst/gstbus.c:
use HAVE_UNISTD_H
* win32/common/config.h:
update config
* win32/vs6/grammar.dsp:
* win32/vs6/libgstelements.dsp:
* win32/vs6/libgstreamer.dsp:
update vs6 files

18 years agohad a few too many 0D bytes
Thomas Vander Stichele [Wed, 12 Oct 2005 22:00:54 +0000 (22:00 +0000)]
had a few too many 0D bytes

Original commit message from CVS:
had a few too many 0D bytes

18 years agogst/base/: fix more guint64<->gdouble conversions
Thomas Vander Stichele [Wed, 12 Oct 2005 21:56:52 +0000 (21:56 +0000)]
gst/base/: fix more guint64<->gdouble conversions

Original commit message from CVS:

* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
* gst/base/gstbasesrc.c: (gst_base_src_query):
fix more guint64<->gdouble conversions

18 years agoMakefile.am: add win32-update target
Thomas Vander Stichele [Wed, 12 Oct 2005 20:23:42 +0000 (20:23 +0000)]
Makefile.am: add win32-update target

Original commit message from CVS:

* Makefile.am:
add win32-update target
* win32/common/gstconfig.h:
* win32/common/gstenumtypes.c:
* win32/common/gstenumtypes.h:
* win32/common/gstversion.h:
add files that visual studio can't generate

18 years agogst/: Protect flags with proper lock. unref provided cached clock in dispose.
Wim Taymans [Wed, 12 Oct 2005 19:38:44 +0000 (19:38 +0000)]
gst/: Protect flags with proper lock. unref provided cached clock in dispose.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
(reset_degree), (gst_bin_dispose), (bin_bus_handler):
* gst/gstelement.c: (gst_element_commit_state),
(gst_element_set_state):
Protect flags with proper lock.
unref provided cached clock in dispose.

18 years agolayout cleanup
Thomas Vander Stichele [Wed, 12 Oct 2005 19:14:23 +0000 (19:14 +0000)]
layout cleanup

Original commit message from CVS:
layout cleanup

18 years agoremoved unused flags from miniobject doc fixes
Stefan Kost [Wed, 12 Oct 2005 19:10:46 +0000 (19:10 +0000)]
removed unused flags from miniobject doc fixes

Original commit message from CVS:
* gst/gst.c:
* gst/gstminiobject.h:
* gst/gstpad.h:
* win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
removed unused flags from miniobject
doc fixes

18 years agoconvert to unix line ends; since the source is also unix-style line ends, developers...
Thomas Vander Stichele [Wed, 12 Oct 2005 18:03:18 +0000 (18:03 +0000)]
convert to unix line ends; since the source is also unix-style line ends, developers don't need to fiddle and special...

Original commit message from CVS:
convert to unix line ends; since the source is also unix-style line ends, developers don't need to fiddle and special-case, but can just allow translation on the fly

18 years agogst/elements/gstfilesink.c: Flush before seeking.
Wim Taymans [Wed, 12 Oct 2005 16:03:39 +0000 (16:03 +0000)]
gst/elements/gstfilesink.c: Flush before seeking.

Original commit message from CVS:
* gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
(gst_file_sink_event), (gst_file_sink_render):
Flush before seeking.

18 years agogst/gst.c (gst_init_check): Ignore unknown options, as has always been the case.
Andy Wingo [Wed, 12 Oct 2005 15:58:24 +0000 (15:58 +0000)]
gst/gst.c (gst_init_check): Ignore unknown options, as has always been the case.

Original commit message from CVS:
2005-10-12  Andy Wingo  <wingo@pobox.com>

* gst/gst.c (gst_init_check): Ignore unknown options, as has
always been the case.

18 years agorenamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition
Stefan Kost [Wed, 12 Oct 2005 14:28:39 +0000 (14:28 +0000)]
renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
* docs/gst/gstreamer-sections.txt:
* gst/base/gstbasesink.c: (gst_base_sink_init):
* gst/base/gstbasesrc.c: (gst_base_src_init),
(gst_base_src_get_range), (gst_base_src_check_get_range),
(gst_base_src_start), (gst_base_src_stop):
* gst/base/gstbasesrc.h:
* gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
(bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
(bin_bus_handler):
* gst/gstbin.h:
* gst/gstbuffer.h:
* gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
* gst/gstbus.h:
* gst/gstelement.c: (gst_element_is_locked_state),
(gst_element_set_locked_state), (gst_element_commit_state),
(gst_element_set_state):
* gst/gstelement.h:
* gst/gstindex.c: (gst_index_init):
* gst/gstindex.h:
* gst/gstminiobject.h:
* gst/gstobject.c: (gst_object_init), (gst_object_sink),
(gst_object_set_parent):
* gst/gstobject.h:
* gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
(gst_pad_get_caps_unlocked), (gst_pad_set_caps):
* gst/gstpad.h:
* gst/gstpadtemplate.h:
* gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
(gst_pipeline_use_clock), (gst_pipeline_auto_clock):
* gst/gstpipeline.h:
* gst/indexers/gstfileindex.c: (gst_file_index_load),
(gst_file_index_commit):
* testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
* testsuite/pad/link.c: (gst_test_src_init),
(gst_test_filter_init), (gst_test_sink_init):
* testsuite/states/locked.c: (main):
renamed GST_FLAGS macros to GST_OBJECT_FLAGS
moved bitshift from macro to enum definition

18 years agogst/: Some more debugging info.
Wim Taymans [Wed, 12 Oct 2005 14:12:37 +0000 (14:12 +0000)]
gst/: Some more debugging info.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
* gst/elements/gstfilesink.c: (gst_file_sink_event),
(gst_file_sink_render):
Some more debugging info.

18 years agoSome doc updates.
Wim Taymans [Wed, 12 Oct 2005 12:58:55 +0000 (12:58 +0000)]
Some doc updates.

Original commit message from CVS:
* docs/design/part-states.txt:
* tools/gst-launch.c: (main):
Some doc updates.
Revert non-intentional change.

18 years agoUse GstClockTime in _get_state() instead of GTimeVal.
Wim Taymans [Wed, 12 Oct 2005 12:18:48 +0000 (12:18 +0000)]
Use GstClockTime in _get_state() instead of GTimeVal.

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
* check/gst/gstelement.c: (GST_START_TEST):
* check/gst/gstevent.c: (GST_START_TEST), (test_event):
* check/gst/gstghostpad.c: (GST_START_TEST):
* check/gst/gstpipeline.c: (GST_START_TEST):
* check/pipelines/simple_launch_lines.c: (run_pipeline):
* check/states/sinks.c: (GST_START_TEST):
* gst/elements/gsttypefindelement.c: (stop_typefinding):
* gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
(gst_bin_remove_func), (gst_bin_get_state_func),
(gst_bin_recalc_state), (gst_bin_change_state_func),
(bin_bus_handler):
* gst/gstelement.c: (gst_element_get_state_func),
(gst_element_get_state), (gst_element_abort_state),
(gst_element_commit_state), (gst_element_set_state),
(gst_element_change_state), (gst_element_change_state_func):
* gst/gstelement.h:
* gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
(gst_pipeline_provide_clock_func):
* gst/gstutils.c: (gst_element_link_pads_filtered):
* tools/gst-launch.c: (main):
* tools/gst-typefind.c: (main):
Use GstClockTime in _get_state() instead of GTimeVal.
Remove old code in gstutils.c

18 years agogst/gstpad.c (gst_pad_pause_task): Actually return FALSE if there is no task. Shouldn...
Andy Wingo [Wed, 12 Oct 2005 11:49:35 +0000 (11:49 +0000)]
gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if there is no task. Shouldn't affect any code, as nothing i...

Original commit message from CVS:
2005-10-12  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
there is no task. Shouldn't affect any code, as nothing in our
plugins checks this return value.
(gst_pad_stop_task): Also take the stream lock if the pad has no
task. Docs updated.

18 years agogst/gstpad.c: Cleanup activation code. Reset old state if activation failed.
Wim Taymans [Wed, 12 Oct 2005 10:05:36 +0000 (10:05 +0000)]
gst/gstpad.c: Cleanup activation code. Reset old state if activation failed.

Original commit message from CVS:
* gst/gstpad.c: (pre_activate), (post_activate),
(gst_pad_activate_pull), (gst_pad_activate_push):
Cleanup activation code. Reset old state if
activation failed.