Commit graph

621 commits

Author SHA1 Message Date
Wim Taymans
e1aeec6d77 Removed plugable schedulers.
Original commit message from CVS:
Removed plugable schedulers.
Removed Scheduler/Manager from elements.
Removed gsttypes.h, rearranged includes.
Removed dependency pad<->element, element<>pipeline, and
various others,  fix includes.
implement gst_pad_get_parent() with gst_object_get_parent()
Make GstTask sefcontained.
Fix _get_state() on GstBin, it did not return ASYNC with a 0
timeout.
Fix endless loop in iterator_fold_with_resync.
2005-07-18 12:49:53 +00:00
Andy Wingo
f3b34a3e21 remove irrelevant code
Original commit message from CVS:
remove irrelevant code
2005-07-15 11:05:52 +00:00
Andy Wingo
ad1970eae2 tools/gst-typefind.c: Update, add copyright block.
Original commit message from CVS:
2005-07-15  Andy Wingo  <wingo@pobox.com>

* tools/gst-typefind.c: Update, add copyright block.

* gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
Normalize and truncate caps before fixation.

* gst/gstcaps.h:
* gst/gstcaps.c (gst_caps_truncate): New function, destructively
discards all but the first structure from its argument.
2005-07-15 11:04:18 +00:00
Wim Taymans
a8d8310819 Totally dump messages in -launch with the -m option.
Original commit message from CVS:
* gst/gstmessage.c: (gst_message_new_state_changed):
* tools/gst-launch.c: (event_loop), (main):
Totally dump messages in -launch with the -m option.
Fix message name for State messages,
2005-07-15 10:30:49 +00:00
Wim Taymans
f7c0c25d58 gst/base/gstbasetransform.c: Added more debug info in the negotiate process.
Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
Added more debug info in the negotiate process.

* gst/gstmessage.h:
Prepare for segment playback.

* gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
Better debugging.

* gst/gstutils.c:
Some more docs.

* tools/gst-launch.c: (main):
NULL pipeline on errors.
2005-07-12 17:17:34 +00:00
Thomas Vander Stichele
a59215bb4e valgrind unit tests as check-local; add gst_deinit
Original commit message from CVS:
valgrind unit tests as check-local; add gst_deinit
2005-07-11 15:10:40 +00:00
Thomas Vander Stichele
3127459e22 gst/gstelement.c: add debug
Original commit message from CVS:

* gst/gstelement.c: (gst_element_get_bus):
add debug
* tools/gst-launch.c: (check_intr), (event_loop):
fix bus leaks
2005-07-10 00:07:51 +00:00
Andy Wingo
f8e79bdf86 *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large source-munging commit!!!
Original commit message from CVS:
2005-06-28  Andy Wingo  <wingo@pobox.com>

* *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
source-munging commit!!!
2005-06-28 09:59:01 +00:00
Andy Wingo
f2cf753b17 gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer.
Original commit message from CVS:
2005-06-27  Andy Wingo  <wingo@pobox.com>

* gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
remaining buffer.

* gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
returns a sorted copy of the trace list.
(gst_alloc_trace_print_live): New API, only prints traces with
live objects. Sort the list.
(gst_alloc_trace_print_all): Sort the list.
(gst_alloc_trace_print): Align columns.

* gst/elements/gstttypefindelement.c:
* gst/elements/gsttee.c:
* gst/base/gstbasesrc.c:
* gst/base/gstbasesink.c:
* gst/base/gstbasetransform.c:
* gst/gstqueue.c: Adapt for pad activation changes.

* gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
sched.
(gst_pipeline_dispose): Drop ref on sched.

* gst/gstpad.c (gst_pad_init): Set the default activate func.
(gst_pad_activate_default): Push mode by default.
(pre_activate_switch, post_activate_switch): New stubs, things to
do before and after switching activation modes on pads.
(gst_pad_set_active): Take a boolean and not a mode, dispatch to
the pad's activate function to choose which mode to activate.
Shortcut on deactivation and call the right function directly.
(gst_pad_activate_pull): New API, (de)activates a pad in pull
mode.
(gst_pad_activate_push): New API, same for push mode.
(gst_pad_set_activate_function)
(gst_pad_set_activatepull_function)
(gst_pad_set_activatepush_function): Setters for new API.

* gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
Trace all miniobjects.
(gst_mini_object_make_writable): Unref the arg if we copy, like
gst_caps_make_writable.

* gst/gstmessage.c (_gst_message_initialize): No trace init.

