Commit graph

3205 commits

Author SHA1 Message Date
Benjamin Otte ff856af64a - clean bison- and flex-built files on make clean. (fixes #101421)
Original commit message from CVS:
- clean bison- and flex-built files on make clean. (fixes #101421)
- use CFLAGS that enable debugging symbols.
2003-04-08 21:48:27 +00:00
Benjamin Otte a03e803bb6 huge modifications, hope i didn't break something:
Original commit message from CVS:
huge modifications, hope i didn't break something:
- added functions for setting/getting locked state of elements. gst_element_lock_state syncs the pads state with the state of its parent.
- made all gst_element_link_* functions call gst_element_link_pads_filtered
- gst_element_link_pads_filtered now accepts NULL as a pad name.
- make sure the link functions are only called when the elements are paused
That's it.
2003-04-08 21:14:23 +00:00
Benjamin Otte 62d382149a pad linking only works when both elements are not playing
Original commit message from CVS:
pad linking only works when both elements are not playing
2003-04-08 21:07:46 +00:00
Benjamin Otte e57f527722 HOWTO for pipeline parsing & gst-launch added.
Original commit message from CVS:
HOWTO for pipeline parsing & gst-launch added.
Someone wants to make docbook out of it?
2003-04-08 21:03:04 +00:00
Benjamin Otte 55aa16f47c make typefinding work when the src provides caps. Fixes #93735
Original commit message from CVS:
make typefinding work when the src provides caps. Fixes #93735
2003-04-08 08:02:36 +00:00
Ronald S. Bultje d2499c35b3 Port some changes from 0.6.0/0.6.1 back to HEAD (.pc files moved to pkg-config/, .m4 file moved from plugins to core)
Original commit message from CVS:
Port some changes from 0.6.0/0.6.1 back to HEAD (.pc files moved to pkg-config/, .m4 file moved from plugins to core)
2003-04-07 21:28:57 +00:00
David Schleef 815fb8543b add printf format and args macros for FOURCCs
Original commit message from CVS:
add printf format and args macros for FOURCCs
2003-04-07 20:11:38 +00:00
Benjamin Otte c56b13bd2b work around popt bug
Original commit message from CVS:
work around popt bug
2003-04-04 20:33:05 +00:00
Benjamin Otte 6ddd676a02 ok, this is my nomination for idiot of the week
Original commit message from CVS:
ok, this is my nomination for idiot of the week
2003-04-04 19:52:46 +00:00
Wim Taymans 5506241cf3 Fix #109350, aplied patch from Peter N. Lundblad.
Original commit message from CVS:
Fix #109350, aplied patch from Peter N. Lundblad.
2003-04-04 19:12:58 +00:00
David Schleef 480dfe3198 Add $(GST_LIBS) to libgstcontrol's LIBADD. Should go into 0.6.1.
Original commit message from CVS:
Add $(GST_LIBS) to libgstcontrol's LIBADD.  Should go into 0.6.1.
2003-04-04 19:09:29 +00:00
Benjamin Otte afe37388cb remove old workaround for older popt version.
Original commit message from CVS:
remove old workaround for older popt version.
2003-04-04 17:37:19 +00:00
Benjamin Otte 95b078ac08 many changes to startup handling:
Original commit message from CVS:
many changes to startup handling:
- make gst_init_with_popt_table work like gst_init - exit program on failure, return void
- add gst_init_check_with_popt_table to be the same as gst_init_with_popt_table before - work the same as gst_init_check
- revert an old workaround and apply the proper fix
- do not use g_error to exit the application, g_error causes a segfault. Use exit.
2003-04-04 16:29:37 +00:00
Benjamin Otte 42b3e8c7f1 documentation changes (thx Ross)
Original commit message from CVS:
documentation changes (thx Ross)
2003-03-30 18:30:07 +00:00
Martin Schulze df2f947370 gst/gstelementfactory.c: Add "g_free (dp->license)" in gst_element_details_free().
Original commit message from CVS:
2003-03-29  Martin Schulze  <MHL.Schulze@t-online.de>

* gst/gstelementfactory.c: Add "g_free (dp->license)" in
gst_element_details_free().
* gst/gstevent.[ch]: Add function gst_event_get_type() to
support c++ language binding. Make macros gst_event_ref[_by_count]
return a GstEvent* instead of a GstData*.
* gst/gstbuffer.[ch]: Add functions gst_buffer[_pool]_get_type()
to support c++ language binding.
2003-03-29 11:58:15 +00:00
Wim Taymans f6d654aad5 Remove redundant _clock_set
Original commit message from CVS:
Remove redundant _clock_set
2003-03-28 17:36:22 +00:00
Wim Taymans 63db8dfb67 - enable chain if an active group is added to it
Original commit message from CVS:
- enable chain if an active group is added to it
- enable group if a PLAYING element is added to it
2003-03-28 17:29:57 +00:00
Benjamin Otte fec6a61298 cleanup: remove writer/reader booleans, just signal everytime bugfix: signal not_full after flush (Martin Janzen)
Original commit message from CVS:
cleanup: remove writer/reader booleans, just signal everytime
bugfix: signal not_full after flush (Martin Janzen)
2003-03-27 03:16:08 +00:00
Wim Taymans 729bbc9c0a Added some extra debugging info
Original commit message from CVS:
Added some extra debugging info
2003-03-25 19:42:19 +00:00
Wim Taymans 6a39d8ccb2 - Added dir to hold state change related testsuites
Original commit message from CVS:
- Added dir to hold state change related testsuites
- Added _LOCKED_STATE test
2003-03-25 19:41:23 +00:00
Wim Taymans 1123103926 - Added _LOCKED_STATE element flag
Original commit message from CVS:
- Added _LOCKED_STATE element flag
- parent bin does not perform state changes on _LOCKED_STATE elements
2003-03-25 19:39:18 +00:00
Wim Taymans 5b91593b0e Set initial flags on various scheduler structures
Original commit message from CVS:
Set initial flags on various scheduler structures
2003-03-25 19:34:30 +00:00
Benjamin Otte e2c19765d9 fix memory leaks and unlock a mutex earlier
Original commit message from CVS:
fix memory leaks and unlock a mutex earlier
This is a 0.6 branch candidate, btw
2003-03-21 20:53:26 +00:00
Benjamin Otte d5caf284b3 - added support for _reset so PLAYING -> READY -> PLAYING can easily be done without destroying a bytestream first
Original commit message from CVS:
- added support for _reset so PLAYING -> READY -> PLAYING can easily be done without destroying a bytestream first
- minor performace improvement on data request (hope it doesn't break anything - if it does revert the changes to gst_bytestream_peek_bytes
2003-03-19 21:16:04 +00:00
Benjamin Otte 38a25af608 bugfi^H^Hworkaround: only send eos to unconnected elements - fixes new mikmod
Original commit message from CVS:
bugfi^H^Hworkaround: only send eos to unconnected elements - fixes new mikmod
2003-03-18 00:39:34 +00:00
Christian Schaller 63bba6f096 add gthread scheduler to spec file
Original commit message from CVS:
add gthread scheduler to spec file
2003-03-16 22:08:13 +00:00
Christian Meyer dabb6637bd Fixed bug #108514.
Original commit message from CVS:
Fixed bug #108514.
2003-03-16 20:06:02 +00:00
Benjamin Otte 17b8c5d004 added new function gst_event_has_new_media
Original commit message from CVS:
added new function gst_event_has_new_media
2003-03-16 18:29:45 +00:00
Wim Taymans 0b3a5d14db - Slight reorganisation of functions that should be disabled
Original commit message from CVS:
- Slight reorganisation of functions that should be disabled
- make sure _gst_debug_register_funcptr is #ifdeffed out when DEBUGGING is
disabled.

This should fix 106047. Please retest.
2003-03-14 18:31:47 +00:00
Benjamin Otte 981f6185c5 debugging session with wim
Original commit message from CVS:
debugging session with wim
2003-03-13 23:59:36 +00:00
Wim Taymans 4e44ab15b5 - fix unlink between decoupled elements
Original commit message from CVS:
- fix unlink between decoupled elements
- clear the entry point of a group when we remove the element
- fix a potential problem in _merge_groups that could be triggered when
someone is holding an extra refcount to the group.
2003-03-13 18:46:21 +00:00
Benjamin Otte 35391c0907 mutexes want to be free, too
Original commit message from CVS:
mutexes want to be free, too
2003-03-12 21:55:09 +00:00
Wim Taymans 678ea8bbbb Fix optimal scheduler with cothreads
Original commit message from CVS:
Fix optimal scheduler with cothreads
2003-03-11 23:26:18 +00:00
Benjamin Otte 0f2a63a169 Fix bug when joining threads.
Original commit message from CVS:
Fix bug when joining threads.
2003-03-11 21:37:36 +00:00
Benjamin Otte c3ebe159bd added (hopefully) compatible cothreads emulation by using GThreads.
Original commit message from CVS:
added (hopefully) compatible cothreads emulation by using GThreads.
use '--gst-scheduler=basicgthread' to try it out
includes bugfix for opt to call do_cothreads_init when using threads
2003-03-11 21:01:31 +00:00
Brian Cameron 02a6f7ffa8 Now support ISO-style variable-argument macros, which is more portable than the gcc-specific variable-argument style ...
Original commit message from CVS:
Now support ISO-style variable-argument macros, which is more portable than
the gcc-specific variable-argument style of macros.
2003-03-11 16:46:58 +00:00
Wim Taymans d5d8691718 Added scheduler refcount test
Original commit message from CVS:
Added scheduler refcount test
2003-03-10 20:38:22 +00:00
Wim Taymans aab288b33e Never take away the group from a loop based element
Original commit message from CVS:
Never take away the group from a loop based element
2003-03-04 20:55:25 +00:00
Wim Taymans a82c7a7572 Better capsnego
Original commit message from CVS:
Better capsnego
2003-03-02 14:00:11 +00:00
Wim Taymans efaef0379d Also set the pad filter when proxy negotiating
Original commit message from CVS:
Also set the pad filter when proxy negotiating
2003-03-02 13:59:46 +00:00
Wim Taymans 5bda977d93 Fix the get_wrapper to handle the case where the peer group is disabled
Original commit message from CVS:
Fix the get_wrapper to handle the case where the peer group is disabled
2003-02-28 23:14:50 +00:00
Wim Taymans f006787228 Stupid bug, always use the runqueue to start scheduling things.
Original commit message from CVS:
Stupid bug, always use the runqueue to start scheduling things.
2003-02-28 17:50:04 +00:00
Wim Taymans 777cae1b0b Schedule next chain on interrupt
Original commit message from CVS:
Schedule next chain on interrupt
2003-02-27 23:47:40 +00:00
Wim Taymans 71775c37e3 - More refcounting fixes that now sustain abuse from spider, key is to be careful when iterating over a list when our...
Original commit message from CVS:
- More refcounting fixes that now sustain abuse from spider, key is to be
careful when iterating over a list when our current pointer could be
removed.
2003-02-27 23:07:30 +00:00
Wim Taymans e44d5c1d4a Removed an assert that will not hold when the chain currently executing was merged into another one.
Original commit message from CVS:
Removed an assert that will not hold when the chain currently executing
was merged into another one.
2003-02-27 21:23:39 +00:00
Wim Taymans ed085dd930 Added test for dynamic reconfiguration of pipelines triggered by padprobes
Original commit message from CVS:
Added test for dynamic reconfiguration of pipelines triggered by padprobes
2003-02-27 21:07:31 +00:00
Wim Taymans ecb6dd6c6a so it's no big thing.
Original commit message from CVS:
- API change in padprobes, nobody uses this yet (or could), so it's no big
thing.
2003-02-27 18:56:30 +00:00
Wim Taymans 2b3c56c4d1 print refcount in _show
Original commit message from CVS:
print refcount in _show
2003-02-27 18:29:07 +00:00
Wim Taymans 91d33d766a Added refcounting to the optimal scheduler to guard against modifications during iterations
Original commit message from CVS:
Added refcounting to the optimal scheduler to guard against modifications
during iterations
2003-02-27 18:21:34 +00:00
Wim Taymans ddd3265b11 Add refcounting around _iterate to guard against unreffing in scheduling callbacks or other nastyties
Original commit message from CVS:
Add refcounting around _iterate to guard against unreffing in scheduling
callbacks or other nastyties
2003-02-27 18:18:32 +00:00