Commit graph

1505 commits

Author SHA1 Message Date
Wim Taymans
4a64884918 Fix 112596, gst_caps_is_always_compatible() broken
Original commit message from CVS:
Fix 112596, gst_caps_is_always_compatible() broken
2003-05-08 19:57:06 +00:00
Benjamin Otte
6c44f865e8 some minor improvements:
Original commit message from CVS:
some minor improvements:
- better debugging output
- don't set state to paused when plugging anymore
- bugfix: set typefind caps on srcpad, not sinkpad
- remove unnecessary check for right caps
2003-05-06 23:47:07 +00:00
Benjamin Otte
316124eb40 state need not be playing with new schedulers when adding/removing elements
Original commit message from CVS:
state need not be playing with new schedulers when adding/removing elements
2003-05-06 23:42:23 +00:00
Benjamin Otte
fe3861c2d3 do error checking for int/float values and don't accept trailing characters, but do accept overflows
Original commit message from CVS:
do error checking for int/float values and don't accept trailing characters, but do accept overflows
2003-05-06 22:58:04 +00:00
Wim Taymans
69787c811a Documentation updates
Original commit message from CVS:
Documentation updates
2003-05-06 22:10:29 +00:00
Benjamin Otte
05adc8c15c implement proper refcounting of pad's templates and references from real pads to their ghost pads and the other way a...
Original commit message from CVS:
implement proper refcounting of pad's templates and references from real pads to their ghost pads and the other way around - this fixes the segfaults in the player
2003-05-06 21:58:49 +00:00
Wim Taymans
1bdcd2e7b6 err... reset to desired version after doing a benchmark :)
Original commit message from CVS:
err... reset to desired version after doing a benchmark :)
2003-05-06 21:04:46 +00:00
Wim Taymans
1dc969236f - Explicitly set buffer fields to default values instead of using memset, this seems to speed up buffer allocation by...
Original commit message from CVS:
- Explicitly set buffer fields to default values instead of using memset,
this seems to speed up buffer allocation by at least 30%
2003-05-06 21:03:34 +00:00
Benjamin Otte
50351bc28d remove unnecessary check for registries - registry gets rebuilt automagically anyway
Original commit message from CVS:
remove unnecessary check for registries - registry gets rebuilt automagically anyway
2003-05-02 21:13:19 +00:00
Benjamin Otte
33ef3f7d4d make gst-launch --gst-mask=-1 fakesrc ! fakesink work on Solaris
Original commit message from CVS:
make gst-launch --gst-mask=-1 fakesrc ! fakesink work on Solaris
2003-05-02 20:07:45 +00:00
Benjamin Otte
cbe36c876b fix gcc 2.x compiler error, when variables aren't defined at the top.
Original commit message from CVS:
fix gcc 2.x compiler error, when variables aren't defined at the top.
2003-05-01 20:57:40 +00:00
Benjamin Otte
8bf9277aa3 unreachable code
Original commit message from CVS:
unreachable code
2003-05-01 20:16:14 +00:00
Benjamin Otte
ca0fb4bea5 fix for forte
Original commit message from CVS:
fix for forte
2003-05-01 16:54:09 +00:00
Benjamin Otte
c57955fc68 added GST_STR_NULL to check for NULL strings. Fixed a case where a char* given to printf was NULL to use that macro.
Original commit message from CVS:
added GST_STR_NULL to check for NULL strings. Fixed a case where a char* given to printf was NULL to use that macro.
2003-05-01 16:36:27 +00:00
Benjamin Otte
fe9a0a6d05 silence forte warnings
Original commit message from CVS:
silence forte warnings
2003-05-01 15:16:17 +00:00
David Schleef
38b667a0aa Disable MIPS, 'cuz it's broken.
Original commit message from CVS:
Disable MIPS, 'cuz it's broken.
2003-05-01 01:11:52 +00:00
Benjamin Otte
7524c49140 offsets may be negative (nobody ever seeked beackwards, hu?)
Original commit message from CVS:
offsets may be negative (nobody ever seeked beackwards, hu?)
2003-04-28 21:48:37 +00:00
Benjamin Otte
91d22b150d fix deadlock when thread itself goes PLAYING => PAUSED => PLAYING
Original commit message from CVS:
fix deadlock when thread itself goes PLAYING => PAUSED => PLAYING
2003-04-28 00:01:31 +00:00
Benjamin Otte
9837c9dbaa add extra error for empty pipeline
Original commit message from CVS:
add extra error for empty pipeline
2003-04-27 23:56:31 +00:00
Benjamin Otte
775fbca9a5 Make events use internal links, too
Original commit message from CVS:
Make events use internal links, too
2003-04-27 21:34:01 +00:00
Wim Taymans
a6766132e6 - remove some \n in GstThread debugging
Original commit message from CVS:
- remove some \n in GstThread debugging
- move the state change g_cond_signal to the set_state function to make
sure that we don't unlock the waiters before we completed the state
change.
2003-04-26 14:38:18 +00:00
Benjamin Otte
fa69e9954c fix debugging segfault
Original commit message from CVS:
fix debugging segfault
2003-04-26 13:55:13 +00:00
Benjamin Otte
a68e0b8324 fix and better comment gst_event_new_discontinuous. Nice memory leak there
Original commit message from CVS:
fix and better comment gst_event_new_discontinuous. Nice memory leak there
2003-04-26 01:54:01 +00:00
Benjamin Otte
8cebfd7528 I suck - it's the wrong variable and I don't get it for ages even while testing this code
Original commit message from CVS:
I suck - it's the wrong variable and I don't get it for ages even while testing this code
But while I was atit, I fixed it right this time (I hope)
2003-04-25 17:35:26 +00:00
Benjamin Otte
b04519c43d just to be sure...
Original commit message from CVS:
just to be sure...
2003-04-25 00:26:09 +00:00
Benjamin Otte
d02583b999 fix stupid segfault when setting integer properties
Original commit message from CVS:
fix stupid segfault when setting integer properties
2003-04-24 22:34:10 +00:00
Benjamin Otte
5d35141256 fix 2 warnings
Original commit message from CVS:
fix 2 warnings
2003-04-23 20:06:54 +00:00
Thomas Vander Stichele
582913dc84 make the user registry location major-minor versioned so it doesn't clash with older incompatible registries make gst...
Original commit message from CVS:
* make the user registry location major-minor versioned so it doesn't
clash with older incompatible registries
* make gst-register output the location of the registry it's writing
2003-04-23 19:59:38 +00:00
Benjamin Otte
313c399808 workaround for bison 1.35 bug
Original commit message from CVS:
workaround for bison 1.35 bug
2003-04-23 19:16:06 +00:00
Benjamin Otte
b7077cab18 make gst_thread_get_current() work with threaded cothreads
Original commit message from CVS:
make gst_thread_get_current() work with threaded cothreads
2003-04-21 18:37:13 +00:00
Benjamin Otte
fb14f53284 make that error message more useful, it kept confusing me
Original commit message from CVS:
make that error message more useful, it kept confusing me
2003-04-21 18:34:20 +00:00
Benjamin Otte
7f5dc1299b assorted fixes:
Original commit message from CVS:
assorted fixes:
- fix for #111146 (works now with lots of warnings (or maybe even without - the fun of races))
- more useful debugging output
- restructuring of when to release the lock
- emitting SHUTDOWN when holding lock so we're not destroyed while signalling
- probably something else I don't remember
2003-04-21 18:09:29 +00:00
Wim Taymans
22fa9810d6 GST_DEBUG/INFO doesn't need a \n at the end.
Original commit message from CVS:
GST_DEBUG/INFO doesn't need a \n at the end.
2003-04-19 11:52:07 +00:00
Wim Taymans
5af24ec4e5 - removed an assert, mmaping the stack of another thread seems to work fine.
Original commit message from CVS:
- removed an assert, mmaping the stack of another thread seems to work fine.
This makes the cothread based scheduler work again with the new GstThread.
2003-04-19 11:50:27 +00:00
Benjamin Otte
90dc6ded4d rewrite GstThread - should be quite a bit cleaner and does change state correctly now
Original commit message from CVS:
rewrite GstThread - should be quite a bit cleaner and does change state correctly now
2003-04-18 23:35:34 +00:00
Benjamin Otte
64a6a1d2bd - make child_state_change a virtual function
Original commit message from CVS:
- make child_state_change a virtual function
- remove unneeded != NULL checks
- implement gst_bin_sync_children_state
2003-04-18 23:34:21 +00:00
Benjamin Otte
78b4079072 make EOS really recursive and not just one layer deep
Original commit message from CVS:
make EOS really recursive and not just one layer deep
2003-04-18 23:31:18 +00:00
Wim Taymans
e1bfecf799 - Added a property to perform caps negotiation in the chain function instead of using proxied negotiation.
Original commit message from CVS:
- Added a property to perform caps negotiation in the chain function instead
of using proxied negotiation.
2003-04-17 22:31:32 +00:00
Wim Taymans
9811bb9aad Added a simple function gst_pad_recover_caps_error that a plugin should call from now on (instead of gst_element_erro...
Original commit message from CVS:
Added a simple function gst_pad_recover_caps_error that a plugin
should call from now on (instead of gst_element_error). This function
will emit a caps_nego_failed signal that the app can catch to resolve
the negotiation failure.
2003-04-17 22:29:31 +00:00
Wim Taymans
8365acd9b6 Transform variable properties too
Original commit message from CVS:
Transform variable properties too
2003-04-17 22:21:13 +00:00
Benjamin Otte
95b23e597d release lock before doing signal handling
Original commit message from CVS:
release lock before doing signal handling
2003-04-17 19:51:28 +00:00
Wim Taymans
fff499ea25 - don't be rude but give informative message about what went wrong.
Original commit message from CVS:
- don't be rude but give informative message about what went wrong.
2003-04-17 17:11:51 +00:00
Benjamin Otte
354e85056f another bugfix, i will never get used to using the retrun value of g_(s)list_prepend
Original commit message from CVS:
another bugfix, i will never get used to using the retrun value of g_(s)list_prepend
2003-04-17 14:52:38 +00:00
Benjamin Otte
30267f6a64 It's absolute fun if you don't find this. If an element claims a successful state change but did not actually change ...
Original commit message from CVS:
It's absolute fun if you don't find this. If an element claims a successful state change but did not actually change its state it is broken and the program deserves to crash. And hard. Can you hear I'm annoyed?
2003-04-17 13:52:41 +00:00
Colin Walters
900066617c Remove dummy signals, add full signal.
Original commit message from CVS:
Remove dummy signals, add full signal.
2003-04-17 09:19:34 +00:00
Benjamin Otte
45521ec77a bugfixing in pipeline parsing. Fixed the 2 pipelines that are now added to the testsuite
Original commit message from CVS:
bugfixing in pipeline parsing. Fixed the 2 pipelines that are now added to the testsuite
2003-04-16 21:37:35 +00:00
Benjamin Otte
b36a2350ba *_is_writeable => *_is_writable (spelling)
Original commit message from CVS:
*_is_writeable => *_is_writable (spelling)
2003-04-16 18:35:57 +00:00
Benjamin Otte
42efbe5648 change *_is_readonly to *_is_writeable. Hope the name stays now...
Original commit message from CVS:
change *_is_readonly to *_is_writeable. Hope the name stays now...
2003-04-15 21:33:08 +00:00
Benjamin Otte
ede90a27db remove left over _needs_copy_on_write
Original commit message from CVS:
remove left over _needs_copy_on_write
2003-04-15 19:22:05 +00:00
Benjamin Otte
3941b18ca9 remove left over GST_DATA_IS_READONLY
Original commit message from CVS:
remove left over GST_DATA_IS_READONLY
2003-04-15 19:16:51 +00:00