1. 24 May, 2008 1 commit
    • Tim-Philipp Müller's avatar
      API: gst_parse_launch_full() · ebc08ddf
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gst.c: (init_post):
      * gst/gst_private.h: (_GstParseContext):
      * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
      (gst_parse_context_free), (gst_parse_context_get_missing_elements),
      (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
      (gst_parse_launch_full):
      * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
      (GstParseFlags), (GstParseContext):
      * gst/gstutils.c: (gst_parse_bin_from_description),
      (gst_parse_bin_from_description_full):
      * gst/gstutils.h:
      * gst/parse/grammar.y:
      * gst/parse/types.h:
      * win32/common/libgstreamer.def:
      Add new gst_parse_*_full API (#528178):
      API: gst_parse_launch_full()
      API: gst_parse_launchv_full()
      API: gst_parse_bin_from_description_full()
      API: gst_parse_context_new()
      API: gst_parse_context_free()
      API: gst_parse_context_get_missing_elements()
      ebc08ddf
  2. 23 May, 2008 1 commit
  3. 22 May, 2008 3 commits
    • Sebastian Dröge's avatar
      configure.ac: After discussion on IRC use the binary registry as default but... · 3f39fd7e
      Sebastian Dröge authored
      configure.ac: After discussion on IRC use the binary registry as default but allow to disable it with --disable-binar...
      
      Original commit message from CVS:
      * configure.ac:
      After discussion on IRC use the binary registry as default
      but allow to disable it with --disable-binary-registry.
      * win32/common/libgstreamer.def:
      Add the two new symbols for the binary registry.
      3f39fd7e
    • Tim-Philipp Müller's avatar
      gst/: More guards against bad input; typo fix; some minor clean-ups. · 479a58eb
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
      * gst/gstutils.c: (gst_parse_bin_from_description):
      * gst/parse/grammar.y: (graph):
      More guards against bad input; typo fix; some minor clean-ups.
      479a58eb
    • Sjoerd Simons's avatar
      libs/gst/base/gstbasesink.c: If nothing else can be used, use the last... · 98faaeb7
      Sjoerd Simons authored
      libs/gst/base/gstbasesink.c: If nothing else can be used, use the last buffer's start time as the segment's last stop...
      
      Original commit message from CVS:
      Patch by: Sjoerd Simons <sjoerd at luon dot net>
      * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
      If nothing else can be used, use the last buffer's start time as
      the segment's last stop. Fixes bug #534258.
      98faaeb7
  4. 21 May, 2008 7 commits
    • Tim-Philipp Müller's avatar
      gst/gstpad.c: Move size sanity check to the right place: downstream may return... · 1d5691d0
      Tim-Philipp Müller authored
      gst/gstpad.c: Move size sanity check to the right place: downstream may return a buffer with a smaller size if the bu...
      
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_alloc_buffer_full):
      Move size sanity check to the right place: downstream may return
      a buffer with a smaller size if the buffer caps are different than
      the requested ones, as may happen when doing reverse negotiation.
      1d5691d0
    • Wim Taymans's avatar
      plugins/elements/: Small cleanups. Add note adbout g_fopen() on windows and... · 095ce0b2
      Wim Taymans authored
      plugins/elements/: Small cleanups. Add note adbout g_fopen() on windows and why we don't use it yet.
      
      Original commit message from CVS:
      * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
      (gst_file_sink_render):
      * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
      (gst_file_src_start):
      Small cleanups. Add note adbout g_fopen() on windows and why we don't
      use it yet.
      095ce0b2
    • Wim Taymans's avatar
      Don't use gst_element_get_pad(). · cc833490
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_load_and_link):
      * gst/gstutils.c: (gst_element_link_pads),
      (gst_element_unlink_pads):
      * 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),
      (gst_check_element_push_buffer_list):
      * tests/check/elements/fakesink.c: (GST_START_TEST):
      * tests/check/elements/filesink.c:
      * tests/check/elements/filesrc.c: (GST_START_TEST):
      * tests/check/elements/multiqueue.c: (setup_multiqueue),
      (mq_sinkpad_to_srcpad):
      * tests/check/elements/tee.c: (GST_START_TEST):
      * tests/check/generic/sinks.c: (GST_START_TEST):
      * tests/check/gst/gstbin.c: (GST_START_TEST):
      * tests/check/gst/gstevent.c: (GST_START_TEST):
      * tests/check/gst/gstghostpad.c: (GST_START_TEST):
      * tests/check/gst/gstpipeline.c: (GST_START_TEST):
      * tests/check/gst/gstquery.c: (GST_START_TEST):
      * tests/check/gst/gstutils.c: (GST_START_TEST):
      * tests/check/libs/basesrc.c: (GST_START_TEST):
      * tests/check/pipelines/parse-launch.c: (run_delayed_test),
      (gst_parse_test_element_change_state):
      Don't use gst_element_get_pad().
      cc833490
    • Felipe Contreras's avatar
      docs/Makefile.am: Fix installing plugin documentation when gtk-doc is disabled. · 30786142
      Felipe Contreras authored
      Original commit message from CVS:
      * docs/Makefile.am:
      Fix installing plugin documentation when gtk-doc is disabled.
      30786142
    • Wim Taymans's avatar
      docs/manual/: Avoid using a bad function in the example code. · e52bc83d
      Wim Taymans authored
      Original commit message from CVS:
      * docs/manual/advanced-autoplugging.xml:
      * docs/manual/basics-helloworld.xml:
      * docs/manual/basics-pads.xml:
      * docs/manual/highlevel-components.xml:
      Avoid using a bad function in the example code.
      e52bc83d
    • Wim Taymans's avatar
      gst/gstclock.c: Fix debug of the new clock rate. · 06eeefd7
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstclock.c: (gst_clock_set_calibration):
      Fix debug of the new clock rate.
      06eeefd7
    • Sebastian Dröge's avatar
      win32/common/libgstbase.def: Add gst_base_sink_wait_clock() to the exported symbols. · b9918228
      Sebastian Dröge authored
      Original commit message from CVS:
      * win32/common/libgstbase.def:
      Add gst_base_sink_wait_clock() to the exported symbols.
      b9918228
  5. 20 May, 2008 1 commit
    • Tim-Philipp Müller's avatar
      libs/gst/base/gstbasetransform.c: Unref events that the... · b4636b46
      Tim-Philipp Müller authored
      libs/gst/base/gstbasetransform.c: Unref events that the GstBaseTransform::event vfunc didn't want to have forwarded b...
      
      Original commit message from CVS:
      Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_sink_event):
      Unref events that the GstBaseTransform::event vfunc didn't want to
      have forwarded by the base class. Closes a leak in identity.
      Fixes bug #446763.
      b4636b46
  6. 19 May, 2008 6 commits
    • Wim Taymans's avatar
      Expose a method that was previously used internally to synchronize against the... · b6286c0e
      Wim Taymans authored
      Expose a method that was previously used internally to synchronize against the clock because it can be useful for sub...
      
      Original commit message from CVS:
      * docs/libs/gstreamer-libs-sections.txt:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
      * libs/gst/base/gstbasesink.h:
      Expose a method that was previously used internally to synchronize
      against the clock because it can be useful for subclasses too.
      GstBaseSink::gst_base_sink_wait_clock()
      b6286c0e
    • Tim-Philipp Müller's avatar
      gst/gstpad.c: Add sanity check to make sure we don't get smaller buffers than... · fcc9f0b0
      Tim-Philipp Müller authored
      gst/gstpad.c: Add sanity check to make sure we don't get smaller buffers than requested (and fallback to normal buffe...
      
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
      Add sanity check to make sure we don't get smaller buffers
      than requested (and fallback to normal buffer alloc if we do).
      fcc9f0b0
    • Wim Taymans's avatar
      libs/gst/base/gstbasesink.c: Refactor adjusting the running_time with latency... · 092a80f2
      Wim Taymans authored
      libs/gst/base/gstbasesink.c: Refactor adjusting the running_time with latency and offset into a separate method.
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
      (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
      (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
      Refactor adjusting the running_time with latency and offset into a
      separate method.
      When doing clipping, we still want to use the subclass get_times method,
      just in case the DURATION or TIMESTAMP are not set.
      092a80f2
    • Tim-Philipp Müller's avatar
      API: add gst_type_find_suggest_simple(), #533740. · ffee4e62
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gsttypefind.c: (gst_type_find_suggest_simple):
      * gst/gsttypefind.h:
      * win32/common/libgstreamer.def:
      API: add gst_type_find_suggest_simple(), #533740.
      ffee4e62
    • Tim-Philipp Müller's avatar
      libs/gst/base/gstbasesrc.c: Use right error code when typefinding fails, so we... · 8ccf1508
      Tim-Philipp Müller authored
      libs/gst/base/gstbasesrc.c: Use right error code when typefinding fails, so we can use the default (translated) error...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
      Use right error code when typefinding fails, so we can use
      the default (translated) error messages.
      8ccf1508
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.c: When the subclass did not set caps on outgoing... · 638ecae5
      Wim Taymans authored
      libs/gst/base/gstbasesrc.c: When the subclass did not set caps on outgoing buffers, configure the caps we negotiated ...
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
      (gst_base_src_start):
      When the subclass did not set caps on outgoing buffers, configure the
      caps we negotiated on the source pad.
      When the typefind helper does not find caps, error out properly instead
      of doing things with NULL caps.
      638ecae5
  7. 18 May, 2008 4 commits
  8. 17 May, 2008 2 commits
  9. 16 May, 2008 1 commit
    • Sebastian Dröge's avatar
      libs/gst/base/gsttypefindhelper.c: Sort buffer cache list by end offsets. This... · 654ba215
      Sebastian Dröge authored
      libs/gst/base/gsttypefindhelper.c: Sort buffer cache list by end offsets. This makes sure that we don't stop to searc...
      
      Original commit message from CVS:
      * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
      Sort buffer cache list by end offsets. This makes sure that we don't
      stop to search for a cached buffer that contains the requested data
      too early.
      Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
      more efficient. Fixes bug #459862.
      654ba215
  10. 14 May, 2008 4 commits
  11. 13 May, 2008 4 commits
    • Sebastian Dröge's avatar
      plugins/elements/: Use custom marshalers that take GstMiniObject as first parameter. · 65715dbc
      Sebastian Dröge authored
      Original commit message from CVS:
      * plugins/elements/gstfakesink.c:
      (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
      * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
      (gst_fake_src_class_init):
      Use custom marshalers that take GstMiniObject as first parameter.
      Using OBJECT as parameter while a GstMiniObject is given will lead
      to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
      65715dbc
    • Sebastian Dröge's avatar
      plugins/elements/gsttypefindelement.c: Clean up on FLUSH_STOP and not... · f2422145
      Sebastian Dröge authored
      plugins/elements/gsttypefindelement.c: Clean up on FLUSH_STOP and not FLUSH_START. Forward both events immediately.
      
      Original commit message from CVS:
      * plugins/elements/gsttypefindelement.c:
      (gst_type_find_element_handle_event),
      (gst_type_find_element_send_cached_events),
      (gst_type_find_element_change_state):
      Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
      immediately.
      f2422145
    • Sebastian Dröge's avatar
      plugins/elements/gsttypefindelement.c: Forward FLUSH_START events immediately... · 88c412bd
      Sebastian Dröge authored
      plugins/elements/gsttypefindelement.c: Forward FLUSH_START events immediately and clean up instead of caching them.
      
      Original commit message from CVS:
      * plugins/elements/gsttypefindelement.c:
      (gst_type_find_handle_src_query), (stop_typefinding),
      (gst_type_find_element_handle_event),
      (gst_type_find_element_send_cached_events),
      (gst_type_find_element_change_state):
      Forward FLUSH_START events immediately and clean up instead of
      caching them.
      88c412bd
    • Sjoerd Simons's avatar
      libs/gst/base/gstbasetransform.c: Check the caps of the buffer returned by... · af64309f
      Sjoerd Simons authored
      libs/gst/base/gstbasetransform.c: Check the caps of the buffer returned by gst_pad_alloc_buffer() and fall back to de...
      
      Original commit message from CVS:
      Patch by: Sjoerd Simons <sjoerd at luon dot net>
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_buffer_alloc):
      Check the caps of the buffer returned by gst_pad_alloc_buffer() and
      fall back to default negotiation in the chain function if the caps
      are different from what was requested. Fixes bug #526768.
      af64309f
  12. 09 May, 2008 3 commits
    • Tim-Philipp Müller's avatar
      No, let's not use g_slice_{dup|copy} here, since they only exist since GLib... · 077450a4
      Tim-Philipp Müller authored
      No, let's not use g_slice_{dup|copy} here, since they only exist since GLib 2.14 and we still depend only on >= 2.12....
      
      Original commit message from CVS:
      * gst/gstsegment.c:
      * tests/check/gst/gstsegment.c:
      No, let's not use g_slice_{dup|copy} here, since they only exist
      since GLib 2.14 and we still depend only on >= 2.12. Also add
      unit test for gst_segment_copy().
      077450a4
    • Tim-Philipp Müller's avatar
      gst/gstutils.h: Try to fix 'dereferencing type-punned pointer will break... · 7c0437a9
      Tim-Philipp Müller authored
      gst/gstutils.h: Try to fix 'dereferencing type-punned pointer will break strict aliasing rules' warnings with C++ com...
      
      Original commit message from CVS:
      * gst/gstutils.h: (GST_BOILERPLATE_FULL):
      Try to fix 'dereferencing type-punned pointer will break strict
      aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
      changed the default GType typedef from gulong to gsize at some point,
      but kept GType typedef'ed to gulong for C++ for ABI reasons; the
      g_once_* functions all take a gsize * though, so work around the type
      mismatch for C++ by doing everything in gsize and casting to GType
      later.
      7c0437a9
    • Jan Schmidt's avatar
      plugins/elements/gstmultiqueue.c: Add documentation for the signals to push... · 4fa54750
      Jan Schmidt authored
      plugins/elements/gstmultiqueue.c: Add documentation for the signals to push our core plugin docs coverage back up to ...
      
      Original commit message from CVS:
      * plugins/elements/gstmultiqueue.c:
      Add documentation for the signals to push our core plugin docs
      coverage back up to 100%.
      4fa54750
  13. 08 May, 2008 3 commits