1. 21 Mar, 2008 1 commit
  2. 20 Mar, 2008 1 commit
  3. 18 Mar, 2008 2 commits
    • Jan Schmidt's avatar
      0.10.17.4 pre-release · b6a11d2a
      Jan Schmidt authored
      Original commit message from CVS:
      * configure.ac:
      * win32/common/config.h:
      0.10.17.4 pre-release
      b6a11d2a
    • Ole Andre Vadla Ravnaas's avatar
      Add new function gst_poll_fd_ignored() for improved Windows compatibility. · bf20f01f
      Ole Andre Vadla Ravnaas authored and Wim Taymans's avatar Wim Taymans committed
      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.
      bf20f01f
  4. 17 Mar, 2008 1 commit
    • Tim-Philipp Müller's avatar
      gst/gstindex.*: Don't free key strings which we don't own. Fixes crash in... · ede8ee12
      Tim-Philipp Müller authored
      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.
      ede8ee12
  5. 11 Mar, 2008 3 commits
  6. 07 Mar, 2008 3 commits
    • Ole Andre Vadla Ravnaas's avatar
      Remove GstPollMode from the API, it does not make sense to let the application control this. · 8a604298
      Ole Andre Vadla Ravnaas authored and Wim Taymans's avatar Wim Taymans committed
      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.
      8a604298
    • Ole Andre Vadla Ravnaas's avatar
      gst/gstregistrybinary.c: Include io.h for write() and close() when building... · 7185de8a
      Ole Andre Vadla Ravnaas authored and Sebastian Dröge's avatar Sebastian Dröge committed
      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.
      7185de8a
    • Stefan Kost's avatar
      Move registry backend API to private headers where we can. Add fixme-0.11... · 3c9dda6d
      Stefan Kost authored
      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.
      3c9dda6d
  7. 04 Mar, 2008 1 commit
    • Jan Schmidt's avatar
      0.10.17.2 prelease · 78d19978
      Jan Schmidt authored
      Original commit message from CVS:
      * configure.ac:
      * win32/common/config.h:
      0.10.17.2 prelease
      78d19978
  8. 03 Mar, 2008 5 commits
    • Edward Hervey's avatar
      Switch to using portabl gsize/gssize instead of size_t/ssize_t · fdeea4f9
      Edward Hervey authored
      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
      fdeea4f9
    • Edward Hervey's avatar
      gst/gstminiobject.c: Import gst_private.h before any other header that might... · 6148f05b
      Edward Hervey authored
      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.
      6148f05b
    • Tim-Philipp Müller's avatar
      win32/common/gstconfig.h: Add here too, just for completeness. · 8babc81d
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * win32/common/gstconfig.h:
      Add here too, just for completeness.
      8babc81d
    • Tim-Philipp Müller's avatar
      Fix broken use of config.h-defined preprocessor directive in a public header... · 5db802f9
      Tim-Philipp Müller authored
      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?).
      5db802f9
    • Andy Wingo Wingo's avatar
      tests/check/gst/gststructure.c (GST_START_TEST): Add a check for the new warning. · 391d9dfc
      Andy Wingo Wingo authored
      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.
      391d9dfc
  9. 01 Mar, 2008 1 commit
    • Fabrizio Gennari's avatar
      gst/gstregistryxml.c: Strings allocated by libxml2 should be freed with... · 96aa08f0
      Fabrizio Gennari authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      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).
      96aa08f0
  10. 29 Feb, 2008 10 commits
    • Tim-Philipp Müller's avatar
      gst/gstinterface.c: Don't crash if the element supports the interface queried,... · 97bf2d2d
      Tim-Philipp Müller authored
      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.
      97bf2d2d
    • Wim Taymans's avatar
      libs/gst/base/gstbasesink.c: Small doc update. · f3850aca
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
      Small doc update.
      f3850aca
    • Wim Taymans's avatar
      gst/gstsegment.c: Improve some comment. · 4203512a
      Wim Taymans authored
      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.
      4203512a
    • René Stadler's avatar
      gst/gsturi.c: Use the get_protocols_full vfunc if get_protocols is NULL. Fixes · 99867e9f
      René Stadler authored
      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.
      99867e9f
    • Sebastian Dröge's avatar
      And correct even more valid sparse warnings. · 58cc2ede
      Sebastian Dröge authored
      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.
      58cc2ede
    • Sebastian Dröge's avatar
      Correct all relevant warnings found by the sparse semantic code analyzer. This... · b997b054
      Sebastian Dröge authored
      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.
      b997b054
    • Sebastian Dröge's avatar
      plugins/elements/: Don't reset GstPollFDs, this is not necessary at all. · c483eb54
      Sebastian Dröge authored
      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.
      c483eb54
    • Wim Taymans's avatar
      gst/gstpoll.*: Added Since tags. · a7bc4439
      Wim Taymans authored
      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.
      a7bc4439
    • Wim Taymans's avatar
      plugins/elements/: Use init macros and functions. · 68a10adb
      Wim Taymans authored
      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.
      68a10adb
    • Wim Taymans's avatar
      Add INIT macro and _init method for initializing the GstPollFD. · 3ae60c3b
      Wim Taymans authored
      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.
      3ae60c3b
  11. 28 Feb, 2008 3 commits
    • Sebastian Dröge's avatar
      Initialize some uninitialized variables as spotted by valgrind. · 4c31dc7c
      Sebastian Dröge authored
      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.
      4c31dc7c
    • Wim Taymans's avatar
      tests/benchmarks/: Add poll stress test. · 6e01b07d
      Wim Taymans authored
      Original commit message from CVS:
      * tests/benchmarks/Makefile.am:
      * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
      (main):
      Add poll stress test.
      6e01b07d
    • Peter Kjellerstedt's avatar
      plugins/elements/: Port to GstPoll. See #505417. · a711d9f0
      Peter Kjellerstedt authored and Wim Taymans's avatar Wim Taymans committed
      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.
      a711d9f0
  12. 27 Feb, 2008 4 commits
    • Jan Schmidt's avatar
      win32/common/libgstreamer.def: Add new gst_poll_ symbols to win32 defs. · 91bf3dee
      Jan Schmidt authored
      Original commit message from CVS:
      * win32/common/libgstreamer.def:
      Add new gst_poll_ symbols to win32 defs.
      91bf3dee
    • Wim Taymans's avatar
      Use a private stuct to not break ABI. · 0d37102c
      Wim Taymans authored
      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.
      0d37102c
    • Peter Kjellerstedt's avatar
      libs/gst/net/: Massive code removal and cleanups because of GstPoll. · 83113506
      Peter Kjellerstedt authored and Wim Taymans's avatar Wim Taymans committed
      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.
      83113506
    • Wim Taymans's avatar
      configure.ac: Add checks for poll, ppoll and pselect. · d37ee60f
      Wim Taymans authored
      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.
      d37ee60f
  13. 25 Feb, 2008 1 commit
  14. 23 Feb, 2008 1 commit
  15. 21 Feb, 2008 2 commits
  16. 20 Feb, 2008 1 commit