René Stadler
4b79582925
basesrc: fix caps leak
2011-10-13 12:23:59 +02:00
Sebastian Dröge
e8d3870214
buffer: Use an inline function instead of a macro for gst_buffer_replace()
...
This gives us type checks by the compiler and more useful compiler errors.
2011-10-13 10:19:34 +02:00
Sebastian Dröge
ef32fd0d15
event: Use an inline function instead of a macro for gst_event_replace()
...
This gives us type checks by the compiler and more useful compiler errors.
2011-10-13 10:18:51 +02:00
Wim Taymans
72f3c7c7a3
Merge branch 'master' into 0.11
...
Conflicts:
gst/gstutils.c
libs/gst/base/gstbasesrc.c
2011-10-13 08:51:42 +02:00
Thiago Santos
a171e684ac
ghostpad: Do not unref the internal pad twice
...
g_value_unset should already unref the internal proxypad, no
need to do it again
2011-10-12 18:14:46 -03:00
Wim Taymans
cdd3c303f1
basesrc: properly adjust start time
...
When we do a non-flushing seek and closed the current segment,
make sure that we open the next segment from where we closed.
2011-10-12 17:17:53 +02:00
René Stadler
eab6465ba8
event: add transfer type for gst_event_new_caps argument
...
These annotations are useful to humans as well...
2011-10-12 14:37:31 +02:00
René Stadler
fdd115d8c3
capsfilter: fix caps leak
...
gst_event_new_caps does not steal a reference to the caps.
2011-10-12 14:34:24 +02:00
René Stadler
724d52300e
event: fix gst_event_new_segment transfer type
2011-10-12 13:31:48 +02:00
Edward Hervey
e60fa7cb48
tests: Fix more leaks
2011-10-11 13:54:45 +02:00
Edward Hervey
a21008ff2e
capsfilter: Don't leak caps
2011-10-11 13:53:39 +02:00
Edward Hervey
ece5909804
basetransform: Fix a caps leak and move a codeblock
...
The result from the block of code that was moved would only have
been used if 'peercaps' was present.
2011-10-11 13:51:54 +02:00
Edward Hervey
917bfc5df7
gst: More 'transfer' annotations
2011-10-11 13:51:37 +02:00
Tim-Philipp Müller
56e27b0546
utils: catch invalid instance sizes in gst_type_register_static_full()
...
Add guards to catch overly large instance sizes.
https://bugzilla.gnome.org/show_bug.cgi?id=660955
2011-10-10 19:41:33 +01:00
Tim-Philipp Müller
01c11ebf08
utils: remove gst_type_register_static_full()
...
It was only really used by GST_BOILERPLATE, and that is no more.
https://bugzilla.gnome.org/show_bug.cgi?id=660955
2011-10-10 19:30:34 +01:00
Thiago Santos
59319194b8
basesrc: avoid trying to alloc enormous buffer
...
If a class extending basesrc doesn't set blocksize, basesrc
would try to allocate a (guint)-1 sized buffer, which is enormous
and likely would fail.
Avoid it and error out.
2011-10-10 12:28:46 -03:00
Edward Hervey
1cb205b30f
porting: update
2011-10-10 17:17:37 +02:00
Edward Hervey
009bc19528
ghostpad: If we don't control a pad/template, return proper caps
...
If there's a filter, we can return that in _get_caps()
2011-10-10 17:04:39 +02:00
Edward Hervey
86656b44af
gstpad: Specify transfer full for gst_pad_get_caps()
...
It increments the reference count of the returned caps.
2011-10-10 16:55:19 +02:00
Edward Hervey
42fcb1175b
gstpad: Add debug to know what events are transferred between pads
2011-10-10 16:55:19 +02:00
Edward Hervey
2ba6017363
gstpad: Unset EOS event on FLUSH_STOP
2011-10-10 16:54:40 +02:00
Edward Hervey
a930f67697
gstpad: Don't ignore downstream FlowReturn with IDLE probes
...
If pushgin downstream returned a non-ok value (like GST_FLOW_WRONG_STATE),
we don't want to end up returning a different value (GST_FLOW_OK in this
case) if IDLE probes are present.
2011-10-10 16:53:32 +02:00
Wim Taymans
5a236e5e29
porting: update
2011-10-10 13:23:09 +02:00
Wim Taymans
4fb79f1d21
porting: update
2011-10-10 12:54:54 +02:00
Wim Taymans
3bb8bce133
porting: update
2011-10-10 12:38:35 +02:00
Wim Taymans
fa57e310fd
porting: update
2011-10-10 12:27:52 +02:00
Wim Taymans
01cddb5580
porting: update
2011-10-10 11:49:46 +02:00
Wim Taymans
f44b54ebc9
compat: add compat define for UNEXPECTED
2011-10-10 11:36:23 +02:00
Wim Taymans
ea012d3dd7
pad: GST_FLOW_UNEXPECTED -> GST_FLOW_EOS
2011-10-10 11:33:51 +02:00
Wim Taymans
756409b813
porting: update
2011-10-10 11:30:21 +02:00
Thiago Santos
6cfaeb7d4e
tests: tee: Remember to initialize variables to NULL
...
app_thread needs to be initialized to NULL, otherwise tests
will try to use it and crash
2011-10-09 12:03:22 -03:00
Tim-Philipp Müller
456b171b79
Update common for check-exports script changes
2011-10-08 20:56:59 +01:00
Tim-Philipp Müller
534e077c18
elementfactory: don't export private _gst_elementclass_factory quark
2011-10-08 20:46:55 +01:00
Tim-Philipp Müller
ac40ab45b3
info: make _gst_debug_init() private for now
...
This was a FIXME for 0.11. I guess a case could be made to keep it around
separately for apps or libraries that only want to use GStreamer's debugging
system, but it seems more likely they'd just copy the two source files into
their own tree if the case. Also, things like types wouldn't be initialised
without gst_init(). We can still make it public again if anyone needs it,
but then we should make it a proper function and not hide it behind
underscores.
2011-10-08 20:15:46 +01:00
Tim-Philipp Müller
21ec07eab0
Merge remote-tracking branch 'origin/master' into symbol-exports
2011-10-08 19:54:06 +01:00
Tim-Philipp Müller
01d87250a8
gstparse: prefix generated parser functions so they don't get exported
...
Don't export those 35-something random _gst_parse_yy* symbols. These were
never in any header files and also blacklisted from our .def files, in
case anyone wonders.
2011-10-08 14:34:04 +01:00
Tim-Philipp Müller
5df82c88c9
info: rename __gst_debug_* to _gst_debug_* and fix symbol export regexp
...
Only export GStreamer symbols with one leading underscore, not two
or more leading underscores.
Requires a rebuild of the entire stack, sorry.
2011-10-08 14:27:12 +01:00
Wim Taymans
8bab8b1e2b
porting: update doc
2011-10-08 15:16:59 +02:00
Wim Taymans
e10666a9d0
Merge branch 'master' into 0.11
2011-10-08 14:25:02 +02:00
Wim Taymans
2616401232
porting: update
2011-10-08 14:23:30 +02:00
Wim Taymans
be6ef190b3
porting: upate porting list
2011-10-08 12:08:49 +02:00
Wim Taymans
c57c1e9b59
info: port to 0.11
2011-10-08 09:41:54 +02:00
Wim Taymans
ee1f861ec1
Merge branch 'master' into 0.11
...
Conflicts:
gst/gstpad.c
2011-10-08 09:28:02 +02:00
Thiago Santos
52613b4d14
pipeline: Use pipeline category for one more log message
...
Makes debugging easier.
2011-10-07 13:36:38 -03:00
Robert Swain
138bb17bf9
GST_PTR_FORMAT: Add GstBuffer ptr format and use in GST_SCHEDULING
...
GstBuffer pointers can now be printed using GST_PTR_FORMAT. This is used
in the very useful GST_SCHEDULING debug logs in gstpad.c and allows for
easier and more information tracking of buffer progress through a
pipeline with just debug logging.
2011-10-07 16:38:52 +02:00
Tim-Philipp Müller
26b1496b15
tests: fix compiler warnings in sinks test
2011-10-07 13:55:18 +01:00
Tim-Philipp Müller
434e7042d8
base: make GstDataQueue private API for multiqueue
...
There's no code that uses it other than multiqueue, so make it private
to multiqueue for now. That way we can also do optimisations that
require API/ABI breaks. If anyone ever wants to use it, we can still
make it public again.
2011-10-07 13:54:37 +01:00
Wim Taymans
c6f005fef1
Merge branch 'master' into 0.11
2011-10-06 17:27:47 +02:00
Wim Taymans
93289c2a02
porting: update list
2011-10-06 17:26:02 +02:00
Mark Nauwelaerts
49bd7b40ca
baseparse: send duration message when updating internal duration
2011-10-06 14:47:54 +02:00