1. 13 Aug, 2016 1 commit
  2. 24 Jun, 2016 1 commit
  3. 23 Jun, 2016 1 commit
    • Nirbheek Chauhan's avatar
      win32: Don't use dllexport/import when only building statically · 48088867
      Nirbheek Chauhan authored
      If the prototypes in the public API have dllimport in them when building
      statically on Windows, the compiler will look for symbols with symbol
      mangling and indirection corresponding to a DLL. This will cause a build
      failure when trying to link tests/examples/etc.
      
      External users of GStreamer also need to define -DGST_STATIC_COMPILATION
      if they want to link to static gstreamer libraries on Windows.
      
      A similar version of this patch has been committed to all gstreamer
      repositories.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=767463
      48088867
  4. 09 Jun, 2016 1 commit
  5. 23 May, 2016 1 commit
    • Nirbheek Chauhan's avatar
      gstconfig.h: Always use dllexport/import on Windows · 161eee66
      Nirbheek Chauhan authored
      __declspec(dllexport/import) are supported by GCC and are needed for
      properly generating code that fetches the values of constants from DLLs
      built with __declspec(dllexport) which happens when anything using
      GST_EXPORT is built with MSVC.
      
      See: https://msdn.microsoft.com/en-us/library/619w14ds.aspx
      
      Essentially, if you built gstreamer with MSVC and then tried to use
      constants from it (such as GST_TYPE_CAPS) in a plugin, GCC would
      retrieve the address of the value instead of the value itself.
      161eee66
  6. 07 Dec, 2013 1 commit
  7. 12 Apr, 2013 1 commit
  8. 03 Nov, 2012 1 commit
  9. 10 Jul, 2012 1 commit
  10. 05 Jan, 2012 1 commit
  11. 04 Jun, 2011 1 commit
  12. 24 May, 2011 1 commit
  13. 04 Jan, 2011 1 commit
  14. 06 Dec, 2010 1 commit
  15. 26 Jun, 2010 1 commit
  16. 05 Nov, 2009 1 commit
    • Tim-Philipp Müller's avatar
      gstconfig.h: add define to force printf format checking for debug messages · 8abd6133
      Tim-Philipp Müller authored
      Force printf format checking for debug messages if GST_DISABLE_PRINTF_EXTENSION
      is defined. This is useful to quickly check code for printf format mismatches
      in debugging messages that would usually not be caught (with glibc+gcc and
      printf extensions being used).
      
      To use: make clean; make CFLAGS='-g -O2 -DGST_DISABLE_PRINTF_EXTENSION'
      8abd6133
  17. 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
  18. 07 Mar, 2008 1 commit
    • Stefan Kost's avatar
      Move registry backend API to private headers where we can. Add fixme-0.11... · 3c9dda6d
      Stefan Kost authored
      Move registry backend API to private headers where we can. Add fixme-0.11 comments for the others. Add stubs for the ...
      
      Original commit message from CVS:
      * configure.ac:
      * gst/gst_private.h:
      * gst/gstconfig.h.in:
      * gst/gstregistry.h:
      * gst/gstregistrybinary.c:
      * win32/common/gstconfig.h:
      Move registry backend API to private headers where we can. Add
      fixme-0.11 comments for the others. Add stubs for the xml backend when
      using the binary to ensure they functions exists (they should not be
      used though). Fixes #520756.
      3c9dda6d
  19. 03 Mar, 2008 1 commit
    • Tim-Philipp Müller's avatar
      Fix broken use of config.h-defined preprocessor directive in a public header... · 5db802f9
      Tim-Philipp Müller authored
      Fix broken use of config.h-defined preprocessor directive in a public header file. Add a corresponding define to gstc...
      
      Original commit message from CVS:
      * configure.ac:
      * gst/gstconfig.h.in:
      * gst/gstregistry.h:
      Fix broken use of config.h-defined preprocessor directive in a public
      header file. Add a corresponding define to gstconfig.h, since we can't
      really remove those function declarations from the header file now
      (or can we? and why are they there in the first place?).
      5db802f9
  20. 29 Feb, 2008 1 commit
    • Sebastian Dröge's avatar
      Correct all relevant warnings found by the sparse semantic code analyzer. This... · b997b054
      Sebastian Dröge authored
      Correct all relevant warnings found by the sparse semantic code analyzer. This include marking several symbols static...
      
      Original commit message from CVS:
      * gst/gstconfig.h.in:
      * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
      * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
      (gst_check_log_critical_func), (gst_check_drop_buffers),
      (gst_check_element_push_buffer_list):
      * libs/gst/controller/gstcontroller.c: (gst_controller_get),
      (gst_controller_get_type):
      * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
      (gst_object_get_controller), (gst_object_get_control_source):
      * libs/gst/controller/gstinterpolationcontrolsource.c:
      (gst_interpolation_control_source_new):
      * libs/gst/controller/gstlfocontrolsource.c:
      (gst_lfo_control_source_new):
      * libs/gst/dataprotocol/dataprotocol.c:
      (gst_dp_event_from_packet_0_2):
      * plugins/elements/gstfdsrc.c:
      * plugins/elements/gstmultiqueue.c:
      * plugins/elements/gsttee.c:
      * plugins/elements/gsttypefindelement.c:
      * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
      (gst_file_index_add_association):
      * plugins/indexers/gstmemindex.c:
      * tests/benchmarks/gstpollstress.c: (mess_some_more):
      * tests/check/elements/queue.c: (setup_queue):
      * tests/check/gst/gstpipeline.c:
      * tests/check/libs/collectpads.c: (setup), (teardown),
      (gst_collect_pads_suite):
      * tests/examples/adapter/adapter_test.c:
      * tests/examples/metadata/read-metadata.c: (make_pipeline):
      * tests/examples/xml/createxml.c:
      * tests/examples/xml/runxml.c:
      * tools/gst-inspect.c:
      * tools/gst-run.c:
      Correct all relevant warnings found by the sparse semantic code
      analyzer. This include marking several symbols static, using
      NULL instead of 0 for pointers, not using variable sized arrays
      on the stack, moving variable declarations to the beginning of
      a block and using "foo (void)" instead of "foo ()" for declarations.
      b997b054
  21. 06 Feb, 2008 1 commit
    • Stefan Kost's avatar
      gst/gstconfig.h.in: Add 'id' for example. · 502337a5
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstconfig.h.in:
      Add 'id' for example.
      * gst/gstpad.c:
      * gst/gstutils.c:
      * plugins/elements/gstfdsink.c:
      Link to signals. Doc and comment fixes.
      502337a5
  22. 20 Apr, 2007 1 commit
  23. 17 Apr, 2007 2 commits
  24. 05 Jan, 2007 1 commit
    • Vincent Torri's avatar
      gst/: On win32, all the __declspec stuff for symbol exporting is apparently... · 47d2b0a9
      Vincent Torri authored
      gst/: On win32, all the __declspec stuff for symbol exporting is apparently only needed with MSVC, but doesn't work w...
      
      Original commit message from CVS:
      Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
      * gst/gst_private.h:
      * gst/gstconfig.h.in:
      * gst/gstinfo.h:
      On win32, all the __declspec stuff for symbol exporting is
      apparently only needed with MSVC, but doesn't work with MingW.
      Fixes compilation with MingW and #391909.
      47d2b0a9
  25. 05 Oct, 2006 1 commit
    • Tim-Philipp Müller's avatar
      Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know whether we can... · 376f6c34
      Tim-Philipp Müller authored
      Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know whether we can use G_GNUC_PRINTF in other header files ...
      
      Original commit message from CVS:
      * configure.ac:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstconfig.h.in:
      * gst/gstelement.h:
      * gst/gstinfo.h:
      Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
      whether we can use G_GNUC_PRINTF in other header files and at
      least check the printf format/arguments of debug messages and
      GST_ELEMENT_ERROR messages when the printf extension is not
      being used.
      Replace more tabs with spaces in gstinfo.h and remove two spurious
      function declarations in GST_DISABLE_DEBUG part with macros.
      376f6c34
  26. 09 Aug, 2006 1 commit
    • Tim-Philipp Müller's avatar
      API: add GST_SEGMENT_FORMAT, which is a printf extension we register that lets... · 57212633
      Tim-Philipp Müller authored
      API: add GST_SEGMENT_FORMAT, which is a printf extension we register that lets us easily dump GstSegments into debug ...
      
      Original commit message from CVS:
      * configure.ac:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstconfig.h.in:
      * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
      (_gst_info_printf_extension_ptr),
      (_gst_info_printf_extension_segment):
      API: add GST_SEGMENT_FORMAT, which is a printf extension we
      register that lets us easily dump GstSegments into debug
      logs (#350419).
      * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
      (info_segment_format_printf_extension), (gst_info_suite):
      Add simple unit test that logs a bunch of different segments (not
      valgrinded at the moment because of leaks in gst_debug_add_log_function).
      57212633
  27. 10 Jul, 2006 2 commits
  28. 29 Nov, 2005 1 commit
    • Andy Wingo Wingo's avatar
      libs/gst/base/: en-LARGE the padding. · a08a8d8f
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-11-29  Andy Wingo  <wingo@pobox.com>
      
      * libs/gst/base/gstbasetransform.h:
      * libs/gst/base/gstbasesrc.h:
      * libs/gst/base/gstbasesink.h: en-LARGE the padding.
      
      * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
      of pointers by which to pad very extensible base classes (like the
      ones in libs/gst/base).
      a08a8d8f
  29. 15 Oct, 2005 1 commit
  30. 12 Oct, 2005 1 commit
  31. 22 Sep, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstconfig.h.in: Psych out gtk-doc. · 59479d47
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-09-22  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstconfig.h.in: Psych out gtk-doc.
      
      * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
      
      * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
      
      * tools/gst-inspect.c (print_element_list): Plug some
      inconsequential leaks.
      
      * gst/gstregistry.c (gst_registry_get_default): Doc.
      
      * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
      * gst/gstelementfactory.c (gst_element_factory_create):
      * gst/gstindexfactory.c (gst_index_factory_create): Update for
      refcount changes.
      
      * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
      (gst_plugin_feature_load): Doc, don't eat refs.
      
      * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
      (gst_plugin_list_free): Doc.
      (gst_plugin_load_file): Doc updates.
      59479d47
  32. 20 Sep, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstelementfactory.c (gst_element_factory_create): Avoid eating the caller's refcount. · b1247100
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-09-20  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstelementfactory.c (gst_element_factory_create): Avoid
      eating the caller's refcount.
      
      * gst/gstobject.h (GST_OBJECT_REFCOUNT)
      (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
      refcount.
      
      * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
      * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
      of GLib 2.8 public, so we can know which refcount to check in
      tests.
      
      * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
      (gst_object_init): Only set the gst refcount if we're going ahead
      with the refcount hack.
      b1247100
  33. 13 Sep, 2005 1 commit
  34. 30 Aug, 2005 1 commit
  35. 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
  36. 02 May, 2005 1 commit
  37. 25 Jul, 2004 1 commit
  38. 13 Jun, 2004 1 commit