1. 12 Oct, 2005 6 commits
    • Wim Taymans's avatar
      check/: Moved sinks2 testcode in sinks check. · cc28efc2
      Wim Taymans authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
      * check/states/sinks2.c:
      Moved sinks2 testcode in sinks check.
      
      * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
      (gst_bin_remove_func), (gst_bin_recalc_state),
      (gst_bin_change_state_func), (bin_bus_handler):
      Fix potential race condition when _get_state() iterated over an
      ASYNC element right before it posted a state completion.
      
      * gst/gstclock.h:
      Do proper cast here.
      
      * gst/gstevent.c: (gst_event_new_newsegment),
      (gst_event_parse_newsegment):
      A playback rate of 0.0 is not allowed.
      cc28efc2
    • Thomas Vander Stichele's avatar
      autoconf for freebsd · 0296eb6e
      Thomas Vander Stichele authored
      Original commit message from CVS:
      autoconf for freebsd
      0296eb6e
    • Thomas Vander Stichele's avatar
      autoconf for freebsd · 7fdc7c2b
      Thomas Vander Stichele authored
      Original commit message from CVS:
      autoconf for freebsd
      7fdc7c2b
    • Thomas Vander Stichele's avatar
      autoconf for freebsd · 7f472f5e
      Thomas Vander Stichele authored
      Original commit message from CVS:
      autoconf for freebsd
      7f472f5e
    • Thomas Vander Stichele's avatar
      autoconf for freebsd · 8f8094f4
      Thomas Vander Stichele authored
      Original commit message from CVS:
      autoconf for freebsd
      8f8094f4
    • Thomas Vander Stichele's avatar
      autoconf for freebsd · de1f0d89
      Thomas Vander Stichele authored
      Original commit message from CVS:
      autoconf for freebsd
      de1f0d89
  2. 11 Oct, 2005 15 commits
    • Thomas Vander Stichele's avatar
      win32/: Visual Studio 6 project files, and a new common directory. · da39e2c7
      Thomas Vander Stichele authored
      Original commit message from CVS:
      2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
      
      * win32/common/config.h:
      * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
      (_trewinddir), (_ttelldir), (_tseekdir):
      * win32/common/dirent.h:
      * win32/common/gtchar.h:
      * win32/common/libgstbase.def:
      * win32/common/libgstreamer.def:
      * win32/vs6/grammar.dsp:
      * win32/vs6/gst_inspect.dsp:
      * win32/vs6/gst_launch.dsp:
      * win32/vs6/gstreamer.dsw:
      * win32/vs6/libgstbase.dsp:
      * win32/vs6/libgstelements.dsp:
      * win32/vs6/libgstreamer.dsp:
      Visual Studio 6 project files, and a new common directory.
      Phear.
      da39e2c7
    • Wim Taymans's avatar
      forgot this one · 7a2e55a7
      Wim Taymans authored
      Original commit message from CVS:
      forgot this one
      7a2e55a7
    • Wim Taymans's avatar
      gst/base/gstbasesink.*: Correctly parse newsegment info. · 9decf461
      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_query),
      (gst_base_sink_change_state):
      * gst/base/gstbasesink.h:
      Correctly parse newsegment info.
      9decf461
    • Thomas Vander Stichele's avatar
      gst/gst.c: split plugin paths correctly · 593c7147
      Thomas Vander Stichele authored
      Original commit message from CVS:
      2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
      
      * gst/gst.c: (init_post):
      split plugin paths correctly
      593c7147
    • Wim Taymans's avatar
      Added extra flag to newsegment for future API freeze. · c97e237a
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstevent.c: (GST_START_TEST):
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_change_state):
      * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
      * gst/base/gstbasetransform.c: (gst_base_transform_event):
      * gst/elements/gstfilesink.c: (gst_file_sink_event):
      * gst/gstevent.c: (gst_event_new_newsegment),
      (gst_event_parse_newsegment):
      * gst/gstevent.h:
      Added extra flag to newsegment for future API freeze.
      Updated check and base elements.
      c97e237a
    • Julien Moutte Moutte's avatar
      gst/base/gstcollectpads.*: Handle EOS correctly. · 5706cb69
      Julien Moutte Moutte authored
      Original commit message from CVS:
      2005-10-11  Julien MOUTTE  <julien@moutte.net>
      
      * gst/base/gstcollectpads.c: (gst_collectpads_init),
      (gst_collectpads_add_pad), (gst_collectpads_pop),
      (gst_collectpads_event), (gst_collectpads_chain):
      * gst/base/gstcollectpads.h: Handle EOS correctly.
      5706cb69
    • Thomas Vander Stichele's avatar
      more str null protection · 6e59ecdf
      Thomas Vander Stichele authored
      Original commit message from CVS:
      more str null protection
      6e59ecdf
    • Thomas Vander Stichele's avatar
      gst/gst-i18n-lib.h: check for ENABLE_NLS, not GETTEXT_PACKAGE · 03159ca2
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/gst-i18n-lib.h:
      check for ENABLE_NLS, not GETTEXT_PACKAGE
      * gst/gstregistry.c: (gst_registry_add_plugin),
      (gst_registry_scan_path_level),
      (_gst_registry_remove_cache_plugins):
      protect possibly NULL strings
      * gst/parse/types.h:
      config.h already included before
      * tools/gst-inspect.c: (main):
      sys/wait.h also doesnt exist on mingw, so change the ifdef check
      check for ENABLE_NLS, not GETTEXT_PACKAGE
      * tools/gst-launch.c: (main):
      check for ENABLE_NLS, not GETTEXT_PACKAGE
      
      
      This commit brought to you from msys/mingw
      03159ca2
    • Thomas Vander Stichele's avatar
      configure.ac: if we don't have glib, fail before testing 2.8 · 3b9e6b3e
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * configure.ac:
      if we don't have glib, fail before testing 2.8
      * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
      fix a leak, should fix plugins-base testsuite
      3b9e6b3e
    • Andy Wingo Wingo's avatar
      gst/gstpad.c (pre_activate): Renamed from pre_activate_switch, take the mode... · 3ef37179
      Andy Wingo Wingo authored
      gst/gstpad.c (pre_activate): Renamed from pre_activate_switch, take the mode we're going to as an arg. Go head and se...
      
      Original commit message from CVS:
      2005-10-11  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
      take the mode we're going to as an arg. Go head and set the mode
      and flushing flags now, so that if the activate function starts a
      thread all the flags will be in the right state.
      (post_activate): Renamed also. Just handle making sure streaming
      finishes for the deactivation case, and setting the deactivated
      mode.
      (gst_pad_set_active): Complain loudly if deactivation fails.
      (gst_pad_activate_pull): Adapt to pre/post_activate changes.
      (gst_pad_activate_push): Adapt to pre/post_activate changes,
      remove the terrible hack.
      3ef37179
    • Wim Taymans's avatar
      gst/gstbin.*: Prepare to make current EOS message queue more generic. · 4dd6c2a5
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
      (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
      (gst_bin_recalc_state), (gst_bin_change_state_func),
      (gst_bin_dispose), (bin_bus_handler):
      * gst/gstbin.h:
      Prepare to make current EOS message queue more generic.
      Fix some typos.
      
      * gst/gstevent.c: (gst_event_new_newsegment),
      (gst_event_parse_newsegment):
      * gst/gstevent.h:
      Rename base to stream_time.
      
      * gst/gstmessage.h:
      Fix typo in docs.
      4dd6c2a5
    • Wim Taymans's avatar
      gst/gstbin.*: Work on proper clock selection. · fc5dc6de
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
      (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
      (gst_bin_change_state_func), (bin_bus_handler):
      * gst/gstbin.h:
      Work on proper clock selection.
      fc5dc6de
    • Edward Hervey's avatar
      libs/gst/controller/gstcontroller.*: Added GList* version of... · 8986d3f3
      Edward Hervey authored
      libs/gst/controller/gstcontroller.*: Added GList* version of _remove_properties() in order to be able to wrap it in b...
      
      Original commit message from CVS:
      * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
      * libs/gst/controller/gstcontroller.h:
      Added GList* version of _remove_properties() in order to be able to wrap
      it in bindings.
      8986d3f3
    • Wim Taymans's avatar
      docs/design/part-states.txt: Some more docs. · fd1a66e8
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-states.txt:
      Some more docs.
      
      * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
      (gst_bin_change_state_func), (bin_bus_handler):
      Doc updates. Don't distribute the same clock over and over again.
      
      * gst/gstclock.c:
      * gst/gstclock.h:
      Doc updates.
      
      * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
      (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
      (gst_pad_send_event):
      * gst/gstpad.h:
      Make probe emission threadsafe again.
      Register quarks and move _get_name() from utils.
      Doc updates.
      
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
      Only redistribute the clock of it changed.
      
      * gst/gstsystemclock.h:
      Doc updates.
      
      * gst/gstutils.c:
      * gst/gstutils.h:
      Moved the _flow_get_name() to GstPad.
      fd1a66e8
    • Thomas Vander Stichele's avatar
      if we log our init, should also log finalize · c43e9db7
      Thomas Vander Stichele authored
      Original commit message from CVS:
      if we log our init, should also log finalize
      c43e9db7
  3. 10 Oct, 2005 19 commits
    • Thomas Vander Stichele's avatar
      fix more valgrind warnings before turning up the heat · 7eeb3ca8
      Thomas Vander Stichele authored
      Original commit message from CVS:
      fix more valgrind warnings before turning up the heat
      7eeb3ca8
    • Thomas Vander Stichele's avatar
      don't declare on the proper define · 33a77b7a
      Thomas Vander Stichele authored
      Original commit message from CVS:
      don't declare on the proper define
      33a77b7a
    • Thomas Vander Stichele's avatar
      unmangle the nesting a little · 5fb2b32a
      Thomas Vander Stichele authored
      Original commit message from CVS:
      unmangle the nesting a little
      5fb2b32a
    • Thomas Vander Stichele's avatar
      gst/parse/grammar.y: some cleanup before the hacking · 1b27dd60
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/parse/grammar.y:
      some cleanup before the hacking
      1b27dd60
    • Thomas Vander Stichele's avatar
      gst/base/gstbasesrc.c: use conversions · e2af9ca6
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/base/gstbasesrc.c: (gst_base_src_query):
      use conversions
      * gst/gstutils.c: (gst_guint64_to_gdouble),
      (gst_gdouble_to_guint64), (gst_util_uint64_scale):
      * gst/gstutils.h:
      externalize, basesrc uses it
      obviously the implementation needs testing
      e2af9ca6
    • Thomas Vander Stichele's avatar
      another cast bites the dust · 78c180ea
      Thomas Vander Stichele authored
      Original commit message from CVS:
      another cast bites the dust
      78c180ea
    • Thomas Vander Stichele's avatar
      another cast bites the dust · 8808565b
      Thomas Vander Stichele authored
      Original commit message from CVS:
      another cast bites the dust
      8808565b
    • Wim Taymans's avatar
      tests/sched/: · e2a94639
      Wim Taymans authored
      Original commit message from CVS:
      * tests/sched/Makefile.am:
      * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
      (make_pipeline3), (make_pipeline4), (print_elem), (main):
      e2a94639
    • Thomas Vander Stichele's avatar
      gst/gstutils.c: apparently converting from guint64 to double is not implemented on MSVC · 0d129e57
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
      apparently converting from guint64 to double is not implemented
      on MSVC
      0d129e57
    • Wim Taymans's avatar
      check/: Check fixes, use API as stated in design docs, remove hacks. · 2153c459
      Wim Taymans authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/generic/states.c: (GST_START_TEST):
      * check/gst/gstbin.c: (GST_START_TEST):
      * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
      * check/states/sinks.c: (GST_START_TEST):
      * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
      (main):
      Check fixes, use API as stated in design docs, remove hacks.
      
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_change_state):
      Catch stopping our task while we're shutting down.
      
      * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
      (gst_bin_remove_func), (gst_bin_get_state_func),
      (gst_bin_recalc_state), (gst_bin_change_state_func),
      (bin_bus_handler):
      * gst/gstbin.h:
      * gst/gstelement.c: (gst_element_init),
      (gst_element_get_state_func), (gst_element_abort_state),
      (gst_element_commit_state), (gst_element_lost_state),
      (gst_element_set_state), (gst_element_change_state),
      (gst_element_change_state_func):
      * gst/gstelement.h:
      New state change algorithm (see #318116)
      
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (gst_pipeline_init), (gst_pipeline_set_property),
      (gst_pipeline_get_property), (do_pipeline_seek),
      (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
      * gst/gstpipeline.h:
      Remove crude state change hacks.
      
      * gst/gstutils.h:
      Remove crude hacks.
      
      * tools/gst-launch.c: (main):
      Fixes for state change. Needs some more work to fully use the
      new stuff.
      2153c459
    • Andy Wingo Wingo's avatar
      tests/Makefile.am (noinst_PROGRAMS): No more init.c. · b77f6b0e
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
      b77f6b0e
    • Andy Wingo Wingo's avatar
      gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires this flag, but... · e415bd99
      Andy Wingo Wingo authored
      gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires this flag, but it's not even in GLib 2.6. Odd. Hack ar...
      
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
      this flag, but it's not even in GLib 2.6. Odd. Hack around the
      issue.
      e415bd99
    • Tim-Philipp Müller's avatar
      gst/gstiterator.c: Fix my previous commit: GTypes passed to gst_iterator_new()... · 29e78cb4
      Tim-Philipp Müller authored
      gst/gstiterator.c: Fix my previous commit: GTypes passed to gst_iterator_new() can be fundamental types.
      
      Original commit message from CVS:
      * gst/gstiterator.c: (gst_iterator_new):
      Fix my previous commit: GTypes passed to gst_iterator_new()
      can be fundamental types.
      29e78cb4
    • 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