Wim Taymans
ba3534f315
Add sink base class to abstract locking and preroll.
...
Original commit message from CVS:
* configure.ac:
* docs/design/part-states.txt:
* gst/Makefile.am:
* gst/base/Makefile.am:
* gst/base/gstbasesink.c: (gst_basesink_get_template),
(gst_basesink_base_init), (gst_basesink_class_init),
(gst_basesink_init), (gst_basesink_set_pad_functions),
(gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
(gst_basesink_set_property), (gst_basesink_get_property),
(gst_base_sink_get_template), (gst_base_sink_get_caps),
(gst_base_sink_set_caps), (gst_base_sink_alloc_buffer),
(gst_basesink_finish_preroll), (gst_basesink_event),
(gst_basesink_chain_unlocked), (gst_basesink_chain),
(gst_basesink_loop), (gst_basesink_activate),
(gst_basesink_change_state):
* gst/base/gstbasesink.h:
* gst/elements/Makefile.am:
* gst/elements/gstfakesink.c: (gst_fakesink_base_init),
(gst_fakesink_class_init), (gst_fakesink_init),
(gst_fakesink_set_property), (gst_fakesink_get_property),
(gst_fakesink_event), (gst_fakesink_preroll),
(gst_fakesink_render), (gst_fakesink_change_state):
* gst/elements/gstfakesink.h:
* gst/gstelement.c: (gst_element_get_random_pad):
* gst/gstevent.h:
* gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
(gst_list_iterator_next), (gst_list_iterator_free),
(gst_iterator_new_list), (gst_iterator_pop), (gst_iterator_next),
(gst_iterator_push), (filter_next):
* gst/gstmessage.h:
* gst/gsttrashstack.h:
Add sink base class to abstract locking and preroll.
Make fakesink use the base class.
Some doc fixes.
Fix missing breaks.
2005-02-23 11:22:43 +00:00
Wim Taymans
dc44130c0e
add gst_caps_copy_nth as a more general replacement for copy_1.
...
Original commit message from CVS:
* docs/design/part-TODO.txt:
* gst/elements/gstfakesink.c: (gst_fakesink_event),
(gst_fakesink_chain):
* gst/elements/gstfakesink.h:
* gst/elements/gstfakesrc.c: (gst_fakesrc_loop),
(gst_fakesrc_activate):
* gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
(gst_filesrc_open_file), (gst_filesrc_loop),
(gst_filesrc_activate), (gst_filesrc_change_state),
(filesrc_find_peek), (gst_filesrc_type_find):
* gst/gstcaps.c: (gst_caps_copy_nth):
* gst/gstcaps.h:
* gst/gstelement.c: (gst_element_add_pad),
(gst_element_remove_pad), (iterate_pad),
(gst_element_get_state_func), (gst_element_commit_state),
(gst_element_set_state), (gst_element_pads_activate),
(gst_element_change_state), (gst_element_dispose):
* gst/gstutils.c: (gst_element_finish_preroll):
* gst/gstutils.h:
* tools/gst-launch.c: (check_intr):
add gst_caps_copy_nth as a more general replacement for
copy_1.
Slightly change the finish_preroll helper function to
include pad flush/active.
Small cleanups in fakesrc.
Add STREAM_LOCK in filesrc.
2005-02-16 15:18:18 +00:00
Thomas Vander Stichele
2af759f2b5
make now works nicely
...
Original commit message from CVS:
make now works nicely
2005-02-11 17:14:16 +00:00
Thomas Vander Stichele
b10117db35
remove buffer_join and keep buffer_merge but move to gstutils
...
Original commit message from CVS:
remove buffer_join and keep buffer_merge but move to gstutils
2005-02-11 16:39:14 +00:00
Thomas Vander Stichele
931f43aa54
docs/gst/gstreamer-sections.txt: remove mention of removed functions
...
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
remove mention of removed functions
* docs/gst/tmpl/gstbuffer.sgml:
* docs/gst/tmpl/gstutils.sgml:
* gst/gstutils.c:
* gst/gstutils.h:
move buffer_stamp and _merge
2005-02-11 16:21:46 +00:00
Wim Taymans
484d9a3224
Added more docs.
...
Original commit message from CVS:
* docs/design/part-clocks.txt:
* docs/design/part-events.txt:
* gst/elements/gstfakesrc.c: (gst_fakesrc_get_event_mask),
(gst_fakesrc_event_handler), (gst_fakesrc_loop),
(gst_fakesrc_activate):
* gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
(gst_clock_id_compare_func), (gst_clock_id_wait),
(gst_clock_id_wait_async), (gst_clock_init),
(gst_clock_adjust_unlocked), (gst_clock_get_time):
* gst/gstevent.c: (gst_event_new_discontinuous_valist),
(gst_event_discont_get_value), (gst_event_new_segment_seek):
* gst/gstevent.h:
* gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
(pipeline_bus_handler), (gst_pipeline_change_state):
* gst/gstpipeline.h:
* gst/gstsystemclock.c: (gst_system_clock_init),
(gst_system_clock_async_thread),
(gst_system_clock_id_wait_unlocked),
(gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
(gst_dp_event_from_packet):
* testsuite/clock/Makefile.am:
* testsuite/clock/clock4.c: (gst_clock_debug), (ok_callback),
(error_callback), (main):
Added more docs.
Remove more silly events.
Implement periodic clock notifications.
Add async testsuite.
2005-02-11 15:50:53 +00:00
Thomas Vander Stichele
dc7885026e
we're in HEAD mode, fail on our messy function calls please
...
Original commit message from CVS:
we're in HEAD mode, fail on our messy function calls please
2005-02-11 13:10:40 +00:00
Thomas Vander Stichele
d8d9828119
gtkdoc fix
...
Original commit message from CVS:
gtkdoc fix
2005-02-11 13:05:09 +00:00
Wim Taymans
45529cf00a
docs/design/part-events.txt: Added event doc.
...
Original commit message from CVS:
* docs/design/part-events.txt:
Added event doc.
2005-02-10 18:17:19 +00:00
Andy Wingo
6bb6549228
docs/design/part-MT-refcounting.txt (Refcounting): Some grammar/clarity fixes, and added a section on child structure...
...
Original commit message from CVS:
2005-02-10 Andy Wingo <wingo@pobox.com>
* docs/design/part-MT-refcounting.txt (Refcounting): Some
grammar/clarity fixes, and added a section on child structures of
shared refcounted objects.
2005-02-10 14:49:29 +00:00
Wim Taymans
883680f12b
docs/design/: Some docs updates.
...
Original commit message from CVS:
* docs/design/part-TODO.txt:
* docs/design/part-negotiation.txt:
* docs/design/part-states.txt:
Some docs updates.
2005-02-10 14:34:53 +00:00
Andy Wingo
b1d9edff2f
docs/design/part-MT-refcounting.txt: Fill to 80 columns.
...
Original commit message from CVS:
2005-02-10 Andy Wingo <wingo@pobox.com>
* docs/design/part-MT-refcounting.txt: Fill to 80 columns.
2005-02-10 14:13:00 +00:00
Andy Wingo
e0b0e3dab2
docs/gst/tmpl: Commit whatever automagic updates gtkdoc is doing.
...
Original commit message from CVS:
2005-02-10 Andy Wingo <wingo@pobox.com>
* docs/gst/tmpl: Commit whatever automagic updates gtkdoc is
doing.
2005-02-10 11:55:48 +00:00
Wim Taymans
10e648c7d9
Removed schedulers and compat stuff.
...
Original commit message from CVS:
Removed schedulers and compat stuff.
Use iterators in bin for the various lookup functions.
Optimized the clock a bit.
Added some more docs.
Fixed scheduling in the ()-(l) case.
Fixed and added some testcases.
Removed old code.
2005-01-26 10:56:09 +00:00
Wim Taymans
864a9acf69
More state change fixes.
...
Original commit message from CVS:
More state change fixes.
Added/fixed some testcases.
Threadsafety fixes.
2005-01-18 10:52:08 +00:00
Wim Taymans
faeeed3dba
Some more docs
...
Original commit message from CVS:
Some more docs
2005-01-12 18:51:45 +00:00
Thomas Vander Stichele
2b58a38a2b
thread's dead, baby. thread's dead.
...
Original commit message from CVS:
thread's dead, baby. thread's dead.
2005-01-06 11:39:55 +00:00
Thomas Vander Stichele
29177515ff
add _get/_set_name_prefix() for debugging. Update docs.
...
Original commit message from CVS:
* check/gst/gstobject.c:
* docs/design/part-gstelement.txt:
* docs/design/part-gstobject.txt:
* gst/gstobject.c:
* gst/gstobject.h:
add _get/_set_name_prefix() for debugging. Update docs.
Finish unique name unit test
2004-12-14 11:47:44 +00:00
Thomas Vander Stichele
5d24ac1be7
make names only settable when unparented, so we can guarantee uniqueness inside a parent together with the _add checks
...
Original commit message from CVS:
make names only settable when unparented, so we can guarantee
uniqueness inside a parent together with the _add checks
2
2004-12-13 19:23:04 +00:00
Thomas Vander Stichele
a192d6d688
adding unit testing
...
Original commit message from CVS:
* Makefile.am:
* check/Makefile.am:
* check/gst/.cvsignore:
* check/gst/gstobject.c:
* configure.ac:
adding unit testing
* docs/upload.mak:
fixing double vars
* gst/Makefile.am:
disable some unused stuff
* gst/gstbus.h:
* gst/gsttypes.h:
move typedefs for gstbus
* gst/gstelement.c:
* gst/gstelement.h:
add getter/setter for bus and scheduler
add functionality to have (non-fatal) warnings as messages
* gst/gsterror.c:
* gst/gsterror.h:
* gst/gstmessage.c:
* gst/gstmessage.h:
rework API to be more general for warnings as well
* gst/gstobject.c:
fix docs
* tools/gst-launch.c:
fix macros for errors
2004-12-13 14:49:11 +00:00
Wim Taymans
767d9e4681
More MT fixes, added design document describing refcounting policies used in GStreamer and locking involved.
...
Original commit message from CVS:
* docs/design/part-MT-refcounting.txt:
* docs/design/part-conventions.txt:
* gst/gstbin.c: (gst_bin_set_index), (gst_bin_set_clock),
(gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_iterate_elements), (gst_bin_change_state),
(gst_bin_dispose), (gst_bin_get_by_name_recurse_up):
* gst/gstcaps.c:
* gst/gstelement.c: (gst_element_add_pad),
(gst_element_remove_pad), (pad_compare_name),
(gst_element_get_static_pad), (gst_element_get_request_pad),
(gst_element_get_pad), (gst_element_iterate_pads),
(gst_element_class_get_pad_template_list),
(gst_element_class_get_pad_template), (gst_element_get_random_pad),
(gst_element_get_event_masks), (gst_element_send_event),
(gst_element_seek), (gst_element_get_query_types),
(gst_element_query), (gst_element_get_formats),
(gst_element_convert), (gst_element_post_message),
(gst_element_set_locked_state), (gst_element_get_state),
(gst_element_set_state), (gst_element_pads_activate),
(gst_element_dispose), (gst_element_set_manager_func),
(gst_element_get_manager):
* gst/gstelement.h:
* gst/gstiterator.c: (gst_iterator_new), (gst_list_iterator_next),
(gst_list_iterator_resync), (gst_list_iterator_free),
(gst_iterator_new_list):
* gst/gstiterator.h:
* gst/gstmessage.c: (_gst_message_copy):
* gst/gstobject.c: (gst_object_class_init), (gst_object_init),
(gst_object_ref), (gst_object_unref), (gst_object_sink),
(gst_object_replace), (gst_object_dispose),
(gst_object_dispatch_properties_changed), (gst_object_set_name),
(gst_object_set_parent), (gst_object_get_parent),
(gst_object_unparent), (gst_object_check_uniqueness),
(gst_object_get_path_string):
* gst/gstobject.h:
* gst/gstpad.c: (gst_pad_dispose), (gst_pad_set_active),
(gst_pad_is_active), (gst_pad_set_blocked_async),
(gst_pad_is_blocked), (gst_pad_unlink), (gst_pad_is_linked),
(gst_pad_link_prepare_filtered), (gst_pad_link_filtered),
(gst_pad_get_real_parent), (gst_pad_relink_filtered),
(gst_pad_get_peer), (gst_pad_realize), (gst_pad_get_allowed_caps),
(gst_pad_alloc_buffer), (gst_pad_push), (gst_pad_pull),
(gst_pad_pull_range), (gst_pad_push_event):
* gst/gstpad.h:
* gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
(is_eos), (pipeline_bus_handler):
* gst/gstutils.c: (gst_element_get_compatible_pad_filtered),
(gst_element_link_pads_filtered), (gst_element_unlink):
* gst/parse/grammar.y:
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_pad_info):
* tools/gst-launch.c: (main):
* tools/gst-xmlinspect.c: (print_element_info):
More MT fixes, added design document describing refcounting
policies used in GStreamer and locking involved.
Fixed unsafe ghostpad dereffing.
Removed old unsafe methods.
2004-12-13 11:33:55 +00:00
Wim Taymans
5b1065d625
More MT fixes. Header cleanups, design doc update.
...
Original commit message from CVS:
* docs/design/part-MT-refcounting.txt:
* gst/gstbin.c: (gst_bin_set_index), (gst_bin_set_clock),
(gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
(gst_bin_remove), (gst_bin_iterate_elements),
(bin_element_is_sink), (gst_bin_get_state), (gst_bin_change_state),
(gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
(gst_bin_get_by_interface), (gst_bin_get_all_by_interface):
* gst/gstbin.h:
* gst/gstbuffer.h:
* gst/gstbus.h:
* gst/gstcaps.h:
* gst/gstclock.h:
* gst/gstdata.h:
* gst/gstelement.h:
* gst/gstevent.h:
* gst/gstmessage.h:
* gst/gststructure.h:
More MT fixes. Header cleanups, design doc update.
2004-12-09 23:28:31 +00:00
Wim Taymans
56ac821b40
docs/design/: Added design doc for MT-safe API implementation guidelines in GST.
...
Original commit message from CVS:
* docs/design/part-MT-refcounting.txt:
* docs/design/part-conventions.txt:
Added design doc for MT-safe API implementation
guidelines in GST.
2004-12-09 17:25:00 +00:00
Thomas Vander Stichele
3ffce00efc
commiting wim's preliminary threaded work to a branch
...
Original commit message from CVS:
commiting wim's preliminary threaded work to a branch
2004-12-08 17:40:37 +00:00
Ronald S. Bultje
1fd4bed69f
docs/gst/gstreamer-sections.txt: Document Thomas' addition, fix build, make Luis the sheriff happy.
...
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Document Thomas' addition, fix build, make Luis the sheriff happy.
2004-12-07 23:21:32 +00:00
Thomas Vander Stichele
bcacdad2df
usecases
...
Original commit message from CVS:
usecases
2004-12-02 14:21:30 +00:00
Christian Schaller
2aed185cc1
fix cvs conflict strings mistakenly included
...
Original commit message from CVS:
fix cvs conflict strings mistakenly included
2004-12-01 17:58:05 +00:00
Ronald S. Bultje
88b88555a4
docs/gst/: Add new function to docs to fix build.
...
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/gstvalue.sgml:
Add new function to docs to fix build.
2004-11-29 18:29:05 +00:00
Stefan Kost
ab472f9a48
Added a first batch of gst-launch examples, as provided by ronald and other from the devel-mlist
...
Original commit message from CVS:
Added a first batch of gst-launch examples, as provided by ronald and other from the devel-mlist
2004-11-29 14:16:22 +00:00
Wim Taymans
1d4aeab404
Added docs with proposals for major rewrite for 0.9.
...
Original commit message from CVS:
Added docs with proposals for major rewrite for 0.9.
2004-11-29 11:27:26 +00:00
Thomas Vander Stichele
9364ba1c31
updated release practice
...
Original commit message from CVS:
updated release practice
2004-11-25 19:07:59 +00:00
Thomas Vander Stichele
afe15de1f9
fix some typos
...
Original commit message from CVS:
fix some typos
2004-11-25 15:45:36 +00:00
Ronald S. Bultje
eea114a84d
docs/pwg/building-boiler.xml: Make description somewhat clearer.
...
Original commit message from CVS:
* docs/pwg/building-boiler.xml:
Make description somewhat clearer.
2004-11-23 23:03:10 +00:00
Ronald S. Bultje
7a8e5e65aa
docs/upload.mak: Apparently docs changed location on FDO's server.
...
Original commit message from CVS:
* docs/upload.mak:
Apparently docs changed location on FDO's server.
2004-11-23 22:50:15 +00:00
Ronald S. Bultje
a6647422c9
docs/pwg/appendix-checklist.xml: Add some random notes on thinks to check when writing an element.
...
Original commit message from CVS:
* docs/pwg/appendix-checklist.xml:
Add some random notes on thinks to check when writing an element.
This list can be extended as people see fit.
2004-11-23 22:36:21 +00:00
Thomas Vander Stichele
4a2df81cce
docs/manual/quotes.xml: add a quote
...
Original commit message from CVS:
* docs/manual/quotes.xml:
add a quote
* configure.ac:
* gst/gst.c:
* gst/gstinfo.c:
add LIBDIR and move init message higher up so it's at the start
2004-11-11 15:40:00 +00:00
Martin Soto
727725d959
gst/schedulers/: New cothread based scheduler: Fair scheduler.
...
Original commit message from CVS:
2004-11-07 Martin Soto <martinsoto@users.sourceforge.net>
* gst/schedulers/fairscheduler.c:
* gst/schedulers/faircothreads.c:
* gst/schedulers/faircothreads.h:
New cothread based scheduler: Fair scheduler.
* gst/schedulers/gthread-cothreads.h:
Add the standard #if around the whole file.
Defining symbol GTHREAD_COTHREADS_NO_DEFINITIONS will now prevent
compilation of the functions defined in this file. This is
necessary to be able to use this file as a normal header.
* gst/schedulers/Makefile.am: Add compiling support for fair
scheduler.
* docs/gst/Makefile.am (IGNORE_HFILES): Exclude internal fair
scheduler cothreads layer from documentation generation.
2004-11-07 19:31:39 +00:00
Ronald S. Bultje
eb87b3f6bf
docs/pwg/advanced-types.xml: Another typo.
...
Original commit message from CVS:
* docs/pwg/advanced-types.xml:
Another typo.
2004-11-06 12:39:08 +00:00
Ronald S. Bultje
1dc833e156
docs/pwg/intro-preface.xml: Hm, ok, so the brackets weren't really useful...
...
Original commit message from CVS:
* docs/pwg/intro-preface.xml:
Hm, ok, so the brackets weren't really useful...
* docs/pwg/other-ntoone.xml:
Fix embarassing typo.
2004-11-06 11:25:35 +00:00
Stéphane Loeuillet
c7f059097c
typo
...
Original commit message from CVS:
typo
2004-11-06 11:21:53 +00:00
Ronald S. Bultje
f634aba4d6
docs/pwg/intro-preface.xml: Rewrite preface.
...
Original commit message from CVS:
* docs/pwg/intro-preface.xml:
Rewrite preface.
2004-11-06 11:12:56 +00:00
Ronald S. Bultje
79b77446d8
docs/pwg/: Typo fixes.
...
Original commit message from CVS:
* docs/pwg/advanced-scheduling.xml:
* docs/pwg/advanced-tagging.xml:
* docs/pwg/advanced-types.xml:
* docs/pwg/building-boiler.xml:
* docs/pwg/building-chainfn.xml:
* docs/pwg/building-signals.xml:
* docs/pwg/building-state.xml:
* docs/pwg/building-testapp.xml:
* docs/pwg/intro-basics.xml:
* docs/pwg/other-manager.xml:
* docs/pwg/other-source.xml:
Typo fixes.
* docs/pwg/other-manager.xml:
Add some first content. No example code yet.
* gst/elements/gstfilesink.c: (gst_filesink_handle_event):
Remove double newlines.
2004-11-06 10:28:07 +00:00
Christophe Fergeau
a3bdc2c334
docs/random/signal: added notes about using BOXED for GstBuffer signal marshallers, not POINTER
...
Original commit message from CVS:
2004-11-03 Christophe Fergeau <teuf@gnome.org>
* docs/random/signal: added notes about using BOXED for GstBuffer
signal marshallers, not POINTER
2004-11-03 18:49:59 +00:00
Stefan Kost
e56b667c00
added some more docs, removed two obsolete defines
...
Original commit message from CVS:
added some more docs, removed two obsolete defines
2004-11-03 09:21:01 +00:00
Stefan Kost
99acdfdb49
exchanged GTK_ macros with G_TYPE macros (as pointed out by mathrick)
...
Original commit message from CVS:
exchanged GTK_ macros with G_TYPE macros (as pointed out by mathrick)
2004-10-22 15:40:29 +00:00
Thomas Vander Stichele
956e80719a
quote of the day
...
Original commit message from CVS:
quote of the day
2004-10-14 09:00:30 +00:00
Stefan Kost
e719825726
more api documentation better error signaling and logging
...
Original commit message from CVS:
more api documentation
better error signaling and logging
2004-10-13 13:03:25 +00:00
Stéphane Loeuillet
5184b2514d
add an entry for Sony ATRAC3 audio streams
...
Original commit message from CVS:
add an entry for Sony ATRAC3 audio streams
2004-10-06 13:57:17 +00:00
Stéphane Loeuillet
580d570f63
- fix the 4CC codes for the 2 old RealAudio codecs (14.4/28.8)
...
Original commit message from CVS:
- fix the 4CC codes for the 2 old RealAudio codecs (14.4/28.8)
- add element names for much mime/stream types that did not have one
2004-10-04 00:06:30 +00:00
Stéphane Loeuillet
0b5c602dab
update real (container, video stream, audio stream) entries update speex entry
...
Original commit message from CVS:
update real (container, video stream, audio stream) entries
update speex entry
2004-10-03 11:45:57 +00:00