1. 14 Jun, 2011 1 commit
  2. 23 Jul, 2010 1 commit
    • Tim-Philipp Müller's avatar
      plugin: add release datetime field to GstPluginDesc and set it if... · 8c72758e
      Tim-Philipp Müller authored
      plugin: add release datetime field to GstPluginDesc and set it if GST_PACKAGE_RELEASE_DATETIME is defined
      
      This is a string describing a date and/or date/time in a simple subset of
      the ISO-8601 format, namely either "YYYY-MM-DD" or "YYYY-MM-DDTHH:MMZ" (with
      'T' the date/time separator and the 'Z' indicating UTC).
      
      The main purpose of this field is to keep track of plugin and element versions
      on an absolute timeline, so it's possible to determine which one is newer when
      comparing two date time numbers. This will allow us to express 'replaces'-type
      relationships betweeen plugins and element factories in future, even across
      different modules and plugin merges or splits (source module version numbers
      aren't particularly useful here, since they can only meaningfully be compared
      within the same module). It also allows applications and libraries to reliably
      check that a plugin is recent enough without making assumptions about modules
      or module versions.
      
      We use a string here to keep things simple and clear, esp. on the build system
      side of things.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=623040
      8c72758e
  3. 13 Mar, 2010 1 commit
  4. 10 Mar, 2010 1 commit
    • Benjamin Otte's avatar
      Fixes for -Wwrite-strings · a9d1a493
      Benjamin Otte authored
      This changes some APIs in compatible ways:
      - Some functions now take "const char *" arguments, not "char *"
      - Some structs now have "conts char *" members, not "char *"
      The changes may cause warnings when compiling with the right warning
      flags. You've been warned.
      
      Also adds -Wwrite-strings as a warning flag in configure.ac.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=611692
      a9d1a493
  5. 27 Nov, 2009 2 commits
  6. 25 Nov, 2009 1 commit
  7. 19 Nov, 2009 1 commit
  8. 06 Oct, 2009 1 commit
  9. 07 Jun, 2009 1 commit
  10. 12 May, 2009 1 commit
  11. 25 Jan, 2009 1 commit
  12. 06 Jan, 2009 1 commit
    • Tim-Philipp Müller's avatar
      Add API for making a GStreamer plugin 'dependent' on external files,... · 2ae03ba7
      Tim-Philipp Müller authored
      Add API for making a GStreamer plugin 'dependent' on external files, directories or environment variables, so that GS...
      
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt::
      * gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
      * gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
      (gst_plugin_class_init), (gst_plugin_list_free),
      (gst_plugin_ext_dep_get_env_vars_hash),
      (_priv_plugin_deps_env_vars_changed),
      (gst_plugin_ext_dep_extract_env_vars_paths),
      (gst_plugin_ext_dep_get_hash_from_stat_entry),
      (gst_plugin_ext_dep_direntry_matches),
      (gst_plugin_ext_dep_scan_dir_and_match_names),
      (gst_plugin_ext_dep_scan_path_with_filenames),
      (gst_plugin_ext_dep_get_stat_hash),
      (_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
      (gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
      (gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
      * gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
      (GST_PLUGIN_DEPENDENCY_FLAG_NONE),
      (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
      (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
      (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
      (GstPluginDependencyFlags), (GstPluginFilter):
      * gst/gstregistry.c: (gst_registry_scan_path_level):
      * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
      (gst_registry_binary_save_plugin_dep),
      (gst_registry_binary_save_plugin),
      (gst_registry_binary_load_feature),
      (gst_registry_binary_load_plugin_dep_strv),
      (gst_registry_binary_load_plugin_dep),
      (gst_registry_binary_load_plugin):
      * gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
      (GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
      * gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
      Add API for making a GStreamer plugin 'dependent' on external files,
      directories or environment variables, so that GStreamer knows when
      it needs to re-load GStreamer plugins that wrap other plugin systems.
      Fixes bug #350477.
      API: add gst_plugin_add_dependency()
      API: add gst_plugin_add_dependency_simple()
      2ae03ba7
  13. 17 Jan, 2008 2 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
  14. 09 Jan, 2008 1 commit
    • 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
  15. 02 Nov, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/: Move declaration of private _gst_foo_initialize() functions into our... · 4e121ae1
      Tim-Philipp Müller authored
      gst/: Move declaration of private _gst_foo_initialize() functions into our private header file where they should have...
      
      Original commit message from CVS:
      * gst/gst_private.h:
      * gst/gstbuffer.h:
      * gst/gstevent.h:
      * gst/gstformat.h:
      * gst/gstmessage.h:
      * gst/gstplugin.h:
      * gst/gstquery.h:
      * gst/gsttaglist.h:
      * gst/gstvalue.h:
      Move declaration of private _gst_foo_initialize() functions into
      our private header file where they should have been all along.
      4e121ae1
  16. 10 Oct, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/gstplugin.h: Cast description string constants in GST_PLUGIN_DEFINE macros... · 46283255
      Tim-Philipp Müller authored
      gst/gstplugin.h: Cast description string constants in GST_PLUGIN_DEFINE macros to a (gchar*) to make C++ code using t...
      
      Original commit message from CVS:
      * gst/gstplugin.h:
      Cast description string constants in GST_PLUGIN_DEFINE macros
      to a (gchar*) to make C++ code using these macros compile
      without warning with g++-4.2 (see #462737).  Even if slightly
      ugly, this seems preferable to putting the description strings
      into the GLib quark table or making the structure member a
      const gchar * and doing casts in core code that allocs and
      frees these strings, or requiring a cast in the C++ code.
      46283255
  17. 09 Oct, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/: Put more strings into the GLib quark table. No need to keep a... · a90dc9f0
      Tim-Philipp Müller authored
      gst/: Put more strings into the GLib quark table. No need to keep a hundred-something copies of identical version str...
      
      Original commit message from CVS:
      * gst/gstplugin.c:
      * gst/gstplugin.h:
      * gst/gstregistrybinary.c:
      * gst/gstregistryxml.c:
      Put more strings into the GLib quark table. No need to keep
      a hundred-something copies of identical version strings,
      license strings, package name strings and package origin
      strings around.
      a90dc9f0
  18. 24 Sep, 2007 1 commit
  19. 30 Jan, 2007 1 commit
  20. 06 Jul, 2006 1 commit
    • Wim Taymans's avatar
      gst/: Remove comma at end of enumerator list. · 15d8500f
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbus.h:
      * gst/gstclock.h:
      * gst/gstevent.h:
      * gst/gstiterator.h:
      * gst/gstpad.h:
      * gst/gstplugin.h:
      * gst/gsttask.h:
      Remove comma at end of enumerator list.
      15d8500f
  21. 12 Jun, 2006 1 commit
    • Wim Taymans's avatar
      gst/gstbuffer.h: Avoid unneeded type checking. · bc1bdfab
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbuffer.h:
      Avoid unneeded type checking.
      API: GST_BUFFER_IS_DISCONT
      * gst/gstminiobject.h:
      Avoid type check in flag accessor.
      * gst/gstelementfactory.h:
      * gst/gstplugin.h:
      * gst/gstpluginfeature.h:
      Add _CAST macros.
      API: GST_ELEMENT_FACTORY_CAST
      API: GST_PLUGIN_CAST
      API: GST_PLUGIN_FEATURE_CAST
      bc1bdfab
  22. 30 Nov, 2005 1 commit
    • Thomas Vander Stichele's avatar
      various fixes to make · 87076113
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * configure.ac:
      * gst/Makefile.am:
      * gst/gst.c:
      * gst/gstplugin.h:
      * gst/gstregistry.h:
      * tests/benchmarks/complexity.c:
      * tests/benchmarks/mass-elements.c:
      * tests/check/Makefile.am:
      * tools/Makefile.am:
      * tools/gst-inspect.c:
      * tools/gst-xmlinspect.c:
      various fixes to make
      --disable-nls --disable-registry --disable-loadsave           --disable-parse --disable-gst-debug
      work and get the core .so down to 360444 bytes after stripping
      87076113
  23. 29 Nov, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstevent.h (struct _GstEvent): Only one pointer of padding. · 65ce5ed0
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-11-29  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
      
      * gst/gststructure.h (struct _GstStructure): Only one pointer of
      padding.
      
      * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
      
      * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
      
      * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
      
      * gst/gstobject.h: (struct _GstObject): Only one pointer of
      padding; reduces object size by about 30%. We don't expect
      anything else to go into gstobject.
      
      * gst/gstminiobject.h (struct _GstMiniObject)
      (struct _GstMiniObjectClass): Only one pointer of padding; the
      payload is only a pointer and two ints anyway. For the class there
      are only two methods as well.
      
      * gst/gstelement.h (struct _GstElementClass): Removed
      the state_changed signal callback, it is not used.
      65ce5ed0
  24. 21 Nov, 2005 2 commits
  25. 15 Oct, 2005 2 commits
  26. 08 Oct, 2005 1 commit
    • Thomas Vander Stichele's avatar
      gst/: Only ever load one plugin for a given plugin basename. · 87121731
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
      * gst/gstplugin.h:
      * gst/gstregistry.c: (gst_registry_lookup_locked),
      (gst_registry_scan_path_level):
      * gst/gstregistryxml.c: (load_plugin):
      Only ever load one plugin for a given plugin basename.
      This ensures correct overriding of GST_PLUGIN_PATH over
      GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
      system installed plugins.
      87121731
  27. 25 Sep, 2005 1 commit
  28. 20 Sep, 2005 2 commits
    • Thomas Vander Stichele's avatar
      unbreak the build for those who have chronic arthritis and typing "make check"... · 334be0e3
      Thomas Vander Stichele authored
      unbreak the build for those who have chronic arthritis and typing "make check" is just too taxing on the hands
      
      Original commit message from CVS:
      unbreak the build for those who have chronic arthritis
      and typing "make check" is just too taxing on the hands
      334be0e3
    • David Schleef's avatar
      docs/gst/Makefile.am: Ignore a few more internal headers · 6e96e1bf
      David Schleef authored
      Original commit message from CVS:
      * docs/gst/Makefile.am: Ignore a few more internal headers
      * docs/gst/gstreamer-docs.sgml: Remove old sections
      * docs/gst/gstreamer-sections.txt: Remove old sections
      * docs/gst/tmpl/gstobject.sgml: update
      * docs/gst/tmpl/gstplugin.sgml: update
      * docs/gst/tmpl/gstpluginfeature.sgml: update
      * docs/random/ds/0.9-suggested-changes: update.
      * gst/Makefile.am: remove memchunk and trashstack, since they're
      not used.
      * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
      * gst/gst.h: don't include some headers
      * gst/gstchildproxy.c: add gstmarshal.h
      * gst/gstclock.c: Don't use memchunks
      * gst/gstminiobject.c: Add some docs
      * gst/gstobject.c: remove DESTROYED flag, since it's redundant
      * gst/gstobject.h: same
      * gst/gstplugin.c: include gstmacros.h
      * gst/gstplugin.h: don't include gstmacros.h, since it's private
      * gst/gstquery.c: don't use memchunks
      * gst/gstregistry.c: rename gst_registry_deinit()
      * gst/gstregistry.h: same
      6e96e1bf
  29. 18 Sep, 2005 1 commit
    • David Schleef's avatar
      check/Makefile.am: Fix environment variables. · cb798ac5
      David Schleef authored
      Original commit message from CVS:
      * check/Makefile.am: Fix environment variables.
      * check/gst/gstplugin.c: Fix for API changes.
      * tools/gst-inspect.c: Fix for API changes.
      * tools/gst-xmlinspect.c: Fix for API changes.
      * gst/gstelementfactory.c:
      * gst/gstplugin.c:
      * gst/gstplugin.h:
      * gst/gstpluginfeature.c:
      * gst/gstpluginfeature.h:
      * gst/gstregistry.c:
      * gst/gstregistry.h:
      * gst/gstregistryxml.c:
      * gst/gsttypefind.c:
      * gst/gsttypefindfactory.c:
      * gst/indexers/gstfileindex.c:
      * gst/indexers/gstmemindex.c:
      * gst/schedulers/Makefile.am:
      Change registry to keep track of both plugins and features,
      removing the feature tracking from plugins themselves.
      cb798ac5
  30. 16 Sep, 2005 1 commit
  31. 15 Sep, 2005 3 commits
    • David Schleef's avatar
      check/: Add test · c43514eb
      David Schleef authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/gst/gstplugin.c: Add test
      * gst/gstplugin.c: Fix problems noticed by testsuite
      * gst/gstplugin.h:
      * gst/gstregistry.c:
      * gst/gstregistry.h:
      c43514eb
    • David Schleef's avatar
      gst/gstplugin.c: Implement semi-decent recounting and locking in plugins and plugin features. · a08786c3
      David Schleef authored
      Original commit message from CVS:
      * gst/gstplugin.c: Implement semi-decent recounting and locking
      in plugins and plugin features.
      * gst/gstplugin.h:
      * gst/gstpluginfeature.c:
      * gst/gstpluginfeature.h:
      * gst/gstregistry.c:
      a08786c3
    • David Schleef's avatar
      remove · a3bac070
      David Schleef authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/generic/states.c:
      * gst/Makefile.am:
      * gst/gst.c:
      * gst/gst.h:
      * gst/gst_private.h:
      * gst/gstelementfactory.c:
      * gst/gstindex.c:
      * gst/gstinfo.c:
      * gst/gstplugin.c:
      * gst/gstplugin.h:
      * gst/gstpluginfeature.c:
      * gst/gstpluginfeature.h:
      * gst/gstregistry.c:
      * gst/gstregistry.h:
      * gst/gstregistrypool.c: remove
      * gst/gstregistrypool.h: remove
      * gst/gsttypefind.c:
      * gst/gsttypefindfactory.c:
      * gst/gsturi.c:
      * tools/Makefile.am:
      * tools/gst-compprep.c:
      * tools/gst-inspect.c:
      * tools/gst-register.c: remove
      * tools/gst-xmlinspect.c:
      Registry rewrite.  Changes registry from being a file created
      by a tool into a simple cache file created automatically by
      libgstreamer.  Removed gst-register (because it's no longer
      needed).  Remove registry pools, because we only have one
      registry implementation (XML).  Fix up other subsystems as
      necessary.
      a3bac070
  32. 03 Sep, 2005 1 commit
    • Thomas Vander Stichele's avatar
      add a source plugin description field, to represent the source module this... · 25169fe8
      Thomas Vander Stichele authored
      add a source plugin description field, to represent the source module this plugin is a part of.  By default GST_PLUGI...
      
      Original commit message from CVS:
      add a source plugin description field, to represent the source
      module this plugin is a part of.  By default GST_PLUGIN_DEFINE
      will set it to PACKAGE, which is automake's idea of the name of
      the source project.
      25169fe8
  33. 25 Apr, 2005 1 commit
    • Wim Taymans's avatar
      gst/: Remove gst_library_load as it does more harm than good with the new g_module flags. · 50b44cdd
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
      (gst_pad_set_checkgetrange_function),
      (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
      (gst_pad_check_pull_range), (gst_pad_pull_range),
      (gst_static_pad_template_get_caps), (gst_pad_start_task),
      (gst_pad_pause_task), (gst_pad_stop_task):
      * gst/gstplugin.c: (gst_plugin_load):
      * gst/gstplugin.h:
      Remove gst_library_load as it does more harm than good with
      the new g_module flags.
      Revert bogus caps template check in pad linking, pad caps
      are important when linking not the template, which is more
      general than the current caps.
      50b44cdd