gst/gstinfo.h: Add an explicit variable importation needed on VS6 (only for MSC_VER)

Original commit message from CVS:
* gst/gstinfo.h:
Add an explicit variable importation needed on VS6 (only for MSC_VER)
Define M_PI which is used in files which are including gstinfo.h.
VS6 includes doesn't define it.
* win32/common/libgstbase.def:
* win32/common/libgstcontroller.def:
* win32/common/libgstreamer.def:
Add new exported functions and variables.
* win32/vs6/libgstcontroller.dsp:
* win32/vs6/libgstreamer.dsp:
Update the list of files to build.
This commit is contained in:
Sébastien Moutte 2007-09-29 11:46:31 +00:00
parent 38ffdf3a6d
commit b48aa75454
7 changed files with 605 additions and 548 deletions

View file

@ -1,3 +1,17 @@
2007-09-29 Sebastien Moutte <sebastien@moutte.net>
* gst/gstinfo.h:
Add an explicit variable importation needed on VS6 (only for MSC_VER)
Define M_PI which is used in files which are including gstinfo.h.
VS6 includes doesn't define it.
* win32/common/libgstbase.def:
* win32/common/libgstcontroller.def:
* win32/common/libgstreamer.def:
Add new exported functions and variables.
* win32/vs6/libgstcontroller.dsp:
* win32/vs6/libgstreamer.dsp:
Update the list of files to build.
2007-09-28 Wim Taymans <wim.taymans@gmail.com>
Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>

View file

@ -28,6 +28,20 @@
#include <glib-object.h>
#include <gst/gstconfig.h>
#ifndef _MSC_VER
#define IMPORT_SYMBOL
#else /* _MSC_VER */
#ifndef LIBGSTREAMER_EXPORTS
#define IMPORT_SYMBOL __declspec(dllimport)
#else
#define IMPORT_SYMBOL
#endif
#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
G_BEGIN_DECLS
/**
@ -408,7 +422,7 @@ extern gboolean __gst_debug_enabled;
/* since 0.10.7, the min debug level, used for quickly discarding debug
* messages that fall under the threshold. */
extern GstDebugLevel __gst_debug_min;
extern IMPORT_SYMBOL GstDebugLevel __gst_debug_min;
/**
* GST_CAT_LEVEL_LOG:

View file

@ -22,6 +22,7 @@ EXPORTS
gst_base_sink_wait_preroll
gst_base_src_get_type
gst_base_src_is_live
gst_base_src_set_do_timestamp
gst_base_src_set_format
gst_base_src_set_live
gst_base_src_wait_playing
@ -34,7 +35,10 @@ EXPORTS
gst_base_transform_set_qos_enabled
gst_base_transform_update_qos
gst_data_queue_flush
gst_data_queue_get_level
gst_data_queue_is_empty
gst_data_queue_is_full
gst_data_queue_limits_changed
gst_data_queue_new
gst_data_queue_pop
gst_data_queue_push

View file

@ -17,6 +17,9 @@ EXPORTS
gst_controller_sync_values
gst_controller_unset
gst_controller_unset_all
gst_lfo_control_source_get_type
gst_lfo_control_source_new
gst_lfo_waveform_get_type
gst_object_control_properties
gst_object_get_controller
gst_object_get_control_rate

View file

@ -1,4 +1,5 @@
EXPORTS
__gst_debug_min DATA
_gst_debug_category_new
_gst_debug_nameof_funcptr
_gst_debug_register_funcptr
@ -89,6 +90,7 @@ EXPORTS
gst_caps_ref
gst_caps_replace
gst_caps_set_simple
gst_caps_set_simple_valist
gst_caps_subtract
gst_caps_to_string
gst_caps_truncate
@ -166,6 +168,7 @@ EXPORTS
gst_element_class_get_pad_template
gst_element_class_get_pad_template_list
gst_element_class_set_details
gst_element_class_set_details_simple
gst_element_continue_state
gst_element_create_all_pads
gst_element_default_error
@ -183,6 +186,7 @@ EXPORTS
gst_element_factory_get_type
gst_element_factory_get_uri_protocols
gst_element_factory_get_uri_type
gst_element_factory_has_interface
gst_element_factory_make
gst_element_flags_get_type
gst_element_found_tags
@ -629,6 +633,7 @@ EXPORTS
gst_structure_get_name
gst_structure_get_string
gst_structure_get_type
gst_structure_get_uint
gst_structure_get_value
gst_structure_has_field
gst_structure_has_field_typed
@ -707,6 +712,7 @@ EXPORTS
gst_type_find_probability_get_type
gst_type_find_register
gst_type_find_suggest
gst_type_register_static_full
gst_update_registry
gst_uri_construct
gst_uri_get_location

View file

@ -112,6 +112,10 @@ SOURCE=..\..\libs\gst\controller\gstcontroller.h
# End Source File
# Begin Source File
SOURCE=..\..\libs\gst\controller\gstcontrolsource.c
# End Source File
# Begin Source File
SOURCE=..\..\libs\gst\controller\gsthelper.c
# End Source File
# Begin Source File
@ -120,6 +124,14 @@ SOURCE=..\..\libs\gst\controller\gstinterpolation.c
# End Source File
# Begin Source File
SOURCE=..\..\libs\gst\controller\gstinterpolationcontrolsource.c
# End Source File
# Begin Source File
SOURCE=..\..\libs\gst\controller\gstlfocontrolsource.c
# End Source File
# Begin Source File
SOURCE=..\..\libs\gst\controller\lib.c
# End Source File
# Begin Source File

View file

@ -216,6 +216,10 @@ SOURCE=..\..\gst\gstpadtemplate.c
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstparamspecs.c
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstparse.c
# End Source File
# Begin Source File