1. 19 Sep, 2007 4 commits
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.c: Don't unref the event after pushing it. Fixes #478401. · 85177c05
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
      Don't unref the event after pushing it. Fixes #478401.
      85177c05
    • Stefan Kost's avatar
      Ignore registries in any format. · 78d79cae
      Stefan Kost authored
      Original commit message from CVS:
      * .cvsignore:
      * tests/examples/manual/.cvsignore:
      Ignore registries in any format.
      78d79cae
    • Tim-Philipp Müller's avatar
      gst/glib-compat-private.h: Add compatibility macro for g_intern_string() for · 7a478fbd
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/glib-compat-private.h:
      Add compatibility macro for g_intern_string() for
      GLib-2.8 (any reason we can't just bump the
      requirement to at least 2.10?)
      * gst/gstpadtemplate.h:
      * gst/gstelementfactory.c:
      * gst/gstregistryxml.c:
      * gst/gstregistrybinary.c:
      Make GstStaticPadTemplate's templ_name field a const gchar * and fix
      up the internal code accordingly.  This shouldn't be a problem, since
      there is no reason external code could ever assume the string in such
      a structure is dynamically allocated unless it did that itself;  the
      use of g_strdup() is private to element factories.  The new code also
      saves some memory by putting pad template name strings into the GLib
      quark table instead of allocating them dynamically.
      Declaring this field constant fixes warnings with g++-4.2 when using
      the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
      7a478fbd
    • Stefan Kost's avatar
      gst/gstelementfactory.c: Release static caps. Fixes #475723. · 1740781a
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstelementfactory.c:
      Release static caps. Fixes #475723.
      1740781a
  2. 18 Sep, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/gstinfo.*: Make some internal API take const gchar * instead of just gchar... · 134da6c2
      Tim-Philipp Müller authored
      gst/gstinfo.*: Make some internal API take const gchar * instead of just gchar * to avoid compiler warnings with g++-...
      
      Original commit message from CVS:
      * gst/gstinfo.c:
      * gst/gstinfo.h:
      Make some internal API take const gchar * instead of just
      gchar * to avoid compiler warnings with g++-4.2.2 when
      passing string constants (partially fixes #478092).
      134da6c2
  3. 17 Sep, 2007 3 commits
    • Wim Taymans's avatar
      gst/gstbin.c: A latency query fails when one of the sinks fail. · d59d3300
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
      A latency query fails when one of the sinks fail.
      * gst/gstelement.c: (gst_element_set_base_time):
      Improve debugging.
      d59d3300
    • Jan Schmidt's avatar
      Fix minor compilation warnings shown with Forte. · 04757dd2
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_continue_func):
      * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
      * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
      * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
      Fix minor compilation warnings shown with Forte.
      04757dd2
    • Wim Taymans's avatar
      plugins/elements/gstqueue.c: Measure queue level based on the diff between... · 306d8831
      Wim Taymans authored
      plugins/elements/gstqueue.c: Measure queue level based on the diff between head and tail timestamps even when pushing...
      
      Original commit message from CVS:
      * plugins/elements/gstqueue.c: (apply_buffer),
      (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
      Measure queue level based on the diff between head and tail timestamps
      even when pushing the first buffer.
      306d8831
  4. 14 Sep, 2007 3 commits
    • Wim Taymans's avatar
      libs/gst/base/gstbasesink.c: Sinks that don't preroll can always be queried for the latency. · 86bae93b
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
      (gst_base_sink_event), (gst_base_sink_change_state):
      Sinks that don't preroll can always be queried for the latency.
      Don't post ASYNC start when we are not async.
      86bae93b
    • Wim Taymans's avatar
      plugins/elements/gstqueue.*: When downstream returns UNEXPECTED from pushing a... · f49cb86d
      Wim Taymans authored
      plugins/elements/gstqueue.*: When downstream returns UNEXPECTED from pushing a buffer, don't try to push more buffers...
      
      Original commit message from CVS:
      * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
      (gst_queue_handle_sink_event), (gst_queue_chain),
      (gst_queue_push_one), (gst_queue_handle_src_query),
      (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
      * plugins/elements/gstqueue.h:
      When downstream returns UNEXPECTED from pushing a buffer, don't try to
      push more buffers but allow pushing of EOS and NEWSEGMENT.
      Add some more debug info here and there. Fixes #476514.
      f49cb86d
    • Wim Taymans's avatar
      libs/gst/base/gstbasesink.c: Latency query is allowed after we are prerolled.... · 4987f5a7
      Wim Taymans authored
      libs/gst/base/gstbasesink.c: Latency query is allowed after we are prerolled. Introduce a new flag for this and stop ...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
      (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
      (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
      (gst_base_sink_set_flushing), (gst_base_sink_query),
      (gst_base_sink_change_state):
      Latency query is allowed after we are prerolled. Introduce a new flag
      for this and stop abusing other variables.
      4987f5a7
  5. 13 Sep, 2007 8 commits
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.c: Push OOB events downstream when we get them in... · 3336e121
      Wim Taymans authored
      libs/gst/base/gstbasesrc.c: Push OOB events downstream when we get them in send_event. This allows the application to...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
      Push OOB events downstream when we get them in send_event. This allows
      the application to insert events in the pipeline.
      Add some more comments.
      3336e121
    • Wim Taymans's avatar
      gst/: Move latency query from GstPipeline to GstBin so that we can also use it... · b155f59d
      Wim Taymans authored
      gst/: Move latency query from GstPipeline to GstBin so that we can also use it when async-handling is enabled on bins.
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
      (do_bin_latency), (gst_bin_change_state_func):
      * gst/gstpipeline.c: (gst_pipeline_change_state):
      Move latency query from GstPipeline to GstBin so that we can also
      use it when async-handling is enabled on bins.
      b155f59d
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.c: Update docs. · 2a94dbb6
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
      (gst_base_src_do_sync), (gst_base_src_change_state):
      Update docs.
      Clean up the timestamping and syncing code for pseudo live sources.
      2a94dbb6
    • Steve Fink's avatar
      docs/manual/appendix-checklist.xml: Mention less -R switch in the section... · 922617a0
      Steve Fink authored
      docs/manual/appendix-checklist.xml: Mention less -R switch in the section about debug output (#474055).
      
      Original commit message from CVS:
      Patch by: Steve Fink  <sphink gmail com>
      * docs/manual/appendix-checklist.xml:
      Mention less -R switch in the section about debug output (#474055).
      922617a0
    • Wim Taymans's avatar
      plugins/elements/gstqueue.c: Queue can latency to the pipeline up to the... · d17d899f
      Wim Taymans authored
      plugins/elements/gstqueue.c: Queue can latency to the pipeline up to the configured max size in time.
      
      Original commit message from CVS:
      * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
      Queue can latency to the pipeline up to the configured max size in time.
      Report this fact in the latency query.
      d17d899f
    • Sebastien Moutte's avatar
      libs/gst/controller/: Use gst_guint64_to_gdouble() when converting from a uint64 or · e332c349
      Sebastien Moutte authored
      Original commit message from CVS:
      Patch by: Sebastien Moutte <sebastien at moutte dot net>
      * libs/gst/controller/gstinterpolation.c:
      * libs/gst/controller/gstlfocontrolsource.c:
      Use gst_guint64_to_gdouble() when converting from a uint64 or
      GstClockTime to double to fix the build on win32. Fixes #474371.
      e332c349
    • Sebastian Dröge's avatar
      gst/gstbuffer.c: Implement poisoning for GstBuffer if --enable-poisoning is specified. · 93634c30
      Sebastian Dröge authored
      Original commit message from CVS:
      * gst/gstbuffer.c: (gst_buffer_finalize):
      Implement poisoning for GstBuffer if --enable-poisoning is specified.
      When finalizing a buffer the complete struct is filled with 0xff,
      thus making a use of the buffer after the final unref impossible.
      93634c30
    • Sebastian Dröge's avatar
      tests/check/libs/controller.c: Use fail_unless_equals_int(a, b) instead of... · b598394d
      Sebastian Dröge authored
      tests/check/libs/controller.c: Use fail_unless_equals_int(a, b) instead of fail_unless_equals (a == b) to get better ...
      
      Original commit message from CVS:
      * tests/check/libs/controller.c: (GST_START_TEST):
      Use fail_unless_equals_int(a, b) instead of
      fail_unless_equals (a == b) to get better output on failures.
      b598394d
  6. 12 Sep, 2007 2 commits
  7. 11 Sep, 2007 5 commits
  8. 10 Sep, 2007 1 commit
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.*: Add property to make the basesrc timestamp buffers... · 5d57d96a
      Wim Taymans authored
      libs/gst/base/gstbasesrc.*: Add property to make the basesrc timestamp buffers based on the current running time.
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
      (gst_base_src_init), (gst_base_src_set_do_timestamp),
      (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
      (gst_base_src_get_property), (gst_base_src_do_sync):
      * libs/gst/base/gstbasesrc.h:
      Add property to make the basesrc timestamp buffers based on the current
      running time.
      API: GstBaseSrc::do-timestamp
      API: gst_base_src_set_do_timestamp()
      API: gst_base_src_get_do_timestamp()
      5d57d96a
  9. 08 Sep, 2007 1 commit
  10. 07 Sep, 2007 2 commits
  11. 05 Sep, 2007 4 commits
    • Wim Taymans's avatar
      docs/manual/highlevel-xml.xml: Fix XML example code. Fixes #472714. · d845f192
      Wim Taymans authored
      Original commit message from CVS:
      * docs/manual/highlevel-xml.xml:
      Fix XML example code. Fixes #472714.
      d845f192
    • Wim Taymans's avatar
      libs/gst/base/gstbasesink.c: Protect eos and have_preroll with the OBJECT lock... · 851eaad6
      Wim Taymans authored
      libs/gst/base/gstbasesink.c: Protect eos and have_preroll with the OBJECT lock so we don't need to take the PREROLL l...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
      (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
      (gst_base_sink_query):
      Protect eos and have_preroll with the OBJECT lock so we don't need to
      take the PREROLL lock when querying the latency. Fixes #473846.
      851eaad6
    • Stefan Kost's avatar
      gst/gstelement.c: Give some log-messages a category. · 756049dc
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstelement.c:
      Give some log-messages a category.
      756049dc
    • Wim Taymans's avatar
      gst/gststructure.c: Fix fraction list fixation code. Take the fraction with... · a0274c10
      Wim Taymans authored
      gst/gststructure.c: Fix fraction list fixation code. Take the fraction with the smallest difference with the target i...
      
      Original commit message from CVS:
      * gst/gststructure.c:
      (gst_structure_fixate_field_nearest_fraction):
      Fix fraction list fixation code. Take the fraction with the smallest
      difference with the target instead of the first one in the list.
      * tests/check/gst/gststructure.c: (GST_START_TEST),
      (gst_structure_suite):
      Added test to verify correct fraction list fixation behaviour.
      a0274c10
  12. 02 Sep, 2007 1 commit
  13. 30 Aug, 2007 1 commit
    • Wim Taymans's avatar
      docs/libs/gstreamer-libs-sections.txt: Add new methods to docs. · 84ec4caa
      Wim Taymans authored
      Original commit message from CVS:
      * docs/libs/gstreamer-libs-sections.txt:
      Add new methods to docs.
      * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
      (gst_base_sink_init), (gst_base_sink_set_ts_offset),
      (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
      (gst_base_sink_get_property), (gst_base_sink_wait_clock):
      * libs/gst/base/gstbasesink.h:
      Add ts-offset property to fine-tune the synchronisation.
      API: GstBaseSink::ts-offset property
      API: gst_base_sink_set_ts_offset()
      API: gst_base_sink_get_ts_offset()
      84ec4caa
  14. 29 Aug, 2007 1 commit
    • Wim Taymans's avatar
      libs/gst/base/gstbasesink.*: Add async property to instruct the sink never to... · 55a2e736
      Wim Taymans authored
      libs/gst/base/gstbasesink.*: Add async property to instruct the sink never to inform the parent about
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
      (gst_base_sink_init), (gst_base_sink_set_sync),
      (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
      (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
      (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
      (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
      (gst_base_sink_get_property), (gst_base_sink_change_state):
      * libs/gst/base/gstbasesink.h:
      Add async property to instruct the sink never to inform the parent about
      ASYNC state changes, update docs.
      Check argument with g_return_* for the public functions.
      API: GstBaseSink::async property
      API: gst_base_sink_set_async_enabled()
      API: gst_base_sink_is_async_enabled()
      55a2e736
  15. 28 Aug, 2007 1 commit
    • Wim Taymans's avatar
      libs/gst/base/gstbasesink.c: Improve debugging. · 2db0fa57
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
      Improve debugging.
      * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
      (gst_base_src_default_query), (gst_base_src_wait),
      (gst_base_src_do_sync), (gst_base_src_change_state):
      Rearrange some code so that we can add support for measuring the
      startup latency.
      2db0fa57
  16. 27 Aug, 2007 1 commit
  17. 26 Aug, 2007 1 commit