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.
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
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.
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
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
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
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
Andy Wingo [Thu, 13 Oct 2005 16:34:04 +0000 (16:34 +0000)]
foo
Original commit message from CVS:
foo
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.
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
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
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
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).
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.
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
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
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
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
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
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.
Thomas Vander Stichele [Wed, 12 Oct 2005 19:14:23 +0000 (19:14 +0000)]
layout cleanup
Original commit message from CVS:
layout cleanup
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
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
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.
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.
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
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.
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.
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
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.
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.
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.
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.
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
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
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
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
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
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.
Wim Taymans [Tue, 11 Oct 2005 17:33:25 +0000 (17:33 +0000)]
forgot this one
Original commit message from CVS:
forgot this one
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.
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
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.
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.
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
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
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
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.
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.
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.
Edward Hervey [Tue, 11 Oct 2005 12:42:23 +0000 (12:42 +0000)]
libs/gst/controller/gstcontroller.*: Added GList* version of _remove_properties() in order to be able to wrap it in b...
Original commit message from CVS:
* libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
* libs/gst/controller/gstcontroller.h:
Added GList* version of _remove_properties() in order to be able to wrap
it in bindings.
Wim Taymans [Tue, 11 Oct 2005 11:08:52 +0000 (11:08 +0000)]
docs/design/part-states.txt: Some more docs.
Original commit message from CVS:
* docs/design/part-states.txt:
Some more docs.
* gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
(gst_bin_change_state_func), (bin_bus_handler):
Doc updates. Don't distribute the same clock over and over again.
* gst/gstclock.c:
* gst/gstclock.h:
Doc updates.
* gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
(gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
(gst_pad_send_event):
* gst/gstpad.h:
Make probe emission threadsafe again.
Register quarks and move _get_name() from utils.
Doc updates.
* gst/gstpipeline.c: (gst_pipeline_class_init),
(gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
Only redistribute the clock of it changed.
* gst/gstsystemclock.h:
Doc updates.
* gst/gstutils.c:
* gst/gstutils.h:
Moved the _flow_get_name() to GstPad.
Thomas Vander Stichele [Tue, 11 Oct 2005 09:14:59 +0000 (09:14 +0000)]
if we log our init, should also log finalize
Original commit message from CVS:
if we log our init, should also log finalize
Thomas Vander Stichele [Mon, 10 Oct 2005 23:55:39 +0000 (23:55 +0000)]
fix more valgrind warnings before turning up the heat
Original commit message from CVS:
fix more valgrind warnings before turning up the heat
Thomas Vander Stichele [Mon, 10 Oct 2005 23:11:33 +0000 (23:11 +0000)]
don't declare on the proper define
Original commit message from CVS:
don't declare on the proper define
Thomas Vander Stichele [Mon, 10 Oct 2005 22:59:22 +0000 (22:59 +0000)]
unmangle the nesting a little
Original commit message from CVS:
unmangle the nesting a little
Thomas Vander Stichele [Mon, 10 Oct 2005 22:49:42 +0000 (22:49 +0000)]
gst/parse/grammar.y: some cleanup before the hacking
Original commit message from CVS:
* gst/parse/grammar.y:
some cleanup before the hacking
Thomas Vander Stichele [Mon, 10 Oct 2005 18:16:37 +0000 (18:16 +0000)]
gst/base/gstbasesrc.c: use conversions
Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_query):
use conversions
* gst/gstutils.c: (gst_guint64_to_gdouble),
(gst_gdouble_to_guint64), (gst_util_uint64_scale):
* gst/gstutils.h:
externalize, basesrc uses it
obviously the implementation needs testing
Thomas Vander Stichele [Mon, 10 Oct 2005 17:05:04 +0000 (17:05 +0000)]
another cast bites the dust
Original commit message from CVS:
another cast bites the dust
Thomas Vander Stichele [Mon, 10 Oct 2005 16:45:45 +0000 (16:45 +0000)]
another cast bites the dust
Original commit message from CVS:
another cast bites the dust
Wim Taymans [Mon, 10 Oct 2005 16:43:32 +0000 (16:43 +0000)]
tests/sched/:
Original commit message from CVS:
* tests/sched/Makefile.am:
* tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
(make_pipeline3), (make_pipeline4), (print_elem), (main):
Thomas Vander Stichele [Mon, 10 Oct 2005 16:38:59 +0000 (16:38 +0000)]
gst/gstutils.c: apparently converting from guint64 to double is not implemented on MSVC
Original commit message from CVS:
* gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
apparently converting from guint64 to double is not implemented
on MSVC
Wim Taymans [Mon, 10 Oct 2005 16:38:26 +0000 (16:38 +0000)]
check/: Check fixes, use API as stated in design docs, remove hacks.
Original commit message from CVS:
* check/Makefile.am:
* check/generic/states.c: (GST_START_TEST):
* check/gst/gstbin.c: (GST_START_TEST):
* check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
* check/states/sinks.c: (GST_START_TEST):
* check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
(main):
Check fixes, use API as stated in design docs, remove hacks.
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_change_state):
Catch stopping our task while we're shutting down.
* gst/gstbin.c: (gst_bin_init), (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/gstbin.h:
* gst/gstelement.c: (gst_element_init),
(gst_element_get_state_func), (gst_element_abort_state),
(gst_element_commit_state), (gst_element_lost_state),
(gst_element_set_state), (gst_element_change_state),
(gst_element_change_state_func):
* gst/gstelement.h:
New state change algorithm (see #318116)
* gst/gstpipeline.c: (gst_pipeline_class_init),
(gst_pipeline_init), (gst_pipeline_set_property),
(gst_pipeline_get_property), (do_pipeline_seek),
(gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
* gst/gstpipeline.h:
Remove crude state change hacks.
* gst/gstutils.h:
Remove crude hacks.
* tools/gst-launch.c: (main):
Fixes for state change. Needs some more work to fully use the
new stuff.
Andy Wingo [Mon, 10 Oct 2005 16:20:41 +0000 (16:20 +0000)]
tests/Makefile.am (noinst_PROGRAMS): No more init.c.
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
* tests/Makefile.am (noinst_PROGRAMS): No more init.c.
Andy Wingo [Mon, 10 Oct 2005 16:04:28 +0000 (16:04 +0000)]
gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires this flag, but it's not even in GLib 2.6. Odd. Hack ar...
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
* gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
this flag, but it's not even in GLib 2.6. Odd. Hack around the
issue.
Tim-Philipp Müller [Mon, 10 Oct 2005 15:58:32 +0000 (15:58 +0000)]
gst/gstiterator.c: Fix my previous commit: GTypes passed to gst_iterator_new() can be fundamental types.
Original commit message from CVS:
* gst/gstiterator.c: (gst_iterator_new):
Fix my previous commit: GTypes passed to gst_iterator_new()
can be fundamental types.
Wim Taymans [Mon, 10 Oct 2005 15:55:37 +0000 (15:55 +0000)]
gst/gstelement.c: Use src/sink pads lists for the respective iterators instead of filtering.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_iterate_pad_list),
(gst_element_iterate_pads), (gst_element_iterate_src_pads),
(gst_element_iterate_sink_pads):
Use src/sink pads lists for the respective iterators instead
of filtering.
Ronald [Mon, 10 Oct 2005 15:53:59 +0000 (15:53 +0000)]
Merged in popt removal + GOption addition patch from Ronald, bug #169772.
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
Merged in popt removal + GOption addition patch from Ronald, bug
#169772.
* docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
GstElement macros around, remove popt-related symbols, add goption
stuff.
* configure.ac: Remove popt checks, require GLib 2.6 for GOption.
* docs/gst/Makefile.am:
* docs/libs/Makefile.am: No POPT_CFLAGS.
* examples/manual/Makefile.am:
* docs/manual/basics-init.xml: Doc updates with an example.
* gst/gst.c: (gst_init_get_option_group), (gst_init_check),
(gst_init), (parse_one_option), (parse_goption_arg):
* gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
bit of hand merging and debugging to get the GOption stuff working
tho.
* tests/Makefile.am:
* tools/Makefile.am:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-run.c: (main):
* tools/gst-xmlinspect.c: (main): Thanks Ronald!
Tim-Philipp Müller [Mon, 10 Oct 2005 15:30:45 +0000 (15:30 +0000)]
gst/gstiterator.c: Add assertions to make sure passed GType is likely to really be a GType (as the compiler won't cat...
Original commit message from CVS:
* gst/gstiterator.c: (gst_iterator_new):
Add assertions to make sure passed GType is likely to really
be a GType (as the compiler won't catch it if the size and
GType arguments get mixed up, see #318447).
Tim-Philipp Müller [Mon, 10 Oct 2005 15:27:12 +0000 (15:27 +0000)]
gst/gstbin.c: Pass GType and size arguments to gst_iterator_new() in the right order (maybe we should make _new() tak...
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
* gst/gstbin.c: (gst_bin_iterate_sorted):
Pass GType and size arguments to gst_iterator_new() in the right
order (maybe we should make _new() take the GType as first argument
just like _new_list()?) (#318447).
Wim Taymans [Mon, 10 Oct 2005 15:17:35 +0000 (15:17 +0000)]
gst/gstelement.c: And free the GStaticRecMutex too
Original commit message from CVS:
* gst/gstelement.c: (gst_element_finalize):
And free the GStaticRecMutex too
Thomas Vander Stichele [Mon, 10 Oct 2005 14:33:38 +0000 (14:33 +0000)]
don't echo path
Original commit message from CVS:
don't echo path
Andy Wingo [Mon, 10 Oct 2005 14:33:13 +0000 (14:33 +0000)]
gst/gstelement.c (gst_element_init, gst_element_finalize): Allocate and free the mutex properly.
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
* gst/gstelement.c (gst_element_init, gst_element_finalize):
Allocate and free the mutex properly.
* gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
New macros.
(GstElement): The state_lock is now recursive. Rebuild your
plugins, suckers. Old macros adapted.
Andy Wingo [Mon, 10 Oct 2005 14:23:57 +0000 (14:23 +0000)]
changelog
Original commit message from CVS:
changelog
Andy Wingo [Mon, 10 Oct 2005 14:23:26 +0000 (14:23 +0000)]
docs/gst/gstreamer-sections.txt: Doc updates.
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
* docs/gst/gstreamer-sections.txt: Doc updates.
* gst/gstutils.h:
* gst/gstutils.c (g_static_rec_cond_timed_wait)
(g_static_rec_cond_wait): Ported from state changes patch, while
we wait on bug #317802 to be solved in a well-distributed GLib.
Thomas Vander Stichele [Mon, 10 Oct 2005 14:15:15 +0000 (14:15 +0000)]
add more win32 build files
Original commit message from CVS:
add more win32 build files
Andy Wingo [Mon, 10 Oct 2005 14:03:25 +0000 (14:03 +0000)]
gst/gstelement.c (gst_element_change_state_func): Renamed from gst_element_change_state, variable name changes.
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
* gst/gstelement.c (gst_element_change_state_func): Renamed from
gst_element_change_state, variable name changes.
(gst_element_change_state): Split out of gst_element_set_state in
preparation for the state change merge. Doesn't pay attention to
the 'transition' argument.
(gst_element_set_state): Updates, hopefully purely cosmetic.
(gst_element_sync_state_with_parent): MT-safety. Ported from the
state change patch.
(gst_element_get_state_func): Renamed from get_state, cosmetic
changes.
Sebastien Moutte [Mon, 10 Oct 2005 13:52:18 +0000 (13:52 +0000)]
updates for the win32 build (patch from Sebastien Moutte)
Original commit message from CVS:
* gst/elements/gstelements.c:
* win32/GStreamer.vcproj:
* win32/config.h:
* win32/dirent.c: (_tseekdir):
* win32/gst-inspect.vcproj:
* win32/gst-launch.vcproj:
* win32/gstconfig.h:
* win32/gstelements.vcproj:
* win32/gstenumtypes.c: (gst_object_flags_get_type):
* win32/gstreamer.def:
* win32/msvc71.sln:
updates for the win32 build (patch from Sebastien Moutte)
Andy Wingo [Mon, 10 Oct 2005 11:52:58 +0000 (11:52 +0000)]
gst/gstbin.c (gst_bin_get_state_func): Renamed from gst_bin_get_state, cleaned up (but no logic changes).
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
* gst/gstbin.c (gst_bin_get_state_func): Renamed from
gst_bin_get_state, cleaned up (but no logic changes).
(bin_element_is_sink): Comment updates.
(sink_iterator_filter): Remove needless cast.
(gst_bin_iterate_sinks): Doc update.
(gst_bin_change_state_func): Renamed from gst_bin_change_state,
cleaned up (but no logic changes).
Andy Wingo [Mon, 10 Oct 2005 11:04:55 +0000 (11:04 +0000)]
check/states/sinks.c (test_src_sink): Cleanups from the state change patch.
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
* check/states/sinks.c (test_src_sink): Cleanups from the state
change patch.
(test_livesrc_sink): Sync on the state.
Andy Wingo [Mon, 10 Oct 2005 10:59:33 +0000 (10:59 +0000)]
check/pipelines/simple_launch_lines.c (run_pipeline): Merge from the state change patch.
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
* check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
the state change patch.
Andy Wingo [Mon, 10 Oct 2005 10:57:40 +0000 (10:57 +0000)]
check/gst/gstghostpad.c (test_ghost_pads): Merge from the state change patch.
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
* check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
change patch.
Andy Wingo [Mon, 10 Oct 2005 10:50:12 +0000 (10:50 +0000)]
check/gst/gstbin.c: Merge in some style fixes and additional checks from Wim's state change patch.
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
* check/gst/gstbin.c: Merge in some style fixes and additional
checks from Wim's state change patch.
Tim-Philipp Müller [Mon, 10 Oct 2005 10:43:15 +0000 (10:43 +0000)]
gst/base/gsttypefindhelper.c: Check whether we have the requested data already in our list of cached buffers before p...
Original commit message from CVS:
* gst/base/gsttypefindhelper.c: (helper_find_peek),
(gst_type_find_helper):
Check whether we have the requested data already in our list of
cached buffers before pulling a new buffer; also make the buffer
list a GSList. Speeds up typefinding by ca. 5-10% altogether.
Thomas Vander Stichele [Mon, 10 Oct 2005 09:48:21 +0000 (09:48 +0000)]
gst/: doc updates
Original commit message from CVS:
* gst/gstcaps.c:
* gst/gstevent.c:
doc updates
* gst/gstvalue.c: (gst_value_deserialize_int_helper):
don't use long long, it's not portable. Replacing with
gint64 seems to work; let's hope no skeletons fall out of the closet.
Andy Wingo [Mon, 10 Oct 2005 08:51:59 +0000 (08:51 +0000)]
autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
* autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
Stefan Kost [Sun, 9 Oct 2005 20:49:46 +0000 (20:49 +0000)]
more docs, fix compilation
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstevent.c:
* gst/gstevent.h:
* gst/gstinfo.c:
* gst/gstinfo.h:
* gst/gstmessage.c: (gst_message_parse_state_changed):
* gst/gstpad.c:
* gst/gstpad.h:
more docs, fix compilation
Philippe Kalaf [Sun, 9 Oct 2005 20:19:48 +0000 (20:19 +0000)]
gst/gstmessage.c: Fixed a few forgotten variables on previous commit
Original commit message from CVS:
2005-10-09 Philippe Khalaf <burger@speedy.org>
* gst/gstmessage.c:
Fixed a few forgotten variables on previous commit
Tim-Philipp Müller [Sun, 9 Oct 2005 17:59:08 +0000 (17:59 +0000)]
gst/base/gsttypefindhelper.c: Fix evil typefind crasher: getrange() might return a short buffer at the end of a file,...
Original commit message from CVS:
* gst/base/gsttypefindhelper.c: (helper_find_peek):
Fix evil typefind crasher: getrange() might return a short
buffer at the end of a file, but gst_type_find_peek() must
either return the full data as requested or NULL, but
never a short buffer.
Thomas Vander Stichele [Sun, 9 Oct 2005 17:53:33 +0000 (17:53 +0000)]
gst/gstmessage.*: don't use new, it's a C++ keyword
Original commit message from CVS:
* gst/gstmessage.c: (gst_message_new_state_changed),
(gst_message_parse_state_changed):
* gst/gstmessage.h:
don't use new, it's a C++ keyword
Thomas Vander Stichele [Sun, 9 Oct 2005 17:22:33 +0000 (17:22 +0000)]
once is enough
Original commit message from CVS:
once is enough
Wim Taymans [Sat, 8 Oct 2005 18:21:20 +0000 (18:21 +0000)]
gst/: Small docs and debug updates.
Original commit message from CVS:
* gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
* gst/gstelement.c: (gst_element_post_message):
* gst/gstpipeline.c: (gst_pipeline_change_state):
Small docs and debug updates.
Stefan Kost [Sat, 8 Oct 2005 18:07:20 +0000 (18:07 +0000)]
more docs
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstelementfactory.c:
* gst/gstevent.c:
* gst/gsttaglist.c:
more docs
Wim Taymans [Sat, 8 Oct 2005 18:01:04 +0000 (18:01 +0000)]
gst/gstbin.c: Fix typos, add comments.
Original commit message from CVS:
* gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
(gst_bin_dispose), (bin_bus_handler):
Fix typos, add comments.
Clear EOS list when going to PAUSED from any direction and do it
in a threadsafe way.
Get base time in a threadsafe way too.
Fix confusing debug in the change_state function.
Various other mall cleanups.
* gst/gstelement.c: (gst_element_post_message):
Fix very verbose bus posting code.
* gst/gstpipeline.c: (gst_pipeline_class_init),
(gst_pipeline_set_property), (gst_pipeline_get_property),
(gst_pipeline_change_state):
Small ARG_ -> PROP_ cleanup
Wim Taymans [Sat, 8 Oct 2005 17:30:29 +0000 (17:30 +0000)]
gst/gstbin.c: Do a less CPU demanding EOS check because we can.
Original commit message from CVS:
* gst/gstbin.c: (is_eos), (bin_bus_handler):
Do a less CPU demanding EOS check because we can.
Wim Taymans [Sat, 8 Oct 2005 17:17:25 +0000 (17:17 +0000)]
libs/gst/dataprotocol/: It's about time we bump the version number.
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
(gst_dp_packet_from_event):
* libs/gst/dataprotocol/dataprotocol.h:
* libs/gst/dataprotocol/dp-private.h:
It's about time we bump the version number.
Since event types don't fit in the guint8 anymore describing
the payload type, make payload type 16 bits wide.
Wim Taymans [Sat, 8 Oct 2005 16:49:15 +0000 (16:49 +0000)]
docs/design/: Many doc updates.
Original commit message from CVS:
* docs/design/part-TODO.txt:
* docs/design/part-clocks.txt:
* docs/design/part-events.txt:
* docs/design/part-gstbin.txt:
* docs/design/part-gstelement.txt:
* docs/design/part-gstpipeline.txt:
* docs/design/part-live-source.txt:
* docs/design/part-messages.txt:
* docs/design/part-overview.txt:
* docs/design/part-states.txt:
Many doc updates.
Wim Taymans [Sat, 8 Oct 2005 16:13:50 +0000 (16:13 +0000)]
gst/gstevent.*: Fix event quark registration.
Original commit message from CVS:
* gst/gstevent.c:
* gst/gstevent.h:
Fix event quark registration.
Add some space between events so we can insert them in the
right groups.
Wim Taymans [Sat, 8 Oct 2005 14:57:09 +0000 (14:57 +0000)]
gst/base/gstbasesink.c: Better log message.
Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_handle_buffer):
Better log message.
* gst/gstbus.h:
* gst/gstelement.h:
More docs.
* gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
(gst_queue_set_property), (gst_queue_get_property):
* gst/gstqueue.h:
Remove old unused properties.
Stefan Kost [Sat, 8 Oct 2005 14:48:17 +0000 (14:48 +0000)]
lots of new docs and doc fixes
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c:
* gst/gstmessage.h:
* gst/gstminiobject.c:
* gst/gstminiobject.h:
* gst/gstobject.h:
* gst/gstpad.h:
* gst/gstutils.h:
lots of new docs and doc fixes