mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
libs/gst/base/gstbasesink.c: *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
Original commit message from CVS: * libs/gst/base/gstbasesink.c: *cur = (now - base) * basesink->segment.abs_rate + time; replaced by *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6 * win32/common/config.h: added some defines GST_MAJORMINOR and HOST_CPU * win32/common/libgstbase.def: * win32/common/libgstreamer.def: added some exported functions
This commit is contained in:
parent
ff3b09e189
commit
3c5c1d29ea
6 changed files with 152 additions and 20 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2006-01-12 Sebastien Moutte <sebastien@moutte.net>
|
||||
|
||||
* libs/gst/base/gstbasesink.c:
|
||||
*cur = (now - base) * basesink->segment.abs_rate + time; replaced by
|
||||
*cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
|
||||
* win32/common/config.h:
|
||||
added some defines GST_MAJORMINOR and HOST_CPU
|
||||
* win32/common/libgstbase.def:
|
||||
* win32/common/libgstreamer.def:
|
||||
added some exported functions.
|
||||
|
||||
2006-01-12 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* libs/gst/controller/gstcontroller.c:
|
||||
|
|
|
@ -393,6 +393,7 @@ gst_segment_set_newsegment (GstSegment * segment, gboolean update, gdouble rate,
|
|||
/* use previous rate to calculate duration */
|
||||
segment->accum += gst_gdouble_to_guint64 (
|
||||
(gst_guint64_to_gdouble (duration) / segment->abs_rate));
|
||||
|
||||
/* then update the current segment */
|
||||
segment->rate = rate;
|
||||
segment->abs_rate = ABS (rate);
|
||||
|
|
|
@ -1398,7 +1398,9 @@ gst_base_sink_get_position (GstBaseSink * basesink, GstFormat format,
|
|||
base = GST_ELEMENT_CAST (basesink)->base_time;
|
||||
base += basesink->segment.accum;
|
||||
base = MIN (now, base);
|
||||
*cur = (now - base) * basesink->segment.abs_rate + time;
|
||||
*cur =
|
||||
gst_guint64_to_gdouble (now - base) * basesink->segment.abs_rate +
|
||||
time;
|
||||
|
||||
GST_DEBUG_OBJECT (basesink,
|
||||
"now %" GST_TIME_FORMAT " - base %" GST_TIME_FORMAT " - accum %"
|
||||
|
|
|
@ -35,6 +35,12 @@
|
|||
/* Define the version */
|
||||
#define GST_VERSION "0.10.1.1"
|
||||
|
||||
/* Define the MAJOR.MINOR version */
|
||||
#define GST_MAJORMINOR "0.10"
|
||||
|
||||
/* Define host CPU */
|
||||
#define HOST_CPU "i386"
|
||||
|
||||
/* Define if the host CPU is an Alpha */
|
||||
#undef HAVE_CPU_ALPHA
|
||||
|
||||
|
|
|
@ -1,17 +1,41 @@
|
|||
EXPORTS
|
||||
|
||||
gst_base_transform_set_passthrough
|
||||
|
||||
gst_base_transform_get_type
|
||||
|
||||
gst_base_sink_get_type
|
||||
|
||||
gst_base_src_set_live
|
||||
|
||||
gst_base_src_get_type
|
||||
|
||||
gst_base_src_is_live
|
||||
|
||||
gst_push_src_get_type
|
||||
|
||||
gst_type_find_helper
|
||||
|
||||
gst_collect_pads_add_pad
|
||||
|
||||
gst_collect_pads_remove_pad
|
||||
|
||||
gst_collect_pads_peek
|
||||
|
||||
gst_collect_pads_pop
|
||||
|
||||
gst_collect_pads_start
|
||||
|
||||
gst_collect_pads_stop
|
||||
|
||||
gst_collect_pads_set_function
|
||||
|
||||
gst_collect_pads_new
|
||||
|
||||
gst_collect_pads_flush
|
||||
|
||||
gst_collect_pads_read
|
||||
|
||||
gst_collect_pads_available
|
||||
|
||||
|
||||
|
|
|
@ -40,6 +40,8 @@ EXPORTS
|
|||
|
||||
gst_buffer_stamp
|
||||
|
||||
gst_bus_new
|
||||
|
||||
gst_bus_poll
|
||||
|
||||
gst_bus_pop
|
||||
|
@ -84,10 +86,20 @@ EXPORTS
|
|||
|
||||
gst_caps_to_string
|
||||
|
||||
gst_clock_get_calibration
|
||||
|
||||
gst_clock_get_internal_time
|
||||
|
||||
gst_clock_get_type
|
||||
|
||||
gst_clock_set_calibration
|
||||
|
||||
gst_clock_set_master
|
||||
|
||||
gst_core_error_quark
|
||||
|
||||
gst_date_get_type
|
||||
|
||||
gst_deinit
|
||||
|
||||
gst_double_range_get_type
|
||||
|
@ -98,6 +110,8 @@ EXPORTS
|
|||
|
||||
gst_element_class_get_pad_template
|
||||
|
||||
gst_element_class_get_pad_template_list
|
||||
|
||||
gst_element_class_set_details
|
||||
|
||||
gst_element_default_error
|
||||
|
@ -122,8 +136,12 @@ EXPORTS
|
|||
|
||||
gst_element_get_clock
|
||||
|
||||
gst_element_get_factory
|
||||
|
||||
gst_element_get_pad
|
||||
|
||||
gst_element_get_request_pad
|
||||
|
||||
gst_element_get_state
|
||||
|
||||
gst_element_get_type
|
||||
|
@ -136,6 +154,8 @@ EXPORTS
|
|||
|
||||
gst_element_link_pads
|
||||
|
||||
gst_element_make_from_uri
|
||||
|
||||
gst_element_no_more_pads
|
||||
|
||||
gst_element_provides_clock
|
||||
|
@ -146,6 +166,10 @@ EXPORTS
|
|||
|
||||
gst_element_requires_clock
|
||||
|
||||
gst_element_send_event
|
||||
|
||||
gst_element_set_bus
|
||||
|
||||
gst_element_set_state
|
||||
|
||||
gst_element_sync_state_with_parent
|
||||
|
@ -164,6 +188,8 @@ EXPORTS
|
|||
|
||||
gst_format_get_details
|
||||
|
||||
gst_format_get_name
|
||||
|
||||
gst_format_register
|
||||
|
||||
gst_fourcc_get_type
|
||||
|
@ -172,6 +198,16 @@ EXPORTS
|
|||
|
||||
gst_fraction_range_get_type
|
||||
|
||||
gst_ghost_pad_get_type
|
||||
|
||||
gst_ghost_pad_new
|
||||
|
||||
gst_ghost_pad_new_no_target
|
||||
|
||||
gst_ghost_pad_set_target
|
||||
|
||||
gst_implements_interface_cast
|
||||
|
||||
gst_implements_interface_check
|
||||
|
||||
gst_implements_interface_get_type
|
||||
|
@ -194,6 +230,8 @@ EXPORTS
|
|||
|
||||
gst_int_range_get_type
|
||||
|
||||
gst_library_error_quark
|
||||
|
||||
gst_marshal_BOOLEAN__POINTER
|
||||
|
||||
gst_marshal_VOID__INT_INT
|
||||
|
@ -204,6 +242,8 @@ EXPORTS
|
|||
|
||||
gst_marshal_VOID__UINT_BOXED
|
||||
|
||||
gst_message_new_element
|
||||
|
||||
gst_message_get_structure
|
||||
|
||||
gst_message_get_type
|
||||
|
@ -224,6 +264,8 @@ EXPORTS
|
|||
|
||||
gst_mini_object_get_type
|
||||
|
||||
gst_mini_object_make_writable
|
||||
|
||||
gst_mini_object_new
|
||||
|
||||
gst_mini_object_ref
|
||||
|
@ -248,6 +290,12 @@ EXPORTS
|
|||
|
||||
gst_object_unref
|
||||
|
||||
gst_pad_add_buffer_probe
|
||||
|
||||
gst_pad_add_data_probe
|
||||
|
||||
gst_pad_add_event_probe
|
||||
|
||||
gst_pad_alloc_buffer
|
||||
|
||||
gst_pad_event_default
|
||||
|
@ -260,12 +308,16 @@ EXPORTS
|
|||
|
||||
gst_pad_get_element_private
|
||||
|
||||
gst_pad_get_internal_links
|
||||
|
||||
gst_pad_get_internal_links_default
|
||||
|
||||
gst_pad_get_negotiated_caps
|
||||
|
||||
gst_pad_get_pad_template_caps
|
||||
|
||||
gst_pad_get_parent_element
|
||||
|
||||
gst_pad_get_peer
|
||||
|
||||
gst_pad_get_query_types
|
||||
|
@ -292,10 +344,16 @@ EXPORTS
|
|||
|
||||
gst_pad_query_default
|
||||
|
||||
gst_pad_remove_buffer_probe
|
||||
|
||||
gst_pad_remove_data_probe
|
||||
|
||||
gst_pad_send_event
|
||||
|
||||
gst_pad_set_active
|
||||
|
||||
gst_pad_set_blocked_async
|
||||
|
||||
gst_pad_set_chain_function
|
||||
|
||||
gst_pad_set_element_private
|
||||
|
@ -322,6 +380,8 @@ EXPORTS
|
|||
|
||||
gst_pad_unlink
|
||||
|
||||
gst_param_spec_mini_object
|
||||
|
||||
gst_parse_launch
|
||||
|
||||
gst_parse_launchv
|
||||
|
@ -330,6 +390,8 @@ EXPORTS
|
|||
|
||||
gst_pipeline_new
|
||||
|
||||
gst_pipeline_set_new_stream_time
|
||||
|
||||
gst_plugin_feature_get_name
|
||||
|
||||
gst_plugin_feature_get_type
|
||||
|
@ -348,10 +410,14 @@ EXPORTS
|
|||
|
||||
gst_structure_copy
|
||||
|
||||
gst_structure_fixate_field_boolean
|
||||
|
||||
gst_structure_fixate_field_nearest_double
|
||||
|
||||
gst_structure_fixate_field_nearest_int
|
||||
|
||||
gst_structure_fixate_field_nearest_fraction
|
||||
|
||||
gst_structure_foreach
|
||||
|
||||
gst_structure_get_boolean
|
||||
|
@ -360,6 +426,8 @@ EXPORTS
|
|||
|
||||
gst_structure_get_fourcc
|
||||
|
||||
gst_structure_get_fraction
|
||||
|
||||
gst_structure_get_int
|
||||
|
||||
gst_structure_get_name
|
||||
|
@ -370,6 +438,8 @@ EXPORTS
|
|||
|
||||
gst_structure_has_field
|
||||
|
||||
gst_structure_has_name
|
||||
|
||||
gst_structure_new
|
||||
|
||||
gst_structure_remove_field
|
||||
|
@ -408,8 +478,14 @@ EXPORTS
|
|||
|
||||
gst_util_set_object_arg
|
||||
|
||||
gst_value_array_append_value
|
||||
|
||||
gst_value_array_get_size
|
||||
|
||||
gst_value_array_get_type
|
||||
|
||||
gst_value_array_get_value
|
||||
|
||||
gst_value_get_caps
|
||||
|
||||
gst_value_get_fraction_denominator
|
||||
|
@ -520,6 +596,8 @@ EXPORTS
|
|||
|
||||
gst_iterator_free
|
||||
|
||||
gst_message_new_custom
|
||||
|
||||
gst_message_new_eos
|
||||
|
||||
gst_message_new_segment_done
|
||||
|
@ -550,6 +628,8 @@ EXPORTS
|
|||
|
||||
gst_pad_activate_push
|
||||
|
||||
gst_pad_alloc_buffer_and_set_caps
|
||||
|
||||
gst_pad_chain
|
||||
|
||||
gst_pad_check_pull_range
|
||||
|
@ -642,6 +722,8 @@ EXPORTS
|
|||
|
||||
gst_segment_clip
|
||||
|
||||
gst_segment_set_duration
|
||||
|
||||
gst_segment_set_newsegment
|
||||
|
||||
gst_segment_to_running_time
|
||||
|
@ -660,8 +742,12 @@ EXPORTS
|
|||
|
||||
gst_tag_list_free
|
||||
|
||||
gst_tag_list_get_date_index
|
||||
|
||||
gst_tag_list_get_double_index
|
||||
|
||||
gst_tag_list_get_string
|
||||
|
||||
gst_tag_list_get_string_index
|
||||
|
||||
gst_tag_list_get_tag_size
|
||||
|
@ -694,6 +780,8 @@ EXPORTS
|
|||
|
||||
gst_util_uint64_scale
|
||||
|
||||
gst_util_uint64_scale_int
|
||||
|
||||
gst_value_get_int_range_max
|
||||
|
||||
gst_value_get_int_range_min
|
||||
|
|
Loading…
Reference in a new issue