Commit graph

5129 commits

Author SHA1 Message Date
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
Thomas Vander Stichele
3b9eb810d0 testsuite/threads/Makefile.am: ignore signal2 since while it's a genuine bug it manages not to die half the time
Original commit message from CVS:

* testsuite/threads/Makefile.am:
ignore signal2 since while it's a genuine bug it manages not to die
half the time
2005-03-25 13:02:19 +00:00
Ronald S. Bultje
5f354c5bd4 docs/manual/basics-bins.xml: Fix variable name mismatch (#170464).
Original commit message from CVS:
* docs/manual/basics-bins.xml:
Fix variable name mismatch (#170464).
2005-03-23 22:18:30 +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
Stefan Kost
b27ab8bfb5 added listing implemented interfaces to gst-inspect
Original commit message from CVS:
added listing implemented interfaces to gst-inspect
2005-03-23 16:50:54 +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
e1dc97fe44 tools/gst-launch.1.in: Document --tags.
Original commit message from CVS:
* tools/gst-launch.1.in:
Document --tags.
2005-03-11 20:15:53 +00:00
Ronald S. Bultje
bcb6f293ea tools/gst-compprep.1.in: Fix file location.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* tools/gst-compprep.1.in:
Fix file location.
* tools/gst-register.1.in:
Document two new options (#133494).
2005-03-11 20:14:34 +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
Ronald S. Bultje
4554864e65 Call gst-inspect-$VERSION instead of gst-inspect. Fixes #168659.
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* gst-element-check.m4:
* gst-element-check.m4.in:
Call gst-inspect-$VERSION instead of gst-inspect. Fixes #168659.
2005-03-10 18:12:40 +00:00
Ronald S. Bultje
09226e160e gst/elements/gstfdsrc.c: Fix cygwin compile error (#169732).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/elements/gstfdsrc.c:
Fix cygwin compile error (#169732).
2005-03-10 17:22:14 +00:00
Jan Schmidt
6da18bd898 gst/registries/gstlibxmlregistry.c: g_free allocated GstPlugins, since they're not GstObjects.
Original commit message from CVS:
* gst/registries/gstlibxmlregistry.c: (load_plugin), (load_paths):
g_free allocated GstPlugins, since they're not GstObjects.
2005-03-09 14:54:54 +00:00
Jan Schmidt
009d01a841 Add GST_EVENT_COMMON_FLAG_NEED_RESPONSE flag (TRUE by default) to indicate whether a reply is expected to an upstream...
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/gstevent.sgml:
* gst/gstevent.c: (gst_event_new):
* gst/gstevent.h:
Add GST_EVENT_COMMON_FLAG_NEED_RESPONSE flag (TRUE by default)
to indicate whether a reply is expected to an upstream event.

* gst/gstqueue.c: (gst_queue_finalize),
(gst_queue_handle_pending_events), (gst_queue_handle_src_event):
If GST_EVENT_COMMON_FLAG_NEED_RESPONSE is not set, just queue the
event without blocking on a reply.
2005-03-09 11:45:03 +00:00
Ronald S. Bultje
32c339c396 docs/gst/Makefile.am: Fix buildbot.
Original commit message from CVS:
* docs/gst/Makefile.am:
Fix buildbot.
2005-03-09 09:30:28 +00:00
Ronald S. Bultje
fd4b77abcb Fix wrong changelog message
Original commit message from CVS:
Fix wrong changelog message
2005-03-09 08:53:48 +00:00
Ronald S. Bultje
74f409b76f Fix libxml-less compilation (--disable-loadsave).
Original commit message from CVS:
* configure.ac:
* gst/gstconfig.h.in:
* gst/indexers/gstindexers.c: (plugin_init):
* gst/registries/gstxmlregistry.h:
Fix libxml-less compilation (--disable-loadsave).
2005-03-09 08:45:03 +00:00
Ronald S. Bultje
b27e849a5f gst/registries/: Implement libxml2-based registry (allows for roughly 2x as fast startup), mostly based on earlier co...
Original commit message from CVS:
* 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:
Implement libxml2-based registry (allows for roughly 2x as fast
startup), mostly based on earlier code from Benjamin Otte.
2005-03-09 08:41:42 +00:00
Jan Schmidt
733624210a gst/elements/gstfilesrc.c: If we checked the file size and it got bigger, don't
Original commit message from CVS:
* gst/elements/gstfilesrc.c: (gst_filesrc_get):
If we checked the file size and it got bigger, don't
EOS anyway.

* gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
Don't parse the GST_DEBUG env var list twice (once in the
init_pre and then again in the init_check).
Add GST_DEBUGNOCOLOR env variable.

* gst/gstclock.c: (gst_clock_id_wait), (gst_clock_set_speed),
(gst_clock_get_speed), (gst_clock_set_active),
(gst_clock_is_active), (gst_clock_reset),
(gst_clock_get_event_time_delay):
Make all clock debug in the GST_CAT_CLOCK category.
Add a little extra detail.

* gst/gstelement.c: (gst_element_wait):
Remove extra ' ' in a debug format string.

* gst/gstpad.c: (gst_pad_set_explicit_caps), (gst_pad_pull):
Better debug message when setting explicit caps on an unlinked pad.
Return INTERRUPT event if the peer is unlinked when restarting
during a pad_pull.
2005-03-03 18:39:49 +00:00
Ronald S. Bultje
02cb914495 gst/gstqueue.c: Fix double unlock (#169073).
Original commit message from CVS:
* gst/gstqueue.c: (gst_queue_chain):
Fix double unlock (#169073).
2005-03-03 09:56:26 +00:00
Thomas Vander Stichele
d859108ac1 remove newline
Original commit message from CVS:
remove newline
2005-03-02 12:56:41 +00:00
Ronald S. Bultje
cea7e759d2 gst/gstqueue.c: Don't drop buffers on interrupt. Rather, ignore fulness status and preserve stream (#159676).
Original commit message from CVS:
* gst/gstqueue.c: (gst_queue_locked_flush), (gst_queue_chain),
(gst_queue_get), (gst_queue_handle_src_event):
Don't drop buffers on interrupt. Rather, ignore fulness status
and preserve stream (#159676).
(gst_queue_handle_src_query):
Don't go below zero.
2005-03-01 16:29:01 +00:00
Ronald S. Bultje
84f4a18302 Fix Maciejs latest changelog entry
Original commit message from CVS:
Fix Maciejs latest changelog entry
2005-02-28 17:47:58 +00:00
Maciej Katafiasz
68f959b492 Trivial build fix (-lm). Fixes #168645.
Original commit message from CVS:
Trivial build fix (-lm). Fixes #168645.
2005-02-27 15:53:55 +00:00
Thomas Vander Stichele
24b2a1508c doc fix
Original commit message from CVS:
doc fix
2005-02-25 11:19:40 +00:00
Thomas Vander Stichele
c44f710520 fixes for compiling without debug
Original commit message from CVS:
fixes for compiling without debug
2005-02-25 10:31:23 +00:00
Ronald S. Bultje
82f2011756 tools/gst-register.c: Use ngettext for plurals (#167701).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* tools/gst-register.c: (plugin_added_func), (main):
Use ngettext for plurals (#167701).
2005-02-25 08:32:15 +00:00
Thomas Vander Stichele
99d26b49c2 first commit in the branch to test
Original commit message from CVS:
first commit in the branch to test
2005-02-22 16:23:52 +00:00
Thomas Vander Stichele
70521179a7 try bot
Original commit message from CVS:
try bot
2005-02-22 15:51:15 +00:00
Stefan Kost
43a01f1a67 more docs for the state of dparams
Original commit message from CVS:
more docs for the state of dparams
2005-02-22 13:44:28 +00:00
Thomas Vander Stichele
8a8871ee2d remove whitespace
Original commit message from CVS:
remove whitespace
2005-02-21 19:08:45 +00:00
Thomas Vander Stichele
80c0cd833c update
Original commit message from CVS:
update
2005-02-20 09:10:26 +00:00
Benjamin Otte
232f295af3 gst/: name objects by default, not in gst_element_factory_create. Allows using elements created with g_object_new. (f...
Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_factory_create):
* gst/gstobject.c: (gst_object_init),
(gst_object_set_name_default), (gst_object_set_name):
name objects by default, not in gst_element_factory_create. Allows
using elements created with g_object_new. (fixes #167283)
2005-02-19 13:02:45 +00:00
Benjamin Otte
70fd76df4f gst/gstinfo.c: make the time that debugging functions print relative to when gst_init was called
Original commit message from CVS:
* gst/gstinfo.c: (_gst_debug_init), (gst_debug_log_default):
make the time that debugging functions print relative to when
gst_init was called
2005-02-19 12:59:45 +00:00
Tim-Philipp Müller
a255e65538 Fix inline docs: tag setter vararg functions are NULL-termianted, GST_TAG_INVALID doesn't exist any more
Original commit message from CVS:
Fix inline docs: tag setter vararg functions are NULL-termianted, GST_TAG_INVALID doesn't exist any more
2005-02-18 20:30:21 +00:00
Zaheer Abbas Merali
92d9553943 libs/gst/dataprotocol/dataprotocol.c: Allocate the 1 byte more memory that was forgotten!!!!!
Original commit message from CVS:
2005-02-18  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_dump_byte_array):
Allocate the 1 byte more memory that was forgotten!!!!!
2005-02-18 13:58:36 +00:00
Stefan Kost
f38a2c4ea7 added some thoughts about scheduler doing a little profiling on elements
Original commit message from CVS:
added some thoughts about scheduler doing a little profiling on elements
2005-02-16 17:19:06 +00:00
Stefan Kost
25b9d5e292 fixed a few typos, relabeled introductionary list of types more notes abut dparam changes many comments and notes on ...
Original commit message from CVS:
fixed a few typos, relabeled introductionary list of types
more notes abut dparam changes
many comments and notes on dparam implementation
new dparams are were not initialized to the default value
from param specs
2005-02-15 14:49:47 +00:00
Thomas Vander Stichele
6029af0e83 adding russian translation
Original commit message from CVS:
adding russian translation
2005-02-14 10:12:32 +00:00
Wim Taymans
8a5a422327 file clock4.c was initially added on branch BRANCH-THREADED.
Original commit message from CVS:
file clock4.c was initially added on branch BRANCH-THREADED.
2005-02-11 15:50:53 +00:00
Thomas Vander Stichele
7d4458ada9 fix for #147782 - get POPT flags in gtk-doc build
Original commit message from CVS:
fix for #147782 - get POPT flags in gtk-doc build
2005-02-11 10:00:15 +00:00