Commit graph

351 commits

Author SHA1 Message Date
Wim Taymans 457e99ab07 Correctly distribute clock/scheduler to elements
Original commit message from CVS:
* gst/elements/gstfakesink.c: (gst_fakesink_event):
* gst/elements/gstfakesrc.c: (gst_fakesrc_update_functions),
(gst_fakesrc_loop), (gst_fakesrc_activate):
* gst/elements/gstfilesrc.c: (gst_filesrc_init),
(gst_filesrc_getrange), (gst_filesrc_get), (gst_filesrc_loop):
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index),
(gst_bin_set_clock), (gst_bin_set_bus), (gst_bin_set_scheduler),
(gst_bin_add_func), (gst_bin_iterate_elements),
(gst_bin_change_state), (gst_bin_get_by_name_recurse_up):
* gst/gstcaps.c: (gst_caps_intersect):
* gst/gstelement.c: (gst_element_pads_activate),
(gst_element_change_state), (gst_element_create_task):
* gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
(gst_object_unref), (gst_object_sink), (gst_object_dispose),
(gst_object_dispatch_properties_changed), (gst_object_set_name),
(gst_object_set_parent), (gst_object_unparent),
(gst_object_check_uniqueness), (gst_object_get_path_string):
* gst/gstpad.c: (gst_real_pad_init), (gst_real_pad_get_property),
(gst_pad_set_active), (gst_pad_is_active),
(gst_pad_set_blocked_async), (gst_pad_set_loop_function),
(gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
(gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
(gst_pad_unlink), (gst_pad_link_prepare_filtered),
(gst_pad_link_filtered), (gst_pad_relink_filtered),
(gst_pad_get_caps), (gst_pad_set_caps), (gst_pad_configure_sink),
(gst_pad_configure_src), (gst_pad_realize),
(gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
(gst_pad_get_filter_caps), (gst_pad_alloc_buffer), (gst_pad_push),
(gst_pad_push_event):
* gst/gstpad.h:
* gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
(is_eos), (pipeline_bus_handler), (gst_pipeline_change_state),
(gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
* gst/gstpipeline.h:
* gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
(gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
(gst_queue_src_activate), (gst_queue_change_state):
* gst/gsttask.h:
* gst/gstutils.c: (gst_element_get_compatible_pad_filtered),
(gst_element_link_pads_filtered), (gst_element_unlink),
(gst_pad_can_link_filtered):
* gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func):
* libs/gst/Makefile.am:
* tools/gst-inspect.c: (print_pad_info):
* tools/gst-launch.c: (main):
* tools/gst-xmlinspect.c: (print_element_info):
Correctly distribute clock/scheduler to elements
Caps intersection improvement.
MT fixes.
Work on scheduling simplifications, get rid of _pull and prepare
for scheduling setup.
More work on capsnego.
2004-12-20 16:07:05 +00:00
Thomas Vander Stichele a192d6d688 adding unit testing
Original commit message from CVS:
* Makefile.am:
* check/Makefile.am:
* check/gst/.cvsignore:
* check/gst/gstobject.c:
* configure.ac:
adding unit testing
* docs/upload.mak:
fixing double vars
* gst/Makefile.am:
disable some unused stuff
* gst/gstbus.h:
* gst/gsttypes.h:
move typedefs for gstbus
* gst/gstelement.c:
* gst/gstelement.h:
add getter/setter for bus and scheduler
add functionality to have (non-fatal) warnings as messages
* gst/gsterror.c:
* gst/gsterror.h:
* gst/gstmessage.c:
* gst/gstmessage.h:
rework API to be more general for warnings as well
* gst/gstobject.c:
fix docs
* tools/gst-launch.c:
fix macros for errors
2004-12-13 14:49:11 +00:00
Wim Taymans 767d9e4681 More MT fixes, added design document describing refcounting policies used in GStreamer and locking involved.
Original commit message from CVS:
* docs/design/part-MT-refcounting.txt:
* docs/design/part-conventions.txt:
* gst/gstbin.c: (gst_bin_set_index), (gst_bin_set_clock),
(gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_iterate_elements), (gst_bin_change_state),
(gst_bin_dispose), (gst_bin_get_by_name_recurse_up):
* gst/gstcaps.c:
* gst/gstelement.c: (gst_element_add_pad),
(gst_element_remove_pad), (pad_compare_name),
(gst_element_get_static_pad), (gst_element_get_request_pad),
(gst_element_get_pad), (gst_element_iterate_pads),
(gst_element_class_get_pad_template_list),
(gst_element_class_get_pad_template), (gst_element_get_random_pad),
(gst_element_get_event_masks), (gst_element_send_event),
(gst_element_seek), (gst_element_get_query_types),
(gst_element_query), (gst_element_get_formats),
(gst_element_convert), (gst_element_post_message),
(gst_element_set_locked_state), (gst_element_get_state),
(gst_element_set_state), (gst_element_pads_activate),
(gst_element_dispose), (gst_element_set_manager_func),
(gst_element_get_manager):
* gst/gstelement.h:
* gst/gstiterator.c: (gst_iterator_new), (gst_list_iterator_next),
(gst_list_iterator_resync), (gst_list_iterator_free),
(gst_iterator_new_list):
* gst/gstiterator.h:
* gst/gstmessage.c: (_gst_message_copy):
* gst/gstobject.c: (gst_object_class_init), (gst_object_init),
(gst_object_ref), (gst_object_unref), (gst_object_sink),
(gst_object_replace), (gst_object_dispose),
(gst_object_dispatch_properties_changed), (gst_object_set_name),
(gst_object_set_parent), (gst_object_get_parent),
(gst_object_unparent), (gst_object_check_uniqueness),
(gst_object_get_path_string):
* gst/gstobject.h:
* gst/gstpad.c: (gst_pad_dispose), (gst_pad_set_active),
(gst_pad_is_active), (gst_pad_set_blocked_async),
(gst_pad_is_blocked), (gst_pad_unlink), (gst_pad_is_linked),
(gst_pad_link_prepare_filtered), (gst_pad_link_filtered),
(gst_pad_get_real_parent), (gst_pad_relink_filtered),
(gst_pad_get_peer), (gst_pad_realize), (gst_pad_get_allowed_caps),
(gst_pad_alloc_buffer), (gst_pad_push), (gst_pad_pull),
(gst_pad_pull_range), (gst_pad_push_event):
* gst/gstpad.h:
* gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
(is_eos), (pipeline_bus_handler):
* gst/gstutils.c: (gst_element_get_compatible_pad_filtered),
(gst_element_link_pads_filtered), (gst_element_unlink):
* gst/parse/grammar.y:
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_pad_info):
* tools/gst-launch.c: (main):
* tools/gst-xmlinspect.c: (print_element_info):
More MT fixes, added design document describing refcounting
policies used in GStreamer and locking involved.
Fixed unsafe ghostpad dereffing.
Removed old unsafe methods.
2004-12-13 11:33:55 +00:00
Thomas Vander Stichele 3ffce00efc commiting wim's preliminary threaded work to a branch
Original commit message from CVS:
commiting wim's preliminary threaded work to a branch
2004-12-08 17:40:37 +00:00
Benjamin Otte 3f066467ac tools/gst-inspect.c: print signal arguments as pointers if they are
Original commit message from CVS:
* tools/gst-inspect.c: (print_signal_info):
print signal arguments as pointers if they are
2004-10-22 20:11:43 +00:00
Wim Taymans 47bf817960 tools/gst-inspect.c: Use the realpad when printing the direction.
Original commit message from CVS:
* tools/gst-inspect.c: (print_pad_info), (print_plugin_features):
Use the realpad when printing the direction.
Add extra \n when printing extensions of typefind factories.
2004-10-19 09:33:58 +00:00
Thomas Vander Stichele 6b835e324f fix origin and package name; make gst-inspect print plugin info for element
Original commit message from CVS:
fix origin and package name; make gst-inspect print plugin info for element
2004-08-12 11:50:31 +00:00
Benjamin Otte 3d53a08118 gst/elements/gstfilesrc.c: work with non-regular files that can be mmapped (like /dev/zero)
Original commit message from CVS:
* gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
work with non-regular files that can be mmapped (like /dev/zero)
* gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
get rid of typefinds that require a seek when we can't seek instead
of trying them over and over again
* tools/gst-launch.c: (idle_func), (error_cb), (main):
return non-zero failure value when the pipeline was interrupted or
an error occurred
2004-08-12 09:12:13 +00:00
Benjamin Otte f1472b4ed2 gst/schedulers/entryscheduler.c: fix for GST_DISABLE_DEBUG
Original commit message from CVS:
* gst/schedulers/entryscheduler.c:
(gst_entry_scheduler_remove_element):
fix for GST_DISABLE_DEBUG
* tools/gst-launch.c: (print_tag):
fixes for G_DISABLE_ASSERT
2004-08-03 14:29:31 +00:00
Brian Cameron d2172d6881 Corrected core-dumping problem on Solaris when filename is NULL, as when running gst-inspect with gstcoreelements.
Original commit message from CVS:
Corrected core-dumping problem on Solaris when filename is NULL, as when
running gst-inspect with gstcoreelements.
2004-07-30 20:18:11 +00:00
Benjamin Otte 1a8f31e577 gst/autoplug/gstspideridentity.c: don't delay links on the sink elements, it causes unnegotiated links.
Original commit message from CVS:
* gst/autoplug/gstspideridentity.c: (gst_spider_identity_link):
don't delay links on the sink elements, it causes unnegotiated
links.
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_base_init):
add our padtemplates, we indeed do have some.
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event),
(gst_type_find_element_chain):
don't push data when typefinding failed.
* gst/gstpad.c: (gst_pad_link_fixate):
check that no fixate function returns empty caps.
* gst/gstpad.c: (gst_pad_push):
check that the link is negotiated before data gets pushed.
* tools/gst-register.c: (main):
don't assert (fixes #148283)
2004-07-25 15:01:52 +00:00
David Schleef 23d19ce876 docs/random/ds/0.9-suggested-changes: more comments
Original commit message from CVS:
* docs/random/ds/0.9-suggested-changes: more comments
* tools/gst-launch.c: (idle_func): Fix hard-to-translate string.
2004-07-22 23:29:30 +00:00
David Schleef e44786e7a0 tools/: Add man page. (bug #140219)
Original commit message from CVS:
* tools/Makefile.am:
* tools/gst-xmlinspect.1.in:  Add man page. (bug #140219)
2004-07-04 23:36:29 +00:00
Thomas Vander Stichele 477783c722 i18n-ize register
Original commit message from CVS:
i18n-ize register
2004-06-26 13:09:37 +00:00
Johan Dahlin d6ae3e5426 tools/gst-inspect.c (main): Fallback to plugin if no element is found. This matches the old behavior better. Thanks t...
Original commit message from CVS:
* tools/gst-inspect.c (main): Fallback to plugin if no element is
found. This matches the old behavior better. Thanks to Thomas for
pointing out.
2004-06-15 14:17:55 +00:00
Johan Dahlin ae5f02d5c4 Simplify, remove -n and always print names if -a is specified
Original commit message from CVS:
(main): Simplify, remove -n and always print names if -a is specified
2004-06-14 11:28:16 +00:00
Johan Dahlin 45e3b8be25 tools/gst-inspect.c (main): Add two new command line options: -a to print all elements and -n to print the name on ea...
Original commit message from CVS:
* tools/gst-inspect.c (main): Add two new command line options: -a
to print all elements and -n to print the name on each line. Also
fix some error reporting.
2004-06-14 11:04:06 +00:00
Jan Schmidt cc9d178af2 Add a libxml2 version check to make gst-compprep compile again on FC1
Original commit message from CVS:
Add a libxml2 version check to make gst-compprep compile again on FC1
2004-06-12 15:27:59 +00:00
Steve Lhomme 30128f9b16 Somehow a clean fix to the semi-private export
Original commit message from CVS:
Somehow a clean fix to the semi-private export
2004-06-12 13:45:17 +00:00
Steve Lhomme f50188b8a0 Fix a bug to enable/disable DEBUG under MSVC
Original commit message from CVS:
Fix a bug to enable/disable DEBUG under MSVC
2004-06-12 10:51:35 +00:00
Jan Schmidt c7ec369f93 tools/gst-compprep.c: Make an error that baffled me a bit clearer
Original commit message from CVS:
* tools/gst-compprep.c: (handle_xmlerror), (main):
Make an error that baffled me a bit clearer
2004-06-12 10:14:40 +00:00
Benjamin Otte 60bc42d1fc tools/gst-inspect.c: don't free random data twice. (fixes #144185)
Original commit message from CVS:
reviewed by Benjamin Otte  <in7y118@public.uni-hamburg.de>
* tools/gst-inspect.c: (print_signal_info):
don't free random data twice. (fixes #144185)
2004-06-11 20:57:29 +00:00
Johan Dahlin df7b9dc725 Regression, return -1 when no features can be found
Original commit message from CVS:
Regression, return -1 when no features can be found
2004-05-23 18:41:25 +00:00
Johan Dahlin 2e1ff49925 tools/gst-inspect.c (main): Cleanup most parts of it, don't be so verbose and print GstElement signal names all the t...
Original commit message from CVS:
* tools/gst-inspect.c (main): Cleanup most parts of it, don't be
so verbose and print GstElement signal names all the time.
2004-05-23 17:52:54 +00:00
Stéphane Loeuillet afd9f869a8 typos : unkown => unknown
Original commit message from CVS:
typos : unkown => unknown
2004-05-14 11:37:56 +00:00
David Schleef 037c9d2b34 gst/gstinfo.h: Add missing inline function.
Original commit message from CVS:
* gst/gstinfo.h: Add missing inline function.
* gst/gsttrace.c: add include
* gst/parse/grammar.y: remove unused code
* gst/registries/gstxmlregistry.c: (make_dir): make mkdir call
more portable.
* tools/gst-register.c: wrap unistd.h
More additions/fixes from Steve for the MSVC build.
* win32/GStreamer.vcproj:
* win32/Makefile:
* win32/Makefile.inspect:
* win32/Makefile.launch:
* win32/Makefile.register:
* win32/README.txt:
* win32/gst-inspect.vcproj:
* win32/gst-launch.vcproj:
* win32/gst-register.vcproj:
* win32/gstbytestream.def:
* win32/gstbytestream.vcproj:
* win32/gstconfig.h:
* win32/gstelements.def:
* win32/gstelements.vcproj:
* win32/gstenumtypes.c:
* win32/gstenumtypes.h:
* win32/gstoptimalscheduler.def:
* win32/gstoptimalscheduler.vcproj:
* win32/gstreamer.def:
* win32/gstspider.def:
* win32/gstspider.vcproj:
* win32/gstversion.h:
* win32/msvc71.sln:
2004-05-10 18:07:24 +00:00
David Schleef ca7539c40e Changes to handle compilers that don't have variadic macro support. In particular, glib headers define some inlines ...
Original commit message from CVS:
Changes to handle compilers that don't have variadic macro
support.  In particular, glib headers define some inlines
that need G_LOG_DOMAIN defined.  Additional fixes for MSVC
builds.
* gst/Makefile.am:
* gst/cothreads.c:
* gst/elements/gstfdsink.c:
* gst/elements/gstfdsrc.c:
* gst/elements/gstfilesink.c:
* gst/elements/gstfilesrc.c:
* gst/gst_private.h:
* gst/gstatomic.c:
* gst/gstcaps.c: (gst_caps_append):
* gst/gstcpu.c: (gst_cpuid_i386):
* gst/gstelement.c:
* gst/gsterror.c:
* gst/gstfilter.c:
* gst/gstinfo.h:
* gst/gstprobe.c:
* gst/gstquery.c:
* gst/gstregistry.c:
* gst/gststructure.c:
* gst/gsttaginterface.c:
* gst/gsttrace.c: (gst_trace_new):
* gst/gsttrashstack.c:
* gst/gsturi.c:
* gst/gstvalue.c:
* gst/parse/grammar.y:
* gst/parse/parse.l:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-xmlinspect.c: (PUT_STRING):
2004-05-07 02:36:28 +00:00
Thomas Vander Stichele e7b9201555 reorganize C/LIB flags add gst_info to gstcompat.h
Original commit message from CVS:
reorganize C/LIB flags
add gst_info to gstcompat.h
2004-05-04 12:38:36 +00:00
Stéphane Loeuillet ac27b7cdba hum, vorbisfile => oggdemux ! vorbisdec ! audioconvert
Original commit message from CVS:

hum, vorbisfile => oggdemux ! vorbisdec ! audioconvert
2004-05-02 23:49:11 +00:00
Stéphane Loeuillet 0b3089e537 first try at hunting old elements that where renamed like :
Original commit message from CVS:

first try at hunting old elements that where renamed like :
- parsewav (never existed, should be wavparse)
- vorbisfile (now oggdemux ! vorbisdec)
- disksink (now filesink)
2004-05-02 23:30:31 +00:00
Benjamin Otte ab8fc54334 gst/: remove useless _gst_progname stuff
Original commit message from CVS:
* gst/gst.c: (init_post):
* gst/gstinfo.c:
remove useless _gst_progname stuff
* tools/gst-inspect.c: (print_field), (print_caps):
improve caps output
2004-04-29 01:44:13 +00:00
Thomas Vander Stichele d4bfafcf63 print rank numerically as well
Original commit message from CVS:
print rank numerically as well
2004-04-14 16:14:39 +00:00
Thomas Vander Stichele 324e81e1e2 build fix
Original commit message from CVS:
build fix
2004-04-13 13:07:00 +00:00
Thomas Vander Stichele 7baa6c18e7 don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:27:17 +00:00
Thomas Vander Stichele 7073ff35de uncommit
Original commit message from CVS:
uncommit
2004-03-15 18:22:45 +00:00
Johan Dahlin 3b724deada tools/Makefile.am (EXTRA_DIST): Add gst-indent
Original commit message from CVS:
* tools/Makefile.am (EXTRA_DIST): Add gst-indent
2004-03-15 18:21:12 +00:00
Thomas Vander Stichele fe6f356a5d distcheck fixes
Original commit message from CVS:
distcheck fixes
2004-03-15 18:20:03 +00:00
Thomas Vander Stichele c01cd4e835 g_error fix, m/m version fix
Original commit message from CVS:
g_error fix, m/m version fix
2004-03-14 17:54:22 +00:00
Thomas Vander Stichele 41f304f8cd update
Original commit message from CVS:
update
2004-03-14 16:44:04 +00:00
Thomas Vander Stichele 90e77e5ad9 don't spill paths from registry until we fix the generic case
Original commit message from CVS:
don't spill paths from registry until we fix the generic case
2004-03-14 16:40:24 +00:00
Thomas Vander Stichele a967370df5 gst-indent run on core
Original commit message from CVS:
gst-indent run on core
2004-03-13 15:27:01 +00:00
Thomas Vander Stichele b8edc59edb adding gst-indent as a noinst tool
Original commit message from CVS:
adding gst-indent as a noinst tool
2004-03-13 15:17:30 +00:00
David Schleef 1d97f026ab tools/gst-run.c: Fix crash when no relevant tools were found. (bug #136793)
Original commit message from CVS:
* tools/gst-run.c: (main):  Fix crash when no relevant tools
were found.  (bug #136793)
2004-03-10 23:52:02 +00:00
Thomas Vander Stichele dff93afcb4 releasing 0.7.6
Original commit message from CVS:
releasing 0.7.6
2004-03-09 17:50:43 +00:00
David Schleef c27e70d3c1 REQUIREMENTS: Add bison and flex.
Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* REQUIREMENTS: Add bison and flex.
* configure.ac: Fix comment about bison.
* docs/random/ds/0.9-suggested-changes: yer ma
* tools/gst-inspect.c: (print_element_info):  Fix warning.
2004-03-06 04:54:06 +00:00
Christophe Fergeau 4a20ac4ee6 tools/: add calls to bind_textdomain_codeset
Original commit message from CVS:
2004-03-02  Christophe Fergeau  <teuf@gnome.org>

* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main): add calls to bind_textdomain_codeset
2004-03-02 21:41:02 +00:00
Thomas Vander Stichele 1c6814ff53 trim fat from nonversioned binaries
Original commit message from CVS:
trim fat from nonversioned binaries
2004-03-02 10:38:40 +00:00
Thomas Vander Stichele fdfb2b8232 configure.ac: remove whitespace
Original commit message from CVS:
* configure.ac:
remove whitespace
* docs/gst/tmpl/gstbuffer.sgml:
* docs/gst/tmpl/gstdata.sgml:
* docs/gst/tmpl/gstreamer-unused.sgml:
* docs/gst/tmpl/gstxml.sgml:
doc update
* docs/manuals.mak:
add a FIXME
* docs/pwg/intro-preface.xml:
* docs/pwg/pwg.xml:
remove GNOME
* gst/gst.c: (init_post):
try GST_PLUGIN_PATH paths for the _global_registry first
* gst/gstelement.h:
add the error message as well, otherwise (null) debug info doesn't
make much sense
* tools/gst-register.c: (main):
spill paths to next registry if this registry is not writable
* po/fr.po:
* po/nl.po:
translation updates
2004-03-01 17:15:28 +00:00
Thomas Vander Stichele 3ce34049eb some fixes from jdahlin
Original commit message from CVS:
some fixes from jdahlin
2004-02-19 10:36:06 +00:00
David Schleef aff2828040 libs/gst/control/: Additional fixes to get double dparams working.
Original commit message from CVS:
* libs/gst/control/dparam.c: (gst_dparam_class_init):
* libs/gst/control/dparam_smooth.c: (gst_dpsmooth_class_init),
(gst_dpsmooth_new): Additional fixes to get double dparams working.
* tools/gst-inspect.c: (print_element_info): Support dumping of
double dparam information.
2004-02-19 01:47:04 +00:00