- 03 Apr, 2009 1 commit
-
-
Mark Nauwelaerts authored
A (buggy) glib g_slice_dup macro may cause compiler warnings on e.g. x86_64.
-
- 26 Mar, 2009 1 commit
-
-
Sebastian Dröge authored
-
- 23 Oct, 2008 1 commit
-
-
Wim Taymans authored
gst/gstsegment.c: Set the last_stop to a more meaningful position when configuring the segment. ie. the start/stop of... Original commit message from CVS: * gst/gstsegment.c: (gst_segment_set_newsegment_full): Set the last_stop to a more meaningful position when configuring the segment. ie. the start/stop of the segment or clipped against the updated segment boundaries. * tests/check/gst/gstsegment.c: (GST_START_TEST): Add some unit tests for the last_stop.
-
- 01 Jul, 2008 1 commit
-
-
Stefan Kost authored
Original commit message from CVS: * gst/gstevent.c: Use gst_format_get_name() to improve debug output. * gst/gstpreset.c: Remove #ifdef'ed code. Add TODO comment. * gst/gstsegment.c: Add debug output to ease spotting format != segment.format assertions.
-
- 09 May, 2008 1 commit
-
-
Tim-Philipp Müller authored
No, let's not use g_slice_{dup|copy} here, since they only exist since GLib 2.14 and we still depend only on >= 2.12.... Original commit message from CVS: * gst/gstsegment.c: * tests/check/gst/gstsegment.c: No, let's not use g_slice_{dup|copy} here, since they only exist since GLib 2.14 and we still depend only on >= 2.12. Also add unit test for gst_segment_copy().
-
- 23 Apr, 2008 2 commits
-
-
Stefan Kost authored
gst/gstsegment.c: The glib macro seems to be borked. Use g_slice_copy directly and cast in the hope that this fixes t... Original commit message from CVS: * gst/gstsegment.c: The glib macro seems to be borked. Use g_slice_copy directly and cast in the hope that this fixes the warning on 64bit.
-
Stefan Kost authored
Original commit message from CVS: * gst/gstsegment.c: Document the new function. Use g_slice_dup() (no need for gst_segment_init()).
-
- 09 Apr, 2008 1 commit
-
-
Original commit message from CVS: Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org> * docs/gst/gstreamer-sections.txt: * gst/gstsegment.c: * gst/gstsegment.h: * win32/common/libgstreamer.def: Expose gst_segment_copy() to make things easier for the c++ bindings. Fixes #518932. API: gst_segment_copy()
-
- 01 Apr, 2008 1 commit
-
-
Sebastian Dröge authored
Original commit message from CVS: * configure.ac: Require GLib 2.12. * gst/glib-compat-private.h: * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free): * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free): Unconditionally use GSlice for allocation. * gst/gstpoll.c: (gst_poll_new), (gst_poll_free): * gst/gstsegment.c: (gst_segment_new), (gst_segment_free): * gst/gststructure.c: (gst_structure_id_empty_new_with_size), (gst_structure_free): Use GSlice for allocation.
-
- 29 Feb, 2008 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_set_seek), (gst_segment_to_stream_time): Improve some comment. Update variables where it makes more sense.
-
- 19 Dec, 2007 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * docs/design/part-synchronisation.txt: Small updates. * gst/gstsegment.c: (gst_segment_set_seek), (gst_segment_set_newsegment_full), (gst_segment_to_stream_time), (gst_segment_to_running_time): The seek format can be different from the segment format when the start and stop values are not to be updated, when we only do a rate change for example. * tests/check/gst/gstsegment.c: (GST_START_TEST), (gst_segment_suite): Add a testcase for the rate-only seeks, checking that the format is correctly ignored when start and stop are not updated.
-
- 09 Nov, 2007 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_set_newsegment_full), (gst_segment_to_stream_time), (gst_segment_to_running_time): Also accumulate time correctly when doing reverse playback. Fixes #488201, When converting to running and stream time, use default values for start/stop/time/accum when comparing different formats. Fixes #494245. * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times): Do running/stream time in TIME format. * tests/check/gst/gstsegment.c: (GST_START_TEST), (gst_segment_suite): 2 new unit tests for segment accumulation.
-
- 05 Jun, 2007 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstobject.c: (gst_object_class_init): Fix signal signature. * gst/gstsegment.c: Add small clarification in the api docs. * plugins/elements/gstfilesrc.c: (gst_file_src_set_location): States are protected with object lock.
-
- 17 May, 2007 1 commit
-
-
Edward Hervey authored
Original commit message from CVS: * gst/gstsegment.c: Small doc fix.
-
- 13 Feb, 2007 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * docs/design/part-seeking.txt: Some small update. * gst/gstsegment.c: (gst_segment_set_seek): Revert old bogus change that should make seeking work again.
-
- 19 Dec, 2006 1 commit
-
-
Edward Hervey authored
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_set_seek): Fine tune the cases where the segment start/stop values are really updated. * tests/check/gst/gstsegment.c: (GST_START_TEST): Add tests for the return values of gst_segment_set_seek().
-
- 20 Nov, 2006 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_set_seek), (gst_segment_set_newsegment_full), (gst_segment_to_stream_time), (gst_segment_to_running_time): Fix boundary checking in to_running_time() and to_stream_time(). Fixes #377183. * tests/check/gst/gstsegment.c: (GST_START_TEST): stream and running time can now be calculated for the complete clipped segment.
-
- 18 Oct, 2006 2 commits
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_set_last_stop), (gst_segment_set_seek), (gst_segment_set_newsegment_full): Relax arg checking again, -1 is allowed.
-
Wim Taymans authored
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_set_last_stop), (gst_segment_set_seek), (gst_segment_set_newsegment_full): _set_last_stop() must be with a value != -1 A _TYPE_SET to -1 means seek to 0. Calc last_stop correctly for negative rates. Make sure we work with positive durations when updating a segment.
-
- 13 Oct, 2006 1 commit
-
-
Wim Taymans authored
gst/gstsegment.c: When seeking to stop -1, set last_stop (current position) to the duration of the segment. Original commit message from CVS: * gst/gstsegment.c: (gst_segment_set_seek): When seeking to stop -1, set last_stop (current position) to the duration of the segment.
-
- 09 Oct, 2006 2 commits
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek): Rename some more @cur to @start to fix docs. * gst/gstsegment.c: (gst_segment_set_seek): Fix typo. time and start must always stay in sync as defined in design doc. * gst/gsttaglist.c: (gst_tag_list_is_empty): Rename param to fix docs. * tests/check/gst/gstsegment.c: (GST_START_TEST): Check that start and time are in sync. * tests/check/pipelines/parse-launch.c: (gst_parse_test_element_change_state): Activate pad before adding to the element.
-
Wim Taymans authored
Original commit message from CVS: * docs/design/part-qos.txt: Fix typo. * gst/gstevent.c: * gst/gstevent.h: Update seek event docs regarding negative rates. Rename @cur to @start. * gst/gstsegment.c: (gst_segment_set_seek): * gst/gstsegment.h: Update set_seek docs regarding negative rates. Correctly update last_stop to @stop when dealing with negative rates. Rename @cur to @start. * tests/check/gst/gstpad.c: (GST_START_TEST): Activate pads before trying to use them. * tests/check/gst/gstsegment.c: (GST_START_TEST), (gst_segment_suite): Add simple check for segments and negative rates.
-
- 15 Sep, 2006 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstobject.c: (gst_object_set_parent): * gst/gstpipeline.c: (do_pipeline_seek): Small cleanups in docs and code. * gst/gstsegment.c: (gst_segment_clip): * tests/check/gst/gstsegment.c: (GST_START_TEST): if stop == start and start is in the segment, no clipping should be done. Also add a test for this.
-
- 12 Jun, 2006 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_set_duration), (gst_segment_set_last_stop), (gst_segment_set_seek), (gst_segment_set_newsegment_full), (gst_segment_to_stream_time), (gst_segment_to_running_time), (gst_segment_clip): Use G_UNLIKELY to help the compiler a bit.
-
- 05 Jun, 2006 1 commit
-
-
Edward Hervey authored
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_copy): _copy() was always returning NULL...
-
- 08 May, 2006 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * docs/design/part-overview.txt: Make upsteam/downstream concepts more clear. Give an example of serialized/non-serialized events. * docs/design/part-events.txt: * docs/design/part-streams.txt: Mention applied_rate. * docs/design/part-trickmodes.txt: Mention applied rate, flesh out some more use cases. * gst/gstevent.c: (gst_event_new_new_segment), (gst_event_parse_new_segment), (gst_event_new_new_segment_full), (gst_event_parse_new_segment_full), (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_buffer_size), (gst_event_parse_buffer_size), (gst_event_new_qos), (gst_event_parse_qos), (gst_event_parse_seek), (gst_event_new_navigation): * gst/gstevent.h: Add applied_rate field to NEWSEGMENT event. API: gst_event_new_new_segment_full() API: gst_event_parse_new_segment_full() * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek), (gst_segment_set_newsegment), (gst_segment_set_newsegment_full), (gst_segment_to_stream_time), (gst_segment_to_running_time): * gst/gstsegment.h: Add applied_rate to GstSegment structure. Make calculation of stream_time and running_time more correct wrt rate/applied_rate. Add some more docs. API: GstSegment::applied_rate field API: gst_segment_set_newsegment_full(); * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment), (gst_base_sink_get_sync_times), (gst_base_sink_get_position): * libs/gst/base/gstbasetransform.c: (gst_base_transform_sink_eventfunc), (gst_base_transform_handle_buffer): Parse and use applied_rate in the GstSegment field. * tests/check/gst/gstevent.c: (GST_START_TEST): Add check for applied_rate field. * tests/check/gst/gstsegment.c: (GST_START_TEST), (gstsegments_suite): Add more checks for various GstSegment operations.
-
- 10 Apr, 2006 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstsegment.c: Added some more docs. * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos), (gst_base_sink_reset_qos): Calculate more accurate rate values.
-
- 14 Mar, 2006 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_to_stream_time): Return correct return type in case of errors.
-
- 13 Mar, 2006 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func): * gst/gstbin.h: * gst/gstbus.c: (gst_bus_class_init): * gst/gstbus.h: * gst/gstclock.c: * gst/gstelement.c: (gst_element_set_locked_state): * gst/gstsegment.c: Documentation updates. * gst/gstpipeline.c: (gst_pipeline_get_type), (gst_pipeline_class_init), (gst_pipeline_init), (gst_pipeline_dispose), (gst_pipeline_set_property), (gst_pipeline_get_property), (do_pipeline_seek), (gst_pipeline_send_event), (gst_pipeline_change_state), (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay), (gst_pipeline_get_delay): * gst/gstpipeline.h: Added methods for setting the delay. API: gst_pipeline_set_delay API: gst_pipeline_get_delay Add pipeline debug category Various cleanups. Updated docs. Don't reset stream time when seek failed.
-
- 28 Feb, 2006 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func): Help the compiler a bit with type registration. Use existing forward cod path instead of duplicating it when handling a message. * gst/gstbus.c: (gst_bus_get_type): * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type): * gst/gstchildproxy.c: (gst_child_proxy_get_type): * gst/gstclock.c: (gst_clock_get_type): * gst/gstelement.c: (gst_element_get_type), * gst/gstelementfactory.c: (gst_element_factory_get_type): * gst/gstindexfactory.c: (gst_index_factory_get_type): * gst/gstminiobject.c: (gst_mini_object_get_type): * gst/gstpad.c: (gst_pad_get_type): * gst/gstsegment.c: (gst_segment_get_type): * gst/gststructure.c: (gst_structure_get_type): * gst/gstsystemclock.c: (gst_system_clock_get_type): * gst/gsttask.c: (gst_task_get_type), (gst_task_join): * gst/gstvalue.c: Help compiler with type registration. * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event): Small doc update.
-
- 02 Feb, 2006 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_clip): No reason to refuse to clip when start == -1
-
- 12 Jan, 2006 1 commit
-
-
Sebastien Moutte authored
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
-
- 12 Dec, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_last_stop), (gst_segment_set_seek), (gst_segment_set_newsegment), (gst_segment_to_stream_time), (gst_segment_to_running_time): Added more documentation. Make sure the last_pos value is updated properly. Make sure to_stream_time and to_running_time don't operate on wrong values. * tests/check/gst/gstsegment.c: (GST_START_TEST): Update check.
-
- 29 Nov, 2005 1 commit
-
-
Edward Hervey authored
Original commit message from CVS: * gst/base/gstbasesink.c: (gst_base_sink_handle_object), (gst_base_sink_event), (gst_base_sink_do_sync), (gst_base_sink_activate_pull), (gst_base_sink_change_state): Properly handle non GST_FORMAT_TIME segment * gst/elements/gstidentity.c: (gst_identity_transform_ip): Properly handle non GST_FORMAT_TIME segment * gst/gstsegment.c: This function is valid if the accumulator is 0 and the format is different from the requested format.
-
- 21 Nov, 2005 4 commits
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type), (gst_segment_new), (gst_segment_free), (gst_segment_init), (gst_segment_set_duration), (gst_segment_set_last_stop), (gst_segment_set_seek), (gst_segment_set_newsegment), (gst_segment_to_stream_time), (gst_segment_to_running_time), (gst_segment_clip): * gst/gstsegment.h: Make binding friendly.
-
Wim Taymans authored
Original commit message from CVS: * check/gst/gstsegment.c: (GST_START_TEST): * docs/design/part-TODO.txt: * gst/base/gstbasesink.c: (gst_base_sink_handle_object), (gst_base_sink_event), (gst_base_sink_do_sync), (gst_base_sink_activate_pull), (gst_base_sink_get_position), (gst_base_sink_query), (gst_base_sink_change_state): * gst/base/gstbasesink.h: * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query), (gst_base_src_default_newsegment), (gst_base_src_configure_segment), (gst_base_src_do_seek), (gst_base_src_get_range), (gst_base_src_loop), (gst_base_src_change_state): * gst/base/gstbasesrc.h: * gst/base/gstbasetransform.c: (gst_base_transform_prepare_output_buf), (gst_base_transform_event), (gst_base_transform_change_state): * gst/base/gstbasetransform.h: * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad), (gst_collect_pads_event): * gst/base/gstcollectpads.h: * gst/elements/gstfakesrc.c: (gst_fake_src_init), (gst_fake_src_create): * gst/elements/gstfakesrc.h: * gst/elements/gstidentity.c: (gst_identity_transform_ip): * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration), (gst_segment_set_last_stop), (gst_segment_set_seek), (gst_segment_set_newsegment), (gst_segment_to_stream_time), (gst_segment_to_running_time), (gst_segment_clip): * gst/gstsegment.h: More segment updates, replace code in plugins with segment helper functions.
-
Andy Wingo Wingo authored
Original commit message from CVS: 2005-11-21 Andy Wingo <wingo@pobox.com> * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
-
Wim Taymans authored
Original commit message from CVS: * check/gst/gstsegment.c: (GST_START_TEST), (gstsegments_suite), (main): * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration), (gst_segment_set_last_stop), (gst_segment_set_seek), (gst_segment_set_newsegment), (gst_segment_to_stream_time), (gst_segment_to_running_time), (gst_segment_clip): * gst/gstsegment.h: More segment updates and more checks.
-
- 20 Nov, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * check/Makefile.am: * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite), (main): * gst/Makefile.am: * gst/gst.h: * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration), (gst_segment_set_seek), (gst_segment_set_newsegment), (gst_segment_to_stream_time), (gst_segment_to_running_time), (gst_segment_clip): * gst/gstsegment.h: Added segment helper structure and methods. Not fully implemented yet. Added segment check.
-