platform/upstream/gstreamer.git
16 years agogst/gstregistrybinary.*: Don't use GST_MAJORMINOR for the binary registry version...
Sebastian Dröge [Fri, 21 Mar 2008 15:52:14 +0000 (15:52 +0000)]
gst/gstregistrybinary.*: Don't use GST_MAJORMINOR for the binary registry version. Instead hardcode a value that must...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
(gst_registry_binary_check_magic),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
Don't use GST_MAJORMINOR for the binary registry version. Instead
hardcode a value that must be changed whenever the format changes
in an incompatible way.
Also don't GST_ERROR when there is a version mismatch, just
regenerate the registry silently.

16 years agoconfigure.ac: Back to development - 0.10.18.1
Jan Schmidt [Fri, 21 Mar 2008 00:35:10 +0000 (00:35 +0000)]
configure.ac: Back to development - 0.10.18.1

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

16 years agoRelease 0.10.18 RELEASE-0_10_18
Jan Schmidt [Fri, 21 Mar 2008 00:20:59 +0000 (00:20 +0000)]
Release 0.10.18

Original commit message from CVS:
Release 0.10.18

16 years agoUpdate .po files
Jan Schmidt [Thu, 20 Mar 2008 23:26:05 +0000 (23:26 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years ago0.10.17.4 pre-release
Jan Schmidt [Tue, 18 Mar 2008 12:17:58 +0000 (12:17 +0000)]
0.10.17.4 pre-release

Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
0.10.17.4 pre-release

16 years agoAdd new function gst_poll_fd_ignored() for improved Windows compatibility.
Ole André Vadla Ravnås [Tue, 18 Mar 2008 10:54:52 +0000 (10:54 +0000)]
Add new function gst_poll_fd_ignored() for improved Windows compatibility.

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås
<ole dot andre dot ravnas at tandberg dot com>
* docs/gst/gstreamer-sections.txt:
* gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
(gst_poll_update_winsock_event_mask),
(gst_poll_prepare_winsock_active_sets),
(gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
(gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
(gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
(gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
(gst_poll_check_ctrl_commands), (gst_poll_wait):
* gst/gstpoll.h:
* win32/common/libgstreamer.def:
Add new function gst_poll_fd_ignored() for improved Windows
compatibility.
Various minor fixes and cleanups. See #520808.

16 years agogst/gstindex.*: Don't free key strings which we don't own. Fixes crash in gst_index_e...
Tim-Philipp Müller [Mon, 17 Mar 2008 10:21:59 +0000 (10:21 +0000)]
gst/gstindex.*: Don't free key strings which we don't own. Fixes crash in gst_index_entry_free() (#522741).

Original commit message from CVS:
* gst/gstindex.c: (gst_index_entry_free):
* gst/gstindex.h:
Don't free key strings which we don't own. Fixes crash in
gst_index_entry_free() (#522741).
* tests/check/Makefile.am:
* tests/check/gst/.cvsignore:
* tests/check/gst/gstindex.c: (test_index_entries),
(gst_index_suite), (gst_index):
Add unit test for the above.

16 years agowin32/common/libgstreamer.def: Remove symbols that were removed recently. Fixes bug...
Sebastian Dröge [Tue, 11 Mar 2008 14:09:46 +0000 (14:09 +0000)]
win32/common/libgstreamer.def: Remove symbols that were removed recently. Fixes bug #521740.

Original commit message from CVS:
* win32/common/libgstreamer.def:
Remove symbols that were removed recently. Fixes bug #521740.

16 years ago0.10.17.3 pre-release
Jan Schmidt [Tue, 11 Mar 2008 00:24:18 +0000 (00:24 +0000)]
0.10.17.3 pre-release

Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
0.10.17.3 pre-release

16 years agoconfigure.ac: Release 0.10.17.3
Jan Schmidt [Tue, 11 Mar 2008 00:23:02 +0000 (00:23 +0000)]
configure.ac: Release 0.10.17.3

Original commit message from CVS:
* configure.ac:
Release 0.10.17.3

16 years agoRemove GstPollMode from the API, it does not make sense to let the application contro...
Ole André Vadla Ravnås [Fri, 7 Mar 2008 15:39:45 +0000 (15:39 +0000)]
Remove GstPollMode from the API, it does not make sense to let the application control this.

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås
<ole dot andre dot ravnas at tandberg dot com>
* docs/gst/gstreamer-sections.txt:
* gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
(gst_poll_update_winsock_event_mask), (gst_poll_new),
(gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
(gst_poll_remove_fd), (gst_poll_fd_ctl_write),
(gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
(gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
(gst_poll_fd_can_write), (gst_poll_wait),
(gst_poll_set_controllable), (gst_poll_restart),
(gst_poll_set_flushing):
* gst/gstpoll.h:
* libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
* libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
(gst_net_time_provider_new):
* plugins/elements/gstfdsink.c: (gst_fd_sink_start):
* plugins/elements/gstfdsrc.c: (gst_fd_src_start):
* tests/benchmarks/gstpollstress.c: (main):
* tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
Remove GstPollMode from the API, it does not make sense to let the
application control this.
Add support for Win32.
Fix the testsuite. Fixes #520671.

16 years agogst/gstregistrybinary.c: Include io.h for write() and close() when building with...
Ole André Vadla Ravnås [Fri, 7 Mar 2008 13:19:12 +0000 (13:19 +0000)]
gst/gstregistrybinary.c: Include io.h for write() and close() when building with MSVC. Fixes bug #520877.

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås
<ole dot andre dot ravnas at tandberg dot com>
* gst/gstregistrybinary.c:
Include io.h for write() and close() when building with MSVC. Fixes
bug #520877.

16 years agoMove registry backend API to private headers where we can. Add fixme-0.11 comments...
Stefan Kost [Fri, 7 Mar 2008 11:12:59 +0000 (11:12 +0000)]
Move registry backend API to private headers where we can. Add fixme-0.11 comments for the others. Add stubs for the ...

Original commit message from CVS:
* configure.ac:
* gst/gst_private.h:
* gst/gstconfig.h.in:
* gst/gstregistry.h:
* gst/gstregistrybinary.c:
* win32/common/gstconfig.h:
Move registry backend API to private headers where we can. Add
fixme-0.11 comments for the others. Add stubs for the xml backend when
using the binary to ensure they functions exists (they should not be
used though). Fixes #520756.

16 years ago0.10.17.2 prelease
Jan Schmidt [Tue, 4 Mar 2008 00:14:52 +0000 (00:14 +0000)]
0.10.17.2 prelease

Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
0.10.17.2 prelease

16 years agoSwitch to using portabl gsize/gssize instead of size_t/ssize_t
Edward Hervey [Mon, 3 Mar 2008 18:42:04 +0000 (18:42 +0000)]
Switch to using portabl gsize/gssize instead of size_t/ssize_t

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write),
(gst_registry_binary_read_cache):
* gst/gstregistryxml.c: (gst_registry_save):
* gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
* plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
* plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
(gst_file_src_map_small_region), (gst_file_src_create_mmap):
Switch to using portabl gsize/gssize instead of size_t/ssize_t
Fixes #520152

16 years agogst/gstminiobject.c: Import gst_private.h before any other header that might include...
Edward Hervey [Mon, 3 Mar 2008 18:14:33 +0000 (18:14 +0000)]
gst/gstminiobject.c: Import gst_private.h before any other header that might include other glib headers. This fixes t...

Original commit message from CVS:
* gst/gstminiobject.c:
Import gst_private.h before any other header that might include other
glib headers. This fixes the build on windows using native compilers.

16 years agowin32/common/gstconfig.h: Add here too, just for completeness.
Tim-Philipp Müller [Mon, 3 Mar 2008 14:48:50 +0000 (14:48 +0000)]
win32/common/gstconfig.h: Add here too, just for completeness.

Original commit message from CVS:
* win32/common/gstconfig.h:
Add here too, just for completeness.

16 years agoFix broken use of config.h-defined preprocessor directive in a public header file...
Tim-Philipp Müller [Mon, 3 Mar 2008 14:43:26 +0000 (14:43 +0000)]
Fix broken use of config.h-defined preprocessor directive in a public header file. Add a corresponding define to gstc...

Original commit message from CVS:
* configure.ac:
* gst/gstconfig.h.in:
* gst/gstregistry.h:
Fix broken use of config.h-defined preprocessor directive in a public
header file. Add a corresponding define to gstconfig.h, since we can't
really remove those function declarations from the header file now
(or can we? and why are they there in the first place?).

16 years agotests/check/gst/gststructure.c (GST_START_TEST): Add a check for the new warning.
Andy Wingo [Mon, 3 Mar 2008 10:07:21 +0000 (10:07 +0000)]
tests/check/gst/gststructure.c (GST_START_TEST): Add a check for the new warning.

Original commit message from CVS:

2008-03-03  Andy Wingo  <wingo@pobox.com>

* tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
the new warning.

* gst/gststructure.c (gst_structure_from_string): Warn if
structure_from_string didn't consume the whole string, but the
caller did not provide an end pointer.

16 years agogst/gstregistryxml.c: Strings allocated by libxml2 should be freed with xmlFree(...
Fabrizio Gennari [Sat, 1 Mar 2008 11:21:30 +0000 (11:21 +0000)]
gst/gstregistryxml.c: Strings allocated by libxml2 should be freed with xmlFree(), not with g_free(). Fixes issues on...

Original commit message from CVS:
Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
* gst/gstregistryxml.c: (read_string), (load_feature):
Strings allocated by libxml2 should be freed with xmlFree(), not
with g_free(). Fixes issues on windows in certain contexts (#519698).

16 years agogst/gstinterface.c: Don't crash if the element supports the interface queried, but...
Tim-Philipp Müller [Fri, 29 Feb 2008 18:38:54 +0000 (18:38 +0000)]
gst/gstinterface.c: Don't crash if the element supports the interface queried, but does not implement GstImplementsIn...

Original commit message from CVS:
* gst/gstinterface.c: (gst_element_implements_interface):
Don't crash if the element supports the interface queried, but does
not implement GstImplementsInterface. Fixes #519584.
* tests/check/Makefile.am:
* tests/check/gst/.cvsignore:
* tests/check/gst/gstinterface.c:
Add unit test for the above.

16 years agolibs/gst/base/gstbasesink.c: Small doc update.
Wim Taymans [Fri, 29 Feb 2008 15:39:44 +0000 (15:39 +0000)]
libs/gst/base/gstbasesink.c: Small doc update.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
Small doc update.

16 years agogst/gstsegment.c: Improve some comment.
Wim Taymans [Fri, 29 Feb 2008 15:22:34 +0000 (15:22 +0000)]
gst/gstsegment.c: Improve some comment.

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_seek),
(gst_segment_to_stream_time):
Improve some comment.
Update variables where it makes more sense.

16 years agogst/gsturi.c: Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
Rene Stadler [Fri, 29 Feb 2008 14:23:17 +0000 (14:23 +0000)]
gst/gsturi.c: Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes

Original commit message from CVS:
* gst/gsturi.c: (gst_uri_handler_get_protocols):
Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
URIHandlers implemented using language bindings.

16 years agoAnd correct even more valid sparse warnings.
Sebastian Dröge [Fri, 29 Feb 2008 13:59:24 +0000 (13:59 +0000)]
And correct even more valid sparse warnings.

Original commit message from CVS:
* gst/gstelementfactory.h:
* tests/check/elements/fakesink.c:
* tests/check/elements/fakesrc.c: (setup_fakesrc):
* tests/check/elements/fdsrc.c: (setup_fdsrc):
* tests/check/elements/filesink.c: (setup_filesink):
* tests/check/elements/filesrc.c: (setup_filesrc):
* tests/check/elements/identity.c: (setup_identity):
* tests/check/elements/tee.c:
* tests/check/generic/sinks.c:
* tests/check/generic/states.c: (setup), (teardown):
* tests/check/gst/gst.c:
* tests/check/gst/gstabi.c:
* tests/check/gst/gstbin.c:
* tests/check/gst/gstbus.c: (pull_messages):
* tests/check/gst/gstcaps.c:
* tests/check/gst/gstelement.c:
* tests/check/gst/gstevent.c:
* tests/check/gst/gstghostpad.c:
* tests/check/gst/gstiterator.c:
* tests/check/gst/gstmessage.c:
* tests/check/gst/gstminiobject.c: (my_foo_init):
* tests/check/gst/gstobject.c: (thread_name_object),
(gst_object_suite):
* tests/check/gst/gstpad.c:
* tests/check/gst/gstplugin.c:
* tests/check/gst/gstpoll.c:
* tests/check/gst/gstquery.c:
* tests/check/gst/gstsegment.c:
* tests/check/gst/gststructure.c:
* tests/check/gst/gstsystemclock.c:
* tests/check/gst/gsttask.c:
* tests/check/gst/gstutils.c:
* tests/check/gst/gstvalue.c:
* tests/check/gst/struct_hppa.h:
* tests/check/gst/struct_i386.h:
* tests/check/gst/struct_ppc32.h:
* tests/check/gst/struct_ppc64.h:
* tests/check/gst/struct_x86_64.h:
* tests/check/libs/adapter.c: (create_and_fill_adapter):
* tests/check/libs/basesrc.c:
* tests/check/libs/controller.c: (GST_START_TEST):
* tests/check/libs/gdp.c:
* tests/check/libs/gstnetclientclock.c:
* tests/check/libs/gstnettimeprovider.c:
* tests/check/libs/libsabi.c:
* tests/check/libs/struct_hppa.h:
* tests/check/libs/struct_i386.h:
* tests/check/libs/struct_ppc32.h:
* tests/check/libs/struct_ppc64.h:
* tests/check/libs/struct_x86_64.h:
* tests/check/pipelines/cleanup.c:
* tests/check/pipelines/simple-launch-lines.c:
* tests/check/pipelines/stress.c:
And correct even more valid sparse warnings.
* win32/common/libgstreamer.def:
Add gst_poll_fd_init to the list of symbols.

16 years agoCorrect all relevant warnings found by the sparse semantic code analyzer. This includ...
Sebastian Dröge [Fri, 29 Feb 2008 12:41:33 +0000 (12:41 +0000)]
Correct all relevant warnings found by the sparse semantic code analyzer. This include marking several symbols static...

Original commit message from CVS:
* gst/gstconfig.h.in:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
* libs/gst/check/gstcheck.c: (gst_check_log_message_func),
(gst_check_log_critical_func), (gst_check_drop_buffers),
(gst_check_element_push_buffer_list):
* libs/gst/controller/gstcontroller.c: (gst_controller_get),
(gst_controller_get_type):
* libs/gst/controller/gsthelper.c: (gst_object_control_properties),
(gst_object_get_controller), (gst_object_get_control_source):
* libs/gst/controller/gstinterpolationcontrolsource.c:
(gst_interpolation_control_source_new):
* libs/gst/controller/gstlfocontrolsource.c:
(gst_lfo_control_source_new):
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_event_from_packet_0_2):
* plugins/elements/gstfdsrc.c:
* plugins/elements/gstmultiqueue.c:
* plugins/elements/gsttee.c:
* plugins/elements/gsttypefindelement.c:
* plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
(gst_file_index_add_association):
* plugins/indexers/gstmemindex.c:
* tests/benchmarks/gstpollstress.c: (mess_some_more):
* tests/check/elements/queue.c: (setup_queue):
* tests/check/gst/gstpipeline.c:
* tests/check/libs/collectpads.c: (setup), (teardown),
(gst_collect_pads_suite):
* tests/examples/adapter/adapter_test.c:
* tests/examples/metadata/read-metadata.c: (make_pipeline):
* tests/examples/xml/createxml.c:
* tests/examples/xml/runxml.c:
* tools/gst-inspect.c:
* tools/gst-run.c:
Correct all relevant warnings found by the sparse semantic code
analyzer. This include marking several symbols static, using
NULL instead of 0 for pointers, not using variable sized arrays
on the stack, moving variable declarations to the beginning of
a block and using "foo (void)" instead of "foo ()" for declarations.

16 years agoplugins/elements/: Don't reset GstPollFDs, this is not necessary at all.
Sebastian Dröge [Fri, 29 Feb 2008 12:05:55 +0000 (12:05 +0000)]
plugins/elements/: Don't reset GstPollFDs, this is not necessary at all.

Original commit message from CVS:
* plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
Don't reset GstPollFDs, this is not necessary at all.
* tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
(delayed_restart), (delayed_control):
Use GST_POLL_FD_INIT.

16 years agogst/gstpoll.*: Added Since tags.
Wim Taymans [Fri, 29 Feb 2008 11:57:42 +0000 (11:57 +0000)]
gst/gstpoll.*: Added Since tags.

Original commit message from CVS:
* gst/gstpoll.c: (gst_poll_fd_init):
* gst/gstpoll.h:
Added Since tags.
* plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
Use some more init macros.

16 years agoplugins/elements/: Use init macros and functions.
Wim Taymans [Fri, 29 Feb 2008 11:20:01 +0000 (11:20 +0000)]
plugins/elements/: Use init macros and functions.

Original commit message from CVS:
* plugins/elements/gstfdsink.c: (gst_fd_sink_start):
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
Use init macros and functions.

16 years agoAdd INIT macro and _init method for initializing the GstPollFD.
Wim Taymans [Fri, 29 Feb 2008 11:00:43 +0000 (11:00 +0000)]
Add INIT macro and _init method for initializing the GstPollFD.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstpoll.c: (gst_poll_fd_init):
* gst/gstpoll.h:
Add INIT macro and _init method for initializing the GstPollFD.

16 years agoInitialize some uninitialized variables as spotted by valgrind.
Sebastian Dröge [Thu, 28 Feb 2008 19:58:26 +0000 (19:58 +0000)]
Initialize some uninitialized variables as spotted by valgrind.

Original commit message from CVS:
* plugins/elements/gstfdsink.c: (gst_fd_sink_start),
(gst_fd_sink_update_fd):
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
* tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
(delayed_restart), (delayed_control):
Initialize some uninitialized variables as spotted by valgrind.

16 years agotests/benchmarks/: Add poll stress test.
Wim Taymans [Thu, 28 Feb 2008 15:25:59 +0000 (15:25 +0000)]
tests/benchmarks/: Add poll stress test.

Original commit message from CVS:
* tests/benchmarks/Makefile.am:
* tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
(main):
Add poll stress test.

16 years agoplugins/elements/: Port to GstPoll. See #505417.
Peter Kjellerstedt [Thu, 28 Feb 2008 10:18:02 +0000 (10:18 +0000)]
plugins/elements/: Port to GstPoll. See #505417.

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis dot com>
* plugins/elements/gstfdsink.c: (gst_fd_sink_render),
(gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
(gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
* plugins/elements/gstfdsink.h:
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
(gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
(gst_fd_src_unlock_stop), (gst_fd_src_create),
(gst_fd_src_uri_set_uri):
* plugins/elements/gstfdsrc.h:
Port to GstPoll. See #505417.

16 years agowin32/common/libgstreamer.def: Add new gst_poll_ symbols to win32 defs.
Jan Schmidt [Wed, 27 Feb 2008 21:18:33 +0000 (21:18 +0000)]
win32/common/libgstreamer.def: Add new gst_poll_ symbols to win32 defs.

Original commit message from CVS:
* win32/common/libgstreamer.def:
Add new gst_poll_ symbols to win32 defs.

16 years agoUse a private stuct to not break ABI.
Wim Taymans [Wed, 27 Feb 2008 19:01:12 +0000 (19:01 +0000)]
Use a private stuct to not break ABI.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/net/gstnetclientclock.c:
(gst_net_client_clock_class_init), (gst_net_client_clock_init),
(gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
(gst_net_client_clock_thread), (gst_net_client_clock_start),
(gst_net_client_clock_stop), (gst_net_client_clock_new):
* libs/gst/net/gstnetclientclock.h:
* libs/gst/net/gstnettimeprovider.c:
(gst_net_time_provider_class_init), (gst_net_time_provider_init),
(gst_net_time_provider_finalize), (gst_net_time_provider_thread),
(gst_net_time_provider_start), (gst_net_time_provider_stop),
(gst_net_time_provider_new):
* libs/gst/net/gstnettimeprovider.h:
Use a private stuct to not break ABI.

16 years agolibs/gst/net/: Massive code removal and cleanups because of GstPoll.
Peter Kjellerstedt [Wed, 27 Feb 2008 18:27:59 +0000 (18:27 +0000)]
libs/gst/net/: Massive code removal and cleanups because of GstPoll.

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis dot com>
* libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
(gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
(gst_net_client_clock_thread), (gst_net_client_clock_start),
(gst_net_client_clock_stop), (gst_net_client_clock_new):
* libs/gst/net/gstnetclientclock.h:
* libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
(gst_net_time_provider_finalize), (gst_net_time_provider_thread),
(gst_net_time_provider_start), (gst_net_time_provider_stop),
(gst_net_time_provider_new):
* libs/gst/net/gstnettimeprovider.h:
Massive code removal and cleanups because of GstPoll.
Fixes #505417.

16 years agoconfigure.ac: Add checks for poll, ppoll and pselect.
Wim Taymans [Wed, 27 Feb 2008 18:00:04 +0000 (18:00 +0000)]
configure.ac: Add checks for poll, ppoll and pselect.

Original commit message from CVS:
* configure.ac:
Add checks for poll, ppoll and pselect.
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
Add docs for GstPoll.
* gst/Makefile.am:
* gst/gst.h:
* gst/gstpoll.c: (find_index), (selectable_fds),
(pollable_timeout), (choose_mode), (pollfd_to_fd_set),
(fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
(gst_poll_set_mode), (gst_poll_get_mode),
(gst_poll_add_fd_unlocked), (gst_poll_add_fd),
(gst_poll_remove_fd), (gst_poll_fd_ctl_write),
(gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
(gst_poll_fd_has_closed), (gst_poll_fd_has_error),
(gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
(gst_poll_fd_can_write), (gst_poll_wait),
(gst_poll_set_controllable), (gst_poll_restart),
(gst_poll_set_flushing):
* gst/gstpoll.h:
Add generic poll abstraction. We ideally don't want to have this in core
here but in glib intead...
This code will be used in various network elements and ultimately for
the nanosecond precision monotonic clock (that's why it's here in core).
It'll allow us to implement cancelable socket operations for windows too.
* tests/check/Makefile.am:
* tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
(delayed_stop), (delayed_restart), (delayed_flush),
(delayed_control), (gst_poll_suite):
Add GstPoll unit test.

16 years agogst/gstfilter.c: Improve documentation of gst_filter_run(). Fixes #518627.
Tim-Philipp Müller [Mon, 25 Feb 2008 15:37:36 +0000 (15:37 +0000)]
gst/gstfilter.c: Improve documentation of gst_filter_run(). Fixes #518627.

Original commit message from CVS:
* gst/gstfilter.c:
Improve documentation of gst_filter_run(). Fixes #518627.

16 years agodocs/README: Add a few lines about the new 'check-inspected-versions' target.
Tim-Philipp Müller [Sat, 23 Feb 2008 16:03:37 +0000 (16:03 +0000)]
docs/README: Add a few lines about the new 'check-inspected-versions' target.

Original commit message from CVS:
* docs/README:
Add a few lines about the new 'check-inspected-versions' target.

16 years agotests/check/gst/gstevent.c: Add qos to the event test. Rename tcase/tsuite; is not...
Stefan Kost [Thu, 21 Feb 2008 10:30:50 +0000 (10:30 +0000)]
tests/check/gst/gstevent.c: Add qos to the event test. Rename tcase/tsuite; is not only about custom events.

Original commit message from CVS:
* tests/check/gst/gstevent.c:
Add qos to the event test. Rename tcase/tsuite; is not only about
custom events.

16 years agoplugins/elements/gstqueue.c: Ensure that buffer metadata is writeable, before modifyi...
Stefan Kost [Thu, 21 Feb 2008 10:22:36 +0000 (10:22 +0000)]
plugins/elements/gstqueue.c: Ensure that buffer metadata is writeable, before modifying. Spotted by

Original commit message from CVS:
* plugins/elements/gstqueue.c:
Ensure that buffer metadata is writeable, before modifying. Spotted by
Mike.

16 years agoplugins/elements/gstqueue.*: When dropping buffers in leaky modes, mark next buffers...
Stefan Kost [Wed, 20 Feb 2008 15:44:33 +0000 (15:44 +0000)]
plugins/elements/gstqueue.*: When dropping buffers in leaky modes, mark next buffers we sent as

Original commit message from CVS:
* plugins/elements/gstqueue.c:
* plugins/elements/gstqueue.h:
When dropping buffers in leaky modes, mark next buffers we sent as
DISCONT.

16 years agoplugins/elements/gstfilesrc.c: Also, if mmap() fails that would be a READ error,...
Tim-Philipp Müller [Wed, 20 Feb 2008 12:31:50 +0000 (12:31 +0000)]
plugins/elements/gstfilesrc.c: Also, if mmap() fails that would be a READ error, not OPEN_READ.

Original commit message from CVS:
* plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
Also, if mmap() fails that would be a READ error, not OPEN_READ.

16 years agoplugins/elements/: Remove GstBufferStore, no idea why we were still building it.
Tim-Philipp Müller [Wed, 20 Feb 2008 12:26:19 +0000 (12:26 +0000)]
plugins/elements/: Remove GstBufferStore, no idea why we were still building it.

Original commit message from CVS:
* plugins/elements/Makefile.am:
* plugins/elements/gstbufferstore.c:
* plugins/elements/gstbufferstore.h:
* plugins/elements/gsttypefindelement.h:
Remove GstBufferStore, no idea why we were still building it.
It's not used anywhere and superseded by GstAdapter.
* plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
(gst_file_src_create_mmap):
* plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
Printf format fixes for 64-bit integers.

16 years agoconfigure.ac: Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
Sebastian Dröge [Tue, 19 Feb 2008 13:00:14 +0000 (13:00 +0000)]
configure.ac: Don't set GST_CACHE_DIR and allow to set it by a configure parameter.

Original commit message from CVS:
* configure.ac:
Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
We're not in 0.8 times anymore.

16 years agolibs/gst/check/gstcheck.*: Make the declaration in the header for gst_check_element_p...
Jan Schmidt [Tue, 19 Feb 2008 12:56:28 +0000 (12:56 +0000)]
libs/gst/check/gstcheck.*: Make the declaration in the header for gst_check_element_push_buffer_list match the implem...

Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
(gst_check_element_push_buffer_list):
* libs/gst/check/gstcheck.h:
Make the declaration in the header for
gst_check_element_push_buffer_list match the implementation.
Fix up spelling, grammar and wording of the documentation in a few
places, and add the Since keyword to new API functions.
Use g_list_delete_link instead of g_list_remove in
gst_check_drop_buffers, since it's immeasurably more efficient.
* tests/check/elements/fakesrc.c: (GST_START_TEST):
Use new gst_check_drop_buffers function where appropriate.
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
Add new symbols gst_collect_pads_take_buffer,
gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
exports
Changelog surgery to add API keyword to new gst_check API.

16 years agogst/parse/lex._gst_parse_yy.pre.c: Update pre-generated flex files with flex 2.3.34.
Sebastian Dröge [Tue, 19 Feb 2008 08:05:15 +0000 (08:05 +0000)]
gst/parse/lex._gst_parse_yy.pre.c: Update pre-generated flex files with flex 2.3.34.

Original commit message from CVS:
* gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
(_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
Update pre-generated flex files with flex 2.3.34.

16 years agogst/gstminiobject.c: Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit...
Sebastian Dröge [Tue, 19 Feb 2008 05:49:32 +0000 (05:49 +0000)]
gst/gstminiobject.c: Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more friendly to subclasses and not ...

Original commit message from CVS:
* gst/gstminiobject.c:
Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
friendly to subclasses and not require them to know all internals
of their parent class.

16 years agoAdd sub-buffer functions to collectpads. Fixes #516187.
Stefan Kost [Fri, 15 Feb 2008 13:15:17 +0000 (13:15 +0000)]
Add sub-buffer functions to collectpads. Fixes #516187.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstcollectpads.c:
* libs/gst/base/gstcollectpads.h:
Add sub-buffer functions to collectpads. Fixes #516187.
API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()

16 years agogst/gstbuffer.c: Copy selected buffer-flags when creating subbuffers.
Stefan Kost [Fri, 15 Feb 2008 12:33:00 +0000 (12:33 +0000)]
gst/gstbuffer.c: Copy selected buffer-flags when creating subbuffers.

Original commit message from CVS:
* gst/gstbuffer.c:
Copy selected buffer-flags when creating subbuffers.
Fixes #516395.

16 years agoProperly chain up finalize functions to the parent class.
Sebastian Dröge [Tue, 12 Feb 2008 12:04:43 +0000 (12:04 +0000)]
Properly chain up finalize functions to the parent class.

Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
* gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
* gst/gstmessage.c: (gst_message_class_init),
(gst_message_finalize):
* gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
* plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
(gst_mmap_buffer_finalize):
Properly chain up finalize functions to the parent class.

16 years agogst/gstindex.*: Add new function with option to dispose of user_data in resolver.
Siavash Safi [Mon, 11 Feb 2008 17:53:57 +0000 (17:53 +0000)]
gst/gstindex.*: Add new function with option to dispose of user_data in resolver.

Original commit message from CVS:
Patch by: Siavash Safi <siavash dot safi at gmail dot com>
* gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
(gst_index_set_resolver_full):
* gst/gstindex.h:
Add new function with option to dispose of user_data in resolver.
Actually call the dispose function when finalizing the object and not
just when changing the resolver/filter.
API: GstIndex::gst_index_set_resolver_full()
* docs/gst/gstreamer-sections.txt:
Add new function to docs. Fixes #515469.

16 years agogst/gstindex.c: Chain up finalize to the parent class. Fixes leaking the GstObject...
Sebastian Dröge [Mon, 11 Feb 2008 08:53:04 +0000 (08:53 +0000)]
gst/gstindex.c: Chain up finalize to the parent class. Fixes leaking the GstObject name and other things.

Original commit message from CVS:
* gst/gstindex.c: (gst_index_finalize):
Chain up finalize to the parent class. Fixes leaking the GstObject
name and other things.

16 years agoChangeLog surgery: Fix Josep's surname in previous commits
Jan Schmidt [Sun, 10 Feb 2008 19:48:04 +0000 (19:48 +0000)]
ChangeLog surgery: Fix Josep's surname in previous commits

Original commit message from CVS:
ChangeLog surgery: Fix Josep's surname in previous commits

16 years agoconfigure.ac: Make DISABLE_DEPRECATED defined *only* during CVS, not during pre-relea...
Jan Schmidt [Fri, 8 Feb 2008 00:54:28 +0000 (00:54 +0000)]
configure.ac: Make DISABLE_DEPRECATED defined *only* during CVS, not during pre-releases or releases.

Original commit message from CVS:
* configure.ac:
Make DISABLE_DEPRECATED defined *only* during CVS, not during
pre-releases or releases.
* docs/faq/gst-uninstalled:
Add gst-plugins-gl
* docs/random/release:
Change one of the steps - we only upload core & base to Gnome FTP

16 years agogst/gstconfig.h.in: Add 'id' for example.
Stefan Kost [Wed, 6 Feb 2008 12:21:05 +0000 (12:21 +0000)]
gst/gstconfig.h.in: Add 'id' for example.

Original commit message from CVS:
* gst/gstconfig.h.in:
Add 'id' for example.
* gst/gstpad.c:
* gst/gstutils.c:
* plugins/elements/gstfdsink.c:
Link to signals. Doc and comment fixes.

16 years agogst/: Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is unused and...
Tim-Philipp Müller [Tue, 5 Feb 2008 21:22:47 +0000 (21:22 +0000)]
gst/: Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is unused and unimplemented; finally, it is plugi...

Original commit message from CVS:
* gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
* gst/gstpluginfeature.h: (GstPluginFeatureClass):
Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
unused and unimplemented; finally, it is plugin features, not
plugins, that have ranks.

16 years agogst/gstpluginfeature.h: Clarify GstRank range docs.
Stefan Kost [Tue, 5 Feb 2008 19:42:31 +0000 (19:42 +0000)]
gst/gstpluginfeature.h: Clarify GstRank range docs.

Original commit message from CVS:
* gst/gstpluginfeature.h:
Clarify GstRank range docs.

16 years agogst/gst.c: Add a separate gst_deinitialized that prevents gst_init() from being calle...
David Schleef [Tue, 5 Feb 2008 18:37:08 +0000 (18:37 +0000)]
gst/gst.c: Add a separate gst_deinitialized that prevents gst_init() from being called after gst_deinit().  Fixes #50...

Original commit message from CVS:
* gst/gst.c: Add a separate gst_deinitialized that prevents
gst_init() from being called after gst_deinit().  Fixes #509559

16 years agoRevert previous changes to the behaviour of GstPadTemplates, etc and the possiblity...
Sebastian Dröge [Tue, 5 Feb 2008 14:15:15 +0000 (14:15 +0000)]
Revert previous changes to the behaviour of GstPadTemplates, etc and the possiblity to call them in class_init as it ...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
(gst_bin_class_init):
* gst/gstelement.c: (gst_element_base_class_init),
(gst_element_class_add_pad_template):
* gst/gstpadtemplate.c: (gst_pad_template_init):
* gst/gstpipeline.c: (gst_pipeline_get_type),
(gst_pipeline_base_init), (gst_pipeline_class_init):
* libs/gst/base/gstbasesink.c:
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
(gst_base_src_base_init), (gst_base_src_class_init):
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
(gst_capsfilter_class_init):
* plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
(gst_fake_sink_class_init):
* plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
(gst_fake_src_class_init):
* plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
(gst_fd_sink_class_init):
* plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
(gst_fd_src_class_init):
* plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
(gst_file_sink_class_init):
* plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
(gst_file_src_class_init):
* plugins/elements/gstidentity.c: (gst_identity_base_init),
(gst_identity_class_init):
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
(gst_multi_queue_class_init):
* plugins/elements/gstqueue.c: (gst_queue_base_init),
(gst_queue_class_init):
* plugins/elements/gsttee.c: (gst_tee_base_init),
(gst_tee_class_init):
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_base_init),
(gst_type_find_element_class_init):
* tests/check/gst/gstelement.c: (gst_element_suite):
Revert previous changes to the behaviour of GstPadTemplates, etc
and the possiblity to call them in class_init as it breaks too
many elements. Reopens bug #491501.
Should be applied again for 0.11, thus added a few FIXME 0.11 at
several places.

16 years agotools/gst-launch.c: Dump one graph per pipeline state-change and state change name...
Stefan Kost [Tue, 5 Feb 2008 09:24:18 +0000 (09:24 +0000)]
tools/gst-launch.c: Dump one graph per pipeline state-change and state change name (if GST_DEBUG_DUMP_DOT_DIR is set).

Original commit message from CVS:
* tools/gst-launch.c:
Dump one graph per pipeline state-change and state change name
(if GST_DEBUG_DUMP_DOT_DIR is set).

16 years agoBe sure that we have a new copy of the caps and not reffed caps from a template
Thijs Vermeir [Mon, 4 Feb 2008 14:14:42 +0000 (14:14 +0000)]
Be sure that we have a new copy of the caps and not reffed caps from a template

Original commit message from CVS:
* gst/gstpad.c:
* tests/check/gst/gstpad.c:
Be sure that we have a new copy of the caps and not
reffed caps from a template

16 years agoDon't use base_init where not absolutely necessary. For example it's not necessary...
Sebastian Dröge [Sun, 3 Feb 2008 12:04:37 +0000 (12:04 +0000)]
Don't use base_init where not absolutely necessary. For example it's not necessary anymore for adding pad templates o...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
* gst/gstpipeline.c: (gst_pipeline_get_type),
(gst_pipeline_class_init):
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
(gst_base_sink_class_init):
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
(gst_base_src_class_init):
* libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
(gst_base_transform_class_init):
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
(gst_collect_pads_class_init):
* libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
* libs/gst/net/gstnettimeprovider.c:
(gst_net_time_provider_base_init),
(gst_net_time_provider_class_init):
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
(gst_capsfilter_class_init):
* plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
(gst_fake_sink_class_init):
* plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
(gst_fake_src_class_init):
* plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
(gst_fd_sink_class_init):
* plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
(gst_fd_src_class_init):
* plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
(gst_file_sink_class_init):
* plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
(gst_file_src_class_init):
* plugins/elements/gstidentity.c: (gst_identity_base_init),
(gst_identity_class_init):
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
(gst_multi_queue_class_init):
* plugins/elements/gstqueue.c: (gst_queue_base_init),
(gst_queue_class_init):
* plugins/elements/gsttee.c: (gst_tee_base_init),
(gst_tee_class_init):
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_base_init),
(gst_type_find_element_class_init):
Don't use base_init where not absolutely necessary. For example it's
not necessary anymore for adding pad templates or setting element
details.
Leave empty base_init functions in several places as GST_BOILERPLATE
still defines and uses them.

16 years agogst/: Make it possible (and recommended) to set element details and add pad templates...
Sebastian Dröge [Sun, 3 Feb 2008 10:48:01 +0000 (10:48 +0000)]
gst/: Make it possible (and recommended) to set element details and add pad templates in the class_init functions by ...

Original commit message from CVS:
* gst/gstelement.c: (gst_element_base_class_init),
(gst_element_class_add_pad_template):
* gst/gstpadtemplate.c:
Make it possible (and recommended) to set element details and add
pad templates in the class_init functions by copying the details/pad
templates in GstElement's base_init.
Also make it possible to replace existing pad templates by adding
a new one with the same name. This was done in a hackish fashion
in same elements before already.
Don't reference pad templates that are added a second time. A
new pad template has a refcount of one and is not floating anymore
and to be owned by the element's class. Make this more explicit by
mentioning it in the docs of gst_element_class_add_pad_template().
These changes are backwards compatible. Fixes bug #491501.
* tests/check/gst/gstelement.c:
Add unit test for setting element details, adding pad templates and
replacing them in a subclass.

16 years agotools/gst-inspect.c: Fix a few memory leaks.
Sebastian Dröge [Sat, 2 Feb 2008 06:48:37 +0000 (06:48 +0000)]
tools/gst-inspect.c: Fix a few memory leaks.

Original commit message from CVS:
* tools/gst-inspect.c: (print_interfaces),
(print_element_properties_info), (print_pad_info),
(print_signal_info), (print_element_info):
Fix a few memory leaks.

16 years agoAdd more functions for unit testing: gst_check_drop_buffers, gst_check_caps_equal...
Thijs Vermeir [Fri, 1 Feb 2008 17:16:26 +0000 (17:16 +0000)]
Add more functions for unit testing: gst_check_drop_buffers, gst_check_caps_equal, gst_check_element_push_buffer_list...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/check/gstcheck.c:
* libs/gst/check/gstcheck.h:
Add more functions for unit testing: gst_check_drop_buffers,
gst_check_caps_equal, gst_check_element_push_buffer_list,
gst_check_element_push_buffer

16 years agodocs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
Julien Moutte [Fri, 1 Feb 2008 16:37:22 +0000 (16:37 +0000)]
docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs

Original commit message from CVS:
2008-02-01  Julien Moutte  <julien@fluendo.com>

* docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the
docs
* gst/gstindex.c: (gst_index_class_init),
(gst_index_free_writer),
(gst_index_finalize), (gst_index_entry_free),
(gst_index_add_association): Fix memory leaks.
* gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
* plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
(gst_mem_index_free_format), (gst_mem_index_free_id),
(gst_mem_index_finalize): Fix memory leaks.
* win32/common/config.h: Updated to CVS HEAD.

16 years agodocs/README: Some more details about how the plugin docs works.
Stefan Kost [Fri, 1 Feb 2008 12:25:17 +0000 (12:25 +0000)]
docs/README: Some more details about how the plugin docs works.

Original commit message from CVS:
* docs/README:
Some more details about how the plugin docs works.
* docs/plugins/gstreamer-plugins-sections.txt:
Whitespace cleanup.

16 years agogst/parse/: Add delayed set-property. This allows to set properties on dynamicaly...
Stefan Kost [Fri, 1 Feb 2008 12:10:17 +0000 (12:10 +0000)]
gst/parse/: Add delayed set-property. This allows to set properties on dynamicaly created objects (pads in videomxer).

Original commit message from CVS:
* gst/parse/grammar.tab.pre.c:
* gst/parse/grammar.tab.pre.h:
* gst/parse/grammar.y:
* gst/parse/lex._gst_parse_yy.pre.c:
Add delayed set-property. This allows to set properties on dynamicaly
created objects (pads in videomxer).

16 years agogst/gstutils.c: Check if caps are not NULL (fix bug #510194)
Thijs Vermeir [Fri, 1 Feb 2008 11:27:32 +0000 (11:27 +0000)]
gst/gstutils.c: Check if caps are not NULL (fix bug #510194)

Original commit message from CVS:
* gst/gstutils.c:
Check if caps are not NULL (fix bug #510194)

16 years agolibs/gst/base/gstbasesink.c: Add fixme regarding EOS in pull mode.
Wim Taymans [Fri, 1 Feb 2008 10:27:10 +0000 (10:27 +0000)]
libs/gst/base/gstbasesink.c: Add fixme regarding EOS in pull mode.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
(gst_base_sink_get_position_paused):
Add fixme regarding EOS in pull mode.
Fix position reporting in PAUSED for negative rates.

16 years agogst/gstminiobject.c: When replacing a miniobject, do a quick equality check first...
Wim Taymans [Fri, 1 Feb 2008 10:23:56 +0000 (10:23 +0000)]
gst/gstminiobject.c: When replacing a miniobject, do a quick equality check first so that we can avoid a ref/unref pair.

Original commit message from CVS:
* gst/gstminiobject.c: (gst_mini_object_replace):
When replacing a miniobject, do a quick equality check first so that we
can avoid a ref/unref pair.

16 years agodocs/design/part-synchronisation.txt: Update some docs.
Wim Taymans [Fri, 1 Feb 2008 10:17:40 +0000 (10:17 +0000)]
docs/design/part-synchronisation.txt: Update some docs.

Original commit message from CVS:
* docs/design/part-synchronisation.txt:
Update some docs.
* docs/plugins/Makefile.am:
* docs/plugins/gstreamer-plugins-docs.sgml:
* docs/plugins/gstreamer-plugins-sections.txt:
* plugins/elements/gstmultiqueue.c:
Add multiqueue to the docs.

16 years agoconfigure.ac: Back to CVS
Jan Schmidt [Wed, 30 Jan 2008 14:38:43 +0000 (14:38 +0000)]
configure.ac: Back to CVS

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

16 years agoRelease 0.10.17 RELEASE-0_10_17
Jan Schmidt [Wed, 30 Jan 2008 14:05:45 +0000 (14:05 +0000)]
Release 0.10.17

Original commit message from CVS:
Release 0.10.17

16 years agoadd ChangeLog entry for previous commit
Jan Schmidt [Wed, 30 Jan 2008 13:13:49 +0000 (13:13 +0000)]
add ChangeLog entry for previous commit

Original commit message from CVS:
add ChangeLog entry for previous commit

16 years agogst/gstutils.c: Check if caps are not NULL (fix bug #510194)
Jan Schmidt [Wed, 30 Jan 2008 13:12:24 +0000 (13:12 +0000)]
gst/gstutils.c: Check if caps are not NULL (fix bug #510194)

Original commit message from CVS:
* gst/gstutils.c:
Check if caps are not NULL (fix bug #510194)

16 years agogst/gstutils.c: Check if caps are not NULL (fix bug #510194)
Thijs Vermeir [Wed, 30 Jan 2008 12:55:42 +0000 (12:55 +0000)]
gst/gstutils.c: Check if caps are not NULL (fix bug #510194)

Original commit message from CVS:
* gst/gstutils.c:
Check if caps are not NULL (fix bug #510194)

16 years agogst/gstutils.c: Fix compilation on systems that have posix timers but no monotonic...
Cygwin Ports maintainer [Wed, 30 Jan 2008 12:44:13 +0000 (12:44 +0000)]
gst/gstutils.c: Fix compilation on systems that have posix timers but no monotonic clock.

Original commit message from CVS:
* gst/gstutils.c:
Fix compilation on systems that have posix timers but no
monotonic clock.
Fixes: #512715
Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
dot net>

16 years agotools/gst-inspect.c: Revert previous commit in preparation for an impromptu 0.10...
Jan Schmidt [Wed, 30 Jan 2008 12:39:51 +0000 (12:39 +0000)]
tools/gst-inspect.c: Revert previous commit in preparation for an impromptu 0.10.17 release

Original commit message from CVS:
* tools/gst-inspect.c:
Revert previous commit in preparation for an impromptu 0.10.17 release

16 years agotools/gst-inspect.c: Fix a few memory leaks.
Sebastian Dröge [Tue, 29 Jan 2008 09:43:11 +0000 (09:43 +0000)]
tools/gst-inspect.c: Fix a few memory leaks.

Original commit message from CVS:
* tools/gst-inspect.c: (print_interfaces),
(print_element_properties_info), (print_pad_info),
(print_signal_info), (print_element_info):
Fix a few memory leaks.

16 years agoconfigure.ac: Back to CVS
Jan Schmidt [Mon, 28 Jan 2008 23:30:45 +0000 (23:30 +0000)]
configure.ac: Back to CVS

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

16 years agoRelease 0.10.16 RELEASE-0_10_16
Jan Schmidt [Mon, 28 Jan 2008 23:27:13 +0000 (23:27 +0000)]
Release 0.10.16

Original commit message from CVS:
Release 0.10.16

16 years agoUpdate .po files
Jan Schmidt [Mon, 28 Jan 2008 21:20:16 +0000 (21:20 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years agoconfigure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for _POSIX_TIMER...
Tim-Philipp Müller [Thu, 24 Jan 2008 23:28:54 +0000 (23:28 +0000)]
configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes ...

Original commit message from CVS:
* configure.ac:
Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
_POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
not fail when trying to crosscompile on OpenEmbedded (#511750).

16 years agodocs/manuals.mak: Use $(MAKE) instead of make to fix the build if GNU make is called...
Sebastian Dröge [Sun, 20 Jan 2008 17:08:54 +0000 (17:08 +0000)]
docs/manuals.mak: Use $(MAKE) instead of make to fix the build if GNU make is called different. Fixes bug #510747.

Original commit message from CVS:
* docs/manuals.mak:
Use $(MAKE) instead of make to fix the build if GNU make is
called different. Fixes bug #510747.

16 years agogst/gstplugin.c: Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC again...
Tim-Philipp Müller [Sun, 20 Jan 2008 15:04:33 +0000 (15:04 +0000)]
gst/gstplugin.c: Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC again, which I broke two commits ago when ...

Original commit message from CVS:
* gst/gstplugin.c: (_gst_plugin_initialize):
Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
again, which I broke two commits ago when changing the API
of gst_plugin_register_static(): the g_list_foreach() in
_gst_plugin_register_static still assumed the old function
signature and would therefore fail (re-fixes #510187).
* gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
(_gst_plugin_register_static), (gst_plugin_register_static):
Revert the (technically correct) change to call g_thread_init() from
the pre-main() constructor. This will break programs which call
g_thread_init() without an if (!g_thread_supported()) guard in their
main function. We could just blame it on GLib or the application, but
it's probably best to just avoid this altogether and simply not use
any GLib functions here and use plain old malloc() with a simple
array to store the plugins to register later when gst_init() is
finally called (re-fixes #510187).
* tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
(GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
(plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
(GST_START_TEST), (gst_plugin_suite):
Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
works.

16 years agogst/gstplugin.h: Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
Tim-Philipp Müller [Thu, 17 Jan 2008 22:22:58 +0000 (22:22 +0000)]
gst/gstplugin.h: Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.

Original commit message from CVS:
* gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
This makes gtk-doc complain, but results in slightly better
compiler errors. The old _gst_plugin_register_static() is
still guarded, so there'll be a compiler warning about that
instead. Fixes #510187 too.

16 years agogst/: Change API of gst_plugin_register_static() to not take a GstPluginDesc, but...
Tim-Philipp Müller [Thu, 17 Jan 2008 22:17:15 +0000 (22:17 +0000)]
gst/: Change API of gst_plugin_register_static() to not take a GstPluginDesc, but rather just take all the arguments ...

Original commit message from CVS:
* gst/gst.c: (init_post):
* gst/gstplugin.c: (_gst_plugin_register_static),
(gst_plugin_register_static), (_gst_plugin_initialize):
* gst/gstplugin.h: (GstPluginFilter):
Change API of gst_plugin_register_static() to not take
a GstPluginDesc, but rather just take all the arguments
in a GstPluginDesc directly. This is more intuitive and
avoids certain mistakes when porting code from
GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
Fixes #510187.
* tests/check/gst/gstplugin.c:
Fix up for changed API.

16 years agodocs/faq/legal.xml: Update FAQ, Totem actually has an exception these days.
Thomas Vander Stichele [Thu, 17 Jan 2008 18:50:31 +0000 (18:50 +0000)]
docs/faq/legal.xml: Update FAQ, Totem actually has an exception these days.

Original commit message from CVS:
* docs/faq/legal.xml:
Update FAQ, Totem actually has an exception these days.

16 years agowin32/common/libgstreamer.def: Add new API declarations
Jan Schmidt [Mon, 14 Jan 2008 22:20:44 +0000 (22:20 +0000)]
win32/common/libgstreamer.def: Add new API declarations

Original commit message from CVS:
* win32/common/libgstreamer.def:
Add new API declarations

16 years agogst/gstminiobject.c: Spelling fixes for the API docs.
Stefan Kost [Mon, 14 Jan 2008 13:18:37 +0000 (13:18 +0000)]
gst/gstminiobject.c: Spelling fixes for the API docs.

Original commit message from CVS:
* gst/gstminiobject.c:
Spelling fixes for the API docs.

16 years agoAdd API keyword for gst_util_get_timestamp, and remove the tag for GST_GET_TIMESTMAP...
Jan Schmidt [Mon, 14 Jan 2008 11:47:32 +0000 (11:47 +0000)]
Add API keyword for gst_util_get_timestamp, and remove the tag for GST_GET_TIMESTMAP which didn't survive.

Original commit message from CVS:
Add API keyword for gst_util_get_timestamp, and remove the tag for GST_GET_TIMESTMAP which didn't survive.

16 years agolibs/gst/base/gstbasetransform.c: Fix long property description for QoS.
Stefan Kost [Mon, 14 Jan 2008 11:40:55 +0000 (11:40 +0000)]
libs/gst/base/gstbasetransform.c: Fix long property description for QoS.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
Fix long property description for QoS.

16 years agogst/gst.c: _gst_trace_on is already provided by gsttrace.h, no need to declare it...
Jan Schmidt [Sat, 12 Jan 2008 20:22:30 +0000 (20:22 +0000)]
gst/gst.c: _gst_trace_on is already provided by gsttrace.h, no need to declare it ourselves.

Original commit message from CVS:
* gst/gst.c:
_gst_trace_on is already provided by gsttrace.h, no need to declare
it ourselves.
* docs/libs/gstreamer-libs-sections.txt:
Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
and remove strange tcase_add_test which is outputting a warning.
* libs/gst/check/gstcheck.c:
* libs/gst/check/gstcheck.h:
Properly declare 'buffers', 'check_cond', 'check_mutex' extern
and define them in gstcheck.c instead of having every .c file whcih
includes gstcheck.h be defining its own copy and relying on symbol
interposing to marry them all, which doesn't work on Solaris.
* tests/check/elements/identity.c: (GST_START_TEST):
Don't define 'buffers' locally, it comes from libgstcheck.
* tests/check/generic/sinks.c: (send_buffer):
Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
* tests/check/gst/gststructure.c: (GST_START_TEST):
* tests/check/gst/gstsystemclock.c: (GST_START_TEST):
* tests/check/gst/gstutils.c: (GST_START_TEST):
* tests/check/gst/gstvalue.c: (GST_START_TEST):
Add a bunch of casts to make various constants fit the types
they're being assigned to.

16 years agogst/gstchildproxy.c: Improve docs and add some ideas for making this more general...
Stefan Kost [Thu, 10 Jan 2008 21:06:58 +0000 (21:06 +0000)]
gst/gstchildproxy.c: Improve docs and add some ideas for making this more general-purpose.

Original commit message from CVS:
* gst/gstchildproxy.c:
Improve docs and add some ideas for making this more general-purpose.

16 years agogst/gst_private.h: Add GST_CAT_TYPES, for consistency, and so that the other debug...
Tim-Philipp Müller [Thu, 10 Jan 2008 15:55:32 +0000 (15:55 +0000)]
gst/gst_private.h: Add GST_CAT_TYPES, for consistency, and so that the other debug categories don't make fun of it. S...

Original commit message from CVS:
* gst/gst_private.h: (GST_CAT_TYPES):
Add GST_CAT_TYPES, for consistency, and so that the other
debug categories don't make fun of it. Spotted by Saur on IRC.

16 years agogst/parse/Makefile.am: Move types.h from EXTRA_DIST to noinst_HEADERS.
Sebastian Dröge [Thu, 10 Jan 2008 13:03:35 +0000 (13:03 +0000)]
gst/parse/Makefile.am: Move types.h from EXTRA_DIST to noinst_HEADERS.

Original commit message from CVS:
* gst/parse/Makefile.am:
Move types.h from EXTRA_DIST to noinst_HEADERS.

16 years agoautogen.sh: Add -Wno-portability to the automake parameters to stop warnings about...
Sebastian Dröge [Thu, 10 Jan 2008 12:14:04 +0000 (12:14 +0000)]
autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about GNU make extensions being used. We...

Original commit message from CVS:
* autogen.sh:
Add -Wno-portability to the automake parameters to stop warnings
about GNU make extensions being used. We require GNU make in almost
every Makefile anyway.
* configure.ac:
Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
at the same time is required for per target flags.

16 years agoAPI: add gst_plugin_register_static() and deprecate
Tim-Philipp Müller [Wed, 9 Jan 2008 18:23:39 +0000 (18:23 +0000)]
API: add gst_plugin_register_static() and deprecate

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gst.c: (init_post):
* gst/gstplugin.c: (_gst_plugin_register_static),
(gst_plugin_register_static), (_gst_plugin_initialize),
(gst_plugin_register_func):
* gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
API: add gst_plugin_register_static() and deprecate
GST_PLUGIN_DEFINE_STATIC, since it's not portable
(#498924).
Also, in _gst_plugin_register_static(), make sure to call
g_thread_init() before calling GLib functions such as
g_list_append() if we're not initialised yet, since that
may lead to random crashes with older GSlice/GLib versions.
* tests/check/gst/gstplugin.c:
Adapt unit test to above changes.