platform/upstream/gstreamer.git
16 years agogst/gstpad.c: Really unlink the peer pad instead of setting the peer pointer to NULL...
Wim Taymans [Fri, 21 Dec 2007 13:54:07 +0000 (13:54 +0000)]
gst/gstpad.c: Really unlink the peer pad instead of setting the peer pointer to NULL when we dispose the pad.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_dispose):
Really unlink the peer pad instead of setting the peer pointer to NULL
when we dispose the pad.
This correctly calls the unlink functions and makes sure that the peer
does not have a handle to invalid memory. See #504671.
* tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
Add testsuite for above case.

16 years agolibs/gst/check/gstcheck.h: Fix detection of the check version we're compiling against...
Peter Kjellerstedt [Thu, 20 Dec 2007 09:20:27 +0000 (09:20 +0000)]
libs/gst/check/gstcheck.h: Fix detection of the check version we're compiling against (would otherwise break if check...

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj axis com>
* libs/gst/check/gstcheck.h:
Fix detection of the check version we're compiling against (would
otherwise break if check goes v0.10.0); correctly report the
name of the failed test again in case of failure, instead of
just 'tf' (fixes #504499).

16 years agolibs/gst/base/gstbasesrc.c: Allow sending EOS to the source to make it send out an...
Wim Taymans [Wed, 19 Dec 2007 17:49:38 +0000 (17:49 +0000)]
libs/gst/base/gstbasesrc.c: Allow sending EOS to the source to make it send out an EOS event from the streaming thread.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
(gst_base_src_get_range), (gst_base_src_pad_get_range),
(gst_base_src_loop), (gst_base_src_set_flushing),
(gst_base_src_change_state):
Allow sending EOS to the source to make it send out an EOS event from
the streaming thread.
Update docs and deprecate the old NULL/READY shutdown method.
* tests/check/libs/basesrc.c: (GST_START_TEST),
(gst_basesrc_suite):
Add unit test for controlled shutdown.

16 years agodocs/design/part-synchronisation.txt: Small updates.
Wim Taymans [Wed, 19 Dec 2007 12:48:18 +0000 (12:48 +0000)]
docs/design/part-synchronisation.txt: Small updates.

Original commit message from CVS:
* docs/design/part-synchronisation.txt:
Small updates.
* gst/gstsegment.c: (gst_segment_set_seek),
(gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
(gst_segment_to_running_time):
The seek format can be different from the segment format when the start
and stop values are not to be updated, when we only do a rate change for
example.
* tests/check/gst/gstsegment.c: (GST_START_TEST),
(gst_segment_suite):
Add a testcase for the rate-only seeks, checking that the format is
correctly ignored when start and stop are not updated.

16 years agoChangeLog surgery, gstenumtypes.c changes were not committed because there were none
Sebastian Dröge [Tue, 18 Dec 2007 13:38:31 +0000 (13:38 +0000)]
ChangeLog surgery, gstenumtypes.c changes were not committed because there were none

Original commit message from CVS:
* ChangeLog surgery, gstenumtypes.c changes were not committed because there were none

16 years agowin32/common/gstenumtypes.c: Some indention fixes by gst-indent.
Matthias Bolte [Tue, 18 Dec 2007 13:18:35 +0000 (13:18 +0000)]
win32/common/gstenumtypes.c: Some indention fixes by gst-indent.

Original commit message from CVS:
* win32/common/gstenumtypes.c: (register_gst_buffer_flag),
(register_gst_buffer_copy_flags), (register_gst_clock_flags),
(register_gst_debug_graph_details),
(register_gst_state_change_return), (register_gst_state_change),
(register_gst_element_flags), (register_gst_core_error),
(register_gst_library_error), (register_gst_resource_error),
(register_gst_stream_error), (register_gst_event_type_flags),
(register_gst_event_type), (register_gst_index_entry_type),
(register_gst_assoc_flags), (register_gst_message_type),
(register_gst_mini_object_flags), (register_gst_pad_link_return),
(register_gst_flow_return), (register_gst_pad_template_flags),
(register_gst_pipeline_flags), (register_gst_plugin_error),
(register_gst_tag_merge_mode), (register_gst_alloc_trace_flags),
(register_gst_type_find_probability), (register_gst_parse_error):
Some indention fixes by gst-indent.
Patch by: Matthias Bolte <photon at mail dot upb dot de>
* win32/vs8/grammar.vcproj:
* win32/vs8/libgstcontroller.vcproj:
* win32/vs8/libgstreamer.vcproj:
Fix compilation with VS8 and include some missing files.

16 years agogst/gsttaglist.c: Small docs addition: mention that the strings returned by gst_tag_l...
Tim-Philipp Müller [Tue, 18 Dec 2007 12:03:18 +0000 (12:03 +0000)]
gst/gsttaglist.c: Small docs addition: mention that the strings returned by gst_tag_list_get_string*() are in UTF-8 e...

Original commit message from CVS:
* gst/gsttaglist.c:
Small docs addition: mention that the strings returned by
gst_tag_list_get_string*() are in UTF-8 encoding.

16 years agoMakefile.am: The check-exports stuff moved to common/win32.mak, so include that.
Tim-Philipp Müller [Mon, 17 Dec 2007 19:59:42 +0000 (19:59 +0000)]
Makefile.am: The check-exports stuff moved to common/win32.mak, so include that.

Original commit message from CVS:
* Makefile.am:
The check-exports stuff moved to common/win32.mak, so include that.

16 years agolibs/gst/base/gstbasesrc.c: Make _wait_playing() not check any variables so that...
Wim Taymans [Mon, 17 Dec 2007 16:38:40 +0000 (16:38 +0000)]
libs/gst/base/gstbasesrc.c: Make _wait_playing() not check any variables so that we can call this function from subcl...

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
(gst_base_src_perform_seek), (gst_base_src_get_range),
(gst_base_src_set_playing), (gst_base_src_change_state):
Make _wait_playing() not check any variables so that we can call this
function from subclasses. Move the checks elsewhere similar to
_wait_preroll() in basesink.
Add some debugging.
Only signal the LIVE cond when we are going back to PLAYING.

16 years agogst/gstregistrybinary.c: Use g_remove() and g_rename(). Check result of g_rename...
Tim-Philipp Müller [Sun, 16 Dec 2007 18:29:25 +0000 (18:29 +0000)]
gst/gstregistrybinary.c: Use g_remove() and g_rename(). Check result of g_rename(), and don't leak the open file desc...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
Use g_remove() and g_rename(). Check result of g_rename(), and
don't leak the open file descriptor if we error out when writing.
* gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
Must check the return value of close() after writing out the new
registry file.  Sometimes write problems such as out-of-diskspace
are only reported when the file is closed and not already during
the write.  This may have caused partial/broken registry files in
some rare circumstances. Should fix #503675.

16 years agodocs/: Ignore files generated by new common/* modifications
Edward Hervey [Sun, 16 Dec 2007 17:37:11 +0000 (17:37 +0000)]
docs/: Ignore files generated by new common/* modifications

Original commit message from CVS:
* docs/gst/.cvsignore:
* docs/libs/.cvsignore:
* docs/plugins/.cvsignore:
Ignore files generated by new common/* modifications

16 years agowin32/common/libgstbase.def: Yes, you can also have a <TAB> if you want.
Stefan Kost [Sat, 15 Dec 2007 15:19:32 +0000 (15:19 +0000)]
win32/common/libgstbase.def: Yes, you can also have a <TAB> if you want.

Original commit message from CVS:
* win32/common/libgstbase.def:
Yes, you can also have a <TAB> if you want.

16 years agowin32/common/libgstbase.def: Add new basetransform API to win export file.
Stefan Kost [Sat, 15 Dec 2007 14:58:59 +0000 (14:58 +0000)]
win32/common/libgstbase.def: Add new basetransform API to win export file.

Original commit message from CVS:
* win32/common/libgstbase.def:
Add new basetransform API to win export file.

16 years agotests/check/gst/gstbin.c: Adjust the test to the refcount change two days ago.
Stefan Kost [Sat, 15 Dec 2007 14:42:25 +0000 (14:42 +0000)]
tests/check/gst/gstbin.c: Adjust the test to the refcount change two days ago.

Original commit message from CVS:
* tests/check/gst/gstbin.c:
Adjust the test to the refcount change two days ago.

16 years agodocs/faq/getting.xml: Fix typo.
David Schleef [Fri, 14 Dec 2007 21:36:50 +0000 (21:36 +0000)]
docs/faq/getting.xml: Fix typo.

Original commit message from CVS:
* docs/faq/getting.xml: Fix typo.

16 years agoAPI: Add gst_base_transform_set_gap_aware() to control whether the element correctly...
Sebastian Dröge [Fri, 14 Dec 2007 16:52:38 +0000 (16:52 +0000)]
API: Add gst_base_transform_set_gap_aware() to control whether the element correctly handles GST_BUFFER_FLAG_GAP or s...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
(gst_base_transform_prepare_output_buffer),
(gst_base_transform_set_gap_aware):
* libs/gst/base/gstbasetransform.h:
API: Add gst_base_transform_set_gap_aware() to control whether
the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
get buffers with this flag at all. Fixes #503231.

16 years agolibs/gst/base/: Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming...
Stefan Kost [Thu, 13 Dec 2007 16:49:54 +0000 (16:49 +0000)]
libs/gst/base/: Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming thread. Correct log message in gstba...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c:
* libs/gst/base/gstbasesrc.c:
* libs/gst/base/gstbasetransform.c:
Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
thread. Correct log message in gstbasesrc.c.

16 years agogst/gstutils.c: Fix possible compiler warning (#503417).
Tim-Philipp Müller [Thu, 13 Dec 2007 13:59:04 +0000 (13:59 +0000)]
gst/gstutils.c: Fix possible compiler warning (#503417).

Original commit message from CVS:
* gst/gstutils.c: (element_find_unconnected_pad):
Fix possible compiler warning (#503417).

16 years agogst/gstobject.c: Don't use GST_CAT_EVENT here for logging, it makes no sense.
Tim-Philipp Müller [Thu, 13 Dec 2007 11:41:05 +0000 (11:41 +0000)]
gst/gstobject.c: Don't use GST_CAT_EVENT here for logging, it makes no sense.

Original commit message from CVS:
* gst/gstobject.c: (gst_object_dispatch_properties_changed):
Don't use GST_CAT_EVENT here for logging, it makes no sense.

16 years agotools/gst-inspect.c: Add support for GstFraction properties.
Sebastian Dröge [Thu, 13 Dec 2007 10:31:33 +0000 (10:31 +0000)]
tools/gst-inspect.c: Add support for GstFraction properties.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info):
Add support for GstFraction properties.

16 years agoMakefile.am: Add check-exports target and run it as part of 'make check' (see #499140...
Tim-Philipp Müller [Wed, 12 Dec 2007 23:20:00 +0000 (23:20 +0000)]
Makefile.am: Add check-exports target and run it as part of 'make check' (see #499140 and #493983).

Original commit message from CVS:
* Makefile.am:
Add check-exports target and run it as part of 'make check'
(see #499140 and #493983).
* gst/gst_private.h:
* gst/gstelementfactory.h:
* gst/gstghostpad.c: (gst_proxy_pad_class_init):
* gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
(_priv_gst_in_valgrind):
* gst/gstinfo.h: (GstLogFunction):
* gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
(gst_type_find_register):
* gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
(gst_type_find_factory_get_type):
* libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
(GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
(gst_controller_new_valist), (gst_controller_new_list),
(_gst_controller_dispose), (_gst_controller_class_init):
* libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
* libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
(GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
(gst_object_get_controller), (gst_object_set_controller),
(gst_object_suggest_next_sync), (gst_object_sync_values),
(gst_object_set_control_source), (gst_object_get_control_source),
(gst_object_get_value_arrays), (gst_object_get_value_array),
(gst_object_get_control_rate), (gst_object_set_control_rate):
* libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
* libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
Make some functions that should be static static; rename some
private symbols so that they don't get exported; add some FIXME
comments so we can move accidentally exported functions into
our private section in 0.11.
* win32/common/libgstreamer.def:
Add gst_utils_get_timestamp().

16 years agogst/gstvalue.*: Add more missing "Since:" tags to docs.
Stefan Kost [Wed, 12 Dec 2007 14:04:14 +0000 (14:04 +0000)]
gst/gstvalue.*: Add more missing "Since:" tags to docs.

Original commit message from CVS:
* gst/gstvalue.c:
* gst/gstvalue.h:
Add more missing "Since:" tags to docs.

16 years agogst/gstutils.c: Add mising "Since:" to docs.
Stefan Kost [Wed, 12 Dec 2007 06:58:56 +0000 (06:58 +0000)]
gst/gstutils.c: Add mising "Since:" to docs.

Original commit message from CVS:
* gst/gstutils.c:
Add mising "Since:" to docs.

16 years agogst/gstplugin.c: Include "glib-compat-private.h" to fix the build on system with...
Stefan Kost [Tue, 11 Dec 2007 22:03:58 +0000 (22:03 +0000)]
gst/gstplugin.c: Include "glib-compat-private.h" to fix the build on system with glib < 2.10. Fixes #503131.

Original commit message from CVS:
* gst/gstplugin.c:
Include "glib-compat-private.h" to fix the build on system with
glib < 2.10. Fixes #503131.

16 years agogst/gstutils.*: Actually its not PURE as it gets the time from elsewhere.
Stefan Kost [Tue, 11 Dec 2007 20:32:29 +0000 (20:32 +0000)]
gst/gstutils.*: Actually its not PURE as it gets the time from elsewhere.

Original commit message from CVS:
* gst/gstutils.c:
* gst/gstutils.h:
Actually its not PURE as it gets the time from elsewhere.

16 years agoChange GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all uses as we don...
Stefan Kost [Tue, 11 Dec 2007 20:23:58 +0000 (20:23 +0000)]
Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all uses as we don't have HAVE_POSIX_TIMERS in publi...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstclock.h:
* gst/gstdebugutils.c:
* gst/gstinfo.c:
* gst/gstutils.c:
* gst/gstutils.h:
* libs/gst/base/gstbasesink.c:
* tools/gst-launch.c:
Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
uses as we don't have HAVE_POSIX_TIMERS in public headers.
Thanks Tim for spotting.

16 years agoupdate spec file by mirroring latest Fedora one
Christian Schaller [Tue, 11 Dec 2007 15:29:26 +0000 (15:29 +0000)]
update spec file by mirroring latest Fedora one

Original commit message from CVS:
update spec file by mirroring latest Fedora one

16 years agoconfigure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
Sebastian Dröge [Sun, 9 Dec 2007 04:28:03 +0000 (04:28 +0000)]
configure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

Original commit message from CVS:
* configure.ac:
Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

16 years agogst/gststructure.c: Don't crash in _from_string() if the structure name is not valid...
Tim-Philipp Müller [Sat, 8 Dec 2007 12:54:53 +0000 (12:54 +0000)]
gst/gststructure.c: Don't crash in _from_string() if the structure name is not valid (fixes #501560).  Allow structur...

Original commit message from CVS:
* gst/gststructure.c: (gst_structure_validate_name),
(gst_structure_new_valist), (gst_structure_parse_value),
(gst_structure_from_string):
Don't crash in _from_string() if the structure name is not valid
(fixes #501560).  Allow structure names to start with a number
again (this apparently broke the ubuntu codec installer).
* tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
(GST_START_TEST):
Add unit test for the crash; update unit tests for new behaviour.

16 years agogst/gstutils.c: Clarify gst_element_get_compatible_pad() documentation.
Wim Taymans [Mon, 3 Dec 2007 11:04:09 +0000 (11:04 +0000)]
gst/gstutils.c: Clarify gst_element_get_compatible_pad() documentation.

Original commit message from CVS:
* gst/gstutils.c:
Clarify gst_element_get_compatible_pad() documentation.
Fixes #500919.

16 years agotests/check/Makefile.am: Don't forget to dist {gst,libs}/struct_hppa.h.
Sebastian Dröge [Sun, 2 Dec 2007 20:33:49 +0000 (20:33 +0000)]
tests/check/Makefile.am: Don't forget to dist {gst,libs}/struct_hppa.h.

Original commit message from CVS:
* tests/check/Makefile.am:
Don't forget to dist {gst,libs}/struct_hppa.h.

16 years agolibs/gst/base/gstbasesink.c: Use new API to get elapsed time.
Stefan Kost [Wed, 28 Nov 2007 13:02:30 +0000 (13:02 +0000)]
libs/gst/base/gstbasesink.c: Use new API to get elapsed time.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c:
Use new API to get elapsed time.

16 years agogst/: Fix wrong order of args in GST_CLOCK_DIFF() usage.
Stefan Kost [Wed, 28 Nov 2007 12:52:42 +0000 (12:52 +0000)]
gst/: Fix wrong order of args in GST_CLOCK_DIFF() usage.

Original commit message from CVS:
* gst/gstdebugutils.c:
* gst/gstinfo.c:
Fix wrong order of args in GST_CLOCK_DIFF() usage.
* tools/gst-launch.c:
Use new API to get elapsed time.

16 years agoRename new API + ChangeLog surgery to remove old name from last entry..
Stefan Kost [Wed, 28 Nov 2007 12:35:14 +0000 (12:35 +0000)]
Rename new API + ChangeLog surgery to remove old name from last entry..

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstclock.h:
* gst/gstdebugutils.c:
* gst/gstinfo.c:
Rename new API + ChangeLog surgery to remove old name from last entry..
API: GST_GET_TIMESTAMP

16 years agoNow hide the different clock stuff behind a macro.
Stefan Kost [Wed, 28 Nov 2007 12:11:59 +0000 (12:11 +0000)]
Now hide the different clock stuff behind a macro.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstclock.h:
* gst/gstdebugutils.c:
* gst/gstinfo.c:
Now hide the different clock stuff behind a macro.
API: GST_GET_CURRENT_TIME

16 years agoApply the posix-timer check from #361155. Conditionally use the posix timer for loggi...
Stefan Kost [Wed, 28 Nov 2007 11:39:35 +0000 (11:39 +0000)]
Apply the posix-timer check from #361155. Conditionally use the posix timer for logging. This gives better timestamp ...

Original commit message from CVS:
* configure.ac:
* gst/gstdebugutils.c:
* gst/gstinfo.c:
Apply the posix-timer check from #361155. Conditionally use the posix
timer for logging. This gives better timestamp precission, less
overhead and no ntp jitter.

16 years agogst/gstminiobject.c: Some cleanup and checking against invalid function parameters.
Sebastian Dröge [Wed, 28 Nov 2007 11:11:58 +0000 (11:11 +0000)]
gst/gstminiobject.c: Some cleanup and checking against invalid function parameters.

Original commit message from CVS:
* gst/gstminiobject.c: (gst_mini_object_get_type),
(gst_mini_object_class_init), (gst_mini_object_copy_default),
(gst_mini_object_finalize), (gst_mini_object_copy),
(gst_mini_object_is_writable), (gst_mini_object_make_writable),
(gst_mini_object_replace), (param_mini_object_validate),
(gst_param_spec_mini_object_get_type):
Some cleanup and checking against invalid function parameters.

16 years agoStart merging in the easy bits of #361155, the monotonic clock patch.
Wim Taymans [Wed, 28 Nov 2007 10:58:39 +0000 (10:58 +0000)]
Start merging in the easy bits of #361155, the monotonic clock patch.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstclock.h:
* tests/check/gst/gstsystemclock.c: (GST_START_TEST),
(gst_systemclock_suite):
Start merging in the easy bits of #361155, the monotonic clock patch.
This one adds a few handy macros with docs and a testsuite.

16 years agoplugins/elements/gstfilesink.c: Be a bit smarter when seeking, like, don't try to...
Wim Taymans [Tue, 27 Nov 2007 18:45:38 +0000 (18:45 +0000)]
plugins/elements/gstfilesink.c: Be a bit smarter when seeking, like, don't try to do a seek when it's not needed. Thi...

Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_event):
Be a bit smarter when seeking, like, don't try to do a seek when it's
not needed. This avoids errors when the file is not seekable.
Fixes #499771.

16 years agoDue to popular request remove preset interface again. :-(.
Stefan Kost [Mon, 26 Nov 2007 13:16:00 +0000 (13:16 +0000)]
Due to popular request remove preset interface again. :-(.

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types.in:
* gst/Makefile.am:
* gst/gst.h:
* gst/gstpreset.c:
* gst/gstpreset.h:
* plugins/elements/gstqueue.c:
Due to popular request remove preset interface again. :-(.

16 years agotools/gst-inspect.c: Print 'default value' for enums and flags too.
Stefan Kost [Thu, 22 Nov 2007 21:32:09 +0000 (21:32 +0000)]
tools/gst-inspect.c: Print 'default value' for enums and flags too.

Original commit message from CVS:
* tools/gst-inspect.c:
Print 'default value' for enums and flags too.

16 years agodocs/random/ensonic/profiling.txt: More ideas.
Stefan Kost [Thu, 22 Nov 2007 15:59:01 +0000 (15:59 +0000)]
docs/random/ensonic/profiling.txt: More ideas.

Original commit message from CVS:
* docs/random/ensonic/profiling.txt:
More ideas.
* gst/gstbin.c:
Fix typo and give better log output.
* gst/gstdebugutils.c:
* gst/gstdebugutils.h:
More ideas, make graphs a bit smaller and fix param name in macro.

16 years agogst/gstpreset.c: Try harder to use the return value from fgets().
Stefan Kost [Thu, 22 Nov 2007 13:56:24 +0000 (13:56 +0000)]
gst/gstpreset.c: Try harder to use the return value from fgets().

Original commit message from CVS:
* gst/gstpreset.c:
Try harder to use the return value from fgets().

16 years agogst/gstpreset.c: For theses two fgets we handle the error below.
Stefan Kost [Wed, 21 Nov 2007 16:08:25 +0000 (16:08 +0000)]
gst/gstpreset.c: For theses two fgets we handle the error below.

Original commit message from CVS:
* gst/gstpreset.c:
For theses two fgets we handle the error below.

16 years agolibs/gst/base/gstbasesink.c: Only send upstream events upstream. Fixes #498746.
Wim Taymans [Wed, 21 Nov 2007 13:47:52 +0000 (13:47 +0000)]
libs/gst/base/gstbasesink.c: Only send upstream events upstream. Fixes #498746.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
Only send upstream events upstream. Fixes #498746.

16 years agoplugins/elements/gstidentity.*: Add property to disable handoff signal emission....
Laurent Glayal [Wed, 21 Nov 2007 13:27:50 +0000 (13:27 +0000)]
plugins/elements/gstidentity.*: Add property to disable handoff signal emission. Fixes #498694.

Original commit message from CVS:
Patch by: Laurent Glayal <spglegle at yahoo dot fr>
* plugins/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_init), (gst_identity_transform_ip),
(gst_identity_set_property), (gst_identity_get_property):
* plugins/elements/gstidentity.h:
Add property to disable handoff signal emission. Fixes #498694.
API: GstIdentity::signal-handoffs

16 years agodocs/faq/gst-uninstalled: Yet another missing library for the uninstalled script...
Julien Moutte [Wed, 21 Nov 2007 09:46:50 +0000 (09:46 +0000)]
docs/faq/gst-uninstalled: Yet another missing library for the uninstalled script (fft)

Original commit message from CVS:
2007-11-21  Julien Moutte  <julien@fluendo.com>

* docs/faq/gst-uninstalled: Yet another missing library for the
uninstalled script (fft)

16 years agodocs/faq/developing.xml: Add a question about how to submit new translations.
Jan Schmidt [Wed, 21 Nov 2007 00:24:04 +0000 (00:24 +0000)]
docs/faq/developing.xml: Add a question about how to submit new translations.

Original commit message from CVS:
* docs/faq/developing.xml:
Add a question about how to submit new translations.
* docs/random/release:
Update the contact email address for the Translation Project
* plugins/elements/gstfdsrc.c:
The parent_class for fdsrc is pushsrc, not GstElement.

16 years agogst/gstpreset.c: Plug a leak and fix saving.
Stefan Kost [Tue, 20 Nov 2007 16:34:38 +0000 (16:34 +0000)]
gst/gstpreset.c: Plug a leak and fix saving.

Original commit message from CVS:
* gst/gstpreset.c:
Plug a leak and fix saving.

16 years agodocs/gst/gstreamer-sections.txt: Add new gst_preset__get_property_names() function...
Sebastian Dröge [Tue, 20 Nov 2007 16:10:21 +0000 (16:10 +0000)]
docs/gst/gstreamer-sections.txt: Add new gst_preset__get_property_names() function to the docs to fix the build.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add new gst_preset__get_property_names() function to the docs
to fix the build.

16 years agogst/gstpreset.*: Change _get_preset_names API to return a strv with copies. Add _get_...
Stefan Kost [Tue, 20 Nov 2007 15:46:39 +0000 (15:46 +0000)]
gst/gstpreset.*: Change _get_preset_names API to return a strv with copies. Add _get_property_names to allow implemen...

Original commit message from CVS:
* gst/gstpreset.c:
* gst/gstpreset.h:
Change _get_preset_names API to return a strv with copies. Add
_get_property_names to allow implementations to filter and provide
good default implementation.

16 years agodocs/faq/gst-uninstalled: Add another library to the uninstalled script (sdp).
Julien Moutte [Tue, 20 Nov 2007 11:46:35 +0000 (11:46 +0000)]
docs/faq/gst-uninstalled: Add another library to the uninstalled script (sdp).

Original commit message from CVS:
2007-11-20  Julien MOUTTE  <julien@moutte.net>

* docs/faq/gst-uninstalled: Add another library to the uninstalled
script (sdp).

16 years agogst/gstpreset.c: More cleanups, docs, and TODOs from comments that now slowly come in.
Stefan Kost [Mon, 19 Nov 2007 15:23:44 +0000 (15:23 +0000)]
gst/gstpreset.c: More cleanups, docs, and TODOs from comments that now slowly come in.

Original commit message from CVS:
* gst/gstpreset.c:
More cleanups, docs, and TODOs from comments that now slowly come in.

16 years agodocs/faq/gst-uninstalled: Add new base libraries in the LD search path.
Julien Moutte [Mon, 19 Nov 2007 14:38:49 +0000 (14:38 +0000)]
docs/faq/gst-uninstalled: Add new base libraries in the LD search path.

Original commit message from CVS:
2007-11-19  Julien MOUTTE  <julien@moutte.net>

* docs/faq/gst-uninstalled: Add new base libraries in the LD
search path.

16 years agogst/gstpreset.c: Fix bogus warning and make the property type specific code more...
Stefan Kost [Mon, 19 Nov 2007 11:54:13 +0000 (11:54 +0000)]
gst/gstpreset.c: Fix bogus warning and make the property type specific code more similar.

Original commit message from CVS:
* gst/gstpreset.c:
Fix bogus warning and make the property type specific code more
similar.

16 years agogst/gstpreset.c: Make it build on OS X.
Julien Moutte [Mon, 19 Nov 2007 09:33:05 +0000 (09:33 +0000)]
gst/gstpreset.c: Make it build on OS X.

Original commit message from CVS:
2007-11-19  Julien MOUTTE  <julien@moutte.net>

* gst/gstpreset.c: (gst_preset_default_create_preset): Make
it build on OS X.

16 years agogst/gstbin.c: Change email, cleanups add some more debug and comments.
Wim Taymans [Mon, 19 Nov 2007 08:50:04 +0000 (08:50 +0000)]
gst/gstbin.c: Change email, cleanups add some more debug and comments.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
(gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_change_state_func), (gst_bin_continue_func):
Change email, cleanups add some more debug and comments.
Also set bus and clock on new elements when the pipeline was in error.

16 years agogst/: Fix build with --disable-gst-debug. Fixes #497859.
Stefan Kost [Sun, 18 Nov 2007 19:30:10 +0000 (19:30 +0000)]
gst/: Fix build with --disable-gst-debug. Fixes #497859.

Original commit message from CVS:
* gst/gstbin.c:
* gst/gstdebugutils.c:
Fix build with --disable-gst-debug. Fixes #497859.
Spotted by Sameer Naik.

16 years agogst/gstevent.c: Little documentation improvment.
Stefan Kost [Sat, 17 Nov 2007 17:50:21 +0000 (17:50 +0000)]
gst/gstevent.c: Little documentation improvment.

Original commit message from CVS:
* gst/gstevent.c:
Little documentation improvment.
* gst/gstpreset.c:
More TODO cleanups. Remove c++ comments.
* libs/gst/controller/gstcontroller.c:
Add TODO and use quark from static string.
* tests/check/gst/gstmessage.c:
* tests/check/gst/gststructure.c:
Use quark from static string.

16 years agogst/gstpreset.c: Add some comments and TODOs.
Stefan Kost [Sat, 17 Nov 2007 17:24:53 +0000 (17:24 +0000)]
gst/gstpreset.c: Add some comments and TODOs.

Original commit message from CVS:
* gst/gstpreset.c:
Add some comments and TODOs.
* gst/gstpreset.h:
Add padding for future changes.
* plugins/elements/gstqueue.c:
Implement the iface.

16 years agoAdd the preset interface (Fixes #396779). Do some doc cleanups along.
Stefan Kost [Sat, 17 Nov 2007 16:43:12 +0000 (16:43 +0000)]
Add the preset interface (Fixes #396779). Do some doc cleanups along.

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types.in:
* gst/Makefile.am:
* gst/gst.h:
* gst/gstpreset.c:
* gst/gstpreset.h:
Add the preset interface (Fixes #396779). Do some doc cleanups along.

16 years agoconfigure.ac: Back to CVS
Jan Schmidt [Fri, 16 Nov 2007 00:23:18 +0000 (00:23 +0000)]
configure.ac: Back to CVS

Original commit message from CVS:
* configure.ac:
Back to CVS

16 years agoconfigure.ac: releasing 0.10.15, "October" RELEASE-0_10_15
Jan Schmidt [Fri, 16 Nov 2007 00:07:54 +0000 (00:07 +0000)]
configure.ac: releasing 0.10.15, "October"

Original commit message from CVS:
=== release 0.10.15 ===

2007-11-15  Jan Schmidt <jan.schmidt@sun.com>

* configure.ac:
releasing 0.10.15, "October"

16 years agoUpdate .po files
Jan Schmidt [Thu, 15 Nov 2007 23:31:11 +0000 (23:31 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years agowin32/vs6/libgstreamer.dsp: Convert line endings back to DOS.
Jan Schmidt [Wed, 14 Nov 2007 12:24:09 +0000 (12:24 +0000)]
win32/vs6/libgstreamer.dsp: Convert line endings back to DOS.

Original commit message from CVS:
* win32/vs6/libgstreamer.dsp:
Convert line endings back to DOS.

16 years agodocs/: Update fast tagreading draft and performance profiling ideas.
Stefan Kost [Tue, 13 Nov 2007 11:30:09 +0000 (11:30 +0000)]
docs/: Update fast tagreading draft and performance profiling ideas.

Original commit message from CVS:
* docs/design/draft-tagreading.txt:
* docs/random/ensonic/profiling.txt:
Update fast tagreading draft and performance profiling ideas.

16 years agolibs/gst/base/gstbasesink.c: Don't hold the object lock when unreffing a buffer becau...
Wim Taymans [Fri, 9 Nov 2007 14:05:02 +0000 (14:05 +0000)]
libs/gst/base/gstbasesink.c: Don't hold the object lock when unreffing a buffer because it could cause a deadlock whe...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
Don't hold the object lock when unreffing a buffer because it could
cause a deadlock when the finalize function wants to grab the object
lock too. Fixes #495133.

16 years agogst/gstsegment.c: Also accumulate time correctly when doing reverse playback. Fixes...
Wim Taymans [Fri, 9 Nov 2007 11:56:41 +0000 (11:56 +0000)]
gst/gstsegment.c: Also accumulate time correctly when doing reverse playback. Fixes #488201,

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_newsegment_full),
(gst_segment_to_stream_time), (gst_segment_to_running_time):
Also accumulate time correctly when doing reverse playback. Fixes
#488201,
When converting to running and stream time, use default values for
start/stop/time/accum when comparing different formats. Fixes #494245.
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Do running/stream time in TIME format.
* tests/check/gst/gstsegment.c: (GST_START_TEST),
(gst_segment_suite):
2 new unit tests for segment accumulation.

16 years agogst/: Move getenv() back into gst_init, so everyone can live happily ever after....
Tim-Philipp Müller [Wed, 7 Nov 2007 15:53:52 +0000 (15:53 +0000)]
gst/: Move getenv() back into gst_init, so everyone can live happily ever after. Make sure the symbol isn't exported ...

Original commit message from CVS:
* gst/gst.c: (init_pre):
* gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
(_gst_debug_bin_to_dot_file):
Move getenv() back into gst_init, so everyone can live happily
ever after. Make sure the symbol isn't exported though.

16 years agowin32/common/gstenumtypes.*: Update enum types.
Sebastien Moutte [Tue, 6 Nov 2007 23:17:09 +0000 (23:17 +0000)]
win32/common/gstenumtypes.*: Update enum types.

Original commit message from CVS:
Patch by: Sebastien Moutte  <sebastien moutte net>
* win32/common/gstenumtypes.c:
* win32/common/gstenumtypes.h:
Update enum types.
* win32/vs6/libgstreamer.dsp:
Update vs6 project files (#494343).

16 years agolibs/gst/base/gstbasesrc.c: Unify flushing code, remove some old unlock code that...
Wim Taymans [Tue, 6 Nov 2007 17:18:14 +0000 (17:18 +0000)]
libs/gst/base/gstbasesrc.c: Unify flushing code, remove some old unlock code that is no longer used.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
(gst_base_src_perform_seek), (gst_base_src_default_event),
(gst_base_src_set_flushing), (gst_base_src_activate_push),
(gst_base_src_activate_pull):
Unify flushing code, remove some old unlock code that is no longer used.
Take the streaming lock when seeking to avoid races. Fixes #492729.
Added some more comments.

16 years agogst/gst.c: Make _gst_disable_segtrap static, it's only used in gstplugin.c and we...
Tim-Philipp Müller [Tue, 6 Nov 2007 15:10:36 +0000 (15:10 +0000)]
gst/gst.c: Make  _gst_disable_segtrap static, it's only used in gstplugin.c and we can use gst_segtrap_is_enabled() t...

Original commit message from CVS:
* gst/gst.c: (_gst_disable_segtrap):
Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
we can use gst_segtrap_is_enabled() there now that we have that API.
Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
to do the getenv here (and export the variable).
* gst/gstdebugutils.c: (debug_dump_element),
(_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
Don't use VLAs which is a C99ism and throws off MSVC (#493983).
* gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
(gst_debug_log_default):
Rename _gst_info_start_time to priv_gst_info_start_time so it
doesn't get exported (was never in any header).
* gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
(gst_plugin_loading_mutex):
Make static mutex gst_plugin_loading_mutex really static (was never
in any header), and use gst_segtrap_is_enabled() instead of
_gst_disable_segtrap.
* gst/gsttrace.c: (_gst_trace_default):
Make local _gst_trace_default static (was never in any header).

16 years agowin32/common/: Add more missing symbols, remove some duplicates, and sort as the...
Ole André Vadla Ravnås [Tue, 6 Nov 2007 14:43:14 +0000 (14:43 +0000)]
win32/common/: Add more missing symbols, remove some duplicates, and sort as the 'sort' command sorts it (partially f...

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
* win32/common/libgstbase.def:
* win32/common/libgstcontroller.def:
* win32/common/libgstdataprotocol.def:
* win32/common/libgstnet.def:
* win32/common/libgstreamer.def:
Add more missing symbols, remove some duplicates, and sort
as the 'sort' command sorts it (partially fixes #493983).

16 years agogst/gstelement.c: Only change the state cookie if a different state was set on the...
Wim Taymans [Tue, 6 Nov 2007 12:28:17 +0000 (12:28 +0000)]
gst/gstelement.c: Only change the state cookie if a different state was set on the element. See #492729.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_set_state_func):
Only change the state cookie if a different state was set on the
element. See #492729.

16 years agogst/gstvalue.c: Remove unused and uninitialised type variables that were still export...
Tim-Philipp Müller [Tue, 6 Nov 2007 11:41:32 +0000 (11:41 +0000)]
gst/gstvalue.c: Remove unused and uninitialised type variables that were still exported for some reason (they were ne...

Original commit message from CVS:
* gst/gstvalue.c:
Remove unused and uninitialised type variables that were still
exported for some reason (they were never in any header files
though).

16 years agolibs/gst/base/gstbasesink.c: Don't try to report a 0 position when we don't know...
Wim Taymans [Tue, 6 Nov 2007 10:33:22 +0000 (10:33 +0000)]
libs/gst/base/gstbasesink.c: Don't try to report a 0 position when we don't know, return -1 and FALSE instead. This m...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
(gst_base_sink_do_sync), (gst_base_sink_preroll_object),
(gst_base_sink_event), (gst_base_sink_get_position_last),
(gst_base_sink_get_position_paused), (gst_base_sink_get_position),
(gst_base_sink_change_state):
Don't try to report a 0 position when we don't know, return -1 and FALSE
instead. This mostly happens when we are prerolling.
Make sure we can report the right position before we post the ASYNC_DONE
message so that a message handler can query position without races.
* tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
(async_done_handoff), (async_done_func), (send_buffer),
(async_done_eos_func), (gst_sinks_suite):
Add two tests for the above.

16 years agoMAINTAINERS: Update with new email address.
Wim Taymans [Tue, 6 Nov 2007 10:21:01 +0000 (10:21 +0000)]
MAINTAINERS: Update with new email address.

Original commit message from CVS:
* MAINTAINERS:
Update with new email address.
* docs/design/part-TODO.txt:
Add some more info about future pad-block and negotiation changes.
* docs/design/part-buffering.txt:
Add some ideas about buffering reporting.

16 years agoupdate SPEC file with latest changes, also add MAINTAINERS file to EXTRA_DIST, the...
Christian Schaller [Tue, 6 Nov 2007 10:01:07 +0000 (10:01 +0000)]
update SPEC file with latest changes, also add MAINTAINERS file to EXTRA_DIST, the ommission of this cause a weird RP...

Original commit message from CVS:
update SPEC file with latest changes, also add MAINTAINERS file to EXTRA_DIST, the ommission of this cause a weird RPM build error on FC8

16 years agotests/check/gst/gstobject.c: Disable silly racy test that always fails on this combin...
Jan Schmidt [Tue, 6 Nov 2007 00:59:54 +0000 (00:59 +0000)]
tests/check/gst/gstobject.c: Disable silly racy test that always fails on this combination of CPU and kernel.

Original commit message from CVS:
* tests/check/gst/gstobject.c:
Disable silly racy test that always fails on this combination of CPU
and kernel.

16 years agoChangeLog surgery: mention bug number
Tim-Philipp Müller [Sun, 4 Nov 2007 10:16:38 +0000 (10:16 +0000)]
ChangeLog surgery: mention bug number

Original commit message from CVS:
ChangeLog surgery: mention bug number

16 years agogst/gstobject.c: Corrected the registration of the parent-set and parent-unset signal...
Murray Cumming [Sun, 4 Nov 2007 10:13:33 +0000 (10:13 +0000)]
gst/gstobject.c: Corrected the registration of the parent-set and parent-unset signals: The parameter is a GstObject,...

Original commit message from CVS:
Patch by: Murray Cumming  <murrayc@murrayc.com>
* gst/gstobject.c:
Corrected the registration of the parent-set and parent-unset
signals: The parameter is a GstObject, not a GObject.

16 years agogst/: Move declaration of private _gst_foo_initialize() functions into our private...
Tim-Philipp Müller [Fri, 2 Nov 2007 18:35:37 +0000 (18:35 +0000)]
gst/: Move declaration of private _gst_foo_initialize() functions into our private header file where they should have...

Original commit message from CVS:
* gst/gst_private.h:
* gst/gstbuffer.h:
* gst/gstevent.h:
* gst/gstformat.h:
* gst/gstmessage.h:
* gst/gstplugin.h:
* gst/gstquery.h:
* gst/gsttaglist.h:
* gst/gstvalue.h:
Move declaration of private _gst_foo_initialize() functions into
our private header file where they should have been all along.

16 years agogtk-doc fixes; trailing-comma-in-enum fix.
Tim-Philipp Müller [Fri, 2 Nov 2007 17:43:25 +0000 (17:43 +0000)]
gtk-doc fixes; trailing-comma-in-enum fix.

Original commit message from CVS:
* docs/plugins/gstreamer-plugins-sections.txt:
* gst/gstdebugutils.h:
* gst/gstxml.h:
* plugins/elements/gstqueue.c:
gtk-doc fixes; trailing-comma-in-enum fix.

16 years agogst/gst.c: Clean up on deinit (not the external ones though, doesn't seem to be neede...
Tim-Philipp Müller [Fri, 2 Nov 2007 16:27:56 +0000 (16:27 +0000)]
gst/gst.c: Clean up on deinit (not the external ones though, doesn't seem to be needed for some reason).

Original commit message from CVS:
* gst/gst.c: (gst_deinit):
Clean up on deinit (not the external ones though, doesn't seem to be
needed for some reason).

16 years agogst/gstinfo.h: Remove __declspec(dllimport) for MSVC that was copied over into core...
Tim-Philipp Müller [Thu, 1 Nov 2007 23:51:55 +0000 (23:51 +0000)]
gst/gstinfo.h: Remove __declspec(dllimport) for MSVC that was copied over into core from a plugin, obviously without ...

Original commit message from CVS:
* gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
Remove __declspec(dllimport) for MSVC that was copied over into core
from a plugin, obviously without ever having been tested (note the
single underscore in _declspec in the initial commit), and that doesn't
really make sense.  See #492077.

16 years agog_type_class_ref() other types as well, see #349410 and #64764.
Tim-Philipp Müller [Thu, 1 Nov 2007 21:50:05 +0000 (21:50 +0000)]
g_type_class_ref() other types as well, see #349410 and #64764.

Original commit message from CVS:
* gst/gst.c: (init_post):
* gst/gstevent.c: (_gst_event_initialize):
* gst/gstquery.c: (_gst_query_initialize):
* libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
g_type_class_ref() other types as well, see #349410 and #64764.
* gst/gstbuffer.c: (_gst_buffer_initialize):
* gst/gstmessage.c: (_gst_message_initialize):
Simplify existing g_type_class_ref().

16 years agogst/gstformat.c: g_type_class_ref() our GstFormat type to make sure we avoid the...
Tim-Philipp Müller [Thu, 1 Nov 2007 20:10:48 +0000 (20:10 +0000)]
gst/gstformat.c: g_type_class_ref() our GstFormat type to make sure we avoid the thread-unsafe bits of the GObject/GT...

Original commit message from CVS:
* gst/gstformat.c: (_gst_format_initialize):
g_type_class_ref() our GstFormat type to make sure we avoid the
thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
bug #64764. Should fix intermittent tee unit test failures (#474823).

16 years agotests/check/elements/tee.c: Simplify, simplify, simplify - or not. Rewrite unit...
Tim-Philipp Müller [Thu, 1 Nov 2007 19:19:10 +0000 (19:19 +0000)]
tests/check/elements/tee.c: Simplify, simplify, simplify - or not.  Rewrite unit test not to use gst_parse_launch(); ...

Original commit message from CVS:
* tests/check/elements/tee.c: (test_num_buffers):
Simplify, simplify, simplify - or not.  Rewrite unit test
not to use gst_parse_launch(); allow N sub-streams. Increasing
the number of sub-streams seems to reproduce #474823 more easily.

16 years agoFix a couple of missing includes for MSVC2005 and a C99 issue. Also, starting with...
Ole André Vadla Ravnås [Wed, 31 Oct 2007 22:01:03 +0000 (22:01 +0000)]
Fix a couple of missing includes for MSVC2005 and a C99 issue. Also, starting with 2.14.0, GLib won't provide a pipe(...

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
* gst/gsttrace.c:
* libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
* libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
* libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
starting with 2.14.0, GLib won't provide a pipe() macro any longer,
so use _pipe() directly (#492077).
* win32/common/dirent.c: (_treaddir):
Add a couple of casts to make it build without warnings with MSVC.
* win32/common/libgstreamer.def:
Add some more symbols that need to be exported.

16 years agotests/examples/metadata/read-metadata.c: Use _KEEP as merge mode rather than _KEEP_AL...
Tim-Philipp Müller [Wed, 31 Oct 2007 18:08:21 +0000 (18:08 +0000)]
tests/examples/metadata/read-metadata.c: Use _KEEP as merge mode rather than _KEEP_ALL, so tags arriving in a second ...

Original commit message from CVS:
* tests/examples/metadata/read-metadata.c: (message_loop):
Use _KEEP as merge mode rather than _KEEP_ALL, so tags
arriving in a second or third tag message are added to
the tag list as well.

16 years agolibs/gst/base/gstbasesrc.c: Its "Since:" and not "@Since:". And remove an superflous...
Stefan Kost [Wed, 31 Oct 2007 13:01:34 +0000 (13:01 +0000)]
libs/gst/base/gstbasesrc.c: Its "Since:" and not "@Since:". And remove an superflous cast.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c:
Its "Since:" and not "@Since:". And remove an superflous cast.

16 years agoAdd a new last-buffer property that contains the last buffer used in basesink for...
Wim Taymans [Tue, 30 Oct 2007 18:30:13 +0000 (18:30 +0000)]
Add a new last-buffer property that contains the last buffer used in basesink for preroll or rendering. useful for ma...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
(gst_base_sink_get_property), (gst_base_sink_render_object),
(gst_base_sink_preroll_object),
(gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
(gst_base_sink_change_state):
* libs/gst/base/gstbasesink.h:
Add a new last-buffer property that contains the last buffer used in
basesink for preroll or rendering. useful for making snapshots.
API: gst_base_sink_get_last_buffer()
API: GstBaseSink::last-buffer

16 years agoImprove bin graph dumping, by using the envvar to specify a path.
Stefan Kost [Mon, 29 Oct 2007 13:46:25 +0000 (13:46 +0000)]
Improve bin graph dumping, by using the envvar to specify a path.

Original commit message from CVS:
* docs/gst/running.xml:
* gst/gst.c:
* gst/gstdebugutils.c:
* gst/gstdebugutils.h:
* tools/gst-launch.c:
Improve bin graph dumping, by using the envvar to specify a path.
Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.

16 years agoplugins/elements/gsttypefindelement.c: Post special error message if we can't determi...
Tim-Philipp Müller [Mon, 29 Oct 2007 13:10:01 +0000 (13:10 +0000)]
plugins/elements/gsttypefindelement.c: Post special error message if we can't determine the type of a stream because ...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event),
(gst_type_find_element_activate):
Post special error message if we can't determine the type of a stream
because it's empty.

16 years agoDocument new env-var. Add one log-line after dumpng a graph.
Stefan Kost [Mon, 29 Oct 2007 10:05:55 +0000 (10:05 +0000)]
Document new env-var. Add one log-line after dumpng a graph.

Original commit message from CVS:
* docs/gst/running.xml:
* gst/gstdebugutils.c:
Document new env-var. Add one log-line after dumpng a graph.

16 years agoconfigure.ac: Ugly hack to put the (recently removed and non-portable, apparently)
Tim-Philipp Müller [Fri, 26 Oct 2007 18:39:03 +0000 (18:39 +0000)]
configure.ac: Ugly hack to put the (recently removed and non-portable, apparently)

Original commit message from CVS:
* configure.ac:
Ugly hack to put the (recently removed and non-portable, apparently)
-Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
GNU ld, because without that 'make check' fails miserably on my debian
stable box.  Someone with more knowledge of linker intricacies and
portability issues than me fix this properly please.

16 years agolibs/gst/base/gstbasesink.c: Reset last seen position after flushing so that we don...
Wim Taymans [Thu, 25 Oct 2007 17:20:47 +0000 (17:20 +0000)]
libs/gst/base/gstbasesink.c: Reset last seen position after flushing so that we don't report the old position anymore.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_event):
Reset last seen position after flushing so that we don't report the old
position anymore.

16 years agogst/: Patch from Alessandro Decina adding get_type_full and get_protocols_full privat...
Alessandro Decina [Thu, 25 Oct 2007 16:19:05 +0000 (16:19 +0000)]
gst/: Patch from Alessandro Decina adding get_type_full and get_protocols_full private vfuncs to the URIHandler inter...

Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_register):
* gst/gsturi.h:
Patch from Alessandro Decina adding get_type_full and
get_protocols_full private vfuncs to the URIHandler interface
to allow bindings to support creating URI handlers.
Partially fixes: #339279
API: GstURIHandlerInterface::get_type_full
API: GstURIHandlerInterface::get_protocols_full

16 years agoplugins/elements/gstmultiqueue.c: Make it so that pads are considered linked until...
Jan Schmidt [Thu, 25 Oct 2007 15:14:02 +0000 (15:14 +0000)]
plugins/elements/gstmultiqueue.c: Make it so that pads are considered linked until a buffer is pushed and discovered ...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
(gst_multi_queue_request_new_pad), (gst_single_queue_flush),
(gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
Make it so that pads are considered linked until a buffer is pushed
and discovered otherwise. This avoids problems with decodebin2 hanging
after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
case.
Make sure we lock the multiqueue when updating the max-size properties.
Fix a crash on Solaris in a debug statement in get_request_pad that
passes a NULL string to GST_DEBUG.
* tests/check/elements/multiqueue.c: (mq_dummypad_chain),
(run_output_order_test):
Fix the test to allow the first buffer on not-linked pads to come out
of sequence while multiqueue discovers that they are not-linked.

16 years agoUse a custom export symbol regex for libgstcheck, as it needs to export symbols that...
Jan Schmidt [Thu, 25 Oct 2007 14:50:48 +0000 (14:50 +0000)]
Use a custom export symbol regex for libgstcheck, as it needs to export symbols that don't match the standard GStream...

Original commit message from CVS:
* configure.ac:
* libs/gst/check/Makefile.am:
Use a custom export symbol regex for libgstcheck, as it needs
to export symbols that don't match the standard GStreamer gst_*
pattern, and  --export-dynamic is not portable (only works on
GNU ld)
* libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
(gst_check_setup_sink_pad):
Make sure to pass a message parameter to the fail_* macros.
* tests/check/gst/gstinfo.c: (GST_START_TEST):
Fix some compiler warnings.