Wim Taymans
7afb834917
removed namespace code again, it was not needed :)
...
Original commit message from CVS:
removed namespace code again, it was not needed :)
2003-06-09 13:14:35 +00:00
Thomas Vander Stichele
a2d4f04d97
fix object loaded signal
...
Original commit message from CVS:
fix object loaded signal
2003-06-09 12:40:42 +00:00
Wim Taymans
f6de672b86
added new method and type to add namespaces to xml files. No actual code is implemented yet.
...
Original commit message from CVS:
added new method and type to add namespaces to xml files. No actual
code is implemented yet.
2003-06-09 12:28:06 +00:00
Thomas Vander Stichele
31d75cf682
don't recursively call gst_bin_set_state on failure don't do unnecessary state changes
...
Original commit message from CVS:
don't recursively call gst_bin_set_state on failure
don't do unnecessary state changes
2003-06-07 22:39:11 +00:00
Thomas Vander Stichele
c349a582b4
fix color for NULL from bright white to blue
...
Original commit message from CVS:
fix color for NULL from bright white to blue
2003-06-07 16:24:25 +00:00
Wim Taymans
61a4a6389f
try to fix #114252
...
Original commit message from CVS:
try to fix #114252
2003-06-07 11:36:42 +00:00
Ronald S. Bultje
e3cfc0c701
Actually, size should be a guint (because GST_BUFFER_SIZE(buffer) is a guint too)
...
Original commit message from CVS:
Actually, size should be a guint (because GST_BUFFER_SIZE(buffer) is a guint too)
2003-06-07 09:37:16 +00:00
Ronald S. Bultje
63bc38c519
Make filesink fail with some grace, see #114614
...
Original commit message from CVS:
Make filesink fail with some grace, see #114614
2003-06-07 09:35:37 +00:00
Ronald S. Bultje
1c17e4700b
Get rid of NEW_MEDIA event, EOS is supposed to handle that
...
Original commit message from CVS:
Get rid of NEW_MEDIA event, EOS is supposed to handle that
2003-06-07 00:15:18 +00:00
Ronald S. Bultje
fdba81e0fa
Some adjustments to allow for setting a new filename after EOS, useful for writing multiple files
...
Original commit message from CVS:
Some adjustments to allow for setting a new filename after EOS, useful for writing multiple files
2003-06-06 23:48:04 +00:00
Thomas Vander Stichele
04471c9cdd
fix format test
...
Original commit message from CVS:
fix format test
2003-06-05 22:01:13 +00:00
Thomas Vander Stichele
96a354d4a7
make functions static taaz patch
...
Original commit message from CVS:
make functions static
taaz patch
2003-06-05 21:33:03 +00:00
Wim Taymans
e5dc4ede3a
- marked piece of wrong code in the state change function with a FIXME
...
Original commit message from CVS:
- marked piece of wrong code in the state change function with a FIXME
2003-06-03 21:53:15 +00:00
Wim Taymans
0b1607785b
- added GST_ELEMENT_ERROR flag to mark elements in error and to trap and avoid recursive error loops.
...
Original commit message from CVS:
- added GST_ELEMENT_ERROR flag to mark elements in error and to trap and
avoid recursive error loops.
- moved state change signal back to original place as it causes lockups.
2003-06-03 21:18:39 +00:00
Wim Taymans
a913f1fbc0
- added a property to force a failure for a given state transition.
...
Original commit message from CVS:
- added a property to force a failure for a given state transition.
2003-06-03 20:22:52 +00:00
Ronald S. Bultje
2ddc5c4974
I don't know how I ever got to introducing this madness, but I was wrong. *REALLY* wrong. It hasn't even worked, it s...
...
Original commit message from CVS:
I don't know how I ever got to introducing this madness, but I was wrong. *REALLY* wrong. It hasn't even worked, it still doesn't work and it will never work because the whole concept of doing a multifile output in filesink is completely braindead. Signal EOS, close file, set new filename and reset to PLAYING is so much easier. This patch removes all the multifile output cruft that I introduced and makes filesink simply work.
2003-06-01 12:27:39 +00:00
Colin Walters
e5872bf925
Add new --enable-fast-stack-trash option, defaults to on.
...
Original commit message from CVS:
Add new --enable-fast-stack-trash option, defaults to on.
We need this because valgrind doesn't implement an insn used
by it.
2003-05-31 09:51:28 +00:00
Colin Walters
28fbd2e87b
Add --gst-disable-cpu-opt argument.
...
Original commit message from CVS:
Add --gst-disable-cpu-opt argument.
2003-05-31 02:04:59 +00:00
Ronald S. Bultje
ed086d5f79
see #108268 - kudos go to janzen@pixelmetrix.com
...
Original commit message from CVS:
Add patch for better buffering (especially useful for network streaming), see #108268 - kudos go to janzen@pixelmetrix.com
2003-05-30 23:20:02 +00:00
Wim Taymans
a7b3634ddd
- the result from the getcaps function should be sunken (gst_caps_sink) instead of unreffed. Not sure that's the righ...
...
Original commit message from CVS:
- the result from the getcaps function should be sunken (gst_caps_sink)
instead of unreffed. Not sure that's the right thing to do...
2003-05-30 13:36:04 +00:00
David Schleef
808c52f535
gst_caps_to_string: print NULL caps correctly
...
Original commit message from CVS:
gst_caps_to_string: print NULL caps correctly
2003-05-30 03:02:38 +00:00
Thomas Vander Stichele
e05cab4b4c
help us debug caps ref issues
...
Original commit message from CVS:
help us debug caps ref issues
2003-05-29 17:24:03 +00:00
Ronald S. Bultje
e46a8e3add
GstCaps is not a GObject but a boxed-type
...
Original commit message from CVS:
GstCaps is not a GObject but a boxed-type
2003-05-29 09:31:51 +00:00
Ronald S. Bultje
12d80b1964
Fix type definition bug plus missing argument for callback
...
Original commit message from CVS:
Fix type definition bug plus missing argument for callback
2003-05-26 06:15:27 +00:00
Wim Taymans
a4df733d52
only update the DURATION field when appending buffers and both buffers have a valid duration.
...
Original commit message from CVS:
only update the DURATION field when appending buffers and both buffers
have a valid duration.
2003-05-24 11:04:57 +00:00
Wim Taymans
a4f13fb2be
- moved functionality of GST_FORMAT_UNITS to GST_FORMAT_DEFAULT, the old _DEFAULT functionality was ambigous; now the...
...
Original commit message from CVS:
- moved functionality of GST_FORMAT_UNITS to GST_FORMAT_DEFAULT, the old
_DEFAULT functionality was ambigous; now the _DEFAULT format is media
specific (frames for video, samples for audio, ...)
2003-05-24 10:30:37 +00:00
Wim Taymans
6ab1630c40
- First attempt at implementing #113180 , this one also removes automatic (byte) offset calculations in the subbuffer ...
...
Original commit message from CVS:
- First attempt at implementing #113180 , this one also removes
automatic (byte) offset calculations in the subbuffer code and moves
that logic to bytestream and filesrc. It will also update the offset
and duration fields in some special cases.
2003-05-24 10:09:39 +00:00
David Schleef
c4e27d225a
Fix aliasing problems noticed by gcc-3.3. Suggests that we need to change gst_pad_{push|pull}() to GstData *. (and ...
...
Original commit message from CVS:
Fix aliasing problems noticed by gcc-3.3. Suggests that we need to
change gst_pad_{push|pull}() to GstData *. (and probably others)
2003-05-22 00:05:57 +00:00
David Schleef
484c536ba9
Remove (incorrect) cast on gst_buffer_is_writable()
...
Original commit message from CVS:
Remove (incorrect) cast on gst_buffer_is_writable()
2003-05-20 22:05:28 +00:00
David Schleef
23823201b3
Fix _second_ sparc asm. Who would have guessed there would be two?
...
Original commit message from CVS:
Fix _second_ sparc asm. Who would have guessed there would be two?
2003-05-19 21:45:37 +00:00
David Schleef
e0859eb74a
Fix sparc asm code for gcc prior to 3.2
...
Original commit message from CVS:
Fix sparc asm code for gcc prior to 3.2
2003-05-19 21:04:53 +00:00
Ronald S. Bultje
4f5c06b34a
Weird C code fix
...
Original commit message from CVS:
Weird C code fix
2003-05-19 18:01:42 +00:00
David Schleef
906329ab04
Fix caps negotiation problems.
...
Original commit message from CVS:
Fix caps negotiation problems.
2003-05-19 02:36:01 +00:00
David Schleef
214c557a6d
Change GST_DEBUG_FUNCPTR() to return a pointer of the same type that it is called with. Fix lots of warnings due to ...
...
Original commit message from CVS:
Change GST_DEBUG_FUNCPTR() to return a pointer of the same type that it
is called with. Fix lots of warnings due to change.
2003-05-18 23:34:12 +00:00
Thomas Vander Stichele
6cf83f6d8b
applying http://bugzilla.gnome.org/show_bug.cgi?id=110707 patch, should fix testsuite issues
...
Original commit message from CVS:
applying
http://bugzilla.gnome.org/show_bug.cgi?id=110707
patch, should fix testsuite issues
2003-05-18 22:59:51 +00:00
David Schleef
6b42d9aca7
Change uint to guint
...
Original commit message from CVS:
Change uint to guint
2003-05-18 22:45:27 +00:00
David Schleef
d2e2686411
Fix aliasing warning from gcc-3.3
...
Original commit message from CVS:
Fix aliasing warning from gcc-3.3
2003-05-18 22:44:11 +00:00
David Schleef
ac8e84fb8e
change from sscanf to strtol
...
Original commit message from CVS:
change from sscanf to strtol
2003-05-18 22:41:25 +00:00
Thomas Vander Stichele
5b97f4ce2b
oops
...
Original commit message from CVS:
oops
2003-05-18 16:28:15 +00:00
Thomas Vander Stichele
bdea7633cd
a bunch of gtk-doc fixes
...
Original commit message from CVS:
a bunch of gtk-doc fixes
2003-05-18 15:03:34 +00:00
Benjamin Otte
c51366dc49
fix wrong caps refcount handling of filtered caps in cornercases.
...
Original commit message from CVS:
fix wrong caps refcount handling of filtered caps in cornercases.
2003-05-18 03:22:04 +00:00
Benjamin Otte
42f3a63586
remove _destroy functions from public headers and make them static.
...
Original commit message from CVS:
remove _destroy functions from public headers and make them static.
2003-05-18 02:42:19 +00:00
Benjamin Otte
012cb2cb6f
make the parser accept chained caps, too
...
Original commit message from CVS:
make the parser accept chained caps, too
2003-05-18 02:30:00 +00:00
Thomas Vander Stichele
439b5101ba
clock debug addition
...
Original commit message from CVS:
clock debug addition
2003-05-17 23:08:40 +00:00
Benjamin Otte
a960c7a7a3
This is filtered caps in 20 lines. Implemented full featured parsing of pipelines with filtered caps. To get a grip o...
...
Original commit message from CVS:
This is filtered caps in 20 lines. Implemented full featured parsing of pipelines with filtered caps. To get a grip of the syntax you might want to look at testsuite/caps/string-conversions.c or run that test
2003-05-17 20:45:06 +00:00
Benjamin Otte
4471a7e84d
only set state to playing when elements are linked - don't pause in SOMETIMES callback
...
Original commit message from CVS:
only set state to playing when elements are linked - don't pause in SOMETIMES callback
2003-05-17 17:08:58 +00:00
Benjamin Otte
63c6869123
fix wrong debug message to print the right thing
...
Original commit message from CVS:
fix wrong debug message to print the right thing
2003-05-17 15:55:23 +00:00
Ronald S. Bultje
9c4c70d69e
Add unistd.h ( #110671 )
...
Original commit message from CVS:
Add unistd.h (#110671 )
2003-05-17 13:10:00 +00:00
Benjamin Otte
f13198c52b
added gst_{props,caps}_{from,to}_string to API, see documentation for use, put errors into testsuite/caps/string-conv...
...
Original commit message from CVS:
added gst_{props,caps}_{from,to}_string to API, see documentation for use, put errors into testsuite/caps/string-conversions.c
2003-05-17 00:47:01 +00:00
Benjamin Otte
75ec036895
ref pool before creating buffer that's using it
...
Original commit message from CVS:
ref pool before creating buffer that's using it
2003-05-17 00:42:57 +00:00
Ronald S. Bultje
8777f9a763
make -> shell variable
...
Original commit message from CVS:
make -> shell variable
2003-05-16 06:33:36 +00:00
Thomas Vander Stichele
2565248558
gtk-doc fixes clock debug
...
Original commit message from CVS:
gtk-doc fixes
clock debug
2003-05-15 22:46:37 +00:00
Benjamin Otte
22c2af5de1
Fix macro GST_FOURCC_ARGS - it assumed big endian ints
...
Original commit message from CVS:
Fix macro GST_FOURCC_ARGS - it assumed big endian ints
2003-05-13 23:15:46 +00:00
David Schleef
dda34273e0
Added GST_CAT_APPLICATION. Fixes #111009
...
Original commit message from CVS:
Added GST_CAT_APPLICATION. Fixes #111009
2003-05-13 06:48:49 +00:00
David Schleef
376ec32dce
Fix bug in PRINT() macro
...
Original commit message from CVS:
Fix bug in PRINT() macro
2003-05-13 05:47:04 +00:00
James A Morrison
34e5211a15
fix sparc atomic functions.
...
Original commit message from CVS:
Patch from James A Morrison <ja2morri@student.math.uwaterloo.ca> to
fix sparc atomic functions.
2003-05-12 23:20:55 +00:00
Wim Taymans
f4845c186c
Make sure the FIXED flag is computed correctly when normalizing a GstProps.
...
Original commit message from CVS:
Make sure the FIXED flag is computed correctly when normalizing a GstProps.
2003-05-10 18:09:48 +00:00
Benjamin Otte
e8bc3500f3
SysClocks need their own mutex/cond pair, as we have multiple (via subclasses). Use a static mutex for setting THE sy...
...
Original commit message from CVS:
SysClocks need their own mutex/cond pair, as we have multiple (via subclasses). Use a static mutex for setting THE system clock
2003-05-10 14:38:48 +00:00
Benjamin Otte
b74e6f24f2
enable allocation tracing for GstObjects and make allocation tracing a configure switch (enable by default for now)
...
Original commit message from CVS:
enable allocation tracing for GstObjects and make allocation tracing a configure switch (enable by default for now)
2003-05-10 12:42:02 +00:00
Wim Taymans
b41c935ff7
Use GstMemChunk to allocate events
...
Original commit message from CVS:
Use GstMemChunk to allocate events
2003-05-10 12:15:58 +00:00
Benjamin Otte
76b9ffbdbc
bugfixes:
...
Original commit message from CVS:
bugfixes:
- allow disposal of subclasses of GstSystemClock
- only create one system clock
2003-05-10 11:11:29 +00:00
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