platform/upstream/gstreamer.git
18 years agolibs/gst/net/: Stop reading commands when EOF as well.
Wim Taymans [Fri, 29 Sep 2006 08:22:22 +0000 (08:22 +0000)]
libs/gst/net/: Stop reading commands when EOF as well.

Original commit message from CVS:
* libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
* libs/gst/net/gstnettimeprovider.c:
(gst_net_time_provider_thread):
Stop reading commands when EOF as well.
* plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
* plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
* plugins/elements/gstidentity.c: (gst_identity_class_init):
Unify description of the dump property.

18 years agoMention bug number in previous commit
Jan Schmidt [Thu, 28 Sep 2006 17:20:17 +0000 (17:20 +0000)]
Mention bug number in previous commit

Original commit message from CVS:
Mention bug number in previous commit

18 years agotests/examples/manual/.cvsignore: OK, so it's actually cvsignore that needs changing...
Jan Schmidt [Thu, 28 Sep 2006 15:52:04 +0000 (15:52 +0000)]
tests/examples/manual/.cvsignore: OK, so it's actually cvsignore that needs changing. Stop laughing.

Original commit message from CVS:
* tests/examples/manual/.cvsignore:
OK, so it's actually cvsignore that needs changing. Stop laughing.

18 years agotests/examples/manual/Makefile.am: Gah, declare vars *before* using them
Jan Schmidt [Thu, 28 Sep 2006 15:27:12 +0000 (15:27 +0000)]
tests/examples/manual/Makefile.am: Gah, declare vars *before* using them

Original commit message from CVS:
* tests/examples/manual/Makefile.am:
Gah, declare vars *before* using them

18 years agogst/: Re-commit the registry changes, along with an extra fix:
Jan Schmidt [Thu, 28 Sep 2006 14:00:43 +0000 (14:00 +0000)]
gst/: Re-commit the registry changes, along with an extra fix:

Original commit message from CVS:
* gst/gst.c: (init_pre), (scan_and_update_registry),
(ensure_current_registry_nonforking),
(ensure_current_registry_forking), (ensure_current_registry),
(init_post), (gst_debug_help), (gst_deinit):
* gst/gst_private.h:
* gst/gstregistry.c: (gst_registry_finalize),
(gst_registry_remove_features_for_plugin_unlocked),
(gst_registry_remove_plugin), (gst_registry_scan_path_level),
(gst_registry_scan_path),
(_priv_gst_registry_remove_cache_plugins),
(_priv_gst_registry_cleanup):
* gst/gstregistry.h:
Re-commit the registry changes, along with an extra fix:
When a cached plugin is encountered at a different file path,
update the stored path in the registry cache so that the parent
process knows where it actually is now when it re-reads the registry
cache. Fixes the thing that broke distcheck with the previous commit.
* tests/check/Makefile.am:
Clean up files named 'core' too when running make clean.
* tests/examples/manual/Makefile.am:
Set up a registry path for running these tests, and clean it properly
for distcheck.

18 years agoconfigure.ac: Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we...
Jan Schmidt [Thu, 28 Sep 2006 11:11:28 +0000 (11:11 +0000)]
configure.ac: Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we want gmodule-no-export-2.0.pc instea...

Original commit message from CVS:
* configure.ac:
Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
want gmodule-no-export-2.0.pc instead so that we don't drag in
--export-dynamic on every project that links to GStreamer.
Also, make our export regex only match the start of symbols, rather
than any symbol that contains '_gst' somewhere.
* libs/gst/check/Makefile.am:
The libgstcheck we build does however need export-dynamic, as it
produces some symbols that don't match our _gst... style regex.

18 years agogst/: Revert previous change until I figure out why it breaks distcheck.
Jan Schmidt [Wed, 27 Sep 2006 17:42:47 +0000 (17:42 +0000)]
gst/: Revert previous change until I figure out why it breaks distcheck.

Original commit message from CVS:
* gst/gst.c: (init_pre), (scan_and_update_registry),
(ensure_current_registry_nonforking),
(ensure_current_registry_forking), (ensure_current_registry),
(init_post), (gst_debug_help), (gst_deinit):
* gst/gst_private.h:
* gst/gstregistry.c: (gst_registry_finalize),
(gst_registry_remove_plugin), (gst_registry_scan_path_level),
(gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
(_gst_registry_cleanup):
* gst/gstregistry.h:
Revert previous change until I figure out why it breaks distcheck.

18 years agogst/gst.c: Make init_pre and init_post take the full complement of GOptionFunc args...
Jan Schmidt [Wed, 27 Sep 2006 16:52:59 +0000 (16:52 +0000)]
gst/gst.c: Make init_pre and init_post take the full complement of GOptionFunc args so they can return useful GErrors...

Original commit message from CVS:
* gst/gst.c: (init_pre), (scan_and_update_registry),
(ensure_current_registry_nonforking),
(ensure_current_registry_forking), (ensure_current_registry),
(init_post), (gst_debug_help), (gst_deinit):
Make init_pre and init_post take the full complement of GOptionFunc
args so they can return useful GErrors. Make the registry updating
functions do so.
Call _priv_gst_registry_remove_cache_plugins after scanning files to
ensure that the registry we're about to write out doesn't contain
stale information about old-deleted plugin files.
Make _priv_gst_registry_remove_cache_plugins return a boolean so
that deletion of plugin files is considered a registry change.
* gst/gst_private.h:
* gst/gstregistry.c: (gst_registry_finalize),
(gst_registry_remove_features_for_plugin_unlocked),
(gst_registry_remove_plugin), (gst_registry_scan_path_level),
(gst_registry_scan_path),
(_priv_gst_registry_remove_cache_plugins),
(_priv_gst_registry_cleanup):
* gst/gstregistry.h:
Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
by adding _priv prefix, so that they won't appear in the global
symbol table. They still do atm though because of #318031. Move the
prototypes to gst_private.h
When removing a plugin, remove all features for that plugin too.
Fixes #340878.

18 years agodocs/random/moving-plugins: Make it clear that the "compiled-in descriptions" really...
Wim Taymans [Wed, 27 Sep 2006 13:19:55 +0000 (13:19 +0000)]
docs/random/moving-plugins: Make it clear that the "compiled-in descriptions" really mean the element details.

Original commit message from CVS:
* docs/random/moving-plugins:
Make it clear that the "compiled-in descriptions" really mean
the element details.
* libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_wait_preroll):
Update docs.
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
(gst_base_src_get_range), (gst_base_src_activate_push):
* libs/gst/base/gstbasesrc.h:
Added function to block while waiting for PLAYING, this function
is used by live sources that block on the clock.
API: gst_base_src_wait_playing()

