1. 13 Oct, 2006 2 commits
    • Yves Lefebvre's avatar
      gst/gstelement.h: Clarify _NO_PREROLL a bit more. · 1b417192
      Yves Lefebvre authored
      Original commit message from CVS:
      * gst/gstelement.h:
      Clarify _NO_PREROLL a bit more.
      * gst/gstevent.c:
      Fix docs.
      * gst/gstpad.c: (gst_pad_link_check_hierarchy),
      (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
      (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
      Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
      due to wrong locking order. Fixes #361769.
      Remove some redundant/misplaced checks in pad_block.
      * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
      For negative rates, count backwards from the duration.
      1b417192
    • Tim-Philipp Müller's avatar
      gst/gsterror.c: Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to... · f038abdb
      Tim-Philipp Müller authored
      gst/gsterror.c: Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come up with something better).
      
      Original commit message from CVS:
      * gst/gsterror.c: (_gst_library_errors_init):
      Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
      up with something better).
      f038abdb
  2. 12 Oct, 2006 2 commits
  3. 11 Oct, 2006 4 commits
    • Wim Taymans's avatar
      docs/plugins/: Update element args. · 25fa2877
      Wim Taymans authored
      Original commit message from CVS:
      * docs/plugins/gstreamer-plugins.args:
      * docs/plugins/inspect/plugin-coreelements.xml:
      * docs/plugins/inspect/plugin-coreindexers.xml:
      Update element args.
      * gst/gstsystemclock.c:
      Small comment update.
      * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
      (gst_tee_request_new_pad), (gst_tee_release_pad),
      (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
      (gst_tee_sink_activate_pull):
      * plugins/elements/gsttee.h:
      Some tee loving:
      Add default property defines.
      Implement release pad function.
      Give properties better blubs etc.
      Activate pads before adding them to a running tee.
      Do simple buffer_alloc on the first requested pad.
      Post error when activation fails.
      25fa2877
    • Tim-Philipp Müller's avatar
      gst/gst.c: Check return value of write() to make compiler happy. · 9f1bef5b
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gst.c: (ensure_current_registry_forking):
      Check return value of write() to make compiler happy.
      9f1bef5b
    • Sjoerd Simons's avatar
      plugins/elements/gstqueue.c: Recheck queue filledness after signalling the... · 37d07b45
      Sjoerd Simons authored
      plugins/elements/gstqueue.c: Recheck queue filledness after signalling the overrun when we're about to leak downstrea...
      
      Original commit message from CVS:
      Patch by: Sjoerd Simons <sjoerd at luon dot net>
      * plugins/elements/gstqueue.c: (gst_queue_chain):
      Recheck queue filledness after signalling the overrun when we're about
      to leak downstream because we released the lock when emitting the signal
      and the queue could be empty again. Fixes #352345.
      37d07b45
    • Tim-Philipp Müller's avatar
      libs/gst/controller/gstcontroller.c: Fix refcounting here too, just like we... · db8e1735
      Tim-Philipp Müller authored
      libs/gst/controller/gstcontroller.c: Fix refcounting here too, just like we did for _new_valist() a few days ago (#35...
      
      Original commit message from CVS:
      * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
      Fix refcounting here too, just like we did for _new_valist() a few
      days ago (#357180) (thanks to René Stadler). Also remove all those
      'Since: 0.9' from the gtk-doc blobs.
      * tests/check/libs/controller.c: (controller_refcount_new_list),
      (gst_controller_suite):
      Unit test for the above.
      db8e1735
  4. 10 Oct, 2006 4 commits
    • Sebastien Cote's avatar
      gst/gstpad.c: Update some docs. · 1482e8bd
      Sebastien Cote authored
      Original commit message from CVS:
      Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
      * gst/gstpad.c: (gst_pad_get_caps_unlocked),
      (gst_pad_save_thyself):
      Update some docs.
      Write pad direction in XML output. Fixes #345496.
      1482e8bd
    • René Stadler's avatar
      libs/gst/controller/gstcontroller.c: Take ref to controlled object so that it cannot disappear. · 758c8c69
      René Stadler authored
      Original commit message from CVS:
      Patch by: René Stadler <mail at renestadler dot de>
      * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
      (gst_controller_new_list), (_gst_controller_dispose),
      (_gst_controller_finalize), (_gst_controller_class_init):
      Take ref to controlled object so that it cannot disappear.
      Fixes #357432.
      758c8c69
    • Wim Taymans's avatar
      libs/gst/check/gstcheck.c: Activate/deactivate pads in setup/teardown respectively. · c549303d
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
      (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
      (gst_check_teardown_sink_pad):
      Activate/deactivate pads in setup/teardown respectively.
      c549303d
    • Josep Torre Valles's avatar
      gst/Makefile.am: Cast values when making gstenumtypes.h. This pacifies Forte... · 8c9c6d06
      Josep Torre Valles authored
      gst/Makefile.am: Cast values when making gstenumtypes.h.  This pacifies Forte so it doesn't warn about the ~0 as GST_...
      
      Original commit message from CVS:
      2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
      
      Patch by: Josep Torre Valles <josep@fluendo.com>
      
      * gst/Makefile.am:
      Cast values when making gstenumtypes.h.  This pacifies Forte
      so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
      in the enumeration.
      8c9c6d06
  5. 09 Oct, 2006 6 commits
    • Wim Taymans's avatar
      gst/gstevent.c: Rename some more @cur to @start to fix docs. · 0a53651b
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
      Rename some more @cur to @start to fix docs.
      * gst/gstsegment.c: (gst_segment_set_seek):
      Fix typo.
      time and start must always stay in sync as defined in design doc.
      * gst/gsttaglist.c: (gst_tag_list_is_empty):
      Rename param to fix docs.
      * tests/check/gst/gstsegment.c: (GST_START_TEST):
      Check that start and time are in sync.
      * tests/check/pipelines/parse-launch.c:
      (gst_parse_test_element_change_state):
      Activate pad before adding to the element.
      0a53651b
    • Wim Taymans's avatar
      docs/design/part-qos.txt: Fix typo. · 89814eed
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-qos.txt:
      Fix typo.
      * gst/gstevent.c:
      * gst/gstevent.h:
      Update seek event docs regarding negative rates.
      Rename @cur to @start.
      * gst/gstsegment.c: (gst_segment_set_seek):
      * gst/gstsegment.h:
      Update set_seek docs regarding negative rates.
      Correctly update last_stop to @stop when dealing with negative
      rates.
      Rename @cur to @start.
      * tests/check/gst/gstpad.c: (GST_START_TEST):
      Activate pads before trying to use them.
      * tests/check/gst/gstsegment.c: (GST_START_TEST),
      (gst_segment_suite):
      Add simple check for segments and negative rates.
      89814eed
    • Tim-Philipp Müller's avatar
      API: add gst_tag_list_is_empty() (#360467). · 3a8fdc1d
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gsttaglist.c: (gst_tag_list_is_empty):
      * gst/gsttaglist.h:
      * docs/gst/gstreamer-sections.txt:
      API: add gst_tag_list_is_empty() (#360467).
      * tests/check/gst/gsttag.c: (GST_START_TEST):
      And a test case.
      3a8fdc1d
    • Zaheer Abbas Merali's avatar
      gst/gstmessage.h: Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having a... · 6ac7827d
      Zaheer Abbas Merali authored
      gst/gstmessage.h: Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having a value that doesn't fit on enumeration.
      
      Original commit message from CVS:
      2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
      
      * gst/gstmessage.h:
      Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
      a value that doesn't fit on enumeration.
      6ac7827d
    • Zaheer Abbas Merali's avatar
      libs/gst/net/gstnetclientclock.c: Remove local debugging system and use Gstreamer's instead. · 6591766c
      Zaheer Abbas Merali authored
      Original commit message from CVS:
      2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
      
      * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
      Remove local debugging system and use Gstreamer's instead.
      6591766c
    • 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
  6. 08 Oct, 2006 1 commit
  7. 07 Oct, 2006 2 commits
  8. 06 Oct, 2006 4 commits
    • Tim-Philipp Müller's avatar
      gst/gstinfo.h: Those two function declarations do actually belong there,... · 06260fdc
      Tim-Philipp Müller authored
      gst/gstinfo.h: Those two function declarations do actually belong there, revert commit from yesterday that turned the...
      
      Original commit message from CVS:
      * gst/gstinfo.h:
      Those two function declarations do actually belong there, revert
      commit from yesterday that turned them intro macros.
      06260fdc
    • Josep Torre Valles's avatar
      gst/gst.c: Fix empty declaration and type mismatch. · fcb5023f
      Josep Torre Valles authored
      Original commit message from CVS:
      2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
      
      Patch by: Josep Torre Valles <josep@fluendo.com>
      
      * gst/gst.c: (gst_init_get_option_group):
      Fix empty declaration and type mismatch.
      * gst/gstbin.c: (gst_bin_change_state_func):
      Fix type mismatch.
      * gst/gstelement.c: (gst_element_continue_state),
      (gst_element_set_state_func), (gst_element_change_state),
      (gst_element_change_state_func):
      Fix type mismatches.
      * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
      (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
      Cast as appropriate.
      * gst/gstobject.c: (gst_class_signal_connect):
      Cast as appropriate.  The function pointer parameter really
      has the wrong type but would break API if we change it.
      * gst/gstquery.c:
      Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
      order of including string.h.
      * gst/gstutils.c: (gst_element_state_get_name):
      Remove unreachable line.
      * gst/gstxml.c: (gst_xml_parse_doc):
      Fix type mismatch.
      All these caught by Forte.
      fcb5023f
    • Josep Torre Valles's avatar
      common/m4/gst-error.m4: Fixed bug #360151. · f6dc6a42
      Josep Torre Valles authored
      Original commit message from CVS:
      2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
      
      Patch by: Josep Torre Valles <josep@fluendo.com>
      
      * common/m4/gst-error.m4:
      Fixed bug #360151.
      We need to disable warnings on Forte for empty declarations
      due to gst-indent adding ;s to lines that just use macros
      where the macro actually doesn't need a ; at end to end
      statement.
      f6dc6a42
    • Wim Taymans's avatar
      plugins/elements/gstfilesink.c: Add some FIXME for the NEWSEGMENT handling. · fe59eb0e
      Wim Taymans authored
      Original commit message from CVS:
      * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
      (gst_file_sink_close_file), (gst_file_sink_event),
      (gst_file_sink_render):
      Add some FIXME for the NEWSEGMENT handling.
      fe59eb0e
  9. 05 Oct, 2006 4 commits
    • Zaheer Abbas Merali's avatar
      gst/parse/grammar.y: Remove static function gst_parse_element_lock as all it... · 6faacf67
      Zaheer Abbas Merali authored
      gst/parse/grammar.y: Remove static function gst_parse_element_lock as all it does is return.  Looks like cruft from 0.8.
      
      Original commit message from CVS:
      2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
      
      * gst/parse/grammar.y:
      Remove static function gst_parse_element_lock as all it does
      is return.  Looks like cruft from 0.8.
      6faacf67
    • Josep Torre Valles's avatar
      Fix a compilation issue with Forte on Solaris. inet_aton is in libresolv. · 7869189d
      Josep Torre Valles authored
      Original commit message from CVS:
      2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
      
      Patch by: Josep Torre Valles <josep@fluendo.com>
      
      * common/m4/gst-error.m4:
      * configure.ac:
      * libs/gst/net/Makefile.am:
      Fix a compilation issue with Forte on Solaris.  inet_aton is in
      libresolv.
      7869189d
    • Tim-Philipp Müller's avatar
      Printf fixes. · f468db23
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gstpad.c: (pre_activate):
      * gst/gstregistry.c: (gst_registry_scan_path_level):
      * gst/gstregistryxml.c: (load_plugin):
      * libs/gst/controller/gstcontroller.c:
      (gst_controlled_property_set_interpolation_mode):
      * libs/gst/dataprotocol/dataprotocol.c:
      (gst_dp_packet_from_event_1_0):
      * libs/gst/net/gstnetclientclock.c:
      (gst_net_client_clock_observe_times):
      * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
      Printf fixes.
      f468db23
    • Tim-Philipp Müller's avatar
      Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know whether we can... · 376f6c34
      Tim-Philipp Müller authored
      Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know whether we can use G_GNUC_PRINTF in other header files ...
      
      Original commit message from CVS:
      * configure.ac:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstconfig.h.in:
      * gst/gstelement.h:
      * gst/gstinfo.h:
      Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
      whether we can use G_GNUC_PRINTF in other header files and at
      least check the printf format/arguments of debug messages and
      GST_ELEMENT_ERROR messages when the printf extension is not
      being used.
      Replace more tabs with spaces in gstinfo.h and remove two spurious
      function declarations in GST_DISABLE_DEBUG part with macros.
      376f6c34
  10. 03 Oct, 2006 2 commits
    • Tim-Philipp Müller's avatar
      gst/gstbus.c: More docs for the sync-message signal (mention that it is not... · c4be4aa9
      Tim-Philipp Müller authored
      gst/gstbus.c: More docs for the sync-message signal (mention that it is not emitted by default); log message structur...
      
      Original commit message from CVS:
      * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
      More docs for the sync-message signal (mention that it is not
      emitted by default); log message structures of messages posted on
      the bus as well.
      c4be4aa9
    • Jan Schmidt's avatar
      gst/gst.c: Use a pipe pair to receive status results from the forked child,... · 438c525b
      Jan Schmidt authored
      gst/gst.c: Use a pipe pair to receive status results from the forked child, and ignore the result from waitpid. Fixes...
      
      Original commit message from CVS:
      * gst/gst.c: (ensure_current_registry_forking):
      Use a pipe pair to receive status results from the forked child, and
      ignore the result from waitpid. Fixes #355499
      438c525b
  11. 02 Oct, 2006 7 commits
    • Wim Taymans's avatar
      tests/check/gst/gstghostpad.c: Fix leak in check. · 15b2ccbc
      Wim Taymans authored
      Original commit message from CVS:
      * tests/check/gst/gstghostpad.c: (GST_START_TEST),
      (gst_ghost_pad_suite):
      Fix leak in check.
      15b2ccbc
    • Tim-Philipp Müller's avatar
      gst/gstpad.c: Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb. · 785eafa3
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gstpad.c:
      Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
      785eafa3
    • Edward Hervey's avatar
      docs/design/part-block.txt: Further explain the use of flushing on blocked pads. · 8923a57a
      Edward Hervey authored
      Original commit message from CVS:
      * docs/design/part-block.txt:
      Further explain the use of flushing on blocked pads.
      * docs/gst/gstreamer-sections.txt:
      * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
      (gst_pad_push_event):
      * gst/gstpad.h:
      Added new GstPadFlag : GST_PAD_BLOCKING.
      Adds the notion of pads really blocking, which enables to properly
      handle FLUSH_START/FLUSH_STOP events on blocked pads.
      Fixes #358999
      API: gst_pad_is_blocking()
      API: GST_PAD_IS_BLOCKING() macro
      API: GST_PAD_BLOCKING GstPadFlag
      8923a57a
    • mrcgran's avatar
      gst/gstghostpad.c: Filter the proxied caps against the padtemplate if we have one. · bae90f59
      mrcgran authored
      Original commit message from CVS:
      Patch by: mrcgran <mrc.gran at gmail dot com>
      * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
      Filter the proxied caps against the padtemplate if we have one.
      * gst/gstquery.c: (gst_query_new_segment):
      Add include for gstinfo.h so that compilation with
      -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
      bae90f59
    • Wim Taymans's avatar
      Give credit · ec3194dc
      Wim Taymans authored
      Original commit message from CVS:
      Give credit
      ec3194dc
    • Wim Taymans's avatar
      plugins/elements/gstfilesink.c: Set file to NULL when closing filesink so that... · 20f17850
      Wim Taymans authored
      plugins/elements/gstfilesink.c: Set file to NULL when closing filesink so that we can set a new filename in READY. Fi...
      
      Original commit message from CVS:
      * plugins/elements/gstfilesink.c: (gst_file_sink_init),
      (gst_file_sink_set_location), (gst_file_sink_open_file),
      (gst_file_sink_close_file), (gst_file_sink_event),
      (gst_file_sink_render):
      Set file to NULL when closing filesink so that we can set a new filename
      in READY. Fixes #358613.
      20f17850
    • Alessandro Decina's avatar
      gst/gstevent.c: Fix gst_mini_object_make_writable() and gst_event_copy() for... · 86a6abe3
      Alessandro Decina authored
      gst/gstevent.c: Fix gst_mini_object_make_writable() and gst_event_copy() for events with event structures by setting ...
      
      Original commit message from CVS:
      Patch by: Alessandro Decina  <alessandro at nnva org>
      * gst/gstevent.c: (_gst_event_copy):
      Fix gst_mini_object_make_writable() and gst_event_copy() for events
      with event structures by setting the parent refcount address of the
      copied structure to the address of the refcount member of the newly
      copied event rather than the address of the refcount member of the
      original event. Fixes #358737.
      * tests/check/gst/gstevent.c: (GST_START_TEST):
      Unit test for the above.
      86a6abe3
  12. 29 Sep, 2006 2 commits