platform/upstream/gstreamer.git
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.

18 years agogst/base/gstbasesink.c: No need to prerol after receiving EOS.
Wim Taymans [Wed, 12 Oct 2005 09:02:42 +0000 (09:02 +0000)]
gst/base/gstbasesink.c: No need to prerol after receiving EOS.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_change_state):
No need to prerol after receiving EOS.

* gst/elements/gstfakesink.c: (gst_fake_sink_event):
* gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
* gst/elements/gstidentity.c: (gst_identity_event):
Print events more verbosely.

18 years agocheck/: Moved sinks2 testcode in sinks check.
Wim Taymans [Wed, 12 Oct 2005 08:38:06 +0000 (08:38 +0000)]
check/: Moved sinks2 testcode in sinks check.

Original commit message from CVS:
* check/Makefile.am:
* check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
* check/states/sinks2.c:
Moved sinks2 testcode in sinks check.

* gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
(gst_bin_remove_func), (gst_bin_recalc_state),
(gst_bin_change_state_func), (bin_bus_handler):
Fix potential race condition when _get_state() iterated over an
ASYNC element right before it posted a state completion.

* gst/gstclock.h:
Do proper cast here.

* gst/gstevent.c: (gst_event_new_newsegment),
(gst_event_parse_newsegment):
A playback rate of 0.0 is not allowed.

18 years agoautoconf for freebsd
Thomas Vander Stichele [Wed, 12 Oct 2005 02:26:44 +0000 (02:26 +0000)]
autoconf for freebsd

Original commit message from CVS:
autoconf for freebsd

18 years agoautoconf for freebsd
Thomas Vander Stichele [Wed, 12 Oct 2005 02:25:18 +0000 (02:25 +0000)]
autoconf for freebsd

Original commit message from CVS:
autoconf for freebsd

18 years agoautoconf for freebsd
Thomas Vander Stichele [Wed, 12 Oct 2005 02:23:29 +0000 (02:23 +0000)]
autoconf for freebsd

Original commit message from CVS:
autoconf for freebsd

18 years agoautoconf for freebsd
Thomas Vander Stichele [Wed, 12 Oct 2005 02:19:38 +0000 (02:19 +0000)]
autoconf for freebsd

Original commit message from CVS:
autoconf for freebsd

18 years agoautoconf for freebsd
Thomas Vander Stichele [Wed, 12 Oct 2005 02:16:26 +0000 (02:16 +0000)]
autoconf for freebsd

Original commit message from CVS:
autoconf for freebsd

18 years agowin32/: Visual Studio 6 project files, and a new common directory.
Thomas Vander Stichele [Tue, 11 Oct 2005 18:03:13 +0000 (18:03 +0000)]
win32/: Visual Studio 6 project files, and a new common directory.

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

* win32/common/config.h:
* win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
(_trewinddir), (_ttelldir), (_tseekdir):
* win32/common/dirent.h:
* win32/common/gtchar.h:
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
* win32/vs6/grammar.dsp:
* win32/vs6/gst_inspect.dsp:
* win32/vs6/gst_launch.dsp:
* win32/vs6/gstreamer.dsw:
* win32/vs6/libgstbase.dsp:
* win32/vs6/libgstelements.dsp:
* win32/vs6/libgstreamer.dsp:
Visual Studio 6 project files, and a new common directory.
Phear.

18 years agoforgot this one
Wim Taymans [Tue, 11 Oct 2005 17:33:25 +0000 (17:33 +0000)]
forgot this one

Original commit message from CVS:
forgot this one

18 years agogst/base/gstbasesink.*: Correctly parse newsegment info.
Wim Taymans [Tue, 11 Oct 2005 17:32:00 +0000 (17:32 +0000)]
gst/base/gstbasesink.*: Correctly parse newsegment info.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync), (gst_base_sink_query),
(gst_base_sink_change_state):
* gst/base/gstbasesink.h:
Correctly parse newsegment info.

18 years agogst/gst.c: split plugin paths correctly
Thomas Vander Stichele [Tue, 11 Oct 2005 16:54:41 +0000 (16:54 +0000)]
gst/gst.c: split plugin paths correctly

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

* gst/gst.c: (init_post):
split plugin paths correctly

18 years agoAdded extra flag to newsegment for future API freeze.
Wim Taymans [Tue, 11 Oct 2005 16:28:49 +0000 (16:28 +0000)]
Added extra flag to newsegment for future API freeze.

