Commit graph

1000 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Tim-Philipp Müller
b9ef46fdd7 Fix typo in FAQ (artssink => artsdsink)
Original commit message from CVS:
Fix typo in FAQ (artssink => artsdsink)
2005-02-09 16:59:35 +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
Tim-Philipp Müller
757e3a96f3 Add -v argument to fakesrc/fakesink gst-launch line, so that the promised output will actually show up
Original commit message from CVS:
Add -v argument to fakesrc/fakesink gst-launch line, so that the promised output will actually show up
2005-02-08 16:42:21 +00:00
Ronald S. Bultje
6a56e3080d gst/gstthread.c: Implement state-change error handling (#166073).
Original commit message from CVS:
* gst/gstthread.c: (gst_thread_change_state):
Implement state-change error handling (#166073).
2005-02-08 14:04:31 +00:00
Ronald S. Bultje
eb3c38de8c gst/gstqueue.c: Release interrupt after handling (#166250).
Original commit message from CVS:
* gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
Release interrupt after handling (#166250).
2005-02-08 13:50:44 +00:00
Thomas Vander Stichele
57ef7f5127 back to head
Original commit message from CVS:
back to head
2005-02-08 11:53:47 +00:00
Thomas Vander Stichele
f9eaa7d8a3 releasing
Original commit message from CVS:
releasing
2005-02-08 11:40:56 +00:00
Thomas Vander Stichele
e21612cdf6 added vietnamese translation
Original commit message from CVS:
added vietnamese translation
2005-02-08 10:15:57 +00:00
Thomas Vander Stichele
0080630b1a unref data when probe function returns FALSE. Fixes #166362
Original commit message from CVS:
unref data when probe function returns FALSE.  Fixes #166362
2005-02-07 15:39:40 +00:00
Ronald S. Bultje
01a7744a76 gst/gst.c: Fix typo (#166269).
Original commit message from CVS:
* gst/gst.c: (gst_init_get_popt_table):
Fix typo (#166269).
2005-02-05 23:10:05 +00:00
Andy Wingo
b99693171e gst/gstelement.c (gst_element_get_compatible_pad_template): Fix the debugging on whether the caps are compatible.
Original commit message from CVS:
2005-02-04  Andy Wingo  <wingo@pobox.com>

* gst/gstelement.c (gst_element_get_compatible_pad_template): Fix
the debugging on whether the caps are compatible.
2005-02-04 15:36:37 +00:00
Ronald S. Bultje
e050b8fd72 docs/manual/basics-elements.xml: Fix two typos.
Original commit message from CVS:
* docs/manual/basics-elements.xml:
Fix two typos.
2005-02-03 19:51:35 +00:00
Wim Taymans
186d11b516 gst/schedulers/gstoptimalscheduler.c: Remove some FIXMEs after analysing and commenting why they are not issues.
Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (remove_decoupled),
(schedule_chain), (get_invalid_call), (chain_invalid_call),
(loop_group_schedule_function), (gst_opt_scheduler_iterate):
Remove some FIXMEs after analysing and commenting why they
are not issues.
2005-02-02 16:15:18 +00:00
Wim Taymans
f8114cc178 gst/schedulers/gstoptimalscheduler.c: Added lock to protect scheduler data structures.
Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c:
(gst_opt_scheduler_class_init), (gst_opt_scheduler_init),
(gst_opt_scheduler_finalize), (remove_decoupled), (schedule_chain),
(get_invalid_call), (chain_invalid_call),
(get_group_schedule_function), (loop_group_schedule_function),
(gst_opt_scheduler_loop_wrapper), (gst_opt_scheduler_get_wrapper),
(gst_opt_scheduler_state_transition),
(gst_opt_scheduler_add_element),
(gst_opt_scheduler_remove_element), (gst_opt_scheduler_interrupt),
(gst_opt_scheduler_error), (gst_opt_scheduler_pad_link),
(gst_opt_scheduler_pad_unlink), (gst_opt_scheduler_iterate),
(gst_opt_scheduler_show):
Added lock to protect scheduler data structures.
2005-02-02 15:31:06 +00:00