1. 10 Oct, 2005 20 commits
    • Wim Taymans's avatar
      gst/gstelement.c: Use src/sink pads lists for the respective iterators instead of filtering. · 63f02ce9
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_iterate_pad_list),
      (gst_element_iterate_pads), (gst_element_iterate_src_pads),
      (gst_element_iterate_sink_pads):
      Use src/sink pads lists for the respective iterators instead
      of filtering.
      63f02ce9
    • Ronald S. Bultje's avatar
      Merged in popt removal + GOption addition patch from Ronald, bug #169772. · ac8289c7
      Ronald S. Bultje authored and Andy Wingo Wingo's avatar Andy Wingo Wingo committed
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      Merged in popt removal + GOption addition patch from Ronald, bug
      #169772.
      
      * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
      GstElement macros around, remove popt-related symbols, add goption
      stuff.
      
      * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
      
      * docs/gst/Makefile.am:
      * docs/libs/Makefile.am: No POPT_CFLAGS.
      
      * examples/manual/Makefile.am:
      * docs/manual/basics-init.xml: Doc updates with an example.
      
      * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
      (gst_init), (parse_one_option), (parse_goption_arg):
      * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
      bit of hand merging and debugging to get the GOption stuff working
      tho.
      
      * tests/Makefile.am:
      * tools/Makefile.am:
      * tools/gst-inspect.c: (main):
      * tools/gst-launch.c: (main):
      * tools/gst-run.c: (main):
      * tools/gst-xmlinspect.c: (main): Thanks Ronald!
      ac8289c7
    • Tim-Philipp Müller's avatar
      gst/gstiterator.c: Add assertions to make sure passed GType is likely to... · a1702b76
      Tim-Philipp Müller authored
      gst/gstiterator.c: Add assertions to make sure passed GType is likely to really be a GType (as the compiler won't cat...
      
      Original commit message from CVS:
      * gst/gstiterator.c: (gst_iterator_new):
      Add assertions to make sure passed GType is likely to really
      be a GType (as the compiler won't catch it if the size and
      GType arguments get mixed up, see #318447).
      a1702b76
    • Tim-Philipp Müller's avatar
      gst/gstbin.c: Pass GType and size arguments to gst_iterator_new() in the right... · ee379a13
      Tim-Philipp Müller authored
      gst/gstbin.c: Pass GType and size arguments to gst_iterator_new() in the right order (maybe we should make _new() tak...
      
      Original commit message from CVS:
      Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
      * gst/gstbin.c: (gst_bin_iterate_sorted):
      Pass GType and size arguments to gst_iterator_new() in the right
      order (maybe we should make _new() take the GType as first argument
      just like _new_list()?) (#318447).
      ee379a13
    • Wim Taymans's avatar
      gst/gstelement.c: And free the GStaticRecMutex too · 9e17ca91
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_finalize):
      And free the GStaticRecMutex too
      9e17ca91
    • Thomas Vander Stichele's avatar
      don't echo path · 8438d172
      Thomas Vander Stichele authored
      Original commit message from CVS:
      don't echo path
      8438d172
    • Andy Wingo Wingo's avatar
      gst/gstelement.c (gst_element_init, gst_element_finalize): Allocate and free the mutex properly. · cfd14e0f
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstelement.c (gst_element_init, gst_element_finalize):
      Allocate and free the mutex properly.
      
      * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
      New macros.
      (GstElement): The state_lock is now recursive. Rebuild your
      plugins, suckers. Old macros adapted.
      cfd14e0f
    • Andy Wingo Wingo's avatar
      changelog · 5efcf702
      Andy Wingo Wingo authored
      Original commit message from CVS:
      changelog
      5efcf702
    • Andy Wingo Wingo's avatar
      docs/gst/gstreamer-sections.txt: Doc updates. · 16dfb8d4
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * docs/gst/gstreamer-sections.txt: Doc updates.
      
      * gst/gstutils.h:
      * gst/gstutils.c (g_static_rec_cond_timed_wait)
      (g_static_rec_cond_wait): Ported from state changes patch, while
      we wait on bug #317802 to be solved in a well-distributed GLib.
      16dfb8d4
    • Thomas Vander Stichele's avatar
      add more win32 build files · a132cc9d
      Thomas Vander Stichele authored
      Original commit message from CVS:
      add more win32 build files
      a132cc9d
    • Andy Wingo Wingo's avatar
      gst/gstelement.c (gst_element_change_state_func): Renamed from... · addf0c46
      Andy Wingo Wingo authored
      gst/gstelement.c (gst_element_change_state_func): Renamed from gst_element_change_state, variable name changes.
      
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstelement.c (gst_element_change_state_func): Renamed from
      gst_element_change_state, variable name changes.
      (gst_element_change_state): Split out of gst_element_set_state in
      preparation for the state change merge. Doesn't pay attention to
      the 'transition' argument.
      (gst_element_set_state): Updates, hopefully purely cosmetic.
      (gst_element_sync_state_with_parent): MT-safety. Ported from the
      state change patch.
      (gst_element_get_state_func): Renamed from get_state, cosmetic
      changes.
      addf0c46
    • Sebastien Moutte's avatar
      updates for the win32 build (patch from Sebastien Moutte) · b4e68ab0
      Sebastien Moutte authored and Thomas Vander Stichele's avatar Thomas Vander Stichele committed
      Original commit message from CVS:
      
      * gst/elements/gstelements.c:
      * win32/GStreamer.vcproj:
      * win32/config.h:
      * win32/dirent.c: (_tseekdir):
      * win32/gst-inspect.vcproj:
      * win32/gst-launch.vcproj:
      * win32/gstconfig.h:
      * win32/gstelements.vcproj:
      * win32/gstenumtypes.c: (gst_object_flags_get_type):
      * win32/gstreamer.def:
      * win32/msvc71.sln:
      updates for the win32 build (patch from Sebastien Moutte)
      b4e68ab0
    • Andy Wingo Wingo's avatar
      gst/gstbin.c (gst_bin_get_state_func): Renamed from gst_bin_get_state, cleaned... · 933bf929
      Andy Wingo Wingo authored
      gst/gstbin.c (gst_bin_get_state_func): Renamed from gst_bin_get_state, cleaned up (but no logic changes).
      
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstbin.c (gst_bin_get_state_func): Renamed from
      gst_bin_get_state, cleaned up (but no logic changes).
      (bin_element_is_sink): Comment updates.
      (sink_iterator_filter): Remove needless cast.
      (gst_bin_iterate_sinks): Doc update.
      (gst_bin_change_state_func): Renamed from gst_bin_change_state,
      cleaned up (but no logic changes).
      933bf929
    • Andy Wingo Wingo's avatar
      check/states/sinks.c (test_src_sink): Cleanups from the state change patch. · a7d07e2b
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * check/states/sinks.c (test_src_sink): Cleanups from the state
      change patch.
      (test_livesrc_sink): Sync on the state.
      a7d07e2b
    • Andy Wingo Wingo's avatar
      check/pipelines/simple_launch_lines.c (run_pipeline): Merge from the state change patch. · 4353da37
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
      the state change patch.
      4353da37
    • Andy Wingo Wingo's avatar
      check/gst/gstghostpad.c (test_ghost_pads): Merge from the state change patch. · d2e60545
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
      change patch.
      d2e60545
    • Andy Wingo Wingo's avatar
      check/gst/gstbin.c: Merge in some style fixes and additional checks from Wim's state change patch. · 81b22690
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * check/gst/gstbin.c: Merge in some style fixes and additional
      checks from Wim's state change patch.
      81b22690
    • Tim-Philipp Müller's avatar
      gst/base/gsttypefindhelper.c: Check whether we have the requested data already... · b846fed9
      Tim-Philipp Müller authored
      gst/base/gsttypefindhelper.c: Check whether we have the requested data already in our list of cached buffers before p...
      
      Original commit message from CVS:
      * gst/base/gsttypefindhelper.c: (helper_find_peek),
      (gst_type_find_helper):
      Check whether we have the requested data already in our list of
      cached buffers before pulling a new buffer; also make the buffer
      list a GSList. Speeds up typefinding by ca. 5-10% altogether.
      b846fed9
    • Thomas Vander Stichele's avatar
      gst/: doc updates · 2b7c3ac5
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/gstcaps.c:
      * gst/gstevent.c:
      doc updates
      * gst/gstvalue.c: (gst_value_deserialize_int_helper):
      don't use long long, it's not portable.  Replacing with
      gint64 seems to work; let's hope no skeletons fall out of the closet.
      2b7c3ac5
    • Andy Wingo Wingo's avatar
      autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay · 0f03b8ee
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
      0f03b8ee
  2. 09 Oct, 2005 5 commits
  3. 08 Oct, 2005 15 commits
    • Wim Taymans's avatar
      gst/: Small docs and debug updates. · e823f47c
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
      * gst/gstelement.c: (gst_element_post_message):
      * gst/gstpipeline.c: (gst_pipeline_change_state):
      Small docs and debug updates.
      e823f47c
    • Stefan Kost's avatar
      more docs · 796a232d
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstelementfactory.c:
      * gst/gstevent.c:
      * gst/gsttaglist.c:
      more docs
      796a232d
    • Wim Taymans's avatar
      gst/gstbin.c: Fix typos, add comments. · ae25867a
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
      (gst_bin_dispose), (bin_bus_handler):
      Fix typos, add comments.
      Clear EOS list when going to PAUSED from any direction and do it
      in a threadsafe way.
      Get base time in a threadsafe way too.
      Fix confusing debug in the change_state function.
      Various other mall cleanups.
      
      * gst/gstelement.c: (gst_element_post_message):
      Fix very verbose bus posting code.
      
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (gst_pipeline_set_property), (gst_pipeline_get_property),
      (gst_pipeline_change_state):
      Small ARG_ -> PROP_ cleanup
      ae25867a
    • Wim Taymans's avatar
      gst/gstbin.c: Do a less CPU demanding EOS check because we can. · 3988477b
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (is_eos), (bin_bus_handler):
      Do a less CPU demanding EOS check because we can.
      3988477b
    • Wim Taymans's avatar
      libs/gst/dataprotocol/: It's about time we bump the version number. · 075142af
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/dataprotocol/dataprotocol.c:
      (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
      (gst_dp_packet_from_event):
      * libs/gst/dataprotocol/dataprotocol.h:
      * libs/gst/dataprotocol/dp-private.h:
      It's about time we bump the version number.
      Since event types don't fit in the guint8 anymore describing
      the payload type, make payload type 16 bits wide.
      075142af
    • Wim Taymans's avatar
      docs/design/: Many doc updates. · 5b4e6c33
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-TODO.txt:
      * docs/design/part-clocks.txt:
      * docs/design/part-events.txt:
      * docs/design/part-gstbin.txt:
      * docs/design/part-gstelement.txt:
      * docs/design/part-gstpipeline.txt:
      * docs/design/part-live-source.txt:
      * docs/design/part-messages.txt:
      * docs/design/part-overview.txt:
      * docs/design/part-states.txt:
      Many doc updates.
      5b4e6c33
    • Wim Taymans's avatar
      gst/gstevent.*: Fix event quark registration. · bed8c238
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstevent.c:
      * gst/gstevent.h:
      Fix event quark registration.
      Add some space between events so we can insert them in the
      right groups.
      bed8c238
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: Better log message. · 06bc343e
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_handle_buffer):
      Better log message.
      
      * gst/gstbus.h:
      * gst/gstelement.h:
      More docs.
      
      * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
      (gst_queue_set_property), (gst_queue_get_property):
      * gst/gstqueue.h:
      Remove old unused properties.
      06bc343e
    • Stefan Kost's avatar
      lots of new docs and doc fixes · 8167fcdd
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstmessage.c:
      * gst/gstmessage.h:
      * gst/gstminiobject.c:
      * gst/gstminiobject.h:
      * gst/gstobject.h:
      * gst/gstpad.h:
      * gst/gstutils.h:
      lots of new docs and doc fixes
      8167fcdd
    • Thomas Vander Stichele's avatar
      fix a leak I introduced · c7d09f7c
      Thomas Vander Stichele authored
      Original commit message from CVS:
      fix a leak I introduced
      c7d09f7c
    • Thomas Vander Stichele's avatar
      gst/: Only ever load one plugin for a given plugin basename. · 87121731
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
      * gst/gstplugin.h:
      * gst/gstregistry.c: (gst_registry_lookup_locked),
      (gst_registry_scan_path_level):
      * gst/gstregistryxml.c: (load_plugin):
      Only ever load one plugin for a given plugin basename.
      This ensures correct overriding of GST_PLUGIN_PATH over
      GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
      system installed plugins.
      87121731
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: Prepare for doing QOS. · 5d5dbe9b
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
      Prepare for doing QOS.
      5d5dbe9b
    • Wim Taymans's avatar
      check/: Allow new clock message too. · 39ca8a97
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      * check/pipelines/cleanup.c: (GST_START_TEST):
      * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
      Allow new clock message too.
      39ca8a97
    • Wim Taymans's avatar
      gst/gstmessage.*: Also carry the clock in question. · dafe1042
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstmessage.c: (gst_message_new_error),
      (gst_message_new_warning), (gst_message_new_tag),
      (gst_message_new_state_changed), (gst_message_new_clock_provide),
      (gst_message_new_clock_lost), (gst_message_new_new_clock),
      (gst_message_new_segment_start), (gst_message_new_segment_done),
      (gst_message_parse_state_changed),
      (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
      (gst_message_parse_new_clock):
      * gst/gstmessage.h:
      Also carry the clock in question.
      dafe1042
    • Wim Taymans's avatar
      gst/gstmessage.*: Clean up. · 677becd0
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstmessage.c: (gst_message_new_custom),
      (gst_message_new_eos), (gst_message_new_error),
      (gst_message_new_warning), (gst_message_new_tag),
      (gst_message_new_state_changed), (gst_message_new_clock_provide),
      (gst_message_new_new_clock), (gst_message_new_segment_start),
      (gst_message_new_segment_done), (gst_message_parse_state_changed),
      (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
      * gst/gstmessage.h:
      Clean up.
      Added clock related messages.
      
      * gst/gstpipeline.c: (gst_pipeline_change_state):
      Post message when the clock changed.
      
      * tools/gst-launch.c: (event_loop):
      Print new clock.
      677becd0