1. 09 Dec, 2009 1 commit
  2. 18 Aug, 2009 1 commit
  3. 31 Jul, 2008 1 commit
    • Sebastian Dröge's avatar
      Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere. · 4bfb1fe7
      Sebastian Dröge authored
      Original commit message from CVS:
      * configure.ac:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/gstreamer.types:
      * docs/gst/gstreamer.types.in:
      * gst/Makefile.am:
      * gst/gst.c:
      * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
      * gst/gstconfig.h.in:
      * gst/gstelement.c: (gst_element_get_index):
      * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
      (gst_registry_binary_load_feature),
      (gst_registry_binary_read_cache):
      * gst/gstregistryxml.c: (load_feature),
      (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
      * plugins/Makefile.am:
      * tools/gst-indent:
      * tools/gst-inspect.c: (print_index_info), (print_element_list),
      (print_plugin_features), (print_element_features):
      * tools/gst-xmlinspect.c: (print_event_masks),
      (print_element_info):
      * win32/common/gstconfig.h:
      Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
      Disabling the indexers and URI handler code will only reduce the
      required amount of memory by a very small amount but on the other hand
      requires much more maintaince work. Apart from that many places of
      code are broken when disabling them.
      Disabling the enum types doesn't reduce the required amount of memory
      by more than a few bytes and makes it hard to fix bugs like #539772,
      i.e. use the enums as GObject properties.
      4bfb1fe7
  4. 12 Apr, 2008 1 commit
    • Tim-Philipp Müller's avatar
      tools/gst-xmlinspect.c: De-cruft a bit. If no argument is specified, print all elements in · 551f7fab
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * tools/gst-xmlinspect.c: (print_element_info), (main):
      De-cruft a bit. If no argument is specified, print all elements in
      XML syntax rather than a freestyle list of elements like gst-inspect.
      Also, don't print XML header chunk unless we actually have something
      to print (ie. don't print it before an error message); print error
      message to stderr not stdout. Remove support for printing plugin
      info (it would just output something freestyle along the lines of
      gst-inspect so far), which fixes #514507. Also add license header.
      551f7fab
  5. 15 Oct, 2007 1 commit
    • Stefan Kost's avatar
      tools/gst-inspect.c: Save approx. 400 1 byte allocs when printing. Use API to... · 1424c396
      Stefan Kost authored
      tools/gst-inspect.c: Save approx. 400 1 byte allocs when printing. Use API to acces element details.
      
      Original commit message from CVS:
      * tools/gst-inspect.c:
      Save approx. 400 1 byte allocs when printing. Use API to acces element
      details.
      * tools/gst-run.c:
      Avoid a strdup.
      * tools/gst-xmlinspect.c:
      Use API to acces element details.
      1424c396
  6. 05 Jan, 2007 1 commit
    • Tim-Philipp Müller's avatar
      tools/: Call g_thread_init() really really early, before any other GLib... · b3eafe67
      Tim-Philipp Müller authored
      tools/: Call g_thread_init() really really early, before any other GLib function (see #342564 and recent discussion o...
      
      Original commit message from CVS:
      * tools/gst-inspect.c: (main):
      * tools/gst-launch.c: (main):
      * tools/gst-typefind.c: (main):
      * tools/gst-xmlinspect.c: (main):
      Call g_thread_init() really really early, before any other GLib
      function (see #342564 and recent discussion on gtk-devel-list).
      b3eafe67
  7. 07 Jun, 2006 1 commit
    • Wim Taymans's avatar
      Fix leak spotted by coverity checker. Fixes #343827 · 72f76c26
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstindex.c: (gst_index_gtype_resolver):
      * tools/gst-xmlinspect.c: (print_plugin_info):
      Fix leak spotted by coverity checker. Fixes #343827
      Fix another other leak found by paolo borelli.
      72f76c26
  8. 09 May, 2006 1 commit
  9. 05 May, 2006 2 commits
    • Tim-Philipp Müller's avatar
      tools/: Use the string passed to g_option_context_new() for what it's intended... · 177b07d8
      Tim-Philipp Müller authored
      tools/: Use the string passed to g_option_context_new() for what it's intended for - the program name is already prin...
      
      Original commit message from CVS:
      * tools/gst-inspect.c: (main):
      * tools/gst-launch.c: (main):
      * tools/gst-run.c: (main):
      * tools/gst-typefind.c: (main):
      * tools/gst-xmlinspect.c: (main):
      Use the string passed to g_option_context_new() for
      what it's intended for - the program name is already
      printed elsewhere.
      177b07d8
    • Tim-Philipp Müller's avatar
      tools/: Add back --version command line option (#340460). · 73fd4a21
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * tools/Makefile.am:
      * tools/gst-inspect.c: (main):
      * tools/gst-launch.c: (main):
      * tools/gst-xmlinspect.c: (main):
      * tools/tools.h:
      Add back --version command line option (#340460).
      * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
      Add --version option and use GOption for argument parsing; refactor a
      bit; accept directories as arguments and recurse into them; lastly,
      print a decent error message when things go wrong.
      73fd4a21
  10. 20 Jan, 2006 1 commit
  11. 06 Dec, 2005 1 commit
  12. 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
  13. 13 Oct, 2005 1 commit
    • Stefan Kost's avatar
      fix GOption context leaks doc fixes · 2bc2709c
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gst.c:
      * gst/gsterror.h:
      * tools/gst-inspect.c: (main):
      * tools/gst-launch.c: (main):
      * tools/gst-run.c: (main):
      * tools/gst-xmlinspect.c: (main):
      fix GOption context leaks
      doc fixes
      2bc2709c
  14. 10 Oct, 2005 1 commit
    • Ronald S. Bultje's avatar
      Merged in popt removal + GOption addition patch from Ronald, bug #169772. · ac8289c7
      Ronald S. Bultje authored
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      Merged in popt removal + GOption addition patch from Ronald, bug
      #169772.
      
      * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
      GstElement macros around, remove popt-related symbols, add goption
      stuff.
      
      * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
      
      * docs/gst/Makefile.am:
      * docs/libs/Makefile.am: No POPT_CFLAGS.
      
      * examples/manual/Makefile.am:
      * docs/manual/basics-init.xml: Doc updates with an example.
      
      * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
      (gst_init), (parse_one_option), (parse_goption_arg):
      * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
      bit of hand merging and debugging to get the GOption stuff working
      tho.
      
      * tests/Makefile.am:
      * tools/Makefile.am:
      * tools/gst-inspect.c: (main):
      * tools/gst-launch.c: (main):
      * tools/gst-run.c: (main):
      * tools/gst-xmlinspect.c: (main): Thanks Ronald!
      ac8289c7
  15. 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
  16. 15 Sep, 2005 1 commit
    • 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
  17. 24 Aug, 2005 1 commit
    • Stefan Kost's avatar
      Fixed long standing mem-leak · a7d4464a
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_class_init),
      (gst_element_set_state), (activate_pads),
      (gst_element_save_thyself):
      * tools/gst-compprep.c: (main):
      * tools/gst-inspect.c: (print_element_properties_info):
      * tools/gst-xmlinspect.c: (print_element_properties):
      Fixed long standing mem-leak
      a7d4464a
  18. 01 Aug, 2005 1 commit
  19. 18 Jul, 2005 1 commit
    • Wim Taymans's avatar
      Removed plugable schedulers. · e1aeec6d
      Wim Taymans authored
      Original commit message from CVS:
      Removed plugable schedulers.
      Removed Scheduler/Manager from elements.
      Removed gsttypes.h, rearranged includes.
      Removed dependency pad<->element, element<>pipeline, and
      various others,  fix includes.
      implement gst_pad_get_parent() with gst_object_get_parent()
      Make GstTask sefcontained.
      Fix _get_state() on GstBin, it did not return ASYNC with a 0
      timeout.
      Fix endless loop in iterator_fold_with_resync.
      e1aeec6d
  20. 08 Jun, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstutils.c: RPAD fixes all around. · 4b908e33
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-06-08  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstutils.c: RPAD fixes all around.
      (gst_element_link_pads): Refcounting fixes.
      
      * tools/gst-inspect.c:
      * tools/gst-xmlinspect.c:
      * parse/grammar.y:
      * gst/base/gsttypefindhelper.c:
      * gst/base/gstbasesink.c:
      * gst/gstqueue.c: RPAD fixes.
      
      * gst/gstghostpad.h:
      * gst/gstghostpad.c: New ghost pad implementation as full proxy
      pads. The tricky thing is they provide both source and sink
      interfaces, since they proxy the internal pad for the external
      pad, and vice versa. Implement with lower-level ProxyPad objects,
      with the interior proxy pad as a child of the exterior ghost pad.
      Should write a doc on this.
      
      * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
      (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
      gst_object API.
      
      * gst/gstpad.c: Big changes. No more stub base GstPad, now all
      pads are real pads. No ghost pads in this file. Not documenting
      the myriad s/RPAD/PAD/ and REALIZE fixes.
      (gst_pad_class_init): Add properties for "direction" and
      "template". Both are construct-only, so they can't change during
      the life of the pad. Fixes properly deriving from GstPad.
      (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
      derived objects, just set properties when creating the objects via
      g_object_new.
      (gst_pad_get_parent): Implement as a function, return NULL if the
      parent is not an element.
      (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
      (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
      
      * gst/gstobject.c (gst_object_class_init): Make name a construct
      property. Don't set it in the object init.
      
      * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
      with UNKNOWN direction.
      (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
      with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
      (gst_element_remove_pad): Remove ghost-pad special cases.
      (gst_element_pads_activate): Remove rpad cruft.
      
      * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
      catch the pad's-parent-not-an-element case.
      
      * gst/gst.h: Include gstghostpad.h.
      
      * gst/gst.c (init_post): No more real, ghost pads.
      
      * gst/Makefile.am: Add gstghostpad.[ch].
      
      * check/Makefile.am:
      * check/gst/gstbin.c:
      * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
      into a bin creates ghost pads, and that the refcounts are right.
      Partly moved from gstbin.c.
      4b908e33
  21. 09 May, 2005 1 commit
    • Wim Taymans's avatar
      Remove old query functions. Ported old code. · 8df6cd72
      Wim Taymans authored
      Original commit message from CVS:
      Remove old query functions. Ported old code.
      Added position/convert helper functions to gstutils.
      Reordered gstpad.c code, grouping relevant things.
      Remove gst_message_new(), always need to speficy a specific
      message.
      8df6cd72
  22. 04 May, 2005 1 commit
    • Andy Wingo Wingo's avatar
      GCC 4 fixen. · b4d7be20
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-05-04  Andy Wingo <wingo@pobox.com>
      
      * check/Makefile.am:
      * docs/gst/tmpl/gstatomic.sgml:
      * docs/gst/tmpl/gstplugin.sgml:
      * gst/base/gstbasesink.c: (gst_basesink_activate):
      * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
      (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
      (gst_basesrc_query), (gst_basesrc_set_property),
      (gst_basesrc_get_property), (gst_basesrc_check_get_range),
      (gst_basesrc_activate):
      * gst/base/gstbasesrc.h:
      * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
      (gst_base_transform_src_activate):
      * gst/elements/gstelements.c:
      * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
      (gst_fakesrc_set_property), (gst_fakesrc_get_property):
      * gst/elements/gsttee.c: (gst_tee_sink_activate):
      * gst/elements/gsttypefindelement.c: (find_element_get_length),
      (gst_type_find_element_checkgetrange),
      (gst_type_find_element_activate):
      * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
      * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
      (gst_caps_load_thyself):
      * gst/gstelement.c: (gst_element_pads_activate),
      (gst_element_save_thyself), (gst_element_restore_thyself):
      * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
      (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
      * gst/gstpad.h:
      * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
      (gst_xml_parse_file), (gst_xml_parse_memory),
      (gst_xml_get_element), (gst_xml_make_element):
      * gst/indexers/gstfileindex.c: (gst_file_index_load),
      (_file_index_id_save_xml), (gst_file_index_commit):
      * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
      (read_enum), (load_pad_template), (load_feature), (load_plugin),
      (load_paths):
      * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
      (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
      * tools/gst-complete.c: (main):
      * tools/gst-compprep.c: (main):
      * tools/gst-inspect.c: (print_element_properties_info):
      * tools/gst-launch.c: (xmllaunch_parse_cmdline):
      * tools/gst-xmlinspect.c: (print_element_properties):
      GCC 4 fixen.
      b4d7be20
  23. 12 Apr, 2005 1 commit
    • Ronald S. Bultje's avatar
      Use libxml2 for registry parsing, use staticpadtemplates in elementfactories.... · 560d0ba1
      Ronald S. Bultje authored
      Use libxml2 for registry parsing, use staticpadtemplates in elementfactories. Makes gst_init() +/- 10x faster.
      
      Original commit message from CVS:
      * docs/gst/tmpl/gstelementfactory.sgml:
      * gst/gstelement.h:
      * gst/gstelementfactory.c: (gst_element_factory_init),
      (gst_element_factory_cleanup), (gst_element_register),
      (__gst_element_factory_add_static_pad_template),
      (gst_element_factory_get_static_pad_templates),
      (gst_element_factory_can_src_caps),
      (gst_element_factory_can_sink_caps):
      * gst/registries/Makefile.am:
      * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
      (gst_xml_registry_class_init), (gst_xml_registry_init),
      (gst_xml_registry_new), (gst_xml_registry_set_property),
      (gst_xml_registry_get_property), (get_time), (make_dir),
      (gst_xml_registry_get_perms_func),
      (plugin_times_older_than_recurse), (plugin_times_older_than),
      (gst_xml_registry_open_func), (gst_xml_registry_load_func),
      (gst_xml_registry_save_func), (gst_xml_registry_close_func),
      (add_to_char_array), (read_string), (read_uint), (read_enum),
      (load_pad_template), (load_feature), (load_plugin), (load_paths),
      (gst_xml_registry_load), (gst_xml_registry_load_plugin),
      (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
      (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
      (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
      (gst_xml_registry_rebuild):
      * gst/registries/gstlibxmlregistry.h:
      * tools/gst-compprep.c: (main):
      * tools/gst-inspect.c: (print_pad_templates_info):
      * tools/gst-xmlinspect.c: (print_element_info):
      Use libxml2 for registry parsing, use staticpadtemplates in
      elementfactories. Makes gst_init() +/- 10x faster.
      560d0ba1
  24. 21 Mar, 2005 1 commit
    • Wim Taymans's avatar
      Next big merge. · c2f41a89
      Wim Taymans authored
      Original commit message from CVS:
      Next big merge.
      Added GstBus for mainloop integration.
      Added GstMessage for sending notifications on the bus.
      Added GstTask as an abstraction for pipeline entry points.
      Removed GstThread.
      Removed Schedulers.
      Simplified GstQueue for multithreaded core.
      Made _link threadsafe, removed old capsnego.
      Added STREAM_LOCK and PREROLL_LOCK in GstPad.
      Added pad blocking functions.
      Reworked scheduling functions in GstPad to prepare for
      scheduling updates soon.
      Moved events out of data stream.
      Simplified GstEvent types.
      Added return values to push/pull.
      Removed clocking from GstElement.
      Added prototypes for state change function for next merge.
      Removed iterate from bins and state change management.
      Fixed some elements, disabled others for now.
      Fixed -inspect and -launch.
      Added check for GstBus.
      c2f41a89
  25. 07 Mar, 2005 1 commit
  26. 14 May, 2004 1 commit
  27. 07 May, 2004 1 commit
    • David Schleef's avatar
      Changes to handle compilers that don't have variadic macro support. In... · ca7539c4
      David Schleef authored
      Changes to handle compilers that don't have variadic macro support.  In particular, glib headers define some inlines ...
      
      Original commit message from CVS:
      Changes to handle compilers that don't have variadic macro
      support.  In particular, glib headers define some inlines
      that need G_LOG_DOMAIN defined.  Additional fixes for MSVC
      builds.
      * gst/Makefile.am:
      * gst/cothreads.c:
      * gst/elements/gstfdsink.c:
      * gst/elements/gstfdsrc.c:
      * gst/elements/gstfilesink.c:
      * gst/elements/gstfilesrc.c:
      * gst/gst_private.h:
      * gst/gstatomic.c:
      * gst/gstcaps.c: (gst_caps_append):
      * gst/gstcpu.c: (gst_cpuid_i386):
      * gst/gstelement.c:
      * gst/gsterror.c:
      * gst/gstfilter.c:
      * gst/gstinfo.h:
      * gst/gstprobe.c:
      * gst/gstquery.c:
      * gst/gstregistry.c:
      * gst/gststructure.c:
      * gst/gsttaginterface.c:
      * gst/gsttrace.c: (gst_trace_new):
      * gst/gsttrashstack.c:
      * gst/gsturi.c:
      * gst/gstvalue.c:
      * gst/parse/grammar.y:
      * gst/parse/parse.l:
      * tools/gst-inspect.c: (main):
      * tools/gst-launch.c: (main):
      * tools/gst-xmlinspect.c: (PUT_STRING):
      ca7539c4
  28. 15 Mar, 2004 1 commit
  29. 13 Mar, 2004 1 commit
  30. 16 Feb, 2004 2 commits
  31. 22 Dec, 2003 1 commit
  32. 04 Dec, 2003 1 commit
  33. 29 Nov, 2003 1 commit
  34. 24 Nov, 2003 1 commit
    • Benjamin Otte's avatar
      implement URI schemes · 25f85868
      Benjamin Otte authored
      Original commit message from CVS:
      implement URI schemes
      Elements can now register as a source or sink for a protocol and applications can use gst_element_make_from_uri () to get an element that handles a given URI.
      This patch provides:
      - removal of old broken URI handling scheme.
      - new URI handling using interfaces.
      - updates for registry to save handled URIs.
      - interface for URI handlers.
      - implementation of that in filesrc and filesink for the file:// URI
      - extension to pipeline parsing to allow specifying only a URI instead of element
      
      Does not include:
      - tests
      - inclusion in docs build
      25f85868
  35. 31 Oct, 2003 1 commit
  36. 28 Oct, 2003 2 commits
  37. 19 Aug, 2003 1 commit