1. 28 Jan, 2008 2 commits
  2. 24 Jan, 2008 1 commit
    • Tim-Philipp Müller's avatar
      configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for... · 2ab5970c
      Tim-Philipp Müller authored
      configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes ...
      
      Original commit message from CVS:
      * configure.ac:
      Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
      _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
      not fail when trying to crosscompile on OpenEmbedded (#511750).
      2ab5970c
  3. 20 Jan, 2008 2 commits
    • Sebastian Dröge's avatar
      docs/manuals.mak: Use $(MAKE) instead of make to fix the build if GNU make is... · 60582e32
      Sebastian Dröge authored
      docs/manuals.mak: Use $(MAKE) instead of make to fix the build if GNU make is called different. Fixes bug #510747.
      
      Original commit message from CVS:
      * docs/manuals.mak:
      Use $(MAKE) instead of make to fix the build if GNU make is
      called different. Fixes bug #510747.
      60582e32
    • Tim-Philipp Müller's avatar
      gst/gstplugin.c: Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC... · 22cf61b5
      Tim-Philipp Müller authored
      gst/gstplugin.c: Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC again, which I broke two commits ago when ...
      
      Original commit message from CVS:
      * gst/gstplugin.c: (_gst_plugin_initialize):
      Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
      again, which I broke two commits ago when changing the API
      of gst_plugin_register_static(): the g_list_foreach() in
      _gst_plugin_register_static still assumed the old function
      signature and would therefore fail (re-fixes #510187).
      * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
      (_gst_plugin_register_static), (gst_plugin_register_static):
      Revert the (technically correct) change to call g_thread_init() from
      the pre-main() constructor. This will break programs which call
      g_thread_init() without an if (!g_thread_supported()) guard in their
      main function. We could just blame it on GLib or the application, but
      it's probably best to just avoid this altogether and simply not use
      any GLib functions here and use plain old malloc() with a simple
      array to store the plugins to register later when gst_init() is
      finally called (re-fixes #510187).
      * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
      (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
      (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
      (GST_START_TEST), (gst_plugin_suite):
      Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
      works.
      22cf61b5
  4. 17 Jan, 2008 3 commits
    • Tim-Philipp Müller's avatar
      gst/gstplugin.h: Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC. · f1850d1f
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
      Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
      This makes gtk-doc complain, but results in slightly better
      compiler errors. The old _gst_plugin_register_static() is
      still guarded, so there'll be a compiler warning about that
      instead. Fixes #510187 too.
      f1850d1f
    • Tim-Philipp Müller's avatar
      gst/: Change API of gst_plugin_register_static() to not take a GstPluginDesc,... · 33cd1422
      Tim-Philipp Müller authored
      gst/: Change API of gst_plugin_register_static() to not take a GstPluginDesc, but rather just take all the arguments ...
      
      Original commit message from CVS:
      * gst/gst.c: (init_post):
      * gst/gstplugin.c: (_gst_plugin_register_static),
      (gst_plugin_register_static), (_gst_plugin_initialize):
      * gst/gstplugin.h: (GstPluginFilter):
      Change API of gst_plugin_register_static() to not take
      a GstPluginDesc, but rather just take all the arguments
      in a GstPluginDesc directly. This is more intuitive and
      avoids certain mistakes when porting code from
      GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
      Fixes #510187.
      * tests/check/gst/gstplugin.c:
      Fix up for changed API.
      33cd1422
    • Thomas Vander Stichele's avatar
      docs/faq/legal.xml: Update FAQ, Totem actually has an exception these days. · 637128bf
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * docs/faq/legal.xml:
      Update FAQ, Totem actually has an exception these days.
      637128bf
  5. 14 Jan, 2008 4 commits
  6. 12 Jan, 2008 1 commit
    • Jan Schmidt's avatar
      gst/gst.c: _gst_trace_on is already provided by gsttrace.h, no need to declare it ourselves. · f2c36159
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/gst.c:
      _gst_trace_on is already provided by gsttrace.h, no need to declare
      it ourselves.
      * docs/libs/gstreamer-libs-sections.txt:
      Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
      and remove strange tcase_add_test which is outputting a warning.
      * libs/gst/check/gstcheck.c:
      * libs/gst/check/gstcheck.h:
      Properly declare 'buffers', 'check_cond', 'check_mutex' extern
      and define them in gstcheck.c instead of having every .c file whcih
      includes gstcheck.h be defining its own copy and relying on symbol
      interposing to marry them all, which doesn't work on Solaris.
      * tests/check/elements/identity.c: (GST_START_TEST):
      Don't define 'buffers' locally, it comes from libgstcheck.
      * tests/check/generic/sinks.c: (send_buffer):
      Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
      * tests/check/gst/gststructure.c: (GST_START_TEST):
      * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
      * tests/check/gst/gstutils.c: (GST_START_TEST):
      * tests/check/gst/gstvalue.c: (GST_START_TEST):
      Add a bunch of casts to make various constants fit the types
      they're being assigned to.
      f2c36159
  7. 10 Jan, 2008 4 commits
  8. 09 Jan, 2008 7 commits
    • Tim-Philipp Müller's avatar
      API: add gst_plugin_register_static() and deprecate · 4a3f1630
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gst.c: (init_post):
      * gst/gstplugin.c: (_gst_plugin_register_static),
      (gst_plugin_register_static), (_gst_plugin_initialize),
      (gst_plugin_register_func):
      * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
      API: add gst_plugin_register_static() and deprecate
      GST_PLUGIN_DEFINE_STATIC, since it's not portable
      (#498924).
      Also, in _gst_plugin_register_static(), make sure to call
      g_thread_init() before calling GLib functions such as
      g_list_append() if we're not initialised yet, since that
      may lead to random crashes with older GSlice/GLib versions.
      * tests/check/gst/gstplugin.c:
      Adapt unit test to above changes.
      4a3f1630
    • Tim-Philipp Müller's avatar
      gst/: Yet another gratuitous GString micro-optimisation: add a (private)... · d5d69b94
      Tim-Philipp Müller authored
      gst/: Yet another gratuitous GString micro-optimisation: add a (private) function that serialises a structure appendi...
      
      Original commit message from CVS:
      * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
      * gst/gstcaps.c: (gst_caps_to_string):
      * gst/gststructure.c: (GST_ASCII_IS_STRING),
      (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
      Yet another gratuitous GString micro-optimisation: add a (private)
      function that serialises a structure appending to an existing
      GString, so that when we serialise caps we don't need to alloc+free
      a throwaway GString for each structure (each of which also entailing
      multiple reallocs on the way); also use g_string_sized_new() in
      various places with an approximate string length to avoid reallocs
      within GString. See #500143.
      d5d69b94
    • Tim-Philipp Müller's avatar
      gst/gststructure.c: Always check UTF-8 conformance of structure strings and... · 73808617
      Tim-Philipp Müller authored
      gst/gststructure.c: Always check UTF-8 conformance of structure strings and not only if the debugging system is enabl...
      
      Original commit message from CVS:
      * gst/gststructure.c: (gst_structure_id_set_value):
      Always check UTF-8 conformance of structure strings and not only
      if the debugging system is enabled; reasoning: the behaviour of
      the actual code shouldn't really change depending on whether the
      debugging system is enabled or not (#508291).
      73808617
    • Stefan Kost's avatar
      Makefile.am: Remove old coverage target in favour of "make lcov". · da77e2ba
      Stefan Kost authored
      Original commit message from CVS:
      * Makefile.am:
      Remove old coverage target in favour of "make lcov".
      da77e2ba
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.c: The start segment for reverse playback goes from start to last_stop. · 0c964dd3
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
      (gst_base_src_loop):
      The start segment for reverse playback goes from start to last_stop.
      0c964dd3
    • Peter Kjellerstedt's avatar
      gst/gstclock.h: Cast the results from the timeval/spec_to_time macros to what... · b85b7ff0
      Peter Kjellerstedt authored and Wim Taymans's avatar Wim Taymans committed
      gst/gstclock.h: Cast the results from the timeval/spec_to_time macros to what the docs say it casts to, a GstClockTim...
      
      Original commit message from CVS:
      Patch by: Peter Kjellerstedt <pkj axis com>
      * gst/gstclock.h:
      Cast the results from the timeval/spec_to_time macros to what the
      docs say it casts to, a GstClockTime. fixes #508175.
      b85b7ff0
    • Wim Taymans's avatar
      gst/gstbuffer.c: Update some comments. · c7d40b0a
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbuffer.c:
      Update some comments.
      * tools/gst-inspect.c: (print_element_properties_info):
      Improve printing of flags.
      c7d40b0a
  9. 08 Jan, 2008 3 commits
  10. 07 Jan, 2008 2 commits
    • Wim Taymans's avatar
      libs/gst/base/gstbasesrc.c: Don't update the last_stop position in do_seek,... · f473d727
      Wim Taymans authored
      libs/gst/base/gstbasesrc.c: Don't update the last_stop position in do_seek, that's the position we did a seek to.
      
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
      (gst_base_src_loop):
      Don't update the last_stop position in do_seek, that's the position we
      did a seek to.
      Read backwards when we have a negative rate.
      * tests/check/elements/filesrc.c: (event_func), (wait_eos),
      (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
      (filesrc_suite):
      Add check for reverse reading.
      f473d727
    • Alexis Ballier's avatar
      tests/check/: Decide which header to include based on the userland ABI target... · 91a59d5a
      Alexis Ballier authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      tests/check/: Decide which header to include based on the userland ABI target and not the kernel/cpu. Fix up structur...
      
      Original commit message from CVS:
      Patch by: Alexis Ballier <aballier at gentoo org>
      * tests/check/gst/gstabi.c:
      * tests/check/gst/struct_ppc64.h:
      * tests/check/libs/libsabi.c:
      * tests/check/libs/struct_ppc64.h:
      Decide which header to include based on the userland ABI target
      and not the kernel/cpu. Fix up structure sizes of ppc64 header
      for 64-bit userland (#503590).  Might need something similar for
      x86 too.
      91a59d5a
  11. 05 Jan, 2008 1 commit
  12. 04 Jan, 2008 2 commits
    • Sebastian Dröge's avatar
      gst/parse/parse.l: Use "%option never-interactive" to prevent useless calls to... · e2c1a6f7
      Sebastian Dröge authored
      gst/parse/parse.l: Use "%option never-interactive" to prevent useless calls to isatty() on every input when parsing. ...
      
      Original commit message from CVS:
      * gst/parse/parse.l:
      Use "%option never-interactive" to prevent useless calls to isatty()
      on every input when parsing. Also use "%option noinput" to not define
      the static input/yyinput functions which we don't use anyway. This
      removes a compiler warning with gcc 4.3 and saves some bytes in the
      library.
      * gst/parse/lex._gst_parse_yy.pre.c:
      Regenerated for the above change.
      e2c1a6f7
    • Wim Taymans's avatar
      gst/gstpad.c: Don't crash when trying to fixate and empty list. · 89510714
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpad.c: (fixate_value):
      Don't crash when trying to fixate and empty list.
      Fixes #506643.
      89510714
  13. 03 Jan, 2008 1 commit
  14. 01 Jan, 2008 1 commit
  15. 31 Dec, 2007 1 commit
  16. 30 Dec, 2007 3 commits
  17. 28 Dec, 2007 2 commits