1. 25 Apr, 2007 1 commit
  2. 23 Apr, 2007 1 commit
    • Stefan Kost's avatar
      gst/gstbin.c: Fix build with --gst-disable-gst-debug · 05287354
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_element_set_state),
      (iterator_activate_fold_with_resync), (gst_bin_continue_func),
      (bin_handle_async_done), (gst_bin_handle_message_func):
      Fix build with --gst-disable-gst-debug
      05287354
  3. 20 Apr, 2007 1 commit
  4. 19 Apr, 2007 5 commits
  5. 18 Apr, 2007 3 commits
    • Sebastian Dröge's avatar
      gst/parse/Makefile.am: Fix typo and use outdated sources if the flex/bison... · 7a67f8a6
      Sebastian Dröge authored
      gst/parse/Makefile.am: Fix typo and use outdated sources if the flex/bison sources are newer than the pregenerated on...
      
      Original commit message from CVS:
      * gst/parse/Makefile.am:
      Fix typo and use outdated sources if the flex/bison sources are newer
      than the pregenerated ones but flex is too old. Print a warning in
      that case. This should fix the build on the build bot.
      7a67f8a6
    • Marc-André Lureau's avatar
      gst/parse/: Make the parser reentrant and recursively callable. This requires... · 7a3a27d0
      Marc-André Lureau authored
      gst/parse/: Make the parser reentrant and recursively callable. This requires flex >= 2.5.31, for older versions preg...
      
      Original commit message from CVS:
      Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
      * gst/parse/Makefile.am:
      * gst/parse/grammar.y:
      * gst/parse/parse.l:
      Make the parser reentrant and recursively callable. This requires flex
      >= 2.5.31, for older versions pregenerated sources are used as we
      can't bump the build dependency. Finally fixes #349180.
      * gst/gstparse.c: (gst_parse_launch):
      Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
      now anyway.
      * docs/gst/Makefile.am:
      * docs/gst/Makefile.am:
      * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
      (__gst_parse_strfree), (__gst_parse_link_new),
      (__gst_parse_link_free), (__gst_parse_chain_new),
      (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
      (gst_parse_element_set), (gst_parse_free_link),
      (gst_parse_found_pad), (gst_parse_perform_delayed_link),
      (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
      (_gst_parse_launch):
      * gst/parse/grammar.tab.pre.h:
      * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
      (yy_get_previous_state), (yy_try_NUL_trans), (input),
      (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
      (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
      (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
      (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
      (_gst_parse_yypop_buffer_state),
      (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
      (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
      (yy_fatal_error), (_gst_parse_yyget_extra),
      (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
      (_gst_parse_yyget_in), (_gst_parse_yyget_out),
      (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
      (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
      (_gst_parse_yyset_column), (_gst_parse_yyset_in),
      (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
      (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
      (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
      (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
      (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
      (_gst_parse_yyfree):
      If the installed flex version is too old use pre-generated parser
      sources. These pre-generated parser sources are always updated when
      the actual flex/bison sources change but require everybody who wants
      to change something in the parser to have flex >= 2.5.31 installed.
      7a3a27d0
    • Stefan Kost's avatar
      Make --disable-nls to work · fdbd9749
      Stefan Kost authored
      Original commit message from CVS:
      * common/m4/gst-gettext.m4:
      * gst/gst-i18n-lib.h:
      Make --disable-nls to work
      fdbd9749
  6. 17 Apr, 2007 2 commits
  7. 16 Apr, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/gstregistrybinary.*: Remove unnecessary <sys/mman.h> include which broke... · 6c5fabe2
      Tim-Philipp Müller authored
      gst/gstregistrybinary.*: Remove unnecessary <sys/mman.h> include which broke the win32 build with MingW; move include...
      
      Original commit message from CVS:
      * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
      (gst_registry_binary_read_cache):
      * gst/gstregistrybinary.h:
      Remove unnecessary <sys/mman.h> include which broke the win32 build
      with MingW; move includes from header file to .c file, even if the
      header file isn't installed; use g_strerror() where UTF-8 strings
      are expected, such as in GST_DEBUG messages.
      6c5fabe2
  8. 13 Apr, 2007 1 commit
    • Jan Schmidt's avatar
      gst/gstelement.c: Don't output the same debug statement twice. · b9b5877a
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_get_state_func):
      Don't output the same debug statement twice.
      * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
      (gst_adapter_peek), (gst_adapter_take_buffer):
      Optimise the case where we have buffers at the head of the queue that
      can be joined quickly (because they're contiguous sub-buffers) by
      merging them together rather than copying data out into new memory.
      * gst/parse/grammar.y:
      * tests/check/pipelines/parse-launch.c:
      Fix a leak in an error path for parse_launch, and add a check
      for it to the testsuite.
      b9b5877a
  9. 12 Apr, 2007 2 commits
  10. 09 Apr, 2007 1 commit
  11. 06 Apr, 2007 1 commit
  12. 05 Apr, 2007 2 commits
    • Wim Taymans's avatar
      gst/gstelement.c: Make padtemplates also work when they don't contain %s or %d. · bcc9fc59
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_get_request_pad):
      Make padtemplates also work when they don't contain %s or %d.
      bcc9fc59
    • Wim Taymans's avatar
      Improve _adjust_unlocked() so that it overflows less. · a78857c2
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstclock.c: (gst_clock_adjust_unlocked),
      (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
      * gst/gstclock.h:
      Improve _adjust_unlocked() so that it overflows less.
      Add gst_clock_unadjust_unlocked to convert from external time to
      internal time based on calibration.
      Add some more debug.
      API: GstClock::gst_clock_unadjust_unlocked()
      a78857c2
  13. 29 Mar, 2007 1 commit
  14. 28 Mar, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/gstelement.c: Make gst_element_get_request_pad() create request pads only... · 799bc90b
      Tim-Philipp Müller authored
      gst/gstelement.c: Make gst_element_get_request_pad() create request pads only for request pad templates and not for, ...
      
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_get_request_pad),
      (gst_element_class_get_request_pad_template):
      Make gst_element_get_request_pad() create request pads only for
      request pad templates and not for, say, sometimes pad templates.
      799bc90b
  15. 23 Mar, 2007 1 commit
    • Jan Schmidt's avatar
      gst/gstpipeline.c: Modify the clock distribution path in PAUSED->PLAYING so... · cf4a1965
      Jan Schmidt authored
      gst/gstpipeline.c: Modify the clock distribution path in PAUSED->PLAYING so that we never attempt to choose a new clo...
      
      Original commit message from CVS:
      * gst/gstpipeline.c: (gst_pipeline_change_state):
      Modify the clock distribution path in PAUSED->PLAYING so that we
      never attempt to choose a new clock unless we're actually leaving
      the PAUSED state for the first time. This prevents choosing a
      different clock when the state_change gets called for a 2nd time due
      to some element doing an async state change.
      cf4a1965
  16. 22 Mar, 2007 4 commits
    • Sebastian Dröge's avatar
      gst/gstpad.c: Revert last commit. This needs some more thoughts. · 12111f31
      Sebastian Dröge authored
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
      (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
      (gst_pad_chain_unchecked), (gst_pad_push):
      Revert last commit. This needs some more thoughts.
      12111f31
    • Sebastian Dröge's avatar
      gst/gstpad.c: Check in set_caps if the caps are compatible with the pad and... · 0c34057e
      Sebastian Dröge authored
      gst/gstpad.c: Check in set_caps if the caps are compatible with the pad and remove two functions that are redundant n...
      
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
      (gst_pad_chain_unchecked), (gst_pad_push):
      Check in set_caps if the caps are compatible with the pad and remove
      two functions that are redundant now. Fixes #421543.
      0c34057e
    • Wim Taymans's avatar
      gst/gstsystemclock.c: Fix anoying regression that survived a few releases.... · 94054fc1
      Wim Taymans authored
      gst/gstsystemclock.c: Fix anoying regression that survived a few releases. When adding an async entry while blocking ...
      
      Original commit message from CVS:
      * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
      (gst_system_clock_id_wait_jitter),
      (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
      Fix anoying regression that survived a few releases. When adding an
      async entry while blocking on a sync entry, the sync entry will unblock
      but still be busy, so it should continue to wait instead of returning
      _BUSY to the app.
      Add some comments here and there.
      * tests/check/gst/gstsystemclock.c: (mixed_thread),
      (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
      Add testcase for this.
      94054fc1
    • Wim Taymans's avatar
      gst/gstpad.c: Fix possible deadlock if pad eventfunc is not specified. Fixes #421177. · 88c8547b
      Wim Taymans authored
      Original commit message from CVS:
      Patch by: <syrjala at sci dot fi>
      * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
      Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
      Improve debugging.
      88c8547b
  17. 21 Mar, 2007 1 commit
    • Wim Taymans's avatar
      gst/gstbin.c: Prepare for release where we warn against possible app breakage... · 9f3b0b8f
      Wim Taymans authored
      gst/gstbin.c: Prepare for release where we warn against possible app breakage in the case of live pipelines along wit...
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
      Prepare for release where we warn against possible app breakage in the
      case of live pipelines along with an env var to enable/disable live
      preroll mode (GST_COMPAT=[no-]live-preroll).
      9f3b0b8f
  18. 20 Mar, 2007 2 commits
  19. 19 Mar, 2007 3 commits
    • Evan Nemerson's avatar
      gst/gstelement.c: Fix pad-added and pad-removed signal signatures so that the... · e447f179
      Evan Nemerson authored
      gst/gstelement.c: Fix pad-added and pad-removed signal signatures so that the pad type is stated as GST_TYPE_PAD inst...
      
      Original commit message from CVS:
      Patch by: Evan Nemerson <evan at coeus dash group dot com>
      * gst/gstelement.c: (gst_element_class_init):
      Fix pad-added and pad-removed signal signatures so that the pad type is
      stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
      e447f179
    • Wim Taymans's avatar
      docs/gst/gstreamer-sections.txt: Add new element field and method. · d14c4c4a
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      Add new element field and method.
      * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
      (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
      (gst_bin_recalc_state), (gst_bin_get_state_func),
      (gst_bin_element_set_state), (gst_bin_change_state_func),
      (gst_bin_continue_func), (bin_bus_handler),
      (bin_push_state_continue), (bin_handle_async_start),
      (bin_handle_async_done), (gst_bin_handle_message_func):
      Make async state changes a bit smarter by using new ASYNC_START and
      ASYNC_DONE messages. This reduces the number of times we run the state
      recalculation thread.
      Don't change state of element with a pending ASYNC_START message.
      Deprecate STATE_DIRTY messages.
      * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
      (gst_element_get_state_func), (gst_element_continue_state),
      (gst_element_lost_state), (gst_element_set_state_func),
      (gst_element_change_state):
      * gst/gstelement.h:
      Keep the state that was last set by the app in a new element field.
      Don't allow state changes when handling an element event.
      Post ASYNC_START and ASYNC_DONE messages.
      Change lost_state so that we go to PAUSED and wait for the parent to set
      us to PLAYING again (so latency calculation can be performed)
      Export gst_element_change_state() method so that subclasses can use it.
      API: gst_element_change_state()
      API: GST_STATE_TARGET
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (reset_stream_time), (gst_pipeline_change_state),
      (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
      Using the new ASYNC_START message we can reset the base_time when
      needed. This can then be used to implement base_time redistribution in
      flushing seeks so that we can remove the explicit seek handling.
      Perform latency query and configuration when going to PLAYING.
      * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
      (gst_base_sink_query), (gst_base_sink_change_state):
      Post new ASYNC_START/ASYNC_DONE messages.
      * tests/check/generic/sinks.c: (GST_START_TEST):
      Fix test because the bin will not set the async element to PLAYING right
      away.
      * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
      Make the message check a little stronger.
      Handle ASYNC messages.
      * tests/check/pipelines/cleanup.c: (GST_START_TEST):
      * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
      Expect ASYNC_DONE messages.
      d14c4c4a
    • Wim Taymans's avatar
      Add ASYNC_START and ASYNC_DONE messages to prepare for latency support. · d6626399
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstmessage.c: (gst_message_new_async_start),
      (gst_message_new_async_done), (gst_message_parse_info),
      (gst_message_parse_async_start):
      * gst/gstmessage.h:
      Add ASYNC_START and ASYNC_DONE messages to prepare for latency
      support.
      d6626399
  20. 14 Mar, 2007 1 commit
  21. 13 Mar, 2007 1 commit
    • Stefan Kost's avatar
      docs/: Do some Architect work. · 08afeb61
      Stefan Kost authored
      Original commit message from CVS:
      * docs/design/draft-tagreading.txt:
      * docs/random/ensonic/audiobaseclasses.txt:
      Do some Architect work.
      * gst/gstobject.c: (gst_object_set_name):
      Add a WARNING.
      * gst/gstpad.c:
      Add docs that point from gst_pad_get_range to gst_pad_pull_range
      08afeb61
  22. 12 Mar, 2007 1 commit
    • Jan Schmidt's avatar
      gst/gstsystemclock.c: Defer starting the async system clock thread until the... · 27928954
      Jan Schmidt authored
      gst/gstsystemclock.c: Defer starting the async system clock thread until the first async wait is scheduled. Fixes #41...
      
      Original commit message from CVS:
      * gst/gstsystemclock.c: (gst_system_clock_init),
      (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
      Defer starting the async system clock thread until the first async
      wait is scheduled. Fixes #414986.
      27928954
  23. 10 Mar, 2007 1 commit
  24. 09 Mar, 2007 2 commits
    • Wim Taymans's avatar
      Add metadata copy functions. Fixes #393099. · db43de19
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
      * gst/gstbuffer.h:
      Add metadata copy functions. Fixes #393099.
      * gst/gstutils.c: (gst_buffer_stamp):
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_prepare_output_buffer):
      Use new metadata copy functions.
      db43de19
    • Jan Schmidt's avatar
      gst/gstelement.c: There's no need to warn if VOID_PENDING is not NONE here, as... · ab99622d
      Jan Schmidt authored
      gst/gstelement.c: There's no need to warn if VOID_PENDING is not NONE here, as long as the state is NULL it's ok, and...
      
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_dispose):
      There's no need to warn if VOID_PENDING is not NONE here, as
      long as the state is NULL it's ok, and that's checked immediately
      above.
      ab99622d