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
Thomas Vander Stichele [Sat, 8 Oct 2005 14:41:56 +0000 (14:41 +0000)]
fix a leak I introduced
Original commit message from CVS:
fix a leak I introduced
Thomas Vander Stichele [Sat, 8 Oct 2005 13:57:17 +0000 (13:57 +0000)]
gst/: Only ever load one plugin for a given plugin basename.
Original commit message from CVS:
* gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
* gst/gstplugin.h:
* gst/gstregistry.c: (gst_registry_lookup_locked),
(gst_registry_scan_path_level):
* gst/gstregistryxml.c: (load_plugin):
Only ever load one plugin for a given plugin basename.
This ensures correct overriding of GST_PLUGIN_PATH over
GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
system installed plugins.
Wim Taymans [Sat, 8 Oct 2005 13:39:02 +0000 (13:39 +0000)]
gst/base/gstbasesink.c: Prepare for doing QOS.
Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
Prepare for doing QOS.
Wim Taymans [Sat, 8 Oct 2005 13:10:34 +0000 (13:10 +0000)]
check/: Allow new clock message too.
Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
* check/pipelines/cleanup.c: (GST_START_TEST):
* check/pipelines/simple_launch_lines.c: (GST_START_TEST):
Allow new clock message too.
Wim Taymans [Sat, 8 Oct 2005 12:56:37 +0000 (12:56 +0000)]
gst/gstmessage.*: Also carry the clock in question.
Original commit message from CVS:
* gst/gstmessage.c: (gst_message_new_error),
(gst_message_new_warning), (gst_message_new_tag),
(gst_message_new_state_changed), (gst_message_new_clock_provide),
(gst_message_new_clock_lost), (gst_message_new_new_clock),
(gst_message_new_segment_start), (gst_message_new_segment_done),
(gst_message_parse_state_changed),
(gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
(gst_message_parse_new_clock):
* gst/gstmessage.h:
Also carry the clock in question.
Wim Taymans [Sat, 8 Oct 2005 12:36:36 +0000 (12:36 +0000)]
gst/gstmessage.*: Clean up.
Original commit message from CVS:
* gst/gstmessage.c: (gst_message_new_custom),
(gst_message_new_eos), (gst_message_new_error),
(gst_message_new_warning), (gst_message_new_tag),
(gst_message_new_state_changed), (gst_message_new_clock_provide),
(gst_message_new_new_clock), (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_parse_state_changed),
(gst_message_parse_clock_provide), (gst_message_parse_new_clock):
* gst/gstmessage.h:
Clean up.
Added clock related messages.
* gst/gstpipeline.c: (gst_pipeline_change_state):
Post message when the clock changed.
* tools/gst-launch.c: (event_loop):
Print new clock.
Tim-Philipp Müller [Sat, 8 Oct 2005 11:16:03 +0000 (11:16 +0000)]
tools/gst-inspect.c: Can't pass NULL strings to g_print() on windows.
Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info):
Can't pass NULL strings to g_print() on windows.
Thomas Vander Stichele [Sat, 8 Oct 2005 11:12:26 +0000 (11:12 +0000)]
docs/: add a chapter on running GStreamer.
Original commit message from CVS:
* docs/Makefile.am:
* docs/gst/Makefile.am:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/running.xml:
* docs/version.entities.in:
add a chapter on running GStreamer.
document GST_DEBUG and GST_PLUGIN* env vars
Thomas Vander Stichele [Sat, 8 Oct 2005 11:10:17 +0000 (11:10 +0000)]
Makefile.am: remove include dir
Original commit message from CVS:
* Makefile.am:
remove include dir
* configure.ac:
remove PLUGINS_BUILDDIR stuff
* gst/gst.c: (init_post):
reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
* idiottest.mak:
remove, it was condescending and not needed
Wim Taymans [Sat, 8 Oct 2005 09:58:30 +0000 (09:58 +0000)]
gst/base/gstbasesink.*: Repost EOS message while going to PLAYING if still EOS.
Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
(gst_base_sink_handle_object), (gst_base_sink_event),
(gst_base_sink_wait), (gst_base_sink_handle_event),
(gst_base_sink_change_state):
* gst/base/gstbasesink.h:
Repost EOS message while going to PLAYING if still EOS.
Make sure that when receiving a FLUSH_START we don't attempt
to sync on the clock anymore.
Wim Taymans [Sat, 8 Oct 2005 09:38:19 +0000 (09:38 +0000)]
tools/gst-launch.c: Better message printout.
Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
Better message printout.
Wim Taymans [Sat, 8 Oct 2005 09:24:25 +0000 (09:24 +0000)]
gst/: Make ChildProxy threadsafe and fix mem leaks.
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
(gst_bin_child_proxy_get_children_count):
* gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
(gst_child_proxy_lookup), (gst_child_proxy_get_property),
(gst_child_proxy_get_valist), (gst_child_proxy_set_property),
(gst_child_proxy_set_valist):
* gst/parse/grammar.y:
Make ChildProxy threadsafe and fix mem leaks.
Thomas Vander Stichele [Sat, 8 Oct 2005 09:09:55 +0000 (09:09 +0000)]
gst/gst.c: debug the GST_PLUGIN_ env vars
Original commit message from CVS:
* gst/gst.c: (init_post):
debug the GST_PLUGIN_ env vars
Wim Taymans [Sat, 8 Oct 2005 08:58:45 +0000 (08:58 +0000)]
Added extra field to STATE_CHANGE message with the pending state, which will be different from the new state soon.
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/gstelement.c: (gst_element_commit_state),
(gst_element_lost_state):
* gst/gstmessage.c: (gst_message_new_state_changed),
(gst_message_parse_state_changed):
* gst/gstmessage.h:
* tools/gst-launch.c: (event_loop):
Added extra field to STATE_CHANGE message with the pending
state, which will be different from the new state soon.
Wim Taymans [Sat, 8 Oct 2005 08:00:37 +0000 (08:00 +0000)]
gst/: Small cleanups and doc updates.
Original commit message from CVS:
* gst/gstbus.c: (gst_bus_pop):
* gst/gstclock.c:
* gst/gstsystemclock.c: (gst_system_clock_async_thread):
Small cleanups and doc updates.
Thomas Vander Stichele [Sat, 8 Oct 2005 06:49:09 +0000 (06:49 +0000)]
gst/: log distributing clocks and base time
Original commit message from CVS:
* gst/gst.c: (init_pre):
* gst/gstbin.c: (gst_bin_add_func):
log distributing clocks and base time
* gst/gstregistry.c: (gst_registry_add_plugin),
(gst_registry_scan_path_level), (gst_registry_scan_path):
clean up the debugging output a little
* gst/gstutils.c: (gst_element_state_get_name):
warn about a memleak (I've actually seen this be used, though
it was probably a bug)
Thomas Vander Stichele [Sat, 8 Oct 2005 06:42:30 +0000 (06:42 +0000)]
add two new functions
Original commit message from CVS:
add two new functions
Wim Taymans [Fri, 7 Oct 2005 18:17:23 +0000 (18:17 +0000)]
gst/base/gstbasesrc.*: Make the newsegment event customizable by subclasses.
Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_init), (gst_base_src_default_newsegment),
(gst_base_src_newsegment), (gst_base_src_do_seek),
(gst_base_src_loop), (gst_base_src_start):
* gst/base/gstbasesrc.h:
Make the newsegment event customizable by subclasses.
Wim Taymans [Fri, 7 Oct 2005 18:02:14 +0000 (18:02 +0000)]
gst/gstevent.*: New event for future idea.
Original commit message from CVS:
* gst/gstevent.c: (gst_event_new_buffersize),
(gst_event_parse_buffersize):
* gst/gstevent.h:
New event for future idea.
Andy Wingo [Fri, 7 Oct 2005 16:28:56 +0000 (16:28 +0000)]
gst/gstelement.c (gst_element_post_message): Doc update.
Original commit message from CVS:
2005-10-07 Andy Wingo <wingo@pobox.com>
* gst/gstelement.c (gst_element_post_message): Doc update.
Andy Wingo [Fri, 7 Oct 2005 16:13:51 +0000 (16:13 +0000)]
docs/gst/gstreamer-sections.txt: Update.
Original commit message from CVS:
2005-10-07 Andy Wingo <wingo@pobox.com>
* docs/gst/gstreamer-sections.txt: Update.
* gst/gstmessage.c (gst_message_new_application): Made into a
function like honest API calls.
(gst_message_new_element): New message type.
* gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
Thomas Vander Stichele [Fri, 7 Oct 2005 15:25:49 +0000 (15:25 +0000)]
fdsrc does not build currently on win32 due to socketpair
Original commit message from CVS:
fdsrc does not build currently on win32 due to socketpair
Andy Wingo [Fri, 7 Oct 2005 15:22:38 +0000 (15:22 +0000)]
check/elements/fakesrc.c (test_no_preroll): New check, checks that setting a live fakesrc to PAUSED returns NO_PREROL...
Original commit message from CVS:
2005-10-07 Andy Wingo <wingo@pobox.com>
* check/elements/fakesrc.c (test_no_preroll): New check, checks
that setting a live fakesrc to PAUSED returns NO_PREROLL both
times.
* gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
NO_PREROLL from gst_element_change_state to fall through.
Thomas Vander Stichele [Fri, 7 Oct 2005 15:13:25 +0000 (15:13 +0000)]
don't use if not declared
Original commit message from CVS:
don't use if not declared
Wim Taymans [Fri, 7 Oct 2005 12:52:15 +0000 (12:52 +0000)]
gst/gstghostpad.c: Activating a ghostpad with no internal pad in push mode is ok.
Original commit message from CVS:
* gst/gstghostpad.c: (gst_ghost_pad_get_internal),
(gst_ghost_pad_do_activate_push):
Activating a ghostpad with no internal pad in push mode
is ok.
Thomas Vander Stichele [Fri, 7 Oct 2005 12:45:49 +0000 (12:45 +0000)]
gst/gstobject.h: there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
Original commit message from CVS:
* gst/gstobject.h:
there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
Fixes compilation on Windows.
Michael Smith [Fri, 7 Oct 2005 10:32:24 +0000 (10:32 +0000)]
Print out feature and plugin count at the end when printing out all features.
Original commit message from CVS:
Print out feature and plugin count at the end when printing out
all features.
Also add a changelog entry which I'd written but not committed?
Johan Dahlin [Fri, 7 Oct 2005 00:14:45 +0000 (00:14 +0000)]
Add a GType to GstIterator, update callsites and tests.
Original commit message from CVS:
* check/gst/gstiterator.c: (GST_START_TEST):
* gst/gstbin.c: (gst_bin_iterate_elements),
(gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
* gst/gstelement.c: (gst_element_iterate_pads):
* gst/gstformat.c: (gst_format_iterate_definitions):
* gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
(gst_iterator_new_list), (gst_iterator_filter):
* gst/gstiterator.h:
* gst/gstquery.c: (gst_query_type_iterate_definitions):
Add a GType to GstIterator, update callsites and tests.
Thomas Vander Stichele [Thu, 6 Oct 2005 21:09:11 +0000 (21:09 +0000)]
doh. use correct variable
Original commit message from CVS:
doh. use correct variable
Christian Schaller [Thu, 6 Oct 2005 17:00:50 +0000 (17:00 +0000)]
version gstreamer-tools package
Original commit message from CVS:
version gstreamer-tools package
Thomas Vander Stichele [Thu, 6 Oct 2005 14:20:15 +0000 (14:20 +0000)]
initialize quarks
Original commit message from CVS:
initialize quarks
Thomas Vander Stichele [Thu, 6 Oct 2005 14:01:44 +0000 (14:01 +0000)]
gst/gstpad.c: give events a chance to be handled by event probes when the pad is not linked
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_event_default_dispatch):
give events a chance to be handled by event probes when the pad
is not linked
Thomas Vander Stichele [Thu, 6 Oct 2005 13:55:43 +0000 (13:55 +0000)]
gst/gstevent.*: add string representations for event types
Original commit message from CVS:
* gst/gstevent.c: (gst_event_type_get_name),
(gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
* gst/gstevent.h:
add string representations for event types
Thomas Vander Stichele [Thu, 6 Oct 2005 13:42:56 +0000 (13:42 +0000)]
whitespace fixes
Original commit message from CVS:
whitespace fixes
Wim Taymans [Thu, 6 Oct 2005 13:24:28 +0000 (13:24 +0000)]
gst/elements/gstfilesink.c: Don't use NULL pointers.
Original commit message from CVS:
* gst/elements/gstfilesink.c: (gst_file_sink_close_file):
Don't use NULL pointers.
Thomas Vander Stichele [Thu, 6 Oct 2005 09:49:42 +0000 (09:49 +0000)]
gst/: widen the debug category in output to fit the biggest one we have add a bus category and use it play with the c...
Original commit message from CVS:
* gst/gst_private.h:
* gst/gstbus.c:
* gst/gstelement.c:
* gst/gstinfo.c:
* gst/gstpluginfeature.c:
widen the debug category in output to fit the biggest one we have
add a bus category and use it
play with the colors
fix up some categories