gst/gstbin.h: Replace interface parameter name by iface as interface is a reserved keyword in Visual Studio for C++ p...

Original commit message from CVS:
* gst/gstbin.h:(gst_bin_get_by_interface),
(gst_bin_iterate_all_by_interface):
Replace interface parameter name by iface as interface is
a reserved keyword in Visual Studio for C++ projects so it removes
a build error for application developpers using VS.
* plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
Fix a bug on Windows in uri format check. Now the prefix checked
is file:// and next we check if the path after file:// is absolute.
* win32/common/libgstbase.def:
* win32/common/libgstdataprotocol.def:
* win32/common/libgstgstreamer.def:
Add new exported functions.
This commit is contained in:
Sébastien Moutte 2007-02-10 18:31:12 +00:00
parent d87ccbe0f4
commit 3ad87e0249
6 changed files with 30 additions and 3 deletions

View file

@ -1,3 +1,18 @@
2007-02-10 Sébastien Moutte <sebastien@moutte.net>
* gst/gstbin.h:(gst_bin_get_by_interface),
(gst_bin_iterate_all_by_interface):
Replace interface parameter name by iface as interface is
a reserved keyword in Visual Studio for C++ projects so it removes
a build error for application developpers using VS.
* plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
Fix a bug on Windows in uri format check. Now the prefix checked
is file:// and next we check if the path after file:// is absolute.
* win32/common/libgstbase.def:
* win32/common/libgstdataprotocol.def:
* win32/common/libgstgstreamer.def:
Add new exported functions.
2007-02-09 Andy Wingo <wingo@pobox.com> 2007-02-09 Andy Wingo <wingo@pobox.com>
* tests/check/pipelines/simple-launch-lines.c * tests/check/pipelines/simple-launch-lines.c

View file

@ -161,7 +161,7 @@ gboolean gst_bin_remove (GstBin *bin, GstElement *element);
/* retrieve a single child */ /* retrieve a single child */
GstElement* gst_bin_get_by_name (GstBin *bin, const gchar *name); GstElement* gst_bin_get_by_name (GstBin *bin, const gchar *name);
GstElement* gst_bin_get_by_name_recurse_up (GstBin *bin, const gchar *name); GstElement* gst_bin_get_by_name_recurse_up (GstBin *bin, const gchar *name);
GstElement* gst_bin_get_by_interface (GstBin *bin, GType interface); GstElement* gst_bin_get_by_interface (GstBin *bin, GType iface);
/* retrieve multiple children */ /* retrieve multiple children */
GstIterator* gst_bin_iterate_elements (GstBin *bin); GstIterator* gst_bin_iterate_elements (GstBin *bin);
@ -170,7 +170,7 @@ GstIterator* gst_bin_iterate_recurse (GstBin *bin);
GstIterator* gst_bin_iterate_sinks (GstBin *bin); GstIterator* gst_bin_iterate_sinks (GstBin *bin);
GstIterator* gst_bin_iterate_sources (GstBin *bin); GstIterator* gst_bin_iterate_sources (GstBin *bin);
GstIterator* gst_bin_iterate_all_by_interface (GstBin *bin, GType interface); GstIterator* gst_bin_iterate_all_by_interface (GstBin *bin, GType iface);
G_END_DECLS G_END_DECLS

View file

@ -1074,7 +1074,9 @@ gst_file_src_uri_set_uri (GstURIHandler * handler, const gchar * uri)
* "location" with uri + 16 because it provides unescaping */ * "location" with uri + 16 because it provides unescaping */
location = gst_uri_get_location (tmp); location = gst_uri_get_location (tmp);
g_free (tmp); g_free (tmp);
} else if (!g_str_has_prefix (uri, "file:///")) { } else if (!g_str_has_prefix (uri, "file://")) {
return FALSE;
} else if (!g_path_is_absolute (uri + strlen ("file://"))) {
return FALSE; return FALSE;
} else { } else {
location = gst_uri_get_location (uri); location = gst_uri_get_location (uri);

View file

@ -3,6 +3,7 @@ EXPORTS
gst_adapter_available gst_adapter_available
gst_adapter_available_fast gst_adapter_available_fast
gst_adapter_clear gst_adapter_clear
gst_adapter_copy
gst_adapter_flush gst_adapter_flush
gst_adapter_get_type gst_adapter_get_type
gst_adapter_peek gst_adapter_peek
@ -37,6 +38,7 @@ EXPORTS
gst_data_queue_push gst_data_queue_push
gst_data_queue_set_flushing gst_data_queue_set_flushing
gst_collect_pads_add_pad gst_collect_pads_add_pad
gst_collect_pads_add_pad_full
gst_collect_pads_available gst_collect_pads_available
gst_collect_pads_collect gst_collect_pads_collect
gst_collect_pads_collect_range gst_collect_pads_collect_range

View file

@ -4,6 +4,9 @@ EXPORTS
gst_dp_event_from_packet gst_dp_event_from_packet
gst_dp_header_payload_length gst_dp_header_payload_length
gst_dp_header_payload_type gst_dp_header_payload_type
gst_dp_init
gst_dp_packetizer_new
gst_dp_packetizer_free
gst_dp_validate_header gst_dp_validate_header
gst_dp_validate_packet gst_dp_validate_packet
gst_dp_validate_payload gst_dp_validate_payload

View file

@ -178,6 +178,7 @@ EXPORTS
gst_element_factory_get_num_pad_templates gst_element_factory_get_num_pad_templates
gst_element_factory_get_static_pad_templates gst_element_factory_get_static_pad_templates
gst_element_factory_get_type gst_element_factory_get_type
gst_element_factory_get_uri_protocols
gst_element_factory_get_uri_type gst_element_factory_get_uri_type
gst_element_factory_make gst_element_factory_make
gst_element_flags_get_type gst_element_flags_get_type
@ -311,6 +312,7 @@ EXPORTS
gst_int_range_get_type gst_int_range_get_type
gst_is_tag_list gst_is_tag_list
gst_iterator_fold gst_iterator_fold
gst_iterator_foreach
gst_iterator_free gst_iterator_free
gst_iterator_item_get_type gst_iterator_item_get_type
gst_iterator_next gst_iterator_next
@ -622,6 +624,7 @@ EXPORTS
gst_structure_nth_field_name gst_structure_nth_field_name
gst_structure_remove_all_fields gst_structure_remove_all_fields
gst_structure_remove_field gst_structure_remove_field
gst_structure_remove_fields
gst_structure_set gst_structure_set
gst_structure_set_name gst_structure_set_name
gst_structure_set_valist gst_structure_set_valist
@ -710,6 +713,7 @@ EXPORTS
gst_value_array_get_type gst_value_array_get_type
gst_value_array_get_value gst_value_array_get_value
gst_value_compare gst_value_compare
gst_value_deserialize
gst_value_fraction_multiply gst_value_fraction_multiply
gst_value_get_caps gst_value_get_caps
gst_value_get_double_range_max gst_value_get_double_range_max
@ -738,6 +742,7 @@ EXPORTS
gst_value_set_fraction_range gst_value_set_fraction_range
gst_value_set_int_range gst_value_set_int_range
gst_value_set_mini_object gst_value_set_mini_object
gst_value_take_mini_object
gst_version gst_version
gst_version_string gst_version_string
gst_xml_get_element gst_xml_get_element