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
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
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
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
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
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
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
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
a967370df5
gst-indent run on core
...
Original commit message from CVS:
gst-indent run on core
2004-03-13 15:27:01 +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
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
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
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
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
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
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
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
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
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
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
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
Christian Meyer
dabb6637bd
Fixed bug #108514 .
...
Original commit message from CVS:
Fixed bug #108514 .
2003-03-16 20:06:02 +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
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
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
840056aded
Fix g_print too
...
Original commit message from CVS:
Fix g_print too
2002-12-14 15:01:22 +00:00