1. 26 Nov, 2011 1 commit
  2. 03 Dec, 2010 1 commit
  3. 03 Feb, 2009 1 commit
    • Wim Taymans's avatar
      GstPoll: add methods to use gstpoll for timeouts · 5cfb02af
      Wim Taymans authored
      Add a special timer mode in GstPoll that makes it only use the control socket
      with a timeout to schedule timeouts. Also add a pair of methods to wakeup the
      timeout thread.
      API: GstPoll::gst_poll_new_timer()
      API: GstPoll::gst_poll_write_control()
      API: GstPoll::gst_poll_read_control()
      5cfb02af
  4. 18 Mar, 2008 1 commit
    • Ole Andre Vadla Ravnaas's avatar
      Add new function gst_poll_fd_ignored() for improved Windows compatibility. · bf20f01f
      Ole Andre Vadla Ravnaas authored
      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
  5. 07 Mar, 2008 1 commit
    • 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
      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
  6. 29 Feb, 2008 2 commits
    • 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
      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
  7. 27 Feb, 2008 1 commit
    • 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