Commit graph

2493 commits

Author SHA1 Message Date
Ronald S. Bultje
2e63fa4f1d gst/elements/gstfdsrc.c: Implement querying.
Original commit message from CVS:
* gst/elements/gstfdsrc.c: (gst_fdsrc_init),
(gst_fdsrc_get_query_types), (gst_fdsrc_get_formats),
(gst_fdsrc_srcpad_query):
Implement querying.
* gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
If we're waiting to be "full enough to start" and EOS comes in,
just flow through all data since waiting longer is not going to
help us. Fixes hangs on short media files played from network
sources.
* gst/gsttag.c: (_gst_tag_initialize):
* gst/gsttag.h:
Add GST_TAG_IMAGE tag.
2006-01-29 22:55:55 +00:00
Tim-Philipp Müller
590e58dc29 gst/: Don't use G_GNUC_CONST for _get_type() functions (see #324530 and http://wingolog.org/archives/2005/03/24/98 fo...
Original commit message from CVS:
* gst/gstcaps.h:
* gst/gstdata.h:
* gst/gstprobe.h:
* gst/gststructure.h:
* gst/gsttaginterface.h:
Don't use G_GNUC_CONST for _get_type() functions (see #324530
and http://wingolog.org/archives/2005/03/24/98 for why); yes, we
aim to please even unreleased and mind-boggingly cranky compilers.
2006-01-04 00:10:43 +00:00
Tim-Philipp Müller
51b8766072 gst/: Do not silently discard return values of g_list_delete_link() and g_list_append(). This would trigger gcc4 warn...
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/autoplug/gstspider.c: (gst_spider_identity_unplug),
(gst_spider_create_and_plug):
* gst/elements/gstbufferstore.c: (gst_buffer_store_add_buffer_func):
Do not silently discard return values of g_list_delete_link()
and g_list_append(). This would trigger gcc4 warnings that
are treated as errors in CVS builds (fixes: #324260). Also
ifdef out unused function while we are at it.
2005-12-16 16:11:12 +00:00
Tim-Philipp Müller
66ce301647 gst/gstinfo.c: Add mutex to serialise access to the hash table with the function pointer => function name string mapp...
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/gstinfo.c: (_gst_debug_nameof_funcptr),
(_gst_debug_register_funcptr):
Add mutex to serialise access to the hash table with
the function pointer => function name string mapping;
make that hash table static scope (#316809).
2005-09-21 21:36:00 +00:00
Julien Moutte
aeeab59962 gst/gstregistry.c: duplicate plugin should never be freed as this the original one we are receiving here.
Original commit message from CVS:
2005-09-13  Julien MOUTTE  <julien@moutte.net>

* gst/gstregistry.c: (gst_registry_add_plugin): duplicate plugin
should never be freed as this the original one we are receiving
here.
2005-09-13 13:38:54 +00:00
Steve Lhomme
6edf71e0c8 gst/elements/gstfilesrc.c: (gst_filesrc_get_read)
Original commit message from CVS:
* gst/elements/gstfilesrc.c: (gst_filesrc_get_read)
* gst/elements/gstfilesrc.h:
fix the pb of seeking when mmap is not used
2005-09-12 15:37:50 +00:00
Steve Lhomme
b7a5261a13 damn me !
Original commit message from CVS:
damn me !
2005-09-09 14:51:10 +00:00
Steve Lhomme
4978042e73 replace g_alloca by g_malloc/g_free
Original commit message from CVS:
replace g_alloca by g_malloc/g_free
2005-09-09 14:48:00 +00:00
Thomas Vander Stichele
58c978935a remove cvs operated files
Original commit message from CVS:
remove cvs operated files
2005-09-09 09:53:44 +00:00
Steve Lhomme
856d058b2f gst/elements/gstpipefilter.c try to include config.h first
Original commit message from CVS:
* gst/elements/gstpipefilter.c
try to include config.h first
2005-09-08 12:43:20 +00:00
Steve Lhomme
6520cc20be gst\elements\gstfdsink.c gst\elements\gstfdsrc.c gst\elements\gstfilesrc.c gst\elements\gstpipefilter.c gst\elements\...
Original commit message from CVS:
* gst\elements\gstfdsink.c
* gst\elements\gstfdsrc.c
* gst\elements\gstfilesrc.c
* gst\elements\gstpipefilter.c
* gst\elements\gstpipefilter.h
* gst\gstinfo.h
* win32\config.h
* win32\gstenumtypes.c
* win32\gstenumtypes.h
compilation fixes for MSVC
2005-09-08 12:07:13 +00:00
Jan Schmidt
c17a476bc8 gst/: Always call g_module_close on error so the symbols don't hang around.
Original commit message from CVS:

* gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file),
(gst_plugin_free):
* gst/gstplugin.h:
* gst/gstregistry.c: (gst_registry_add_plugin):
Always call g_module_close on error so the symbols don't hang
around.
Plug a leak or two, I think.
2005-09-07 14:56:17 +00:00
Stefan Kost
14a1597707 Fixed long standing mem-leak
Original commit message from CVS:
* docs/gst/tmpl/gstplugin.sgml:
* gst/gstelement.c: (gst_element_class_init),
(gst_element_link_pads_filtered), (gst_element_save_thyself):
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_element_properties_info):
* tools/gst-xmlinspect.c: (print_element_properties):
Fixed long standing mem-leak
2005-08-24 13:06:12 +00:00
Tim-Philipp Müller
7c118a9508 gst/gst.c: Check whether GST_DEBUG_NO_COLOR environment variable is set and disable coloured debug output if so.
Original commit message from CVS:
* gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
Check whether GST_DEBUG_NO_COLOR environment variable is
set and disable coloured debug output if so.
2005-08-10 21:30:17 +00:00
Thomas Vander Stichele
47afb092c9 fix up docs
Original commit message from CVS:
fix up docs
2005-08-03 11:06:33 +00:00
Tim-Philipp Müller
7144588926 gst/gstelement.c: Improve inline API docs for gst_element_remove_pad().
Original commit message from CVS:
* gst/gstelement.c:
Improve inline API docs for gst_element_remove_pad().
2005-07-02 12:34:01 +00:00
Ronald S. Bultje
32f7bcf48a gst/schedulers/gstoptimalscheduler.c: Need to ref/unref explicitely here to not crash when playing DVD menus.
Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c:
(gst_opt_scheduler_get_wrapper):
Need to ref/unref explicitely here to not crash when playing DVD
menus.
2005-07-01 16:36:31 +00:00
Ronald S. Bultje
dce817b1fe gst/gsttaginterface.c: Some documentation fixes (#307394 and #307397).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/gsttaginterface.c:
Some documentation fixes (#307394 and #307397).
2005-06-30 10:59:14 +00:00
Ronald S. Bultje
048dfd51ed gst/gstvalue.c: Fix memleak (#309125).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/gstvalue.c: (gst_value_intersect_list):
Fix memleak (#309125).
2005-06-30 10:11:17 +00:00
Ronald S. Bultje
8b56fbac5f Documentation patch indicating that factory information may be overridden after a plugin is loaded (#308766).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* docs/manual/advanced-autoplugging.xml:
* gst/gstelementfactory.c:
Documentation patch indicating that factory information may
be overridden after a plugin is loaded (#308766).
2005-06-23 13:29:27 +00:00
Thomas Vander Stichele
8b0fc062fb gst/: fix deserialization to have similar semantics to cast's, and check if the value is fittable into the target siz...
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_from_string_inplace):
* gst/gststructure.c:
* gst/gstvalue.c: (gst_value_deserialize_int_helper):
fix deserialization to have similar semantics to cast's,
and check if the value is fittable into the target size,
instead of doing a G_MIN/G_MAX comparison
* testsuite/caps/Makefile.am:
* testsuite/caps/caps.h:
add caps that specify rgb bit masks using 0xFF...
2005-06-22 19:47:19 +00:00
Thomas Vander Stichele
ad5dda4de5 gst/gstvalue.c: fix for #308599 - fixes deserializing gint64 types
Original commit message from CVS:
* gst/gstvalue.c:
fix for #308599 - fixes deserializing gint64 types
* gst/parse/grammar.y:
add a log line to show what type we deserialize to
2005-06-22 10:54:32 +00:00
Tim-Philipp Müller
86ae3a8c77 gst/: Fix two typos in the inline documentation.
Original commit message from CVS:
* gst/gstformat.c:
* gst/gstquery.c:
Fix two typos in the inline documentation.
* gst/gsttag.c: (gst_tag_register):
Don't spew out an assertion warning if a tag is
already registered, unless the new type differs
from the old one (fixes #308438).
2005-06-21 08:40:48 +00:00
Luca Ognibene
802f77d9ad gst/registries/gstlibxmlregistry.c (gst_xml_registry_get_property): Fix memory leak. g_value_set_string already does ...
Original commit message from CVS:
* gst/registries/gstlibxmlregistry.c (gst_xml_registry_get_property):
Fix memory leak. g_value_set_string already does g_strdup.
2005-06-19 10:55:42 +00:00
Tim-Philipp Müller
9df6134df1 gst/gsturi.c: The show must go on, even if the element did not accept the uri. Fixes endless loop as witnessed in #30...
Original commit message from CVS:
* gst/gsturi.c: (gst_element_make_from_uri):
The show must go on, even if the element did not accept
the uri. Fixes endless loop as witnessed in #307804.
* tools/gst-launch.1.in:
Update mp3->ogg transcoding pipeline in examples section
to use rawvorbisenc and oggmux.
2005-06-16 14:56:33 +00:00
Stefan Kost
f387290dea add more debug statements for element linking better docs for unlink() make category column as wide as our widest kno...
Original commit message from CVS:
add more debug statements for element linking
better docs for unlink()
make category column as wide as our widest known (internal) category
fix typo in comment
2005-06-16 08:09:43 +00:00
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