Original commit message from CVS:
* check/gst/gstevent.c: (GST_START_TEST):
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_change_state):
* gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
* gst/base/gstbasetransform.c: (gst_base_transform_event):
* gst/elements/gstfilesink.c: (gst_file_sink_event):
* gst/gstevent.c: (gst_event_new_newsegment),
(gst_event_parse_newsegment):
* gst/gstevent.h:
Added extra flag to newsegment for future API freeze.
Updated check and base elements.

18 years agogst/base/gstcollectpads.*: Handle EOS correctly.
Julien Moutte [Tue, 11 Oct 2005 16:25:35 +0000 (16:25 +0000)]
gst/base/gstcollectpads.*: Handle EOS correctly.

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

* gst/base/gstcollectpads.c: (gst_collectpads_init),
(gst_collectpads_add_pad), (gst_collectpads_pop),
(gst_collectpads_event), (gst_collectpads_chain):
* gst/base/gstcollectpads.h: Handle EOS correctly.

18 years agomore str null protection
Thomas Vander Stichele [Tue, 11 Oct 2005 16:21:05 +0000 (16:21 +0000)]
more str null protection

Original commit message from CVS:
more str null protection

18 years agogst/gst-i18n-lib.h: check for ENABLE_NLS, not GETTEXT_PACKAGE
Thomas Vander Stichele [Tue, 11 Oct 2005 16:05:16 +0000 (16:05 +0000)]
gst/gst-i18n-lib.h: check for ENABLE_NLS, not GETTEXT_PACKAGE

Original commit message from CVS:

* gst/gst-i18n-lib.h:
check for ENABLE_NLS, not GETTEXT_PACKAGE
* gst/gstregistry.c: (gst_registry_add_plugin),
(gst_registry_scan_path_level),
(_gst_registry_remove_cache_plugins):
protect possibly NULL strings
* gst/parse/types.h:
config.h already included before
* tools/gst-inspect.c: (main):
sys/wait.h also doesn´t exist on mingw, so change the ifdef check
check for ENABLE_NLS, not GETTEXT_PACKAGE
* tools/gst-launch.c: (main):
check for ENABLE_NLS, not GETTEXT_PACKAGE

This commit brought to you from msys/mingw

18 years agoconfigure.ac: if we don't have glib, fail before testing 2.8
Thomas Vander Stichele [Tue, 11 Oct 2005 15:26:58 +0000 (15:26 +0000)]
configure.ac: if we don't have glib, fail before testing 2.8

Original commit message from CVS:

* configure.ac:
if we don't have glib, fail before testing 2.8
* gst/base/gstbasetransform.c: (gst_base_transform_change_state):
fix a leak, should fix plugins-base testsuite

18 years agogst/gstpad.c (pre_activate): Renamed from pre_activate_switch, take the mode we're...
Andy Wingo [Tue, 11 Oct 2005 15:23:10 +0000 (15:23 +0000)]
gst/gstpad.c (pre_activate): Renamed from pre_activate_switch, take the mode we're going to as an arg. Go head and se...

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

* gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
take the mode we're going to as an arg. Go head and set the mode
and flushing flags now, so that if the activate function starts a
thread all the flags will be in the right state.
(post_activate): Renamed also. Just handle making sure streaming
finishes for the deactivation case, and setting the deactivated
mode.
(gst_pad_set_active): Complain loudly if deactivation fails.
(gst_pad_activate_pull): Adapt to pre/post_activate changes.
(gst_pad_activate_push): Adapt to pre/post_activate changes,
remove the terrible hack.

18 years agogst/gstbin.*: Prepare to make current EOS message queue more generic.
Wim Taymans [Tue, 11 Oct 2005 15:05:55 +0000 (15:05 +0000)]
gst/gstbin.*: Prepare to make current EOS message queue more generic.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
(is_eos), (gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_recalc_state), (gst_bin_change_state_func),
(gst_bin_dispose), (bin_bus_handler):
* gst/gstbin.h:
Prepare to make current EOS message queue more generic.
Fix some typos.

* gst/gstevent.c: (gst_event_new_newsegment),
(gst_event_parse_newsegment):
* gst/gstevent.h:
Rename base to stream_time.

* gst/gstmessage.h:
Fix typo in docs.

18 years agogst/gstbin.*: Work on proper clock selection.
Wim Taymans [Tue, 11 Oct 2005 12:58:44 +0000 (12:58 +0000)]
gst/gstbin.*: Work on proper clock selection.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
(gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
(gst_bin_change_state_func), (bin_bus_handler):
* gst/gstbin.h:
Work on proper clock selection.