* gst/gstghostpad.c (gst_proxy_pad_do_activate)
(gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
Adapt for new pad API.

* gst/gstevent.c (_gst_event_initialize): Don't initialize trace.

* gst/gstelement.h:
* gst/gstelement.c (gst_element_iterate_src_pads)
(gst_element_iterate_sink_pads): New API functions.

* gst/gstelement.c (iterator_fold_with_resync): New utility,
should fold into gstiterator.c in some form.
(gst_element_pads_activate): Simplified via use of fold and
delegation of decisions to gstpad->activate.

* gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
help in debugging.

* gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
class once in init, like gstmessage. Didn't run into this issue
but it seems correct. Don't initialize a trace, gstminiobject does
that.

* check/pipelines/simple_launch_lines.c (test_stop_from_app): New
test, runs fakesrc ! fakesink, stopping on ::handoff via a message
to the bus.
(assert_live_count): New util function, uses alloc traces to check
cleanup.

* check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
To be modified when unlink drops the internal pad.
2005-06-27 18:35:05 +00:00
Wim Taymans
4e9438da9f Allow elements to post EOS in the state change function.
Original commit message from CVS:
* gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
(gst_pipeline_change_state):
* tools/gst-launch.c: (check_intr), (event_loop), (main):
Allow elements to post EOS in the state change function.
Fix up -launch, make it exit the poll loop when the
pipeline actually changed state.
Fix up warning parsing in -launch.
2005-06-25 17:51:12 +00:00
Wim Taymans
1cda8197e9 Added support for live sources and other elements that cannot do preroll.
Original commit message from CVS:
Added support for live sources and other elements that
cannot do preroll.
Updated design docs, added live-source design doc.
Implemented live source functionality in basesrc
Fix error condition in _bin_get_state()
Implement live source handling in -launch.
Added check for live sources.
Fixed case in GstBin where elements were changed state
multiple times.
2005-06-23 10:37:09 +00:00
Thomas Vander Stichele
dd9cc6adb7 ignore more
Original commit message from CVS:
ignore more
2005-06-17 09:12:33 +00:00
Andy Wingo
4b908e33e0 gst/gstutils.c: RPAD fixes all around.
Original commit message from CVS:
2005-06-08  Andy Wingo  <wingo@pobox.com>

* gst/gstutils.c: RPAD fixes all around.
(gst_element_link_pads): Refcounting fixes.

* tools/gst-inspect.c:
* tools/gst-xmlinspect.c:
* parse/grammar.y:
* gst/base/gsttypefindhelper.c:
* gst/base/gstbasesink.c:
* gst/gstqueue.c: RPAD fixes.

* gst/gstghostpad.h:
* gst/gstghostpad.c: New ghost pad implementation as full proxy
pads. The tricky thing is they provide both source and sink
interfaces, since they proxy the internal pad for the external
pad, and vice versa. Implement with lower-level ProxyPad objects,
with the interior proxy pad as a child of the exterior ghost pad.
Should write a doc on this.

* gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
(gst_pad_set_name, gst_pad_set_parent): Macros removed, use
gst_object API.

* gst/gstpad.c: Big changes. No more stub base GstPad, now all
pads are real pads. No ghost pads in this file. Not documenting
the myriad s/RPAD/PAD/ and REALIZE fixes.
(gst_pad_class_init): Add properties for "direction" and
"template". Both are construct-only, so they can't change during
the life of the pad. Fixes properly deriving from GstPad.
(gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
derived objects, just set properties when creating the objects via
g_object_new.
(gst_pad_get_parent): Implement as a function, return NULL if the
parent is not an element.
(gst_pad_get_real_parent, gst_pad_add_ghost_pad)
(gst_pad_remove_ghost_pad, gst_pad_realize): Removed.

* gst/gstobject.c (gst_object_class_init): Make name a construct
property. Don't set it in the object init.

* gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
with UNKNOWN direction.
(gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
(gst_element_remove_pad): Remove ghost-pad special cases.
(gst_element_pads_activate): Remove rpad cruft.

* gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
catch the pad's-parent-not-an-element case.

* gst/gst.h: Include gstghostpad.h.

* gst/gst.c (init_post): No more real, ghost pads.

* gst/Makefile.am: Add gstghostpad.[ch].

* check/Makefile.am:
* check/gst/gstbin.c:
* check/gst/gstghostpad.c (test_ghost_pads): Check that linking
into a bin creates ghost pads, and that the refcounts are right.
Partly moved from gstbin.c.
2005-06-08 22:16:27 +00:00
Wim Taymans
32f9787436 tools/gst-launch.c: Unref message after using its contents instead of before.
Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
Unref message after using its contents instead of
before.
2005-05-25 11:26:14 +00:00
Wim Taymans
6e4b02d62b tools/gst-inspect.c: A plugin feature does unfortunatly not use the object name yet...
Original commit message from CVS:
* tools/gst-inspect.c: (print_plugin_features):
A plugin feature does unfortunatly not use the
object name yet...
2005-05-19 08:41:42 +00:00
Wim Taymans
f60dcb51d5 tools/gst-launch.c: Message was unreffed too soon.
Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
Message was unreffed too soon.
2005-05-17 10:41:51 +00:00
Wim Taymans
8df6cd7243 Remove old query functions. Ported old code.
Original commit message from CVS:
Remove old query functions. Ported old code.
Added position/convert helper functions to gstutils.
Reordered gstpad.c code, grouping relevant things.
Remove gst_message_new(), always need to speficy a specific
message.
2005-05-09 10:53:13 +00:00
Andy Wingo
b4d7be2014 GCC 4 fixen.
Original commit message from CVS:
2005-05-04  Andy Wingo <wingo@pobox.com>

* check/Makefile.am:
* docs/gst/tmpl/gstatomic.sgml:
* docs/gst/tmpl/gstplugin.sgml:
* gst/base/gstbasesink.c: (gst_basesink_activate):
* gst/base/gstbasesrc.c: (gst_basesrc_class_init),
(gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
(gst_basesrc_query), (gst_basesrc_set_property),
(gst_basesrc_get_property), (gst_basesrc_check_get_range),
(gst_basesrc_activate):
* gst/base/gstbasesrc.h:
* gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
(gst_base_transform_src_activate):
* gst/elements/gstelements.c:
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
(gst_fakesrc_set_property), (gst_fakesrc_get_property):
* gst/elements/gsttee.c: (gst_tee_sink_activate):
* gst/elements/gsttypefindelement.c: (find_element_get_length),
(gst_type_find_element_checkgetrange),
(gst_type_find_element_activate):
* gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
* gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
(gst_caps_load_thyself):
* gst/gstelement.c: (gst_element_pads_activate),
(gst_element_save_thyself), (gst_element_restore_thyself):
* gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
(gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
* gst/gstpad.h:
* gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
(gst_xml_parse_file), (gst_xml_parse_memory),
(gst_xml_get_element), (gst_xml_make_element):
* gst/indexers/gstfileindex.c: (gst_file_index_load),
(_file_index_id_save_xml), (gst_file_index_commit):
* gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
(read_enum), (load_pad_template), (load_feature), (load_plugin),
(load_paths):
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
(gst_dp_packet_from_event), (gst_dp_caps_from_packet):
* tools/gst-complete.c: (main):
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_element_properties_info):
* tools/gst-launch.c: (xmllaunch_parse_cmdline):
* tools/gst-xmlinspect.c: (print_element_properties):
GCC 4 fixen.
2005-05-04 21:29:44 +00:00
Ronald S. Bultje
560d0ba1de Use libxml2 for registry parsing, use staticpadtemplates in elementfactories. Makes gst_init() +/- 10x faster.
Original commit message from CVS:
* docs/gst/tmpl/gstelementfactory.sgml:
* gst/gstelement.h:
* gst/gstelementfactory.c: (gst_element_factory_init),
(gst_element_factory_cleanup), (gst_element_register),
(__gst_element_factory_add_static_pad_template),
(gst_element_factory_get_static_pad_templates),
(gst_element_factory_can_src_caps),
(gst_element_factory_can_sink_caps):
* gst/registries/Makefile.am:
* gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
(gst_xml_registry_class_init), (gst_xml_registry_init),
(gst_xml_registry_new), (gst_xml_registry_set_property),
(gst_xml_registry_get_property), (get_time), (make_dir),
(gst_xml_registry_get_perms_func),
(plugin_times_older_than_recurse), (plugin_times_older_than),
(gst_xml_registry_open_func), (gst_xml_registry_load_func),
(gst_xml_registry_save_func), (gst_xml_registry_close_func),
(add_to_char_array), (read_string), (read_uint), (read_enum),
(load_pad_template), (load_feature), (load_plugin), (load_paths),
(gst_xml_registry_load), (gst_xml_registry_load_plugin),
(gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
(gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
(gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
(gst_xml_registry_rebuild):
* gst/registries/gstlibxmlregistry.h:
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_pad_templates_info):
* tools/gst-xmlinspect.c: (print_element_info):
Use libxml2 for registry parsing, use staticpadtemplates in
elementfactories. Makes gst_init() +/- 10x faster.
2005-04-12 15:00:30 +00:00
Wim Taymans
c2f41a8906 Next big merge.
Original commit message from CVS:
Next big merge.
Added GstBus for mainloop integration.
Added GstMessage for sending notifications on the bus.
Added GstTask as an abstraction for pipeline entry points.
Removed GstThread.
Removed Schedulers.
Simplified GstQueue for multithreaded core.
Made _link threadsafe, removed old capsnego.
Added STREAM_LOCK and PREROLL_LOCK in GstPad.
Added pad blocking functions.
Reworked scheduling functions in GstPad to prepare for
scheduling updates soon.
Moved events out of data stream.
Simplified GstEvent types.
Added return values to push/pull.
Removed clocking from GstElement.
Added prototypes for state change function for next merge.
Removed iterate from bins and state change management.
Fixed some elements, disabled others for now.
Fixed -inspect and -launch.
Added check for GstBus.
2005-03-21 17:34:02 +00:00
Wim Taymans
007cff6d75 Doc updates.
Original commit message from CVS:
* docs/design/part-MT-refcounting.txt:
* docs/design/part-clocks.txt:
* docs/design/part-gstelement.txt:
* docs/design/part-gstobject.txt:
* docs/design/part-standards.txt:
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
(gst_bin_remove_func), (gst_bin_remove):
* gst/gstbin.h:
* gst/gstbuffer.c:
* gst/gstcaps.h:
* testsuite/clock/clock1.c: (main):
* testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
(main):
* testsuite/dlopen/loadgst.c: (do_test):
* testsuite/refcounting/bin.c: (add_remove_test1),
(add_remove_test2), (main):
* testsuite/refcounting/element.c: (main):
* testsuite/refcounting/element_pad.c: (main):
* testsuite/refcounting/pad.c: (main):
* tools/gst-launch.c: (sigint_handler_sighandler):
* tools/gst-typefind.c: (main):
Doc updates.
Added doc about clock.
removed gst_bin_iterate_recurse_up(), marked methods
for removal.
Fix more testsuites.
2005-03-10 12:51:45 +00:00
Wim Taymans
c47dc4d853 First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. Mor...
Original commit message from CVS:
First THREADED backport attempt, focusing on adding locks and
making sure the API is threadsafe. Needs more work. More docs
follow this week.
2005-03-07 18:27:42 +00:00
Ronald S. Bultje
182b6e6fa8 tools/gst-launch.1.in: Fix typo (#166699).
Original commit message from CVS:
* tools/gst-launch.1.in:
Fix typo (#166699).
2005-02-08 18:05:29 +00:00
David Schleef
d84d463b1d tools/gst-launch.c: Fix deadlocks in signal.h-type signal handlers by not calling forbidden functions, including gst_...
Original commit message from CVS:
* tools/gst-launch.c: (idle_func), (fault_handler_sighandler),
(fault_handler_sigaction), (fault_spin),
(sigint_handler_sighandler), (play_handler), (main): Fix deadlocks
in signal.h-type signal handlers by not calling forbidden functions,
including gst_element_set_state().
2005-01-06 03:31:17 +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
Johan Dahlin
4eedbdb4ef Spelling fix
Original commit message from CVS:
Spelling fix
2004-02-16 18:13:21 +00:00
Johan Dahlin
55f6bc6ea5 Spelling fix
Original commit message from CVS:
Spelling fix
2004-02-16 18:10:30 +00:00
Thomas Vander Stichele
509fa3874c fixes for --disable-loadsave --disable-registry
Original commit message from CVS:
fixes for --disable-loadsave --disable-registry
2004-02-12 16:49:16 +00:00
Thomas Vander Stichele
5757471d79 spec update tools install fixes
Original commit message from CVS:
spec update
tools install fixes
2004-02-12 12:13:51 +00:00
Thomas Vander Stichele
4361242abb ignore more files
Original commit message from CVS:
ignore more files
2004-02-12 11:51:31 +00:00
Thomas Vander Stichele
76412a5a56 updates
Original commit message from CVS:
updates
2004-02-11 18:09:24 +00:00
Thomas Vander Stichele
64f784151e remove unversioned feedback script
Original commit message from CVS:
remove unversioned feedback script
2004-02-11 12:48:40 +00:00
Thomas Vander Stichele
2183b65091 version gst-feedback
Original commit message from CVS:
version gst-feedback
2004-02-11 12:48:09 +00:00
Thomas Vander Stichele
1f92884076 more ignores
Original commit message from CVS:
more ignores
2004-02-04 21:40:08 +00:00
Thomas Vander Stichele
588b762783 adding more ignores
Original commit message from CVS:
adding more ignores
2004-02-04 21:39:30 +00:00
Thomas Vander Stichele
4dbd7366a8 distcheck fix
Original commit message from CVS:
distcheck fix
2004-02-04 19:09:08 +00:00
Thomas Vander Stichele
47407a6a24 return after printing versions
Original commit message from CVS:
return after printing versions
2004-02-04 18:37:48 +00:00
Thomas Vander Stichele
02bb19da27 install docs versioned
Original commit message from CVS:
install docs versioned
2004-02-04 18:27:39 +00:00
Thomas Vander Stichele
a3ec43a219 add gst-run wrapper code build original tools as versioned tools
Original commit message from CVS:
add gst-run wrapper code
build original tools as versioned tools
2004-02-04 18:02:55 +00:00
Thomas Vander Stichele
77e11f332c more simplifying
Original commit message from CVS:
more simplifying
2004-02-03 18:29:36 +00:00
Thomas Vander Stichele
b1a08c4464 use AM_CFLAGS
Original commit message from CVS:
use AM_CFLAGS
2004-02-03 18:26:03 +00:00
Thomas Vander Stichele
b5186020ab add error symbol start translating gst-inspect
Original commit message from CVS:
add error symbol
start translating gst-inspect
2004-02-03 11:23:59 +00:00
Thomas Vander Stichele
68f5c775c5 fix output of typefind add GPL headers fix doc snippet
Original commit message from CVS:
fix output of typefind
add GPL headers
fix doc snippet
2004-01-20 14:09:42 +00:00
Thomas Vander Stichele
8e96cb73f6 translating parsing error messages
Original commit message from CVS:
translating parsing error messages
2004-01-13 14:23:44 +00:00
Thomas Vander Stichele
7e56c5435f update nl transition add gst-launch to be translated
Original commit message from CVS:
update nl transition
add gst-launch to be translated
2004-01-13 13:44:10 +00:00
Benjamin Otte
a5bb704036 update - this is huge, because it includes *.bb, *.bbg and *.da files which are generated for gcov.
Original commit message from CVS:
2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* examples/cutter/.cvsignore:
* examples/helloworld/.cvsignore:
* examples/launch/.cvsignore:
* examples/manual/.cvsignore:
* examples/mixer/.cvsignore:
* examples/pingpong/.cvsignore:
* examples/plugins/.cvsignore:
* examples/queue/.cvsignore:
* examples/queue2/.cvsignore:
* examples/queue3/.cvsignore:
* examples/queue4/.cvsignore:
* examples/retag/.cvsignore:
* examples/thread/.cvsignore:
* examples/typefind/.cvsignore:
* examples/xml/.cvsignore:
* gst/.cvsignore:
* gst/autoplug/.cvsignore:
* gst/elements/.cvsignore:
* gst/indexers/.cvsignore:
* gst/parse/.cvsignore:
* gst/registries/.cvsignore:
* gst/schedulers/.cvsignore:
* libs/gst/bytestream/.cvsignore:
* libs/gst/control/.cvsignore:
* libs/gst/getbits/.cvsignore:
* tests/.cvsignore:
* tests/bufspeed/.cvsignore:
* tests/instantiate/.cvsignore:
* tests/memchunk/.cvsignore:
* tests/muxing/.cvsignore:
* tests/sched/.cvsignore:
* tests/seeking/.cvsignore:
* tests/threadstate/.cvsignore:
* testsuite/.cvsignore:
* testsuite/caps/.cvsignore:
* testsuite/cleanup/.cvsignore:
* testsuite/dynparams/.cvsignore:
* testsuite/plugin/.cvsignore:
* tools/.cvsignore:
update - this is huge, because it includes *.bb, *.bbg and *.da files
which are generated for gcov.
2004-01-12 16:53:23 +00:00
Benjamin Otte
61fbbfc278 tools/gst-inspect.c: improve output of caps a bit
Original commit message from CVS:
2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* tools/gst-inspect.c: (print_caps):
improve output of caps a bit
2004-01-11 22:39:00 +00:00
David Schleef
8c9cd079d4 Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:39:35 +00:00
Thomas Vander Stichele
7918a27650 more trademark fixing
Original commit message from CVS:
more trademark fixing
2003-12-05 12:32:06 +00:00
Andy Wingo
8ca1b1fe7f remove copyright field from plugin structs
Original commit message from CVS:
remove copyright field from plugin structs
2003-12-04 10:02:41 +00:00
David Schleef
57fcf33e5e Remove old autoplug code
Original commit message from CVS:
Remove old autoplug code
2003-11-29 05:29:30 +00:00
Benjamin Otte
0ee999abcf don't use strdup_value_contents for strings
Original commit message from CVS:
don't use strdup_value_contents for strings
2003-11-24 22:10:06 +00:00
Benjamin Otte
25f85868d4 implement URI schemes
Original commit message from CVS:
implement URI schemes
Elements can now register as a source or sink for a protocol and applications can use gst_element_make_from_uri () to get an element that handles a given URI.
This patch provides:
- removal of old broken URI handling scheme.
- new URI handling using interfaces.
- updates for registry to save handled URIs.
- interface for URI handlers.
- implementation of that in filesrc and filesink for the file:// URI
- extension to pipeline parsing to allow specifying only a URI instead of element

Does not include:
- tests
- inclusion in docs build
2003-11-24 03:21:54 +00:00
Benjamin Otte
385b9ee5c4 merge in tagging
Original commit message from CVS:
merge in tagging
Includes:
- gsttag.[ch] - The definition of GstTagList and tag registering/querying
- gsttaginterface.[ch] - Interface for elements that can handle setting of tags
- updates and merges to gststructure.[ch] and gstvalue.[ch]
- testsuite/tags - some tests for tagging
- bugfixes
- updates to make make distcheck work
- updates the version number to 0.7.2.1

Does not include:
- including tagging stuff in docs
- extensive tests
2003-11-24 02:09:23 +00:00
Thomas Vander Stichele
cc00f4039a put GST_CACHE_DIR in config.h
Original commit message from CVS:
put GST_CACHE_DIR in config.h
2003-11-14 15:08:15 +00:00
Thomas Vander Stichele
69bae8af40 removing GST_CONFIG_DIR
Original commit message from CVS:
removing GST_CONFIG_DIR
2003-11-14 14:44:19 +00:00
David Schleef
a52f684a76 cosmetic change. GObjects contain properties, not arguments.
Original commit message from CVS:
cosmetic change.  GObjects contain properties, not arguments.
2003-11-04 03:39:51 +00:00
Benjamin Otte
907e3e97d9 update plugin initialization restructuring (see email for details
Original commit message from CVS:
update plugin initialization restructuring (see email for details
2003-10-31 19:32:47 +00:00
Iain Holmes
03f8740304 NULL terminate the g_build_filename args.
Original commit message from CVS:
NULL terminate the g_build_filename args.
2003-10-29 12:04:54 +00:00
Iain Holmes
1b3896b025 Initialise some variables to get the thing to compile
Original commit message from CVS:
Initialise some variables to get the thing to compile
2003-10-28 23:28:12 +00:00
Benjamin Otte
3235f1d4c0 merge TYPEFIND branch. Major changes:
Original commit message from CVS:
merge TYPEFIND branch. Major changes:
- totally reworked type(find) system
- bytestream is out of the core again
- typefind element is now part of gstelements
2003-10-28 20:25:30 +00:00
Iain Holmes
623db82a1e Update the documentation here too to include more details on --gst-debug
Original commit message from CVS:
Update the documentation here too to include more details on --gst-debug
2003-09-29 22:02:41 +00:00
David Schleef
b1c46057dc change scripts directory to register-scripts
Original commit message from CVS:
change scripts directory to register-scripts
2003-09-27 03:58:50 +00:00
David Schleef
b4993b3de2 Use gst_caps_to_string to print caps. Add max_iterations.
Original commit message from CVS:
Use gst_caps_to_string to print caps.  Add max_iterations.
2003-09-14 11:08:50 +00:00
Thomas Vander Stichele
2e7fa817e4 check for md5sink in pipeline
Original commit message from CVS:
check for md5sink in pipeline
2003-09-11 22:44:58 +00:00
David Schleef
6da01e65b9 show the rank of a plugin feature. (actually, only element factory at this time)
Original commit message from CVS:
show the rank of a plugin feature.  (actually, only element factory
at this time)
2003-08-21 05:57:05 +00:00
David Schleef
2491e23c46 ignore more files
Original commit message from CVS:
ignore more files
2003-08-19 23:50:35 +00:00
David Schleef
5659b77a60 Remove the superfluous use of { }
Original commit message from CVS:
Remove the superfluous use of { }
2003-08-19 23:49:49 +00:00
David Schleef
13916dae8f further i18n: call setlocale()
Original commit message from CVS:
further i18n: call setlocale()
2003-08-19 08:11:58 +00:00
David Schleef
83bdee27e5 Add code to spawn each file in ${plugindirectory}/scripts, for each plugindirectory (fixes #119231)
Original commit message from CVS:
Add code to spawn each file in ${plugindirectory}/scripts, for each
plugindirectory (fixes #119231)
2003-08-19 07:58:53 +00:00
Ronald S. Bultje
b5f3c4eaf9 Add SIGUSR1/SIGUSR2 as play/stop signals. Also add these to the documentation. Fixes #120065
Original commit message from CVS:
Add SIGUSR1/SIGUSR2 as play/stop signals. Also add these to the documentation. Fixes #120065
2003-08-19 05:43:55 +00:00
David Schleef
c8bdc194d0 Show signals/actions of parent classes
Original commit message from CVS:
Show signals/actions of parent classes
2003-08-18 07:34:17 +00:00
David Schleef
4b1d031c6b Move man pages from %.1 to %.1.in, and add a rule to make .1 files from .1.in, replacing program names with their ver...
Original commit message from CVS:
Move man pages from %.1 to %.1.in, and add a rule to make .1 files
from .1.in, replacing program names with their versioned equivalent.
Handles nroff escape code for - (\-).
2003-08-15 20:25:40 +00:00
David Schleef
4c5ec2c57f Change printing of float props to %g
Original commit message from CVS:
Change printing of float props to %g
2003-07-27 01:22:07 +00:00
Brian Cameron
09c6aaa2f8 Properly handle null string value, preventing core dump on Solaris.
Original commit message from CVS:
Properly handle null string value, preventing core dump on Solaris.
2003-07-25 14:31:15 +00:00
David Schleef
c61bcbef1f Add number-of-iterations option.
Original commit message from CVS:
Add number-of-iterations option.
2003-07-14 08:25:16 +00:00
David Schleef
803229d42f Update for new debugging system
Original commit message from CVS:
Update for new debugging system
2003-07-12 21:51:21 +00:00
David Schleef
2ebb88a354 Add SIGINT handling. ctrl-C is more graceful now
Original commit message from CVS:
Add SIGINT handling.  ctrl-C is more graceful now
2003-07-01 03:45:19 +00:00
Benjamin Otte
803ce6bf48 GST_DEBUG reorganization containing loads of stuff:
Original commit message from CVS:
GST_DEBUG reorganization
This is a big diff (ca 450k), containing loads of stuff:
- gstinfo.[ch] complete rewrite
- changing of all GST_DEBUG messages to reflect that change
- reorganization of subsystem disabling
- addition of gstconfig.h.in so we can track the disablings
- <gst/gst.h> does not include <unistd.h> and <config.h> anymore
- documentation updated for gstinfo stuff (build the docs yourself to know what changed)
- bugfixes for making of the docs (files from CVS are not deleted anymore
- testsuite for debugging changes in testsuite/debug

expect breakage
2003-06-29 14:05:49 +00:00
Brian Cameron
30438fd472 Fixed gst-inspect so it doesn't core dump on Solaris.
Original commit message from CVS:
Fixed gst-inspect so it doesn't core dump on Solaris.
2003-06-25 12:18:31 +00:00
David Schleef
1a87d5538b Add new man page. Fix a few typos in other man pages.
Original commit message from CVS:
Add new man page.  Fix a few typos in other man pages.
2003-05-18 04:40:19 +00:00
Benjamin Otte
0e22bceb5d added filtered caps to man page
Original commit message from CVS:
added filtered caps to man page
2003-05-18 02:46:42 +00:00
Thomas Vander Stichele
763f3d595b adding typefind binary
Original commit message from CVS:
adding typefind binary
2003-05-17 23:04:02 +00:00
Benjamin Otte
667775fc22 simple fix: these are signed ints, not unsigned
Original commit message from CVS:
simple fix: these are signed ints, not unsigned
2003-05-06 22:03:02 +00:00
Benjamin Otte
7c9480e220 parsing returns elements, not bins - so put it into a pipeline if it's not a bin
Original commit message from CVS:
parsing returns elements, not bins - so put it into a pipeline if it's not a bin
2003-04-28 17:01:44 +00:00
Benjamin Otte
1f5fa9cf82 update man page to new pipeline parsing and make it more informational
Original commit message from CVS:
update man page to new pipeline parsing and make it more informational
2003-04-25 20:15:54 +00:00
Thomas Vander Stichele
582913dc84 make the user registry location major-minor versioned so it doesn't clash with older incompatible registries make gst...
Original commit message from CVS:
* make the user registry location major-minor versioned so it doesn't
clash with older incompatible registries
* make gst-register output the location of the registry it's writing
2003-04-23 19:59:38 +00:00
David Schleef
3639eab50e Fall back on sa_handler if sa_sigaction doesn't work
Original commit message from CVS:
Fall back on sa_handler if sa_sigaction doesn't work
2003-04-13 21:11:12 +00:00
Benjamin Otte
087aebf604 patch to gst-launch - a pipeline parsing can result in an error even though a pipeline is returned
Original commit message from CVS:
patch to gst-launch - a pipeline parsing can result in an error even though a pipeline is returned
2003-04-10 01:40:03 +00:00
Benjamin Otte
c56b13bd2b work around popt bug
Original commit message from CVS:
work around popt bug
2003-04-04 20:33:05 +00:00
Wim Taymans
5506241cf3 Fix #109350, aplied patch from Peter N. Lundblad.
Original commit message from CVS:
Fix #109350, aplied patch from Peter N. Lundblad.
2003-04-04 19:12:58 +00:00
Christian Meyer
dabb6637bd Fixed bug #108514.
Original commit message from CVS:
Fixed bug #108514.
2003-03-16 20:06:02 +00:00
Brian Cameron
02a6f7ffa8 Now support ISO-style variable-argument macros, which is more portable than the gcc-specific variable-argument style ...
Original commit message from CVS:
Now support ISO-style variable-argument macros, which is more portable than
the gcc-specific variable-argument style of macros.
2003-03-11 16:46:58 +00:00
Wim Taymans
d53f8fa432 I'm too lazy to comment this
Original commit message from CVS:
.
2003-02-25 20:57:05 +00:00
Wim Taymans
40ad6c233a Add xmlinspect to README
Original commit message from CVS:
Add xmlinspect to README
2003-02-21 20:02:08 +00:00
Wim Taymans
f5ef4dec93 - indentation fixes
Original commit message from CVS:
- indentation fixes
- dynamic properties fixes
- object hierarchy fixes
- float ranges and property fixes
2003-02-21 19:41:02 +00:00
Wim Taymans
2923f6f8c8 - added indexing, dynamic params, signals, actions, clocking
Original commit message from CVS:
- added indexing, dynamic params, signals, actions, clocking
2003-02-21 00:20:26 +00:00
Wim Taymans
d232483e12 Added pad implementation + element properties
Original commit message from CVS:
Added pad implementation + element properties
2003-02-20 23:41:02 +00:00
Wim Taymans
b3341eba46 gst-xmlinspect dumps the plugin info to an xml file xml2text.xsl performs an xsl transform on the xml to generate out...
Original commit message from CVS:
gst-xmlinspect dumps the plugin info to an xml file
xml2text.xsl performs an xsl transform on the xml to generate output
similar to gst-inspect
2003-02-20 23:07:01 +00:00
Wim Taymans
964071879c FILENAME->URI
Original commit message from CVS:
FILENAME->URI
2003-02-10 20:53:13 +00:00
Wim Taymans
b030b5cef2 - Add more --disable options
Original commit message from CVS:
- Add more --disable options
- fix makefiles to only compile non-disabled features
- some compile fixes.
- removed extratypes, added gsturitype
- make get/set clock on a bin overridable
- some portability fixes for GUINT64
- separate pools from gstregistry.[ch] into gstregistrypool.[ch]
- make gstobject size fixed, even if we disabled load/save
- don't use 'new' as a variable as it is not a valib C++ variable
2003-02-10 20:32:32 +00:00
Wim Taymans
bc3553a799 Backport verbose option from 0.6.0
Original commit message from CVS:
Backport verbose option from 0.6.0
2003-02-03 20:30:59 +00:00
Wim Taymans
d7f8bbea1b - Add popt option to enable new tracing
Original commit message from CVS:
- Add popt option to enable new tracing
2003-02-02 19:22:31 +00:00
David Schleef
c84b6ca3cd Make factual and grammatical corrections to man pages. Add simple description of pipelines.
Original commit message from CVS:
Make factual and grammatical corrections to man pages.  Add simple
description of pipelines.
2003-02-01 22:38:08 +00:00
David Schleef
393033c6fa Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT. Fix pointer<->int conversion. Fixes warnings on alpha.
Original commit message from CVS:
Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT.  Fix
pointer<->int conversion.  Fixes warnings on alpha.
2003-02-01 20:29:27 +00:00
Wim Taymans
469cc6cbe5 - Use macro for fixed test as I'm about to change it...
Original commit message from CVS:
- Use macro for fixed test as I'm about to change it...
2003-01-27 21:40:13 +00:00
Wim Taymans
ef5cc368e7 Small formatting cleanup for write only properties
Original commit message from CVS:
Small formatting cleanup for write only properties
2003-01-21 21:34:31 +00:00
Wim Taymans
92c48266a6 Also find other plugin features; need to implement some prettyprint functions still...
Original commit message from CVS:
Also find other plugin features; need to implement some prettyprint
functions still...
2003-01-21 21:15:00 +00:00
Wim Taymans
34a0dbe98f Print uri handlers too
Original commit message from CVS:
Print uri handlers too
2003-01-16 21:22:26 +00:00
David I. Lehn
5a74101933 more connect -> link updates
Original commit message from CVS:
more connect -> link updates
2003-01-09 22:59:37 +00:00
Thomas Vander Stichele
5529bbc7dc first pass of connect->link gst-plugins and other stuff compiles without change at this point
Original commit message from CVS:
first pass of connect->link
gst-plugins and other stuff compiles without change at this point
2003-01-09 14:15:37 +00:00
Wim Taymans
aaef425d99 Small fixes, improved query inspect
Original commit message from CVS:
Small fixes, improved query inspect
2003-01-07 20:49:46 +00:00
Wim Taymans
fbe8f4f657 Add flag to disable fault_setup()
Original commit message from CVS:
Add flag to disable fault_setup()
2002-12-30 18:29:16 +00:00
Wim Taymans
347505bcb9 - major API breakage (one of the last, I promise...)
Original commit message from CVS:
- major API breakage (one of the last, I promise...)
- GST_PAD_QUERY -> GST_QUERY
- GstPadQuery -> GstQuery
- Move query definitions to gstquery.h to allow for future dynamic
query types.
- remove _pad_handles_* in favour of extra format/event functions to
make the same checks.
- fix elements
- Implemented missing query/event/formats functions in gstelement
2002-12-30 17:42:11 +00:00
Wim Taymans
54ad9d5e6b Small cleanups
Original commit message from CVS:
Small cleanups
2002-12-19 20:59:48 +00:00
Wim Taymans
840056aded Fix g_print too
Original commit message from CVS:
Fix g_print too
2002-12-14 15:01:22 +00:00
Wim Taymans
60210e4ede Fix compile error cache->index
Original commit message from CVS:
Fix compile error cache->index
2002-12-14 15:00:08 +00:00
Wim Taymans
fcd8d12069 Renamed GstCache to GstIndex
Original commit message from CVS:
Renamed GstCache to GstIndex
2002-12-12 22:14:36 +00:00
Wim Taymans
f7d73c91b2 ASYNC state changes are not an error.
Original commit message from CVS:
ASYNC state changes are not an error.
2002-12-08 20:08:39 +00:00
Thomas Vander Stichele
7eea6a04b7 fix for parallel installability
Original commit message from CVS:
fix for parallel installability
2002-12-08 14:39:38 +00:00
Wim Taymans
025554e343 Print cache info too
Original commit message from CVS:
Print cache info too
2002-11-29 18:18:34 +00:00
Christian Schaller
2d9c2e484b commiting Leifs registry to /var/cache patch, works well for me :)
Original commit message from CVS:
commiting Leifs registry to /var/cache patch, works well for me :)
2002-11-28 13:29:52 +00:00
Wim Taymans
a48bce0ad6 - Added first attempt at general caching mechanism (GstTimeCache renamed to GstCache)
Original commit message from CVS:
- Added first attempt at general caching mechanism (GstTimeCache renamed
to GstCache)
- Some more clocking checks and updates (waiting on GST_CLOCK_TIME_NONE
returns immediatly instead of blocking forever)
- Moved clock get/set functions to element class instead of instance.
- Added cache methods on elements.
- Renamed GST_PROPS_BOOL_TYPE to GST_PROPS_BOOLEAN_TYPE to make it more
consistent with gst_props_get/set_boolean and GST_PROPS_BOOLEAN.
- Give short stats about plugins in gst-inspect.
2002-11-27 20:47:39 +00:00
Wim Taymans
647618947f Print buffer stats even after failed state change.
Original commit message from CVS:
Print buffer stats even after failed state change.
2002-11-20 21:29:29 +00:00
David Schleef
96b9f9d5d1 Add automatic stack dumping on SIGSEGV and SIGQUIT
Original commit message from CVS:
Add automatic stack dumping on SIGSEGV and SIGQUIT
2002-11-14 02:49:16 +00:00
Wim Taymans
4514d28486 Small cleanups
Original commit message from CVS:
Small cleanups
2002-11-02 13:22:31 +00:00
David I. Lehn
aa363eae69 add gst-md5sum remove old bin names
Original commit message from CVS:
add gst-md5sum
remove old bin names
2002-11-02 05:23:52 +00:00
David I. Lehn
86fddd8349 use plugin feature api vs gstobject api
Original commit message from CVS:
use plugin feature api vs gstobject api
2002-11-01 22:05:28 +00:00
David Schleef
ae36592abe Fix some inconsistencies and missing flags
Original commit message from CVS:
Fix some inconsistencies and missing flags
2002-10-25 06:40:21 +00:00
David I. Lehn
709335af3f trivial whitespace fix
Original commit message from CVS:
trivial whitespace fix
2002-10-03 02:59:15 +00:00
Iain Holmes
4b93f5a554 Use some hashtables instead of a linked list
Original commit message from CVS:
Use some hashtables instead of a linked list
2002-09-29 17:17:28 +00:00
Wim Taymans
ebda7d920a Fix silly free twice bug
Original commit message from CVS:
Fix silly free twice bug
2002-09-24 18:41:16 +00:00
Thomas Vander Stichele
f12f450410 backports and fixes
Original commit message from CVS:
backports and fixes
2002-09-23 06:02:17 +00:00
Thomas Vander Stichele
046393d20a md5sum utility
Original commit message from CVS:
md5sum utility
2002-09-22 18:17:58 +00:00
David Schleef
1a1dceaaaf Make local copy of lists because they change while walking them. Use name from GstPluginFeature, since that's a pare...
Original commit message from CVS:
Make local copy of lists because they change while walking them.  Use name
from GstPluginFeature, since that's a parent class (GstObject isn't).  This
should go into the release.
2002-09-20 03:29:38 +00:00
David Schleef
01fde3c83c A bit of error checking when called with bad arguments. Needs more work.
Original commit message from CVS:
A bit of error checking when called with bad arguments.  Needs more work.
2002-09-20 03:27:54 +00:00
Wim Taymans
c4f01ba01e Also handle WRITEONLY properties
Original commit message from CVS:
Also handle WRITEONLY properties
2002-09-19 18:14:09 +00:00
Christian Schaller
08ca250525 gstreamer part of new license field in element factory
Original commit message from CVS:
gstreamer part of new license field in element factory
2002-09-18 18:58:39 +00:00
Wim Taymans
d9e80e999a - Refactor the caps print function in -inspect
Original commit message from CVS:
- Refactor the caps print function in -inspect
- fix a leak in -launch
2002-09-17 21:32:26 +00:00
Wim Taymans
88aba59fb7 Show even long property name
Original commit message from CVS:
Show even long property name
2002-09-15 18:59:27 +00:00
Wim Taymans
37a127d9ed - Make the return GList of gst_element_get_pad_list as const
Original commit message from CVS:
- Make the return GList of gst_element_get_pad_list as const
- Pad scheduler refactoring
- Remove gst_pad_set/unset_scheduler as it's not needed
- Reimplement gst_pad_get_scheduler using the parent scheduler
- Remove gst_pad_peek as it cannot work reliably
- Remove the pad bufpen, replace with scheduler private gpointer
- Make queue use the new _get_scheduler implementation
- Remove _pad_unset_scheduler from GstScheduler
- Remove LOOP_SEEK mode from aggregator
- Other fixes for API changes.
2002-09-12 20:52:03 +00:00
Wim Taymans
7fc83d1433 Fix the min value for the stats
Original commit message from CVS:
Fix the min value for the stats
2002-09-12 20:11:12 +00:00
Thomas Vander Stichele
cc2e4ffaaf cleanup
Original commit message from CVS:
cleanup
2002-09-12 19:26:12 +00:00
Wim Taymans
45aefbc478 - use g_print
Original commit message from CVS:
- use g_print
- print GFlagsValues too
2002-09-09 22:07:56 +00:00
Thomas Vander Stichele
1037275ae7 code cleanups use either g_print or printf can you tell I'm back to taking the train to work ?
Original commit message from CVS:
code cleanups
use either g_print or printf
can you tell I'm back to taking the train to work ?
2002-09-09 09:30:07 +00:00
Zeeshan Ali
3ffdcdf5f8 Including rtp example, i mean getting myself IN :)
Original commit message from CVS:
Including rtp example, i mean getting myself IN :)
2002-09-06 20:46:41 +00:00
Thomas Vander Stichele
0f82acc78d spill over paths from a registry that couldn't load to the next one to ensure that a usable registry gets built in th...
Original commit message from CVS:
spill over paths from a registry that couldn't load to the next one to ensure
that a usable registry gets built in the end
2002-08-11 21:51:56 +00:00
David I. Lehn
77c92f6ce5 add gst-feedback man page
Original commit message from CVS:
add gst-feedback man page
2002-08-09 09:26:26 +00:00
Wim Taymans
7fc1800892 -inspect fixes for formats
Original commit message from CVS:
-inspect fixes for formats
-launch uses the default error/deep_notify handlers
2002-07-30 19:25:24 +00:00
Wim Taymans
abc329c725 - Make inspect show the event masks, formats and qupported query types.
Original commit message from CVS:
- Make inspect show the event masks, formats and qupported query types.
- convert enum values to something readable in -launch
2002-07-24 21:13:30 +00:00
Thomas Vander Stichele
dcb3cec6a0 merge from BRANCH-RELEASE-0_4_0
Original commit message from CVS:
merge from BRANCH-RELEASE-0_4_0
2002-07-09 10:27:22 +00:00
Wim Taymans
550446c738 Also print event stats on exit.
Original commit message from CVS:
Also print event stats on exit.
2002-07-08 19:23:59 +00:00
Andy Wingo
28fb7d2c39 fix segfault
Original commit message from CVS:
fix segfault
2002-07-04 16:03:48 +00:00
Christian Schaller
aeaadc9696 removed my gst-launch-ext manpage as I discovered it is already part of gst-plugins
Original commit message from CVS:
removed my gst-launch-ext manpage as I discovered it is already part of gst-plugins
2002-06-17 11:32:34 +00:00
Christian Schaller
41deaca361 add gst-launch-ext manpage to build
Original commit message from CVS:
add gst-launch-ext manpage to build
2002-06-17 10:22:43 +00:00
Christian Schaller
558607b5e8 adding man page for gst-launch-ext
Original commit message from CVS:
adding man page for gst-launch-ext
2002-06-11 16:07:13 +00:00
Thomas Vander Stichele
0ce34c4a17 meesa don'tsa like breaksa commits
Original commit message from CVS:
meesa don'tsa like breaksa commits
2002-06-10 08:47:37 +00:00
Wim Taymans
56023e379d One little fixes
Original commit message from CVS:
One little fixes
2002-06-04 21:05:53 +00:00
Thomas Vander Stichele
49dd11fb6c man fixes
Original commit message from CVS:
man fixes
2002-06-04 20:54:39 +00:00
Thomas Vander Stichele
04f284b92b output cleanups
Original commit message from CVS:
output cleanups
2002-06-04 16:32:53 +00:00
Wim Taymans
d7ddba92e9 We are nano seconds now..
Original commit message from CVS:
We are nano seconds now..
2002-06-03 20:59:02 +00:00
Thomas Vander Stichele
8dba993065 even better
Original commit message from CVS:
even better
2002-06-01 10:29:29 +00:00
Thomas Vander Stichele
21201fe9b1 This looks a lot better when printing out ranges for doubles which are set at max. Tell me if I can change the other...
Original commit message from CVS:
This looks a lot better when printing out ranges for doubles which are
set at max.  Tell me if I can change the other arguments to be printed like
this too and I will change them
2002-06-01 10:24:38 +00:00
Steve Baker
d4e56cc925 this wasn't actually needed
Original commit message from CVS:
this wasn't actually needed
2002-05-29 15:30:10 +00:00
Steve Baker
608589ef0d this seems to be needed when doing a pipeline like -launch { foo ! bar }
Original commit message from CVS:
this seems to be needed when doing a pipeline like -launch { foo ! bar }

Now you can run:
gst-launch --gst-mask=-1 { fakesrc ! fakesink }
to see what seems to be a double locking problem
2002-05-28 14:42:22 +00:00
Thomas Vander Stichele
d2ad90cb82 should make stuff more legible
Original commit message from CVS:
should make stuff more legible
2002-05-28 08:56:34 +00:00
Wim Taymans
6f96a24d2e - The clock_wait now returns the difference between requested time and unlock time.
Original commit message from CVS:
- The clock_wait now returns the difference between requested time and
unlock time.
- Misc defines like GST_SECOND in gstclock.h
- remove pre/post in gstelement.c until fixed.
- added release_locks to gstelement so that the element can unlock itself
- added some more predefined events.
- added folowing functions to gstpad:
- convert function: get the relation between formats on this pad
- query function: get stats about the pad (position/total/latency)
- internal connect function: find out how this pad connects to other
pad internally to the element.
- generic pad_dispatcher.
- removed the last bits of pullregion
- use release_locks on the queue.
- added some events to queue
- make gstthread use the new release_locks function
- make the scheduler use the new clock_wait functions
- added events to fakesink
- added query functions to filesrc
- swap type and offset in the bytestream seek API to match fseek
- added some event handling in bytestream.
2002-05-26 21:54:27 +00:00
David I. Lehn
fbaeb5882f ulong type fix add 64b types add printing name of unknown type
Original commit message from CVS:
ulong type fix
add 64b types
add printing name of unknown type
2002-05-14 00:45:10 +00:00
Wim Taymans
086de421dc Totally rewritten registry handling.
Original commit message from CVS:
Totally rewritten registry handling.
- move the registry save/load code into a gstregistry subclass, this
will make it possible to use other registries (flat file, web based,
RDBMS type, etc..)
- a simple GMarkup xml registry is implemented
- use standard statically linked plugins for core elements.
- GstPlugin has a very well defined set of functions now
A little bytestream hack..
Added more info to -inspect.
Some more debugging info for clocking.
Small cleanups

I use ./gst-register --gst-plugin-path=/opt/src/sourceforge/gst-plugins/gst-libs:/opt/src/sourceforge/gst-plugins/
to register core and gst-plugins now.
2002-05-08 20:40:48 +00:00
Benjamin Otte
8cd991a9d6 - make all _get_list functions return a const reference to original lists and no copy
Original commit message from CVS:
- make all _get_list functions return a const reference to original lists and no copy
- redo code accordingly
- fix compile issue in dparam stuff
2002-04-19 19:49:41 +00:00
Benjamin Otte
8e5c223871 fix bug with --gst-fatal-warnings when exclude_args is NULL
Original commit message from CVS:
fix bug with --gst-fatal-warnings when exclude_args is NULL
2002-04-17 00:18:04 +00:00
Benjamin Otte
5f8324949f yay, a new option to play with! added -X / --exclude to exclude output of specific properties. Currently only --exclu...
Original commit message from CVS:
yay, a new option to play with!
added -X / --exclude to exclude output of specific properties. Currently only --exclude will work because we're not on popt 1.6.3 yet (blame it on Debian).
removed the harcoded excluding of the 'offset' property. You need to specify --exclude=offset now if you want your old output back
2002-04-16 14:45:53 +00:00
Thomas Vander Stichele
43a68fd149 merged back fixes from release branch
Original commit message from CVS:
merged back fixes from release branch
2002-04-15 09:21:14 +00:00
Steve Baker
39f81291e1 - changed the output so that the names of elements can be parsed by gst-inspect-check
Original commit message from CVS:
- changed the output so that the names of elements can be parsed by gst-inspect-check
- display the range of the element properties
- display the available dparams, just like the properties
- added int64 to element properties displayed
2002-04-14 10:13:24 +00:00
Steve Baker
b47d7c345b link gst-inspect to libgstcontrol so that -inspect will show what dparams are available. I think it is ok to link he...
Original commit message from CVS:
link gst-inspect to libgstcontrol so that -inspect will show what dparams are available.  I think it is ok to link helper libraries like libgstcontrol to the apps in tools/.
2002-04-14 10:11:14 +00:00
Thomas Vander Stichele
e00bcd6792 registry handling changes read up on it in docs/random/thomasvs/registry if interested net effect should be transpare...
Original commit message from CVS:
registry handling changes
read up on it in docs/random/thomasvs/registry if interested
net effect should be transparent; ie. it will keep on working, but will
be more flexible than before.  Testing with garnome seems to work now.
Should probably be rewritten completely, together with plugin loading, but
only after we spec it out ;) It's a bit messy.
2002-04-12 09:53:00 +00:00
Andy Wingo
b214d35eed commit to make gstreamer follow the gtk function/macro naming conventions:
Original commit message from CVS:
commit to make gstreamer follow the gtk function/macro naming conventions:

GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

and the same for *factory and typefind.
2002-04-11 20:35:18 +00:00
Andy Wingo
70cfc6cb4d new parser that uses flex and bison
Original commit message from CVS:
* new parser that uses flex and bison
- doesn't do dynamic pipelines yet...
* added GErrors to the gst_parse_launch[v] api
* added --gst-mask-help command line option
* fixed -o option for gst-launch
* GstElement api change:
- gst_element_get_pad
- gst_element_get_request_pad, gst_element_get_static_pad
- gst_element_get_compatible_pad
- gst_element_get_compatible_static_pad, gst_element_get_compatible_request_pad
- gst_element_[dis]connect -> gst_element_[dis]connect_pads
- gst_element_[dis]connect_elements -> gst_element_[dis]connect
* manual update
* example, tool, and doc updates for the api changes
- no more plugin docs in the core docs, plugins require a more
extensive doc system
2002-04-07 23:32:16 +00:00
Benjamin Otte
8ae7350492 fix all compiler warnings
Original commit message from CVS:
fix all compiler warnings
2002-04-04 19:28:23 +00:00
Wim Taymans
06c7e989ef Get rid of the warning
Original commit message from CVS:
Get rid of the warning
2002-03-31 16:27:28 +00:00
Andy Wingo
cfb228b0f9 add notify back to filesrc, it's needed for MVC applications remove notify printouts from gst-launch cleanup in gst-p...
Original commit message from CVS:
* add notify back to filesrc, it's needed for MVC applications
* remove notify printouts from gst-launch
* cleanup in gst-plugins configure.ac
* some jack updates
* remove SELF_ITERATING flag in favor of SEF_SCHEDULABLE (not a clear name,
but it's what we have for the moment)
* improve parsing of request pad names, no more sscanf
* fixes to the fastscheduler Makefile.am
2002-03-30 19:31:14 +00:00
Wim Taymans
0e40bc56b6 Updates to the new props API
Original commit message from CVS:
Updates to the new props API
Some more info in -inspect
2002-03-30 17:06:45 +00:00
Andy Wingo
862538e9ac added a bunch of cvsignore stuff off of a fresh checkout and build i will win the race to max LOC changed ;-)
Original commit message from CVS:
added a bunch of cvsignore stuff off of a fresh checkout and build

i will win the race to max LOC changed ;-)
2002-03-25 05:01:02 +00:00
Andy Wingo
ed9b628168 filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS:
* filter newlines out of GST_DEBUG statements to reflect new core behavior
* fixes to adder's caps, again
2002-03-24 22:07:09 +00:00
Andy Wingo
a43fadec2e s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes more sense that way added jack ...
Original commit message from CVS:
* s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes more sense that way
* added jack element, doesn't quite work right yet but i didn't want to lose the work -- it does build, register,
and attempt to run though
* imposed some restrictions on the naming of request pads to better allow for reverse parsing
* added '%s' to reverse parsing
* added new bin flag to indicate that it is self-iterating, and some lame code in gst-launch to test it out
* fixen on launch-gui
* added pkg-config stuff for the editor's libs
2002-03-18 04:41:37 +00:00
Benjamin Otte
1952e9d714 updated popt stuff:
Original commit message from CVS:
updated popt stuff:
- added 'gst_init_with_popt_table' to gst.h
- added a --silent option to launch to suppress g_object_notify events
2002-02-24 17:08:07 +00:00
Andy Wingo
991e42bc4b add 'toolsdir' to the pc files add our first plugin test, which involves simply running gst-compprep, which in the co...
Original commit message from CVS:
* add 'toolsdir' to the pc files
* add our first plugin test, which involves simply running gst-compprep,
which in the course of creating the completion registry instantiates every
plugin. gst-register is run first.
2002-02-16 17:53:58 +00:00
Andy Wingo
bae6d1e31b to set default categories for an app, call set_categories before the gst_init restores gst-register to its previous v...
Original commit message from CVS:
to set default categories for an app, call set_categories before the gst_init
restores gst-register to its previous verbosity (but --gst-mask=0 works)
2002-02-15 21:11:46 +00:00
Thomas Vander Stichele
72276c6522 don't set INFO categories before running gst_init
Original commit message from CVS:
don't set INFO categories before running gst_init
2002-02-13 16:15:40 +00:00
Benjamin Otte
c3dd1a65b3 make -launch receive and print out errors.
Original commit message from CVS:
make -launch receive and print out errors.
There is also a fix to allow printing gint64 variables. This should be removed when GLib does it. Glib1.3.13 does not.
2002-02-06 19:10:38 +00:00
Andy Wingo
f7aa64cf33 core is glib2 only now tried to convert to g_strdup_value_contents as much as i could misc other fixes
Original commit message from CVS:
* core is glib2 only now
* tried to convert to g_strdup_value_contents as much as i could
* misc other fixes
2002-02-06 16:35:16 +00:00
Benjamin Otte
27d973f2bf <wingo> i thought _get gave you a copy of the string --- he's right
Original commit message from CVS:
<wingo> i thought _get gave you a copy of the string --- he's right
2002-02-06 15:02:26 +00:00
Benjamin Otte
173ccc9b28 bugfixing: always use the right GType when using g_object_get/set; do not free strings from g_object_get, they're not...
Original commit message from CVS:
bugfixing: always use the right GType when using g_object_get/set; do not free strings from g_object_get, they're not yours (see docs/design/part-standards.txt)
2002-02-06 08:23:10 +00:00
Benjamin Otte
7e4e644d51 make gst-launch property aware
Original commit message from CVS:
make gst-launch property aware
2002-02-06 07:10:37 +00:00
Richard Boulton
030a1f6a25 gstreamer-register -> gst-register gstreamer-launch -> gst-launch etc.
Original commit message from CVS:
gstreamer-register -> gst-register
gstreamer-launch -> gst-launch
etc.
2002-02-04 20:33:14 +00:00
Andy Wingo
0050b2af50 man page updates
Original commit message from CVS:
man page updates
2002-01-15 17:10:48 +00:00
Andy Wingo
9e7087cf0e added xmllaunch man page
Original commit message from CVS:
added xmllaunch man page
2002-01-15 16:48:38 +00:00
Andy Wingo
703f271947 minor cleanups
Original commit message from CVS:
minor cleanups
2002-01-15 05:58:45 +00:00
Andy Wingo
aa29faadef gst-xmllaunch works now. it's a separate target built from gst-launch.c, just with a different name. it can set the p...
Original commit message from CVS:
gst-xmllaunch works now. it's a separate target built from gst-launch.c, just with
a different name. it can set the properties of elements by name, as in
element.property=value. craete pipelines using gst-launch -o file.xml <pipeline description>
2002-01-15 05:57:14 +00:00
Andy Wingo
57dc4b544d doc and configure updates, and the beginnings of gst-xmllaunch
Original commit message from CVS:
doc and configure updates, and the beginnings of gst-xmllaunch
2002-01-14 07:18:43 +00:00
Andy Wingo
f38969ff25 fix doc build for glib2 remove template files from cvs, they are generated with gtkdoc-mktmpl new, cleaner interface ...
Original commit message from CVS:
* fix doc build for glib2
* remove template files from cvs, they are generated with gtkdoc-mktmpl
* new, cleaner interface to the parser facilities
* cleanups in gstparse.c
2002-01-14 04:09:56 +00:00
David I. Lehn
c0110cf644 convert 'adding factory' message to a plugin loading debug message
Original commit message from CVS:
convert 'adding factory' message to a plugin loading debug message
2002-01-12 01:25:14 +00:00
David I. Lehn
344cb7291c typo fix
Original commit message from CVS:
typo fix
2002-01-12 01:23:42 +00:00
Andy Wingo
d262bea863 summary: fix xml in gstreamer 1) make clear distinction between loading xml that actually creates objects and loading...
Original commit message from CVS:
summary: fix xml in gstreamer

1) make clear distinction between loading xml that actually creates objects and loading xml that just
synchronizes properties with objects. moved most of gst_element_restore_thyself functionality to
gst_xml_make_element. this new function name can change if it sucks.
2) many various fixes. createxml and runxml work now.
3) doc updates.
4) GstSignalObject is stil broken. i have no idea what it's supposed to do.
2002-01-11 15:49:47 +00:00
Christian Schaller
de85531b18 added avi playback and moved all movie examples togheter
Original commit message from CVS:
added avi playback and moved all movie examples togheter
2002-01-07 20:50:32 +00:00
Christian Schaller
420e70235f Added syntax for playing both audio and video from a video clip
Original commit message from CVS:
Added syntax for playing both audio and video from a video clip
2002-01-07 20:43:52 +00:00
Christian Schaller
2e4818ba0e Rename all examples from gstreamer to gst
Original commit message from CVS:
Rename all examples from gstreamer to gst
2002-01-06 17:36:49 +00:00
Andy Wingo
441aeb13e9 for i in gstreamer-*; do mv $i echo $i | sed -e 's/gstreamer/gst/'; done
Original commit message from CVS:
for i in gstreamer-*; do mv $i `echo $i | sed -e 's/gstreamer/gst/'`; done

*THIS CHANGES PROGRAM NAMES*

gstreamer-register -> gst-register et al
no one expressed objections to this over a two-day period, so i went ahead and did it
this can be reverted if folks complain too much...
2002-01-04 19:46:40 +00:00
Thomas Vander Stichele
5e9ce2d543 moving guilaunch to gst-editor
Original commit message from CVS:
moving guilaunch to gst-editor
2002-01-03 10:49:09 +00:00
Wim Taymans
abf0bf9506 Added a syntax line for avi.
Original commit message from CVS:
Added a syntax line for avi.
2001-12-31 15:55:29 +00:00
Wim Taymans
0d639bfc25 Removed the Xid stuff now that xvideosink supports toplevel windows.
Original commit message from CVS:
Removed the Xid stuff now that xvideosink supports toplevel windows.
2001-12-29 17:25:17 +00:00
Wim Taymans
ec5ff24595 Added info for gtk1.2 based builds, the name property doesn't work very well with the shim.
Original commit message from CVS:
Added info for gtk1.2 based builds, the name property doesn't work very
well with the shim.
2001-12-29 15:44:43 +00:00
Andy Wingo
9ee758f076 output human-readable xml
Original commit message from CVS:
output human-readable xml
2001-12-26 06:58:25 +00:00
Andy Wingo
799f1a9ed9 format the outputted reg.xml for libxml2. if anything causes your xml probs in the future, this is probably it...
Original commit message from CVS:
format the outputted reg.xml for libxml2. if anything causes your xml probs in the
future, this is probably it...
2001-12-25 22:57:31 +00:00
Ronald S. Bultje
4b5fc45173 missing include
Original commit message from CVS:
missing include
2001-12-24 22:57:32 +00:00
Wim Taymans
109f7a0d64 Added some more stats about iteration times
Original commit message from CVS:
Added some more stats about iteration times
2001-12-24 12:30:09 +00:00
Wim Taymans
b02211c06d Added buffer stats at the end, if it's not 0, we have a leak.
Original commit message from CVS:
Added buffer stats at the end, if it's not 0, we have a leak.
2001-12-22 21:26:56 +00:00
Thomas Vander Stichele
be48dec0a8 output cosmetic fix
Original commit message from CVS:
output cosmetic fix
2001-12-21 13:52:18 +00:00
Andy Wingo
e8e87fe956 removed gstreamer.m4 (packages should use pkg.m4) guilaunch depends only on gtk, not libglade-gnome removed an unnece...
Original commit message from CVS:
* removed gstreamer.m4 (packages should use pkg.m4)
* guilaunch depends only on gtk, not libglade-gnome
* removed an unnecessary check in dynamic-pipeline.c
* attempted to avoid a spurious autoheader run
* gtk2 fixes
* killed a lot of files that automake brings in for us
* killed acinclude.m4, it's autogenerated
2001-12-20 01:20:22 +00:00
Andy Wingo
51bb2b1c4c fix to get guilaunch to build properly with gnome2
Original commit message from CVS:
fix to get guilaunch to build properly with gnome2
2001-12-19 22:16:01 +00:00
Wim Taymans
34f05211c2 Added object cleanup at the end of -launch, report all problems please.
Original commit message from CVS:
Added object cleanup at the end of -launch, report all problems
please.
2001-12-19 19:23:51 +00:00
Wim Taymans
7dd1fb647b Remove the unref untill it works :(
Original commit message from CVS:
Remove the unref untill it works :(
2001-12-18 19:33:34 +00:00
Wim Taymans
b9e1c437bb Make launch catch pipeline events and print them out.
Original commit message from CVS:
Make launch catch pipeline events and print them out.
2001-12-18 19:07:06 +00:00
Wim Taymans
ceef45b80b Some help for playing both audio in video with -launch
Original commit message from CVS:
Some help for playing both audio in video with -launch
2001-12-17 14:24:26 +00:00
David I. Lehn
b343c988b6 merge fixup: guilaunch got removed, add it back
Original commit message from CVS:
merge fixup: guilaunch got removed, add it back
2001-12-16 20:02:53 +00:00
Wrobell
5de2baa2cd - clean up
Original commit message from CVS:
- clean up
2001-12-16 18:02:45 +00:00
Thomas Vander Stichele
40e6dccb43 merged back from build branch let's hope you all agree
Original commit message from CVS:
merged back from build branch
let's hope you all agree
2001-12-16 14:23:19 +00:00
Wim Taymans
273d058d03 Fix some comment errors.
Original commit message from CVS:
Fix some comment errors.
2001-12-15 23:18:15 +00:00
Christian Schaller
4e927120b2 replacing disksrc with filesrc and adding some / which I think man wants
Original commit message from CVS:
replacing disksrc with filesrc and adding some / which I think man wants
2001-12-14 23:25:07 +00:00
Christian Schaller
08e95cee03 ok, death to all // GCC only comments, we are going portable
Original commit message from CVS:
ok, death to all // GCC only comments, we are going portable
2001-12-14 20:56:51 +00:00
Wim Taymans
91881fb4ed Readded the CFLAGS.
Original commit message from CVS:
Readded the CFLAGS.
2001-12-14 20:43:44 +00:00
Michael Meeks
d04099240b gst/gst.c (gst_main, gst_main_quit): upd.
Original commit message from CVS:
2001-12-14  Michael Meeks  <michael@ximian.com>

* gst/gst.c (gst_main, gst_main_quit): upd.

* gst/gstutils.c (gst_util_has_arg): impl.
(gst_util_get_int64_arg): impl.

* plugins/mpeg2/video/gstmpeg2play.c
(gst_mpeg2play_class_init): min frames per sec = 0.

* plugins/mikmod/gstmikmod.c (gst_mikmod_class_init):
s/16bit/use16bit/ properties can't begin with a non
alpha.

* tools/gstreamer-guilaunch.c: fresh from the ministy
of nasty hacks.

* tools/Makefile.am: enable gstreamer-guilaunch for
Gnome 2.0

* tools/gstreamer-launch.c (main): upd.
(idle_func): quit the mainloop.
2001-12-14 18:11:52 +00:00
Wim Taymans
6dc4fb7616 Michael fixage
Original commit message from CVS:
Michael fixage
2001-12-14 14:28:27 +00:00
Christian Schaller
27b09f01a0 fixes outdated mpeg examples and adds a few more
Original commit message from CVS:
fixes outdated mpeg examples and adds a few more
2001-12-13 23:24:11 +00:00
Michael Meeks
7943a116f6 Aplied a patch from Michael Meeks to add libxml2 support.
Original commit message from CVS:
Aplied a patch from Michael Meeks to add libxml2 support.
2001-12-13 19:00:58 +00:00
Wim Taymans
8b965cf770 Disksrc is deprecated
Original commit message from CVS:
Disksrc is deprecated
2001-12-12 22:40:14 +00:00
Wim Taymans
d61cbc8ea0 Updated the examples exit if the pipeline doesn't want to go to the playing state.
Original commit message from CVS:
Updated the examples
exit if the pipeline doesn't want to go to the playing state.
2001-12-12 18:31:25 +00:00
David I. Lehn
90959f7a2c Remove some random chars, add ref to guilaunch
Original commit message from CVS:
Remove some random chars, add ref to guilaunch
2001-12-12 00:00:07 +00:00
David I. Lehn
fbcc8d55ab guilaunch manpage
Original commit message from CVS:
guilaunch manpage
2001-12-11 23:52:58 +00:00
Thomas Vander Stichele
b195d612b2 guess what
Original commit message from CVS:
guess what
2001-12-10 21:57:21 +00:00
wrobell
08eaa11259 - some fixes to int2float making automake 1.5 happy (gst now requires automake1.5). It's still not perfect but it bui...
Original commit message from CVS:
- added playondemand plugin by Leif Morgan Johnson <lmjohns3@eos.ncsu.edu>
- some fixes to int2float
- aplied a patch from wrobell <wrobell@ite.pl> that is a first attempt at
making automake 1.5 happy (gst now requires automake1.5). It's still not
perfect but it builds.
- Made the schedulers plugable. The default scheduler now lives inside a
plugin.
- Added a new mpeg1/2 parser/demuxer.
- Fixed some compiler warnings in the core libs.
- substantial work to GstThread (hopefully less race conditions). simplified
the code in GstThread a bit. A state change can now also happen in the
thread context.
- reworked the state semantics of a bin. it'll now automatically get the
highest state of its children.
- the autoplugger now nests the threads so that a state change failure of
one thread doesn't make its upstream thread lock.
- GstQueue refuses to go to PLAYING if the sinkpad is not connected. This
way the queue will not wedge in the _get lock.
- GstQueue unlocks its mutexes when going to PAUSED.
- make sure that when all elements in a bin/thread go to PAUSED, the bin
is set to PAUSED too.
- make a parent bin wait for its children to PAUSE before ending the
iteration with FALSE (EOS)
- Some changes to GstPlay to deal with EOS.
- aplied the latest patch from Zeenix to gstrtp.

end result: GstPlay doesn't crash on EOS and the pipeline is now shut down
properly.
2001-12-04 22:12:50 +00:00
Steve Baker
a4e42f7b06 return a negative error code instead of exiting on parse error
Original commit message from CVS:
return a negative error code instead of exiting on parse error
2001-10-27 13:44:18 +00:00
Steve Baker
799b712338 this is a major update which adds a tree view of the pipeline and lets you set individual element args through a dyna...
Original commit message from CVS:
this is a major update which adds a tree view of the pipeline and lets you set individual element args through a dynamically generated gui.  If you haven't tried this tool yet then try it now. The next step will be to add gui generation for dynamic params as well. Please email feedback and bug reports to the list
2001-10-23 17:43:49 +00:00
Erik Walthinsen
469e99dc90 made glib2-friendly
Original commit message from CVS:
made glib2-friendly
2001-10-20 23:15:01 +00:00
Erik Walthinsen
d574ab8126 merge from EVENTS1 on 20011016
Original commit message from CVS:
merge from EVENTS1 on 20011016
2001-10-17 10:21:27 +00:00
Steve Baker
813d84543a new gui tool to launch pipelines in the same vein as gstreamer-launch. try it out, it rocks
Original commit message from CVS:
new gui tool to launch pipelines in the same vein as gstreamer-launch. try it out, it rocks
2001-09-22 12:22:23 +00:00
Andy Wingo
07d52eef34 I think I finally have this configdir thing under control. The defines on the make command lines were not following t...
Original commit message from CVS:
I think I finally have this configdir thing under control. The defines on the
make command lines were not following the GST_CONFIG_DIR variable.
2001-09-02 01:56:20 +00:00
Wim Taymans
12bbbd5c1e Lots of modifications to the plugin system.
Original commit message from CVS:
Lots of modifications to the plugin system.
- Added a GstPluginfeature object that serves as a base class for all
plugin contents.
- changed the plugin API, everyhting is now added with
gst_plugin_add_feature
- typefactories are named now so that they can be located easily and filled
in at plugin load.
- mime types like "video/raw image/raw" are gone for now.
- lots of plugin updates (style and API changes)
- tested with an without registry.
- updates to various tools.
- added a little testsuite to test/show how you can load plugins (4 modes)

Test this one, Almost everything has changed :-)
2001-08-21 20:16:48 +00:00
Wim Taymans
5e6a3722ac Fixes to various plugins.
Original commit message from CVS:
Fixes to various plugins.
Removed the eos/qos calls in favour of the soon to be event system.
Added a test app to test element reuse (doesn't work)
2001-08-10 17:40:34 +00:00
Steve Baker
34fd63e2bf compile fix for glib2
Original commit message from CVS:
compile fix for glib2
2001-07-27 16:35:27 +00:00
Wim Taymans
695c1a2960 Added signal output and object hierarchy output.
Original commit message from CVS:
Added signal output and object hierarchy output.
2001-07-25 21:40:42 +00:00
Christian Schaller
f867411c2e - Put README contents into man page and fixed the Groff enconding (or whatever it is called.)
Original commit message from CVS:
2001-23-07 Christian Schaller <Uraeus@linuxrising.org>
- Put README contents into man page and fixed the Groff enconding (or whatever it is called.)
2001-07-24 20:05:27 +00:00
Wim Taymans
3f1fe95677 Reverted to the old g_idle loop. too many problems with xvideosink and the GtkWindow when we don't have an idle loop..
Original commit message from CVS:
Reverted to the old g_idle loop. too many problems with xvideosink and
the GtkWindow when we don't have an idle loop..
2001-07-23 00:57:06 +00:00
Wim Taymans
44dc27ce21 Changed the main loop to while (iterate(bin))
Original commit message from CVS:
Changed the main loop to while (iterate(bin))
2001-07-15 14:24:27 +00:00
Wim Taymans
d9f96e3201 Print out the request pad function.
Original commit message from CVS:
Print out the request pad function.
2001-07-11 15:50:16 +00:00