1. 08 Feb, 2012 1 commit
  2. 25 Jan, 2012 1 commit
    • Wim Taymans's avatar
      Add new GstMapInfo · a5212528
      Wim Taymans authored
      Use a structure to hold info about the mapping. The application then keeps track
      of this state and we can use it to unmap the memory again later.
      a5212528
  3. 02 Dec, 2011 1 commit
    • Wim Taymans's avatar
      basesink: clean up event handling · 0e38f0da
      Wim Taymans authored
      Add new wait_eos vmethod to wait for the eos timeout before posting the EOS
      message on the bus.
      Add default event handler. Move the default event actions in there. Call the
      event vmethod from the pad event handler. Subclasses are now supposed to chain
      up to the parent event handler or unref the event and do their own thing.
      Avoid passing unused parameters to functions.
      0e38f0da
  4. 16 Nov, 2011 1 commit
  5. 13 Nov, 2011 2 commits
  6. 10 Aug, 2011 1 commit
  7. 22 Jun, 2011 1 commit
  8. 18 May, 2011 1 commit
  9. 17 May, 2011 1 commit
    • Sebastian Dröge's avatar
      Revert "query: allow _make_writable on query handlers" · 3d2127f8
      Sebastian Dröge authored
      This reverts commit cf4fbc00.
      
      This change did not improve the situation for bindings because
      queries are usually created, then directly passed to a function
      and not stored elsewhere, and the writability problem with
      miniobjects usually happens with buffers or caps instead.
      3d2127f8
  10. 16 May, 2011 1 commit
    • Wim Taymans's avatar
      Rework GstSegment handling · bdbc0693
      Wim Taymans authored
      Improve GstSegment, rename some fields. The idea is to have the GstSegment
      structure represent the timing structure of the buffers as they are generated by
      the source or demuxer element.
      gst_segment_set_seek() -> gst_segment_do_seek()
      Rename the NEWSEGMENT event to SEGMENT.
      Make parsing of the SEGMENT event into a GstSegment structure.
      Pass a GstSegment structure when making a new SEGMENT event. This allows us to
      pass the timing info directly to the next element. No accumulation is needed in
      the receiving element, all the info is inside the element.
      Remove gst_segment_set_newsegment(): This function as used to accumulate
      segments received from upstream, which is now not needed anymore because the
      segment event contains the complete timing information.
      bdbc0693
  11. 10 May, 2011 1 commit
  12. 09 May, 2011 1 commit
  13. 19 Apr, 2011 1 commit
  14. 28 Mar, 2011 1 commit
  15. 31 Dec, 2010 1 commit
  16. 13 Oct, 2010 1 commit
  17. 16 Jun, 2010 1 commit
    • Wim Taymans's avatar
      fdsink: make sync property work correctly · bd9cd476
      Wim Taymans authored
      Don't override the default get_times vmethod so that we can use the sync
      property.
      Set the default sync property to FALSE. It used to be set to TRUE but because
      the get_times was NULL, it always behaved like FALSE.
      
      Fixes #621530
      bd9cd476
  18. 10 Mar, 2010 1 commit
    • Benjamin Otte's avatar
      Fixes for -Wwrite-strings · a9d1a493
      Benjamin Otte authored
      This changes some APIs in compatible ways:
      - Some functions now take "const char *" arguments, not "char *"
      - Some structs now have "conts char *" members, not "char *"
      The changes may cause warnings when compiling with the right warning
      flags. You've been warned.
      
      Also adds -Wwrite-strings as a warning flag in configure.ac.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=611692
      a9d1a493
  19. 19 Feb, 2010 1 commit
  20. 19 Jun, 2009 1 commit
  21. 18 Jun, 2009 2 commits
  22. 20 Mar, 2009 1 commit
  23. 20 Dec, 2008 1 commit
    • Sebastian Dröge's avatar
      API: Add URI query type. This is useful to query the URI of a sink/source... · 9b65eb68
      Sebastian Dröge authored
      API: Add URI query type. This is useful to query the URI of a sink/source element and can be used by demuxers that ne...
      
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstquark.c:
      * gst/gstquark.h:
      * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
      (gst_query_parse_uri):
      * gst/gstquery.h:
      API: Add URI query type. This is useful to query the URI
      of a sink/source element and can be used by demuxers that
      need to get data from other files.
      This query should go upstream by default.
      Fixes bug #562949.
      * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
      * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
      (gst_fd_src_query):
      * plugins/elements/gstfilesink.c: (gst_file_sink_query):
      * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
      (gst_file_src_query):
      Implement URI query.
      9b65eb68
  24. 20 Jun, 2008 1 commit
    • Stefan Kost's avatar
      plugins/elements/: Remove short_description. Add basic docs for gsttypefindelement. · ef70805d
      Stefan Kost authored
      Original commit message from CVS:
      * plugins/elements/gstcapsfilter.c:
      * plugins/elements/gstfakesink.c:
      * plugins/elements/gstfakesrc.c:
      * plugins/elements/gstfdsink.c:
      * plugins/elements/gstfdsrc.c:
      * plugins/elements/gstfilesink.c:
      * plugins/elements/gstfilesrc.c:
      * plugins/elements/gstidentity.c:
      * plugins/elements/gstmultiqueue.c:
      * plugins/elements/gstqueue.c:
      * plugins/elements/gsttee.c:
      * plugins/elements/gsttypefindelement.c:
      Remove short_description. Add basic docs for gsttypefindelement.
      Simplify markup for fakesrc/fdsrc.
      ef70805d
  25. 24 Mar, 2008 1 commit
  26. 22 Mar, 2008 1 commit
    • Sebastian Dröge's avatar
      Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and use it... · b0346dff
      Sebastian Dröge authored
      Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and use it everywhere for GParamSpecs that use static...
      
      Original commit message from CVS:
      * docs/pwg/advanced-dparams.xml:
      * docs/pwg/building-props.xml:
      * docs/pwg/other-source.xml:
      * gst/glib-compat.h:
      * gst/gstbin.c: (gst_bin_class_init):
      * gst/gstclock.c: (gst_clock_class_init):
      * gst/gstindex.c: (gst_index_class_init):
      * gst/gstobject.c: (gst_object_class_init):
      * gst/gstpad.c: (gst_pad_class_init):
      * gst/gstpipeline.c: (gst_pipeline_class_init):
      * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
      * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_class_init):
      * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
      * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
      (_gst_check_fault_handler_sighandler),
      (_gst_check_fault_handler_setup), (gst_check_init):
      * libs/gst/controller/gstcontroller.c:
      (_gst_controller_class_init):
      * libs/gst/controller/gstlfocontrolsource.c:
      (gst_lfo_control_source_class_init):
      * libs/gst/net/gstnetclientclock.c:
      (gst_net_client_clock_class_init):
      * libs/gst/net/gstnettimeprovider.c:
      (gst_net_time_provider_class_init):
      * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
      * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
      * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
      * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
      * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
      * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
      * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
      * plugins/elements/gstidentity.c: (gst_identity_class_init):
      * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
      * plugins/elements/gstqueue.c: (gst_queue_class_init):
      * plugins/elements/gsttee.c: (gst_tee_class_init):
      * plugins/elements/gsttypefindelement.c:
      (gst_type_find_element_class_init):
      * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
      Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
      use it everywhere for GParamSpecs that use static strings (i.e. all).
      This gives us less memory usage, fewer allocations and thus less
      memory defragmentation. Fixes bug #523806.
      b0346dff
  27. 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
  28. 29 Feb, 2008 3 commits
    • 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
  29. 28 Feb, 2008 2 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
    • Peter Kjellerstedt's avatar
      plugins/elements/: Port to GstPoll. See #505417. · a711d9f0
      Peter Kjellerstedt authored
      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
  30. 06 Feb, 2008 1 commit
    • Stefan Kost's avatar
      gst/gstconfig.h.in: Add 'id' for example. · 502337a5
      Stefan Kost authored
      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.
      502337a5
  31. 05 Feb, 2008 1 commit
    • Sebastian Dröge's avatar
      Revert previous changes to the behaviour of GstPadTemplates, etc and the... · 2faa7332
      Sebastian Dröge authored
      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.
      2faa7332
  32. 03 Feb, 2008 1 commit
    • Sebastian Dröge's avatar
      Don't use base_init where not absolutely necessary. For example it's not... · 9db28f85
      Sebastian Dröge authored
      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.
      9db28f85
  33. 21 Jun, 2007 1 commit
    • Stefan Kost's avatar
      Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457. · 9eeb1c8e
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_class_set_details_simple):
      * gst/gstelement.h:
      * gst/gstutils.c: (gst_type_register_static_full):
      * gst/gstutils.h:
      * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
      * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
      * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
      * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
      * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
      * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
      * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
      * plugins/elements/gstidentity.c: (gst_identity_base_init):
      * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
      * plugins/elements/gstqueue.c: (gst_queue_base_init),
      (apply_buffer), (gst_queue_chain):
      * plugins/elements/gsttee.c: (gst_tee_base_init):
      * plugins/elements/gsttypefindelement.c:
      (gst_type_find_element_base_init),
      (gst_type_find_element_class_init):
      Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
      9eeb1c8e
  34. 19 Mar, 2007 1 commit
    • Jan Schmidt's avatar
      libs/gst/base/: Add ::unlock_stop to basesrc and basesink. This allows an... · c248d1db
      Jan Schmidt authored
      libs/gst/base/: Add ::unlock_stop to basesrc and basesink. This allows an opportunity for sub-classes to correctly cl...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
      (gst_base_sink_change_state):
      * libs/gst/base/gstbasesink.h:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
      (gst_base_src_default_event), (gst_base_src_unlock_stop),
      (gst_base_src_deactivate):
      * libs/gst/base/gstbasesrc.h:
      Add ::unlock_stop to basesrc and basesink. This allows an opportunity
      for sub-classes to correctly clear any state they set trying to
      unlock, such as clearing out unlock commands from a command fd.
      * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
      (gst_fd_sink_render), (gst_fd_sink_unlock),
      (gst_fd_sink_unlock_stop):
      * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
      (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
      (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
      Implement unlock_stop in fdsrc and fdsink.
      Implement seeking in fdsrc when a seekable fd is passed, as in
      gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
      c248d1db
  35. 09 Oct, 2006 1 commit
    • Josep Torre Valles's avatar
      common/m4/gst-error.m4: Disable warning of statement not reached on Forte. · 2f32e21d
      Josep Torre Valles authored
      Original commit message from CVS:
      2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
      
      Patch by: Josep Torre Valles <josep@fluendo.com>
      
      * common/m4/gst-error.m4:
      Disable warning of statement not reached on Forte.
      * gst/gstmessage.h:
      Fix warning on Forte (value doesn't fit on enumeration).
      * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
      Fix warning on Forte (value doesn't fit on enumeration).
      * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
      DEBUG macro says it takes minimum of 2 args and so Forte
      complains about the use with just 1 arg.
      * plugins/elements/gstfdsink.c:
      * plugins/elements/gstfdsrc.c:
      * plugins/elements/gstfilesink.c:
      * plugins/elements/gstfilesrc.c:
      Use correct return type for the uri handler implementations.
      
      All these fix warnings in Forte.  Fixes bug #360860.
      2f32e21d