18 years agoMakefile.am: gst-element-check.m4 is generated and should therefore be copied from...
Peter Kjellerstedt [Wed, 27 Sep 2006 10:13:13 +0000 (10:13 +0000)]
Makefile.am: gst-element-check.m4 is generated and should therefore be copied from the build dir rather than the sour...

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis com>
* Makefile.am:
gst-element-check.m4 is generated and should therefore be
copied from the build dir rather than the source dir (#357593).
'make distcheck' hasn't noticed this because we were disting
the file as well, so stop doing that.

18 years agotests/check/gst/gstcaps.c: Add some tests for gst_caps_intersect().
Tim-Philipp Müller [Wed, 27 Sep 2006 09:23:18 +0000 (09:23 +0000)]
tests/check/gst/gstcaps.c: Add some tests for gst_caps_intersect().

Original commit message from CVS:
* tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
Add some tests for gst_caps_intersect().
* tools/gst-launch.c: (event_loop):
Print all buffering percentages we get, even the 100% one.

18 years agotools/gst-inspect.c: Fix printing of flags to match the look of enums.
Wim Taymans [Tue, 26 Sep 2006 12:39:26 +0000 (12:39 +0000)]
tools/gst-inspect.c: Fix printing of flags to match the look of enums.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info),
(print_signal_info):
Fix printing of flags to match the look of enums.

18 years agogst/gstelementfactory.c: Fix typo in docs blurb.
Tim-Philipp Müller [Mon, 25 Sep 2006 13:08:29 +0000 (13:08 +0000)]
gst/gstelementfactory.c: Fix typo in docs blurb.

Original commit message from CVS:
* gst/gstelementfactory.c:
Fix typo in docs blurb.

18 years agogst/gsturi.c: Don't assert/crash here if a uri handler doesn't return any supported...
Tim-Philipp Müller [Mon, 25 Sep 2006 11:16:37 +0000 (11:16 +0000)]
gst/gsturi.c: Don't assert/crash here if a uri handler doesn't return any supported protocols. The list of protocols ...

Original commit message from CVS:
* gst/gsturi.c: (search_by_entry):
Don't assert/crash here if a uri handler doesn't return any
supported protocols. The list of protocols could be generated
dynamically at runtime or at plugin registration, and an error
in the underlying library shouldn't be fatal (#353301).

