Commit graph

2467 commits

Author SHA1 Message Date
Jan Schmidt
e0a051709f Add filler event handling to the queue
Original commit message from CVS:
Add filler event handling to the queue
2005-06-13 11:09:08 +00:00
David Schleef
96f85a23ed gst/gsttrashstack.h: Fix asm to build on Solaris (#170809)
Original commit message from CVS:
* gst/gsttrashstack.h: Fix asm to build on Solaris (#170809)
2005-06-09 19:54:05 +00:00
Ronald S. Bultje
5a6d945ade gst/schedulers/entryscheduler.c: Remove translateable strings (shouldn't be user-visible).
Original commit message from CVS:
* gst/schedulers/entryscheduler.c:
(gst_entry_scheduler_loop_wrapper),
(gst_entry_scheduler_chain_wrapper),
(gst_entry_scheduler_get_wrapper):
Remove translateable strings (shouldn't be user-visible).
2005-06-09 17:15:45 +00:00
Thomas Vander Stichele
e5b6ab5ce8 whitespace fixing
Original commit message from CVS:
whitespace fixing
2005-06-05 09:29:29 +00:00
Ronald S. Bultje
69202dfe80 gst/gstevent.c: Set invalid timestamp by default instead of zero on events.
Original commit message from CVS:
* gst/gstevent.c: (gst_event_new):
Set invalid timestamp by default instead of zero on events.
* gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
Clear interrupt state after handling.
2005-06-05 09:07:32 +00:00
Ronald S. Bultje
6dc13c13e1 gst/gstvalue.c: Limit check for whether a list contains a value already to a normal list only (since this is allowed ...
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_list_append_value):
Limit check for whether a list contains a value already to
a normal list only (since this is allowed for a fixed-list).
Should fix testsuite.
2005-06-03 09:48:35 +00:00
Ronald S. Bultje
777061b2e9 gst/gstatomic_impl.h: Add IA64 atomic operations (#305653).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/gstatomic_impl.h:
Add IA64 atomic operations (#305653).
2005-06-03 09:36:40 +00:00
Ronald S. Bultje
9c7828cb9e gst/elements/gstfilesrc.c: see #305653.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/elements/gstfilesrc.c: (gst_filesrc_map_region):
Formatting fix (long/longlong), see #305653.
2005-06-03 09:29:31 +00:00
Benjamin Otte
7381ded8a5 gst/gstvalue.c: print a g_warning when someone ties to add the same value (as per gst_value_compare) to a list twice.
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_list_append_value):
print a g_warning when someone ties to add the same value (as per
gst_value_compare) to a list twice.
2005-06-01 12:29:48 +00:00
David Schleef
dda4ae6621 configure.ac: Set G_LOG_DOMAIN in config.h to a string literal.
Original commit message from CVS:
* configure.ac: Set G_LOG_DOMAIN in config.h to a string literal.
We should have done this all along.  Fixes #301646
* gst/Makefile.am:
* gst/gst.c: (init_post):
* gst/gst_private.h:
* gst/parse/grammar.y:
2005-05-14 23:55:20 +00:00
Thomas Vander Stichele
282e19c277 gst/gstplugin.c: Fixes plugin registering on Mac OSX. Fixes #172526
Original commit message from CVS:
Patch by:  jonathan at kaolin.hn.org

* gst/gstplugin.c: (gst_plugin_check_module),
(gst_plugin_check_file), (gst_plugin_load_file):
Fixes plugin registering on Mac OSX.  Fixes #172526
2005-05-03 12:02:39 +00:00
Thomas Vander Stichele
d1cee163b1 gst/gstregistry.h: win32/mingw obviously did not work
Original commit message from CVS:

* gst/gstregistry.h:
win32/mingw obviously did not work
* gst/gsttag.h:
remove some whitespace
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_dump_byte_array):
put back a fix that accidentally got reverted in a backport
2005-05-02 16:39:01 +00:00
Thomas Vander Stichele
61eb076286 gst/gsttrace.*: tsc's are guint64's.
Original commit message from CVS:

* gst/gsttrace.c: (read_tsc), (gst_trace_read_tsc):
* gst/gsttrace.h:
tsc's are guint64's.
* tests/seeking/seeking1.c: (main):
so use them that way.
2005-05-02 15:57:25 +00:00
Thomas Vander Stichele
3eefb22fdd do not use GST_PTR_FORMAT on pointers to types smaller than gpointer. fixes 64 bit testsuite
Original commit message from CVS:
do not use GST_PTR_FORMAT on pointers to types smaller than gpointer.  fixes 64 bit testsuite
2005-05-02 15:01:25 +00:00
Thomas Vander Stichele
9f7946831f possible fixes for automake-1.5
Original commit message from CVS:
possible fixes for automake-1.5
2005-05-02 11:26:26 +00:00
Benjamin Otte
2457c84338 gst/elements/gstfakesink.c: don't error when we are in error already the correct fix would be to not allow erroring i...
Original commit message from CVS:
* gst/elements/gstfakesink.c: (gst_fakesink_change_state):
don't error when we are in error already
the correct fix would be to not allow erroring in downwards
state changes, but I guess the API police would hunt me down if I
did that
2005-05-01 16:20:42 +00:00
Wim Taymans
3670c2f9dc gst/gsttrashstack.h: Ooohh. a nasty one! After having a failed pop() from the stack, it's possible that the stack is ...
Original commit message from CVS:
* gst/gsttrashstack.h:
Ooohh. a nasty one! After having a failed pop() from the stack,
it's possible that the stack is empty. In that case, don't
follow the NULL pointer.
2005-04-26 18:11:21 +00:00
Benjamin Otte
26d06184a3 gst/: make the name property a construct property, so objects always have a proper name.
Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_factory_create):
* gst/gstobject.c: (gst_object_class_init):
make the name property a construct property, so objects always have
a proper name.
* gst/gstobject.c: (gst_object_set_name_default),
(gst_object_set_name):
fix potential doublefree when resetting a name to its default value
2005-04-26 02:01:52 +00:00
Ronald S. Bultje
418ac69651 gst/gstpad.c: Fix gst_pad_relink_filtered(), which is #300339.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_link_prepare):
Fix gst_pad_relink_filtered(), which is #300339.
2005-04-23 16:31:39 +00:00
Benjamin Otte
3bef22d727 gst/gst.c: declare gst initialized before eventually rebuilding the registry.
Original commit message from CVS:
* gst/gst.c: (gst_init_check_with_popt_table), (init_post),
(init_popt_callback):
declare gst initialized before eventually rebuilding the registry.
Fixes issues with plugins calling gst_init
* gst/gstelementfactory.c: (gst_element_factory_cleanup),
(gst_element_register), (gst_element_factory_unload_thyself):
warn and fail properly when element details aren't initialized. Also
unref the class when we don't need it anymore instead of never/only
on failure
2005-04-22 23:53:32 +00:00
Ronald S. Bultje
20e6e96160 gst/gstelement.c: Allow unlinking ghostpads using gst_element_unlink(), which fixes #301331.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/gstelement.c: (gst_element_unlink):
Allow unlinking ghostpads using gst_element_unlink(), which
fixes #301331.
2005-04-22 15:08:02 +00:00
Ronald S. Bultje
970c2f3ff6 gst/elements/gsttypefindelement.c: Don't cache seek events (fixes #301313).
Original commit message from CVS:
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event):
Don't cache seek events (fixes #301313).
2005-04-22 15:03:50 +00:00
Ronald S. Bultje
d6386e096a More GCC4 warning fixes. Basically all libxml-guchar* to sane-gchar* casts (and reverse).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* examples/typefind/typefind.c: (type_found):
* examples/xml/createxml.c: (object_saved):
* examples/xml/runxml.c: (xml_loaded), (main):
* gst/elements/gstaggregator.c: (gst_aggregator_loop),
(gst_aggregator_chain):
* gst/elements/gstmd5sink.c: (gst_md5sink_get_property):
* gst/elements/gsttypefindelement.c: (find_element_get_length),
(gst_type_find_element_handle_event):
* gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
* 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/schedulers/gstoptimalscheduler.c:
(group_inc_links_for_element):
* 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):
More GCC4 warning fixes. Basically all libxml-guchar* to
sane-gchar* casts (and reverse).
2005-04-22 12:30:01 +00:00
Ronald S. Bultje
976b3b565d gst/gstpad.c: Silly typo.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_event_default):
Silly typo.
2005-04-22 10:36:18 +00:00
Ronald S. Bultje
e97710f04a gst/gstpad.c: Fix one more signed/unsigned issue.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_event_default):
Fix one more signed/unsigned issue.
2005-04-22 10:13:22 +00:00
Ronald S. Bultje
3c8e11f0a3 gst/: Add works-in-place flag, use for _pad_alloc().
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/gstelement.h:
* gst/gstpad.c: (gst_pad_alloc_buffer):
Add works-in-place flag, use for _pad_alloc().
* gst/elements/gstidentity.c: (gst_identity_init):
* gst/gstqueue.c: (gst_queue_init):
Use works-in-place flag (#300932).
2005-04-22 10:01:39 +00:00
Ronald S. Bultje
fc3f486636 Unsigned/signed case, missing void in no-argument functions and other small fixes to compile 100% clean on GCC4 (#301...
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/autoplug/spidertest.c: (property_change_callback):
* 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_save_thyself),
(gst_element_restore_thyself):
* gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
(gst_ghost_pad_save_thyself):
* gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
(read_enum), (load_pad_template), (load_feature), (load_plugin),
(load_paths):
* libs/gst/control/dparammanager.c: (_gst_dpman_initialize):
* libs/gst/control/unitconvert.c: (gst_unitconv_new),
(gst_unitconv_unit_spec):
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_buffer_from_header), (gst_dp_caps_from_packet),
(gst_dp_event_from_packet):
Unsigned/signed case, missing void in no-argument functions
and other small fixes to compile 100% clean on GCC4 (#301166).
2005-04-22 09:34:31 +00:00
Tim-Philipp Müller
01e9e90d8d gst/elements/gstelements.c: Give filesrc GST_RANK_PRIMARY, so that file:// URIs get handled by filesrc instead of gno...
Original commit message from CVS:
* gst/elements/gstelements.c:
Give filesrc GST_RANK_PRIMARY, so that file:// URIs
get handled by filesrc instead of gnomevfssrc.
2005-04-21 17:43:49 +00:00
Stefan Kost
2aa179d5ec new iface to uniformly access elements children and their properties
Original commit message from CVS:
new iface to uniformly access elements children and their properties
2005-04-21 17:10:09 +00:00
Ronald S. Bultje
30f318eb3e gst/elements/gsttypefindelement.c: Allow event caching while typefinding so we don't lose events.
Original commit message from CVS:
* gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
(push_buffer_store), (gst_type_find_element_handle_event),
(gst_type_find_element_change_state):
Allow event caching while typefinding so we don't lose events.
* gst/elements/gsttypefindelement.h:
Allow event caching while typefinding so we don't lose events.
* gst/gsttag.c: (_gst_tag_initialize):
* gst/gsttag.h:
Add language-code tag.
* gst/registries/gstlibxmlregistry.c: (load_pad_template),
(load_feature), (load_paths):
Fix memleaks (#300736), based on patch from Kjartan Maraas
<kmaraas@gnome.org>.
2005-04-17 20:43:55 +00:00
Thomas Vander Stichele
022058d29e some trademark protection
Original commit message from CVS:
some trademark protection
2005-04-16 08:31:50 +00:00
Ronald S. Bultje
418c32e600 gst/registries/gstlibxmlregistry.c: Fix memleak.
Original commit message from CVS:
* gst/registries/gstlibxmlregistry.c: (load_paths):
Fix memleak.
2005-04-13 20:54:07 +00:00
Ronald S. Bultje
409eda442d gst/gstparent.*: Fix build.
Original commit message from CVS:
* gst/gstparent.c:
* gst/gstparent.h:
Fix build.
2005-04-09 16:12:05 +00:00
Stefan Kost
2691c48b31 removed the new interface again, please comment on http://bugzilla.gnome.org/show_bug.cgi?id=171735
Original commit message from CVS:
removed the new interface again, please comment on
http://bugzilla.gnome.org/show_bug.cgi?id=171735
2005-04-08 12:11:35 +00:00
Stefan Kost
f0d47db2e0 a new interface for managing elements with multiple children
Original commit message from CVS:
a new interface for managing elements with multiple children
2005-04-08 11:34:14 +00:00
Ronald S. Bultje
52f501457d gst/gstelement.c: Always set event source.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_found_tags_for_pad):
Always set event source.
2005-03-30 10:55:35 +00:00
Ronald S. Bultje
2a7b791b32 gst/elements/gstfdsrc.*: Fix hang on state-change with blocking input (#149791).
Original commit message from CVS:
* gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
(gst_fdsrc_change_state), (gst_fdsrc_release_locks),
(gst_fdsrc_get):
* gst/elements/gstfdsrc.h:
Fix hang on state-change with blocking input (#149791).
2005-03-26 15:24:31 +00:00
David Schleef
c1ce267dd1 gst/gstcpu.c: Add a temporary
Original commit message from CVS:
* gst/gstcpu.c: (illegal_instruction_handler),
(cpu_fault_check_enable), (cpu_fault_check_try),
(cpu_fault_check_disable), (gst_cpuid_i386), (test_cpuid),
(gst_cpuid_test), (_gst_cpu_initialize_i386): Add a temporary
SIGILL handler to check for the existence of cpuid before
using it.  (fixes #166696)
2005-03-26 00:13:34 +00:00
Ronald S. Bultje
41b7a94969 gst/: Remove caps as a string (fixes #137485).
Original commit message from CVS:
* gst/elements/gsttypefindelement.c:
* gst/gsterror.c: (_gst_core_errors_init):
* gst/gsterror.h:
* gst/parse/grammar.y:
Remove caps as a string (fixes #137485).
2005-03-25 19:52:11 +00:00
Ronald S. Bultje
ccd1b69b71 gst/elements/gstfilesrc.c: Fix broken handling of mmapsize property. Remove useless g_object_notify(). Fixes #171400.
Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/elements/gstfilesrc.c: (gst_filesrc_set_property):
Fix broken handling of mmapsize property. Remove useless
g_object_notify(). Fixes #171400.
2005-03-23 22:12:58 +00:00
Tim-Philipp Müller
62cf7cc54d Handle escaped spaces in structure string, so that gst_parse_launch() can deal with spaces in filtered link caps (fix...
Original commit message from CVS:
Handle escaped spaces in structure string, so that gst_parse_launch() can deal with spaces in filtered link caps (fixes #164479)
2005-03-21 15:43:41 +00:00
Benjamin Otte
f7af07c1b8 gst/gstbuffer.h: deprecate gst_buffer_set_data macro because a) it's a macro and b) glib-style set functions don't ta...
Original commit message from CVS:
* gst/gstbuffer.h:
deprecate gst_buffer_set_data macro because a) it's a macro and b)
glib-style set functions don't take ownership of supplied values
2005-03-20 20:20:52 +00:00
Ronald S. Bultje
d985215629 gst/elements/gstfdsrc.*: Let's implement the URI interface.
Original commit message from CVS:
* gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
(gst_fdsrc_dispose), (gst_fdsrc_init), (gst_fdsrc_set_property),
(gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
(gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
(gst_fdsrc_uri_handler_init):
* gst/elements/gstfdsrc.h:
Let's implement the URI interface.
2005-03-14 19:14:05 +00:00
Ronald S. Bultje
f0423be7c0 gst/gsterror.c: Fix descriptions (#164479).
Original commit message from CVS:
* gst/gsterror.c: (_gst_library_errors_init):
Fix descriptions (#164479).
2005-03-12 23:25:00 +00:00
Ronald S. Bultje
f827754418 gst/elements/gsttypefindelement.c: Fix memleak (#170067).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event):
Fix memleak (#170067).
2005-03-12 22:49:51 +00:00
Ronald S. Bultje
7b6bc1b774 gst/gstevent.c: Register type in _get_type(), as we do for all types. Fixes some issues for bindings (#169405).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type):
Register type in _get_type(), as we do for all types. Fixes
some issues for bindings (#169405).
2005-03-12 22:38:35 +00:00
Ronald S. Bultje
f478e2c0c4 gst/gstindex.c: Oops, this is a gobject, not a gstobject.
Original commit message from CVS:
* gst/gstindex.c: (gst_index_factory_new):
Oops, this is a gobject, not a gstobject.
2005-03-12 20:07:28 +00:00
Ronald S. Bultje
ae77261146 Fix documentation.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/gstindex.sgml:
* gst/gstindex.c:
Fix documentation.
2005-03-11 23:42:11 +00:00
Ronald S. Bultje
d25234af09 gst/gstindex.c: Fix memory leaks and refcount issues (#168493).
Original commit message from CVS:
* gst/gstindex.c: (gst_index_factory_new):
Fix memory leaks and refcount issues (#168493).
2005-03-11 21:01:17 +00:00
Ronald S. Bultje
1276d61329 gst/gstindex.h: Add already-existing function to header (#168703).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/gstindex.h:
Add already-existing function to header (#168703).
2005-03-11 19:49:00 +00:00