18 years agogst/gstinfo.c: Fix warning if HAVE_PRINTF_EXTENSION is undefined (spotted by Peter...
Tim-Philipp Müller [Mon, 25 Sep 2006 10:36:23 +0000 (10:36 +0000)]
gst/gstinfo.c: Fix warning if HAVE_PRINTF_EXTENSION is undefined (spotted by Peter Kjellerstedt).

Original commit message from CVS:
* gst/gstinfo.c:
Fix warning if HAVE_PRINTF_EXTENSION is undefined
(spotted by Peter Kjellerstedt).

18 years agolibs/gst/base/gstbasesrc.c: Match _start/_stop calls in the activate functions. Remov...
Antoine Tremblay [Sat, 23 Sep 2006 09:30:40 +0000 (09:30 +0000)]
libs/gst/base/gstbasesrc.c: Match _start/_stop calls in the activate functions. Remove redundant _stop call from the ...

Original commit message from CVS:
Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
* libs/gst/base/gstbasesrc.c:
(gst_base_src_default_check_get_range), (gst_base_src_start),
(gst_base_src_activate_push), (gst_base_src_activate_pull),
(gst_base_src_change_state):
Match _start/_stop calls in the activate functions. Remove redundant
_stop call from the state change function. Fixes #356910.
Turn failure DEBUG into ERROR.

18 years agoUpdate docs about buffering.
Wim Taymans [Fri, 22 Sep 2006 15:29:23 +0000 (15:29 +0000)]
Update docs about buffering.

Original commit message from CVS:
* docs/design/part-buffering.txt:
* gst/gstmessage.c: (gst_message_new_buffering),
(gst_message_parse_buffering):
Update docs about buffering.
* docs/design/part-trickmodes.txt:
Fix typo.

18 years agoaudiotestsrc is not part of core, fakesrc is
Thomas Vander Stichele [Fri, 22 Sep 2006 14:30:49 +0000 (14:30 +0000)]
audiotestsrc is not part of core, fakesrc is

Original commit message from CVS:
audiotestsrc is not part of core, fakesrc is

18 years agolibs/gst/controller/gstcontroller.c: Ref instances when returning them again (fixes...
Stefan Kost [Fri, 22 Sep 2006 13:32:43 +0000 (13:32 +0000)]
libs/gst/controller/gstcontroller.c: Ref instances when returning them again (fixes #357180)

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
(gst_controller_new_list):
Ref instances when returning them again (fixes #357180)

18 years agogst/gstghostpad.c: Don't forget to release proxy lock when there's an error.
Tim-Philipp Müller [Fri, 22 Sep 2006 10:17:15 +0000 (10:17 +0000)]
gst/gstghostpad.c: Don't forget to release proxy lock when there's an error.

Original commit message from CVS:
* gst/gstghostpad.c: (gst_ghost_pad_set_target):
Don't forget to release proxy lock when there's an error.

18 years agogst/gstcaps.h: Add extra initialisers for Caps things, to fix some plugin warnings...
Jan Schmidt [Wed, 20 Sep 2006 16:17:26 +0000 (16:17 +0000)]
gst/gstcaps.h: Add extra initialisers for Caps things, to fix some plugin warnings when using -Wextra

Original commit message from CVS:
* gst/gstcaps.h:
Add extra initialisers for Caps things, to fix some plugin warnings
when using -Wextra

18 years agogst/gstghostpad.c: Also set template on the internal pad so that a getcaps from the...
Wim Taymans [Mon, 18 Sep 2006 13:56:26 +0000 (13:56 +0000)]
gst/gstghostpad.c: Also set template on the internal pad so that a getcaps from the target pad returns the template c...

Original commit message from CVS:
* gst/gstghostpad.c: (gst_ghost_pad_new_full):
Also set template on the internal pad so that a getcaps from the target
pad returns the template caps.

18 years agogst/gstelement.c: Use _DEBUG_OBJECT some more.
Wim Taymans [Mon, 18 Sep 2006 13:44:12 +0000 (13:44 +0000)]
gst/gstelement.c: Use _DEBUG_OBJECT some more.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_post_message),
(gst_element_dispose):
Use _DEBUG_OBJECT some more.
* libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
Avoid typechecks.
* tools/gst-launch.c: (main):
If the toplevel element is not a GstPipeline, it must be put in a
pipeline so that a bus and clock is selected.

18 years agolibs/gst/base/gstbasesrc.c: JITTER, RATE, and LATENCY query should be handled by...
Tim-Philipp Müller [Sun, 17 Sep 2006 19:31:27 +0000 (19:31 +0000)]
libs/gst/base/gstbasesrc.c: JITTER, RATE, and LATENCY query should be handled by the default case and not by the CONV...

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
JITTER, RATE, and LATENCY query should be handled by the
default case and not by the CONVERT query code.

18 years agogst/gstformat.c: Fix locking order (must take lock before using n_values).
Tim-Philipp Müller [Sun, 17 Sep 2006 19:26:16 +0000 (19:26 +0000)]
gst/gstformat.c: Fix locking order (must take lock before using n_values).

Original commit message from CVS:
* gst/gstformat.c: (gst_format_register):
Fix locking order (must take lock before using n_values).
* gst/gstvalue.c: (gst_value_serialize_enum),
(gst_value_deserialize_enum_iter_cmp),
(gst_value_deserialize_enum):
Fix serialisation/deserialisation of custom registered GstFormats.
* tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
Unit test for custom format serialisation/deserialisation.

18 years agoMore G_OBJECT macro fixing. Also Fix some details on the plugin-stamp section.
Stefan Kost [Sat, 16 Sep 2006 21:38:09 +0000 (21:38 +0000)]
More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp section.

Original commit message from CVS:
* docs/pwg/building-boiler.xml:
* plugins/elements/gstcapsfilter.c:
More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
section.

18 years agolibs/gst/base/gstbasetransform.c: Check if requested caps are the same as the sinks...
Edward Hervey [Sat, 16 Sep 2006 12:49:02 +0000 (12:49 +0000)]
libs/gst/base/gstbasetransform.c: Check if requested caps are the same as the sinks caps IF

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_buffer_alloc):
Check if requested caps are the same as the sinks caps IF
->have_same_caps is TRUE. If they are not, act as if have_same_caps
is FALSE.
This fixes the renegotiation issues stated in #352827.

18 years agoExtract the manual examples again like we used to do.
Thomas Vander Stichele [Sat, 16 Sep 2006 10:49:47 +0000 (10:49 +0000)]
Extract the manual examples again like we used to do.

Original commit message from CVS:
* configure.ac:
* docs/manual/advanced-autoplugging.xml:
* tests/examples/Makefile.am:
* tests/examples/manual/.cvsignore:
* tests/examples/manual/Makefile.am:
* tests/examples/manual/extract.pl:
Extract the manual examples again like we used to do.
Fix one of them.

18 years agowin32/common/config.h: update for version
Thomas Vander Stichele [Sat, 16 Sep 2006 10:47:36 +0000 (10:47 +0000)]
win32/common/config.h: update for version

Original commit message from CVS:
* win32/common/config.h:
update for version

18 years agogst/gsterror.c: Documents how to receive errors.
Stefan Kost [Fri, 15 Sep 2006 21:30:00 +0000 (21:30 +0000)]
gst/gsterror.c: Documents how to receive errors.

Original commit message from CVS:
* gst/gsterror.c:
Documents how to receive errors.

18 years agotools/gst-launch.c: Added some comments here and there.
Wim Taymans [Fri, 15 Sep 2006 10:43:16 +0000 (10:43 +0000)]
tools/gst-launch.c: Added some comments here and there.

Original commit message from CVS:
* tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
(event_loop), (main):
Added some comments here and there.
Post an application message when an interrupt is caught instead of doing
an uncontrolled state change.
Clean up the event loop.
Handle buffering messages, pause/resume the pipeline.
Make shutdown because of an interrupt more reliable.

18 years agolibs/gst/base/gstbasesink.c: Make sure that our internal state is correct when we...
Wim Taymans [Fri, 15 Sep 2006 09:49:14 +0000 (09:49 +0000)]
libs/gst/base/gstbasesink.c: Make sure that our internal state is correct when we commit our state asynchronously. Th...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
(gst_base_sink_preroll_object):
Make sure that our internal state is correct when we commit our state
asynchronously. This solves a race where a state change to PLAYING
could cause the sink to remain blocked in preroll in some situations.

18 years agotools/gst-inspect.c: List flags as hex so it's easier to deal with.
Wim Taymans [Fri, 15 Sep 2006 08:50:21 +0000 (08:50 +0000)]
tools/gst-inspect.c: List flags as hex so it's easier to deal with.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info),
(print_signal_info):
List flags as hex so it's easier to deal with.

18 years agoExpose logic to wait for preroll so that subclasses such as audiosink can also use...
Wim Taymans [Fri, 15 Sep 2006 08:47:36 +0000 (08:47 +0000)]
Expose logic to wait for preroll so that subclasses such as audiosink can also use this method.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
(gst_base_sink_do_sync):
* libs/gst/base/gstbasesink.h:
Expose logic to wait for preroll so that subclasses such as audiosink
can also use this method.
API: gst_base_sink_wait_preroll()

18 years agogst/: Small cleanups in docs and code.
Wim Taymans [Fri, 15 Sep 2006 08:43:44 +0000 (08:43 +0000)]
gst/: Small cleanups in docs and code.

Original commit message from CVS:
* gst/gstobject.c: (gst_object_set_parent):
* gst/gstpipeline.c: (do_pipeline_seek):
Small cleanups in docs and code.
* gst/gstsegment.c: (gst_segment_clip):
* tests/check/gst/gstsegment.c: (GST_START_TEST):
if stop == start and start is in the segment, no clipping should be
done. Also add a test for this.

18 years agoAdded methods to create and parse BUFFERING messages.
Wim Taymans [Fri, 15 Sep 2006 08:39:56 +0000 (08:39 +0000)]
Added methods to create and parse BUFFERING messages.

Original commit message from CVS:
* docs/design/part-buffering.txt:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_new_buffering),
(gst_message_parse_buffering):
* gst/gstmessage.h:
Added methods to create and parse BUFFERING messages.
Added preliminary docs about buffering.
API: gst_message_new_buffering
API: gst_message_parse_buffering

18 years agogst/gstbin.c: Update documentation.
Wim Taymans [Fri, 15 Sep 2006 08:32:57 +0000 (08:32 +0000)]
gst/gstbin.c: Update documentation.

Original commit message from CVS:
* gst/gstbin.c:
Update documentation.
* gst/gstelement.c: (gst_element_class_init),
(gst_element_release_request_pad), (gst_element_set_clock),
(gst_element_get_index), (gst_element_add_pad),
(gst_element_remove_pad), (gst_element_get_random_pad),
(gst_element_send_event), (gst_element_get_query_types),
(gst_element_query), (gst_element_post_message),
(gst_element_message_full), (gst_element_continue_state),
(gst_element_lost_state), (gst_element_save_thyself),
(gst_element_restore_thyself):
Documentation updates.
Rename last bit of the new-pad -> pad-added signal rename.
Fix the case where an element query would only work if the source
pad was linked.
Avoid some useless type checking in message handling.
* gst/gstevent.c:
* gst/gstevent.h:
* gst/gstutils.c:
Documentation updates.

18 years agoadd an INFO line for when we actually update the fd
Thomas Vander Stichele [Thu, 14 Sep 2006 20:12:04 +0000 (20:12 +0000)]
add an INFO line for when we actually update the fd

Original commit message from CVS:
add an INFO line for when we actually update the fd

18 years agoback to trunk
Thomas Vander Stichele [Thu, 14 Sep 2006 20:11:10 +0000 (20:11 +0000)]
back to trunk

Original commit message from CVS:
back to trunk

18 years agoreleasing 0.10.10 RELEASE-0_10_10
Thomas Vander Stichele [Thu, 14 Sep 2006 20:08:14 +0000 (20:08 +0000)]
releasing 0.10.10

Original commit message from CVS:
releasing 0.10.10

18 years agofirst prerelease
Thomas Vander Stichele [Sat, 9 Sep 2006 16:08:17 +0000 (16:08 +0000)]
first prerelease

Original commit message from CVS:
first prerelease

18 years agotranslation updates
Thomas Vander Stichele [Sat, 9 Sep 2006 16:07:34 +0000 (16:07 +0000)]
translation updates

Original commit message from CVS:
translation updates

18 years agodocs/manual/advanced-position.xml: Fix typo in sample code.
Tim-Philipp Müller [Tue, 5 Sep 2006 14:11:06 +0000 (14:11 +0000)]
docs/manual/advanced-position.xml: Fix typo in sample code.

Original commit message from CVS:
* docs/manual/advanced-position.xml:
Fix typo in sample code.

18 years agolibs/gst/net/: Make stuff compile on windows. Fixes #345295.
Wim Taymans [Tue, 5 Sep 2006 08:35:20 +0000 (08:35 +0000)]
libs/gst/net/: Make stuff compile on windows. Fixes #345295.

Original commit message from CVS:
* libs/gst/net/gstnetclientclock.c: (inet_aton),
(gst_net_client_clock_init), (gst_net_client_clock_finalize),
(gst_net_client_clock_do_select), (gst_net_client_clock_new):
* libs/gst/net/gstnetclientclock.h:
* libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
* libs/gst/net/gstnettimepacket.h:
* libs/gst/net/gstnettimeprovider.c: (inet_aton),
(gst_net_time_provider_init), (gst_net_time_provider_finalize),
(gst_net_time_provider_thread), (gst_net_time_provider_new):
* libs/gst/net/gstnettimeprovider.h:
Make stuff compile on windows. Fixes #345295.

18 years agogst/gst.c: Print better details when child was terminated by signal.
Tim-Philipp Müller [Sun, 3 Sep 2006 11:16:50 +0000 (11:16 +0000)]
gst/gst.c: Print better details when child was terminated by signal.

Original commit message from CVS:
* gst/gst.c: (ensure_current_registry_forking):
Print better details when child was terminated by signal.

18 years agogst/gstregistryxml.c: Print a warning rather than g_assert() if a plugin feature...
Tim-Philipp Müller [Sun, 3 Sep 2006 11:06:52 +0000 (11:06 +0000)]
gst/gstregistryxml.c: Print a warning rather than g_assert() if a plugin feature is a URI handler but returns no prot...

Original commit message from CVS:
* gst/gstregistryxml.c: (gst_registry_xml_save_feature):
Print a warning rather than g_assert() if a plugin feature
is a URI handler but returns no protocols (#353976).

18 years agodocs/random/moving-plugins: Fix two typos.
Stefan Kost [Sat, 2 Sep 2006 19:10:56 +0000 (19:10 +0000)]
docs/random/moving-plugins: Fix two typos.

Original commit message from CVS:
* docs/random/moving-plugins:
Fix two typos.

18 years agodocument process some more
Thomas Vander Stichele [Sat, 2 Sep 2006 19:03:41 +0000 (19:03 +0000)]
document process some more

Original commit message from CVS:
document process some more

18 years agoclarify error message
Thomas Vander Stichele [Sat, 2 Sep 2006 13:40:41 +0000 (13:40 +0000)]
clarify error message

Original commit message from CVS:
clarify error message

18 years agodocument process some more
Thomas Vander Stichele [Sat, 2 Sep 2006 13:36:44 +0000 (13:36 +0000)]
document process some more

Original commit message from CVS:
document process some more

18 years agoChangeLog surgery: fix typo
Tim-Philipp Müller [Fri, 1 Sep 2006 16:03:49 +0000 (16:03 +0000)]
ChangeLog surgery: fix typo

Original commit message from CVS:
ChangeLog surgery: fix typo

18 years agogst/gstinfo.c: Fix locking order, handle NULL function values properly.
Tim-Philipp Müller [Fri, 1 Sep 2006 15:55:20 +0000 (15:55 +0000)]
gst/gstinfo.c: Fix locking order, handle NULL function values properly.

Original commit message from CVS:
* gst/gstinfo.c: (_gst_debug_nameof_funcptr):
Fix locking order, handle NULL function values properly.
* gst/gstinfo.h:
Fix docs.
* gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
Initialised variable before using it and fix debug statement to
print the address of the function rather than the address of the
variable on the stack holding the address of the function.

18 years agogst/gstghostpad.c: More cleanups.
Wim Taymans [Fri, 1 Sep 2006 10:33:03 +0000 (10:33 +0000)]
gst/gstghostpad.c: More cleanups.

Original commit message from CVS:
* gst/gstghostpad.c: (gst_proxy_pad_do_event),
(gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
(gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
(gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
(gst_ghost_pad_parent_unset),
(gst_ghost_pad_internal_do_activate_push),
(gst_ghost_pad_internal_do_activate_pull),
(gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
(gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
(gst_ghost_pad_init), (gst_ghost_pad_dispose),
(gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
(gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
(gst_ghost_pad_new_no_target_from_template),
(gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
More cleanups.
Avoid needless typechecking in macros.
Since the internal pad is always present and never changes, there is
no need to locking or ref when retrieving it.
Improve debugging a bit.
Handle link errors when setting the target. Fixes #341029.

18 years agodocs/: Fix docs some more.
Wim Taymans [Fri, 1 Sep 2006 10:26:52 +0000 (10:26 +0000)]
docs/: Fix docs some more.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* docs/plugins/gstreamer-plugins-sections.txt:
Fix docs some more.
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
(gst_collect_pads_event):
* libs/gst/base/gstcollectpads.h:
Documentation updates.
Free queued buffer when removing a pad.

18 years agogst/gstutils.c: Ensure that we set a capsfilter to NULL if we failed to link it when...
Michael Smith [Thu, 31 Aug 2006 17:13:34 +0000 (17:13 +0000)]
gst/gstutils.c: Ensure that we set a capsfilter to NULL if we failed to link it when doing filtered linking, to avoid...

Original commit message from CVS:
* gst/gstutils.c: (gst_element_link_pads),
(gst_element_link_pads_filtered):
Ensure that we set a capsfilter to NULL if we failed to link it
when doing filtered linking, to avoid criticals.

No need to check for unreffing srcpad, which is explicly NULLed
above (a trivial code cleanup).

18 years agodocs/design/part-gstghostpad.txt: Update ascii art in documentation.
Wim Taymans [Thu, 31 Aug 2006 15:19:44 +0000 (15:19 +0000)]
docs/design/part-gstghostpad.txt: Update ascii art in documentation.

Original commit message from CVS:
* docs/design/part-gstghostpad.txt:
Update ascii art in documentation.
* gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
(gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
(gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
(gst_ghost_pad_internal_do_activate_push),
(gst_ghost_pad_internal_do_activate_pull),
(gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
(gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
(gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
(gst_ghost_pad_set_target):
Small cleanups and leak fixes.
Remove some checks now that the internal pad is never NULL.
Fix the case where linking pads without a target would create nasty
criticals. Fixes #341029.
Don't assign a GstPadLinkReturn to a gboolean and mess up the return
value of _set_target().
* tests/check/gst/gstghostpad.c: (GST_START_TEST),
(gst_ghost_pad_suite):
Some more tests for creating and linking untargeted ghostpads.

18 years agoRefactored *_new() functions.
Edward Hervey [Thu, 31 Aug 2006 10:59:11 +0000 (10:59 +0000)]
Refactored *_new() functions.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
(gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
(gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
(gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
(gst_ghost_pad_new_from_template),
(gst_ghost_pad_new_no_target_from_template):
* gst/gstghostpad.h:
Refactored *_new() functions.
Templates are now used as a g_object_new() parameter.
Use template in _do_getcaps() if we don't have a target.
Small documentation cleanups.
Added two new constructors:
gst_ghost_pad_new_from_template()
gst_ghost_pad_new_no_target_from_template()
* tests/check/gst/gstghostpad.c: (GST_START_TEST),
(gst_ghost_pad_suite):
Added tests for new ghostpad instanciation functions.
API additions: gst_ghost_pad_new_from_template,
gst_ghost_pad_new_no_target_from_template

18 years agodocs/random/ensonic/profiling.txt: Ideas about qos profiling.
Stefan Kost [Wed, 30 Aug 2006 12:28:55 +0000 (12:28 +0000)]
docs/random/ensonic/profiling.txt: Ideas about qos profiling.

Original commit message from CVS:
* docs/random/ensonic/profiling.txt:
Ideas about qos profiling.

18 years agogst/gstcaps.c: Code cleanups.
Wim Taymans [Tue, 29 Aug 2006 14:39:42 +0000 (14:39 +0000)]
gst/gstcaps.c: Code cleanups.

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_structure_is_subset_field):
Code cleanups.
Fix memleak.

18 years agogst/gstxml.c: Improve and detypofy docs.
Tim-Philipp Müller [Tue, 29 Aug 2006 10:49:03 +0000 (10:49 +0000)]
gst/gstxml.c: Improve and detypofy docs.

Original commit message from CVS:
* gst/gstxml.c:
Improve and detypofy docs.
* tests/check/Makefile.am:
* tests/check/gst/.cvsignore:
* tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
Add a basic test suite for GstXML.

18 years agogst/gstelement.c: Clear the pad caps when the element shut down all of the pads and...
Wim Taymans [Tue, 29 Aug 2006 09:56:57 +0000 (09:56 +0000)]
gst/gstelement.c: Clear the pad caps when the element shut down all of the pads and is not streaming data that could ...

Original commit message from CVS:
* gst/gstelement.c: (activate_pads), (clear_caps),
(iterator_activate_fold_with_resync), (gst_element_pads_activate):
Clear the pad caps when the element shut down all of the pads and
is not streaming data that could modify the caps.
Fixes #352958.

18 years agoI don't even know which arch that is
Thomas Vander Stichele [Tue, 29 Aug 2006 08:02:41 +0000 (08:02 +0000)]
I don't even know which arch that is

Original commit message from CVS:
I don't even know which arch that is

18 years agomore logical to log the sending pad, and the pad it is sending to
Thomas Vander Stichele [Mon, 28 Aug 2006 23:16:33 +0000 (23:16 +0000)]
more logical to log the sending pad, and the pad it is sending to

Original commit message from CVS:
more logical to log the sending pad, and the pad it is sending to

18 years agoplugins/elements/gstidentity.c: Revert previous change; I misunderstood single-segmen...
Michael Smith [Mon, 28 Aug 2006 18:20:00 +0000 (18:20 +0000)]
plugins/elements/gstidentity.c: Revert previous change; I misunderstood single-segment mode.

Original commit message from CVS:
* plugins/elements/gstidentity.c: (gst_identity_transform_ip):
Revert previous change; I misunderstood single-segment mode.

18 years agoplugins/elements/gstidentity.c: Unset DISCONT on buffers when using single-segment...
Michael Smith [Mon, 28 Aug 2006 18:08:09 +0000 (18:08 +0000)]
plugins/elements/gstidentity.c: Unset DISCONT on buffers when using single-segment mode.

Original commit message from CVS:
* plugins/elements/gstidentity.c: (gst_identity_transform_ip):
Unset DISCONT on buffers when using single-segment mode.

18 years agogst/gstcaps.*: Fix docs and indentation again.
Wim Taymans [Mon, 28 Aug 2006 16:39:20 +0000 (16:39 +0000)]
gst/gstcaps.*: Fix docs and indentation again.

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_merge_structure):
* gst/gstcaps.h:
Fix docs and indentation again.
* tests/check/gst/gstquery.c: (GST_START_TEST):
Fix leak in tests and add some more tests.

18 years agolibs/gst/base/gstbasesink.c: Inform GstSegment of the last stop position in order...
Edward Hervey [Mon, 28 Aug 2006 15:57:39 +0000 (15:57 +0000)]
libs/gst/base/gstbasesink.c: Inform GstSegment of the last stop position in order for the current segment to have a p...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Inform GstSegment of the last stop position in order for the current
segment to have a proper duration if it doesn't have a specific stop
position from which a duration could be calculated.
This bug was noticeable when a non-flushing, non-update new segment was
followed by another segment (all buffers from the new segment were being
dropped).

18 years agolibs/gst/base/gstbasesrc.c: Small comment update.
Wim Taymans [Mon, 28 Aug 2006 15:48:24 +0000 (15:48 +0000)]
libs/gst/base/gstbasesrc.c: Small comment update.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
Small comment update.
* plugins/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_transform_ip):
Drop-probability is broken, mention this in the code with a
FIXME and also in the property description.
Make silent also be silent about the drop messages.

18 years agodocs/manual/appendix-win32.xml: Remove mention of popt, we don't depend on that any...
Tim-Philipp Müller [Mon, 28 Aug 2006 11:06:05 +0000 (11:06 +0000)]
docs/manual/appendix-win32.xml: Remove mention of popt, we don't depend on that any longer (#353136). Add some commen...

Original commit message from CVS:
* docs/manual/appendix-win32.xml:
Remove mention of popt, we don't depend on that any
longer (#353136). Add some comments pointing out that
this section is slightly outdated.

18 years agoInitialize variables when creating a new segment query.
Torsten Schoenfeld [Mon, 28 Aug 2006 08:44:29 +0000 (08:44 +0000)]
Initialize variables when creating a new segment query.

Original commit message from CVS:
Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
* gst/gstquery.c: (gst_query_new_segment):
* tests/check/gst/gstquery.c: (GST_START_TEST):
Initialize variables when creating a new segment query.
Fixes #353121.

18 years agoCheck for NULL before _reffing the bus. Fixes #353122.
Torsten Schoenfeld [Mon, 28 Aug 2006 08:35:31 +0000 (08:35 +0000)]
Check for NULL before _reffing the bus. Fixes #353122.

Original commit message from CVS:
Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
* gst/gstelement.c: (gst_element_get_bus):
* tests/check/gst/gstelement.c: (GST_START_TEST):
Check for NULL before _reffing the bus. Fixes #353122.

18 years agodocs/manual/basics-bus.xml: Docs update: fix wrong callback return value explanation...
Tim-Philipp Müller [Fri, 25 Aug 2006 16:46:09 +0000 (16:46 +0000)]
docs/manual/basics-bus.xml: Docs update: fix wrong callback return value explanation; add some lines about the implic...

Original commit message from CVS:
* docs/manual/basics-bus.xml:
Docs update: fix wrong callback return value explanation; add
some lines about the implicit relationship between main loop
and main context; remove duplicate main loop variable declaration.

18 years agotests/check/gst/gstcaps.c: Don't leak caps in unit test; add a few more simple checks.
Tim-Philipp Müller [Thu, 24 Aug 2006 12:30:04 +0000 (12:30 +0000)]
tests/check/gst/gstcaps.c: Don't leak caps in unit test; add a few more simple checks.

Original commit message from CVS:
* tests/check/gst/gstcaps.c: (GST_START_TEST):
Don't leak caps in unit test; add a few more simple
checks.

18 years agoimplement caps merging (fixes #352580)
Stefan Kost [Thu, 24 Aug 2006 10:40:31 +0000 (10:40 +0000)]
implement caps merging (fixes #352580)

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstcaps.c: (gst_caps_structure_is_subset_field),
(gst_caps_structure_is_subset), (gst_caps_merge),
(gst_caps_merge_structure):
* gst/gstcaps.h:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_transform_caps):
* tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
implement caps merging (fixes #352580)

18 years agotools/: add debug-log plotting developer tool (#340674)
Stefan Kost [Wed, 23 Aug 2006 18:53:44 +0000 (18:53 +0000)]
tools/: add debug-log plotting developer tool (#340674)

Original commit message from CVS:
* tools/Makefile.am:
* tools/gst-plot-timeline.py:
add debug-log plotting developer tool (#340674)

18 years agogst/gstpad.c: Improve debugging for task functions.
Wim Taymans [Wed, 23 Aug 2006 16:51:19 +0000 (16:51 +0000)]
gst/gstpad.c: Improve debugging for task functions.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
(gst_pad_stop_task):
Improve debugging for task functions.
* gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
(gst_task_start), (gst_task_pause), (gst_task_join):
Make sure that the task function started and finished after a
join().
Don't try to push the task function on the threadpool multiple
times.
Improve the g_warning message with some useful suggestions
about how to fix the problem.

18 years agogst/gstutils.c: Handle RESYNC correctly in _proxy_getcaps.
Wim Taymans [Wed, 23 Aug 2006 10:59:47 +0000 (10:59 +0000)]
gst/gstutils.c: Handle RESYNC correctly in _proxy_getcaps.

Original commit message from CVS:
* gst/gstutils.c: (gst_pad_proxy_getcaps):
Handle RESYNC correctly in _proxy_getcaps.

18 years agoword refcounting more precisely for gst_value_*_buffer
Thomas Vander Stichele [Wed, 23 Aug 2006 09:47:32 +0000 (09:47 +0000)]
word refcounting more precisely for gst_value_*_buffer

Original commit message from CVS:
word refcounting more precisely for gst_value_*_buffer

18 years agogst/gstxml.c: Chain up to parent class in dispose function and also unref the element...
Tim-Philipp Müller [Mon, 21 Aug 2006 15:19:40 +0000 (15:19 +0000)]
gst/gstxml.c: Chain up to parent class in dispose function and also unref the elements in the toplevel_elements GList.

Original commit message from CVS:
* gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
(gst_xml_parse_memory), (gst_xml_get_element):
Chain up to parent class in dispose function and also
unref the elements in the toplevel_elements GList.
Don't leak XmlDocPtr in _parse_file() and _parse_memory().
Always return a reference in gst_xml_get_element() rather
than only sometimes.
* tools/gst-launch.c: (xmllaunch_parse_cmdline):
Don't leak GstXml object.

18 years agoAPI: Add gst_caps_merge() and use it in basetransform, fixes #345444 in a better way
Stefan Kost [Mon, 21 Aug 2006 14:54:31 +0000 (14:54 +0000)]
API: Add gst_caps_merge() and use it in basetransform, fixes #345444 in a better way

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstcaps.c: (gst_structure_is_equal_foreach),
(gst_caps_merge):
* gst/gstcaps.h:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_transform_caps):
API: Add gst_caps_merge() and use it in basetransform, fixes #345444
in a better way

18 years agogst/gstxml.c: Implement GObject::dispose virtual method in GstXML so we can free...
Edward Hervey [Mon, 21 Aug 2006 14:03:33 +0000 (14:03 +0000)]
gst/gstxml.c: Implement GObject::dispose virtual method in GstXML so we can free the top_elements GList.

Original commit message from CVS:
* gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
Implement GObject::dispose virtual method in GstXML so we can free the
top_elements GList.

18 years agogst/gstbuffer.c: Copy duration/offset_end/caps when creating a subbuffer of the compl...
Wim Taymans [Mon, 21 Aug 2006 09:30:04 +0000 (09:30 +0000)]
gst/gstbuffer.c: Copy duration/offset_end/caps when creating a subbuffer of the complete parent.

Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
(gst_buffer_create_sub):
Copy duration/offset_end/caps when creating a subbuffer of the
complete parent.
Make the subbuffer read-only when we make the metadata writable for
now. Fixes #351768.
* tests/check/gst/gstbuffer.c: (GST_START_TEST):
Added check for metadata copy when creating subbuffers.

18 years agolibs/gst/base/gstbasetransform.c: Only call downstream buffer_alloc if transform...
Edward Hervey [Mon, 21 Aug 2006 09:20:42 +0000 (09:20 +0000)]
libs/gst/base/gstbasetransform.c: Only call downstream buffer_alloc if transform element is passthrough or always_in_...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_buffer_alloc):
Only call downstream buffer_alloc if transform element is passthrough
or always_in_place. Closes #350449.

18 years agoChangeLog: ChangeLog surgery to add comments to previous changes
Stefan Kost [Sun, 20 Aug 2006 19:36:21 +0000 (19:36 +0000)]
ChangeLog: ChangeLog surgery to add comments to previous changes

Original commit message from CVS:
* ChangeLog:
ChangeLog surgery to add comments to previous changes

18 years agoSimplify caps to get rid of duplicates, fixes #345444
Stefan Kost [Sun, 20 Aug 2006 19:30:09 +0000 (19:30 +0000)]
Simplify caps to get rid of duplicates, fixes #345444

Original commit message from CVS:
* gst/gst.c:
* gst/gstpad.c: (gst_pad_set_active):
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_transform_caps):
Simplify caps to get rid of duplicates, fixes #345444

18 years agogst/gstvalue.*: Use these optimizations only internaly.
Stefan Kost [Sun, 20 Aug 2006 15:55:12 +0000 (15:55 +0000)]
gst/gstvalue.*: Use these optimizations only internaly.

Original commit message from CVS:
* gst/gstvalue.c:
* gst/gstvalue.h:
Use these optimizations only internaly.

18 years agogst/gstvalue.*: Saves the expensive lookup of the compare function in many cases...
Stefan Kost [Sun, 20 Aug 2006 14:30:20 +0000 (14:30 +0000)]
gst/gstvalue.*: Saves the expensive lookup of the compare function in many cases (#345444)

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_compare_list),
(gst_value_compare_fraction_range),
(gst_value_intersect_fraction_fraction_range),
(gst_value_intersect_fraction_range_fraction_range),
(gst_value_subtract_fraction_fraction_range),
(gst_value_subtract_fraction_range_fraction_range),
(gst_value_get_compare_func), (gst_value_compare),
(gst_value_compare_with_func):
* gst/gstvalue.h:
Saves the expensive lookup of the compare function in many cases
(#345444)

18 years agotests/check/gst/gstinfo.c: Disable test that require gstdebug if it wasn't built...
Edward Hervey [Fri, 18 Aug 2006 13:41:02 +0000 (13:41 +0000)]
tests/check/gst/gstinfo.c: Disable test that require gstdebug if it wasn't built in core.

Original commit message from CVS:
* tests/check/gst/gstinfo.c: (gst_info_suite):
Disable test that require gstdebug if it wasn't built in core.

18 years agodocs/random/ensonic/logging.txt: update ideas
Stefan Kost [Fri, 18 Aug 2006 10:52:33 +0000 (10:52 +0000)]
docs/random/ensonic/logging.txt: update ideas

Original commit message from CVS:
* docs/random/ensonic/logging.txt:
update ideas
* gst/gstinfo.c: (gst_debug_log_default):
reorder fields, save some columns, add optinal color codes for log-
levels

18 years agodocs/random/ensonic/logging.txt: add ideas about making the logs abit more useful
Stefan Kost [Fri, 18 Aug 2006 08:07:12 +0000 (08:07 +0000)]
docs/random/ensonic/logging.txt: add ideas about making the logs abit more useful

Original commit message from CVS:
* docs/random/ensonic/logging.txt:
add ideas about making the logs abit more useful

18 years agodocs/pwg/: Update for 0.10 API (#340627). Add myself to authors list.
Tim-Philipp Müller [Thu, 17 Aug 2006 18:11:11 +0000 (18:11 +0000)]
docs/pwg/: Update for 0.10 API (#340627). Add myself to authors list.

Original commit message from CVS:
* docs/pwg/advanced-events.xml:
* docs/pwg/titlepage.xml:
Update for 0.10 API (#340627). Add myself
to authors list.

18 years agoMake gstcheck stuff show up in docs (still needs to be documented properly though).
Tim-Philipp Müller [Thu, 17 Aug 2006 10:46:19 +0000 (10:46 +0000)]
Make gstcheck stuff show up in docs (still needs to be documented properly though).

Original commit message from CVS:
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/check/gstbufferstraw.c:
Make gstcheck stuff show up in docs (still needs to
be documented properly though).

18 years agoAdd internal helpers for pre-registering quarks from static strings and using the...
Jan Schmidt [Wed, 16 Aug 2006 11:47:54 +0000 (11:47 +0000)]
Add internal helpers for pre-registering quarks from static strings and using the quark values directly instead of lo...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/Makefile.am:
* gst/gst.c: (init_post):
* gst/gst_private.h:
* gst/gstquark.c: (_priv_gst_quarks_initialize):
* gst/gstquark.h:
* gst/gstquery.c: (gst_query_new_position),
(gst_query_set_position), (gst_query_parse_position),
(gst_query_new_duration), (gst_query_set_duration),
(gst_query_parse_duration), (gst_query_new_convert),
(gst_query_set_convert), (gst_query_parse_convert),
(gst_query_new_segment), (gst_query_set_segment),
(gst_query_parse_segment), (gst_query_new_seeking),
(gst_query_set_seeking), (gst_query_parse_seeking):
Add internal helpers for pre-registering quarks from static strings
and using the quark values directly instead of looking them up when
creating and parsing queries. Can be used for event construction too.
Closes #350432.

18 years agogst/gstbin.c: Fix bogus docs.
Wim Taymans [Wed, 16 Aug 2006 08:54:56 +0000 (08:54 +0000)]
gst/gstbin.c: Fix bogus docs.

Original commit message from CVS:
* gst/gstbin.c:
Fix bogus docs.

18 years agogst/gstutils.c: Fix memleak (#351502).
Tim-Philipp Müller [Tue, 15 Aug 2006 18:45:39 +0000 (18:45 +0000)]
gst/gstutils.c: Fix memleak (#351502).

Original commit message from CVS:
* gst/gstutils.c: (gst_util_set_value_from_string):
Fix memleak (#351502).
* tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
Add unit test for most of gst_util_set_value_from_string()
(not that one would want to encourage use of this function).

18 years agolibs/gst/check/gstcheck.h: Use const gchar * variables in fail_unless_equals_string...
Tim-Philipp Müller [Tue, 15 Aug 2006 18:29:22 +0000 (18:29 +0000)]
libs/gst/check/gstcheck.h: Use const gchar * variables in fail_unless_equals_string macro to avoid compiler warnings ...

Original commit message from CVS:
* libs/gst/check/gstcheck.h:
Use const gchar * variables in fail_unless_equals_string
macro to avoid compiler warnings (and don't use tabs for
indenting).

18 years agotools/gst-launch.c: More space on the left for the tag names, to cater for the 'exten...
Tim-Philipp Müller [Tue, 15 Aug 2006 10:08:34 +0000 (10:08 +0000)]
tools/gst-launch.c: More space on the left for the tag names, to cater for the 'extended comment' tag (not touching t...

Original commit message from CVS:
* tools/gst-launch.c: (print_tag):
More space on the left for the tag names, to cater
for the 'extended comment' tag (not touching the
string for the first line since it's translated).

18 years agoChangeLog surgery: don't forget to mention the other change in the ChangeLog
Tim-Philipp Müller [Tue, 15 Aug 2006 09:44:58 +0000 (09:44 +0000)]
ChangeLog surgery: don't forget to mention the other change in the ChangeLog

Original commit message from CVS:
ChangeLog surgery: don't forget to mention the other change in the ChangeLog

18 years agolibs/gst/check/gstcheck.h: Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually...
Tim-Philipp Müller [Tue, 15 Aug 2006 09:33:24 +0000 (09:33 +0000)]
libs/gst/check/gstcheck.h: Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually print something when they fail.

Original commit message from CVS:
* libs/gst/check/gstcheck.h:
Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
print something when they fail.

18 years agoAPI: add GST_TAG_EXTENDED_COMMENT (#350935).
Tim-Philipp Müller [Mon, 14 Aug 2006 19:04:56 +0000 (19:04 +0000)]
API: add GST_TAG_EXTENDED_COMMENT (#350935).

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
API: add GST_TAG_EXTENDED_COMMENT (#350935).