platform/upstream/gstreamer.git
13 years agobuffer: improve size handling
Wim Taymans [Tue, 12 Jul 2011 11:40:35 +0000 (13:40 +0200)]
buffer: improve size handling

Also handle the case where multiple empty memory blocks are in the buffer.
Add unit test for this.

13 years agobuffer: fix _resize some more
Wim Taymans [Tue, 12 Jul 2011 10:00:58 +0000 (12:00 +0200)]
buffer: fix _resize some more

Add more debug.
Alow resize to 0 bytes.
Do clipping correctly.
Add more unit tests. Also add a failing test: when we resize to 0 and then
try to resize back to the original size it fails because the memory was
removed.

13 years agobuffer: fix negative offsets some more
Wim Taymans [Mon, 11 Jul 2011 16:00:52 +0000 (18:00 +0200)]
buffer: fix negative offsets some more

Allow for negative offsets when doing memory copy and share.
Add fast path in the _get_sizes() function.
Fix resize for negative offset and expanding the buffer.
Add some unit tests.

13 years agodefs: add defs for new methods
Wim Taymans [Mon, 11 Jul 2011 14:43:33 +0000 (16:43 +0200)]
defs: add defs for new methods

13 years agobuffer: fix _resize better
Wim Taymans [Mon, 11 Jul 2011 14:42:56 +0000 (16:42 +0200)]
buffer: fix _resize better

13 years agobuffer: add api to get the current memory offset
Wim Taymans [Mon, 11 Jul 2011 14:17:57 +0000 (16:17 +0200)]
buffer: add api to get the current memory offset

Also return the offset in a GstMemory block with the get_sizes() method. This
allows us to figure out how much prefix there is unused.
Change the resize function so that a negative offset can be given. This would
make it possible to resize the buffer so that the prefix becomes available.
Add gst_buffer_get_sizes() to return the offset and maxsize as well as the size.
Also change the buffer resize method so that we can specify a negative offset
to remove prefix bytes.

13 years agobuffer: add some memory wrapped buffer allocation helpers
Mark Nauwelaerts [Mon, 11 Jul 2011 12:40:07 +0000 (14:40 +0200)]
buffer: add some memory wrapped buffer allocation helpers

13 years agominiobject: cleanup headers
Wim Taymans [Mon, 11 Jul 2011 10:11:13 +0000 (12:11 +0200)]
miniobject: cleanup headers

13 years agobaseparse: eat incoming caps event
Mark Nauwelaerts [Mon, 11 Jul 2011 09:40:08 +0000 (11:40 +0200)]
baseparse: eat incoming caps event

... as it is typically up to baseclass to set proper src caps.

13 years agopad: avoid inadvertently dropping an event
Mark Nauwelaerts [Mon, 11 Jul 2011 09:37:28 +0000 (11:37 +0200)]
pad: avoid inadvertently dropping an event

... particularly a non-sticky serialized event that happens to pass
when an event update is pending.

13 years agowin32: add new API to .def file
Tim-Philipp Müller [Fri, 8 Jul 2011 15:07:12 +0000 (16:07 +0100)]
win32: add new API to .def file

13 years agobuffer: make idx argument to gst_buffer_take_memory() signed
Tim-Philipp Müller [Wed, 6 Jul 2011 14:13:30 +0000 (15:13 +0100)]
buffer: make idx argument to gst_buffer_take_memory() signed

Since -1 is acceptable, it should be signed.

13 years agobasesrc: fix after merge
Wim Taymans [Thu, 7 Jul 2011 09:14:34 +0000 (11:14 +0200)]
basesrc: fix after merge

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 7 Jul 2011 09:13:19 +0000 (11:13 +0200)]
Merge branch 'master' into 0.11

Conflicts:
libs/gst/base/gstbasesrc.c

13 years agobuffer: add memset function
Wim Taymans [Wed, 6 Jul 2011 14:08:56 +0000 (16:08 +0200)]
buffer: add memset function

13 years agobuffer: fix guards for gst_buffer_take_memory()
Tim-Philipp Müller [Wed, 6 Jul 2011 11:09:28 +0000 (12:09 +0100)]
buffer: fix guards for gst_buffer_take_memory()

Since idx = -1 makes it default to idx=len, len is also
a valid input idx.

13 years agogst: add class ref/unref
Wim Taymans [Tue, 5 Jul 2011 14:38:06 +0000 (16:38 +0200)]
gst: add class ref/unref

13 years agotest: disable failing unit tests
Wim Taymans [Tue, 5 Jul 2011 14:32:45 +0000 (16:32 +0200)]
test: disable failing unit tests

Disable unit tests that are failing until someone ports this to 0.11

13 years agoqueue: fix unit test
Wim Taymans [Tue, 5 Jul 2011 14:20:03 +0000 (16:20 +0200)]
queue: fix unit test

Set the right position member in the segment event.
Add some debug to queue.

13 years agogst: make compiler warn about unstable API if GST_USE_UNSTABLE_API is not defined
Tim-Philipp Müller [Mon, 4 Jul 2011 23:10:26 +0000 (00:10 +0100)]
gst: make compiler warn about unstable API if GST_USE_UNSTABLE_API is not defined

And define it in our own build.

13 years agowin32: update .def files for latest API changes/additions
Tim-Philipp Müller [Mon, 4 Jul 2011 23:12:13 +0000 (00:12 +0100)]
win32: update .def files for latest API changes/additions

13 years agobasesrc: do not sneakily mess with current offset when updating length
Mark Nauwelaerts [Thu, 30 Jun 2011 15:39:37 +0000 (17:39 +0200)]
basesrc: do not sneakily mess with current offset when updating length

13 years agobasesrc: unref allocation query when no longer needed
Mark Nauwelaerts [Tue, 28 Jun 2011 20:18:46 +0000 (22:18 +0200)]
basesrc: unref allocation query when no longer needed

13 years agoinputselector: avoid iterating over a single NULL pad
Mark Nauwelaerts [Tue, 28 Jun 2011 17:01:57 +0000 (19:01 +0200)]
inputselector: avoid iterating over a single NULL pad

13 years agoRemove GstImplementsInterface
Tim-Philipp Müller [Mon, 20 Jun 2011 22:28:07 +0000 (23:28 +0100)]
Remove GstImplementsInterface

It was a bit too clever, and didn't really work as an API,
confusing people to no end. Better implement specific methods
whether an interface is usable/available/ready on the interface
itself, or even add GError arguments, rather than try to have
per-instance interfaces.

13 years agotask: Check for PR_SET_NAME before using
Emmanuel Pacaud [Sat, 25 Jun 2011 20:51:52 +0000 (13:51 -0700)]
task: Check for PR_SET_NAME before using

Fixes: #653172.

Signed-off-by: David Schleef <ds@schleef.org>
13 years agoAutomatic update of common submodule
David Schleef [Thu, 23 Jun 2011 18:27:52 +0000 (11:27 -0700)]
Automatic update of common submodule

From 69b981f to 605cd9a

13 years agoquery: add method to check for metadata
Wim Taymans [Thu, 23 Jun 2011 16:03:22 +0000 (18:03 +0200)]
query: add method to check for metadata

Add a method to check if a certain metadata is supported in the ALLOCATION
query.

13 years agodocs: update design docs a little
Wim Taymans [Wed, 22 Jun 2011 16:07:18 +0000 (18:07 +0200)]
docs: update design docs a little

Update the design doc with the current state of the videometadata.

13 years agotee: use & instead of && for masking bits
Koop Mast [Wed, 22 Jun 2011 15:12:34 +0000 (17:12 +0200)]
tee: use & instead of && for masking bits

See #653137

13 years agobasetransform: remove redundant ()
Koop Mast [Wed, 22 Jun 2011 15:09:52 +0000 (17:09 +0200)]
basetransform: remove redundant ()

See #653137

13 years agobaseparse: fix seekstop
Koop Mast [Wed, 22 Jun 2011 15:05:27 +0000 (17:05 +0200)]
baseparse: fix seekstop

See #653137

13 years agosegment: cast to right type
Koop Mast [Wed, 22 Jun 2011 14:58:53 +0000 (16:58 +0200)]
segment: cast to right type

See #653137

13 years agouri: remove some _full variants
Wim Taymans [Wed, 22 Jun 2011 14:38:04 +0000 (16:38 +0200)]
uri: remove some _full variants

13 years agotags: Remove crazy tag messages
Wim Taymans [Wed, 22 Jun 2011 14:16:56 +0000 (16:16 +0200)]
tags: Remove crazy tag messages

Don't mix messages and pads and tags.
Make the sink post tag messages when a tag event is received.
Since tags are sticky on pads now, they can be retrieved from there
when needed.

13 years agocaps: Hide implementation details
Wim Taymans [Wed, 22 Jun 2011 10:28:14 +0000 (12:28 +0200)]
caps: Hide implementation details

Make the Array of structures private. This should allow us to implement
the array more efficiently or with some preallocated structures when
we want to later.
Add a new method to clean up a static structure so that we can remove some code
that pokes into the private bits of the caps.

13 years agodocs: update negotiation design doc
Wim Taymans [Wed, 22 Jun 2011 10:26:19 +0000 (12:26 +0200)]
docs: update negotiation design doc

13 years agomemory: rename GstMemoryAllocator -> GstAllocator
Wim Taymans [Wed, 22 Jun 2011 09:42:46 +0000 (11:42 +0200)]
memory: rename GstMemoryAllocator -> GstAllocator

simplify the name of the allocator object.

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Tue, 21 Jun 2011 15:54:38 +0000 (17:54 +0200)]
Merge branch 'master' into 0.11

Conflicts:
configure.ac
win32/common/config.h
win32/common/gstversion.h

13 years agodocs: update bufferpool design doc
Wim Taymans [Tue, 21 Jun 2011 15:47:36 +0000 (17:47 +0200)]
docs: update bufferpool design doc

13 years agobasesrc: improve debugging
Wim Taymans [Tue, 21 Jun 2011 15:47:23 +0000 (17:47 +0200)]
basesrc: improve debugging

13 years agoimages: strip images of extra text tags
Stefan Kost [Tue, 21 Jun 2011 13:15:44 +0000 (15:15 +0200)]
images: strip images of extra text tags

13 years agobufferpool: return empty metadata array
Wim Taymans [Tue, 21 Jun 2011 10:32:46 +0000 (12:32 +0200)]
bufferpool: return empty metadata array

Return a string array with NULL instead of NULL from the default get_metas
function.

13 years agopad: use event function directly
Wim Taymans [Tue, 21 Jun 2011 10:31:57 +0000 (12:31 +0200)]
pad: use event function directly

We will never go in this code path for CAPS events so directly call the event
function.

13 years agopad: notify caps after we store the new caps
Wim Taymans [Tue, 21 Jun 2011 08:29:51 +0000 (10:29 +0200)]
pad: notify caps after we store the new caps

notify caps after we store the new caps so that the new caps are actually
visible for the app.

13 years agobasetransform: activate the bufferpool
Wim Taymans [Mon, 20 Jun 2011 15:32:47 +0000 (17:32 +0200)]
basetransform: activate the bufferpool

always activate the bufferpool, even if we get it from the allocation
query.

13 years agobasesrc: always activate the pool we get
Wim Taymans [Mon, 20 Jun 2011 15:32:11 +0000 (17:32 +0200)]
basesrc: always activate the pool we get

Activate the pool when we get it from the allocation query.

13 years agobasetransform: inprove allocation handling
Wim Taymans [Mon, 20 Jun 2011 14:47:40 +0000 (16:47 +0200)]
basetransform: inprove allocation handling

Add vmethod for subclasses to influence the pool and allocator.
Log when query fails.
Respect negotiated allocator and alignment.

13 years agobasesrc: Improve logging
Wim Taymans [Mon, 20 Jun 2011 14:46:05 +0000 (16:46 +0200)]
basesrc: Improve logging

Log when things fail.
Fix a query leak.

13 years agoghostpad: improve debug
Wim Taymans [Mon, 20 Jun 2011 14:44:35 +0000 (16:44 +0200)]
ghostpad: improve debug

Log a debug line when there is no target pad and when this makes the default
implementation fail.
Take the internal pads directly when we can.

13 years agoconfigure.ac: bump required GLib to 2.26
Mark Nauwelaerts [Mon, 20 Jun 2011 13:40:51 +0000 (15:40 +0200)]
configure.ac: bump required GLib to 2.26

13 years agobufferpool: add function to set metadata api
Wim Taymans [Mon, 20 Jun 2011 11:26:06 +0000 (13:26 +0200)]
bufferpool: add function to set metadata api

Add a function to retrieve an array of supported metadata apis from the the
bufferpool.
Add functions to configure and query the configured metadata apis in a
bufferpool configuration.

13 years agogstbuffer: Minor fix to docs
Thiago Santos [Sun, 19 Jun 2011 16:15:19 +0000 (13:15 -0300)]
gstbuffer: Minor fix to docs

Adds missing parameter to docs of gst_buffer_copy_region

13 years agogstpad: Remove unused variable do_event_actions
Edward Hervey [Sat, 18 Jun 2011 15:35:41 +0000 (17:35 +0200)]
gstpad: Remove unused variable do_event_actions

do_event_actions was always used as TRUE

13 years agoBump gobject-introspection requirement to >= 0.6.8
Tim-Philipp Müller [Sat, 18 Jun 2011 13:38:53 +0000 (14:38 +0100)]
Bump gobject-introspection requirement to >= 0.6.8

For --add-init-section

13 years agoBump git version after unplanned 0.10.35 release
Tim-Philipp Müller [Thu, 16 Jun 2011 16:27:21 +0000 (17:27 +0100)]
Bump git version after unplanned 0.10.35 release

Merge remote-tracking branch 'origin/0.10.35'

13 years agobasesink: Fix typo in documentation
Philip Jägenstedt [Tue, 14 Jun 2011 15:57:21 +0000 (17:57 +0200)]
basesink: Fix typo in documentation

Fixes #652577.

13 years agoRevert "utils: remove some macros now in glib"
Tim-Philipp Müller [Thu, 16 Jun 2011 09:55:15 +0000 (10:55 +0100)]
Revert "utils: remove some macros now in glib"

This reverts commit de29ae7b929cedbf6b9838ea53b05efabdce4ce7.

Re-adds GFLOAT_TO_LE, GFLOAT_TO_BE, GDOUBLE_TO_LE, and GDOUBLE_TO_BE.
Turns out these aren't in GLib yet afer all (since we didn't
actually open a bug to get them added..)

13 years agoRelease 0.10.35 RELEASE-0.10.35
Tim-Philipp Müller [Wed, 15 Jun 2011 18:15:24 +0000 (19:15 +0100)]
Release 0.10.35

This is an ad-hoc release that is almost identical to 0.10.34:

 * work around GLib atomic ops API change
 * some minor win32/mingw fixes
 * don't use G_CONST_RETURN in public headers

13 years agobasesrc: fix refcounting problem
Wim Taymans [Wed, 15 Jun 2011 14:56:30 +0000 (16:56 +0200)]
basesrc: fix refcounting problem

13 years agoUse "const" instead G_CONST_RETURN
Javier Jardón [Thu, 9 Jun 2011 16:13:35 +0000 (17:13 +0100)]
Use "const" instead G_CONST_RETURN

G_CONST_RETURN will be deprecated soon.

https://bugzilla.gnome.org/show_bug.cgi?id=652211

13 years agoWork around changes in g_atomic API
David Schleef [Sat, 4 Jun 2011 07:30:15 +0000 (00:30 -0700)]
Work around changes in g_atomic API

See #651514 for details.  It's apparently impossible to write code
that avoids both type punning warnings with old g_atomic headers and
assertions in the new.  Thus, macros and a version check.

13 years agosystemclock: Placate gcc by defining EWOULDBLOCK to something
Руслан Ижбулатов [Wed, 25 May 2011 09:40:30 +0000 (13:40 +0400)]
systemclock: Placate gcc by defining EWOULDBLOCK to something

13 years agopoll: Fix WAKE_EVENT() to behave posixly on Windows
Руслан Ижбулатов [Wed, 25 May 2011 08:47:51 +0000 (12:47 +0400)]
poll: Fix WAKE_EVENT() to behave posixly on Windows

13 years agodocs: update docs
Wim Taymans [Tue, 14 Jun 2011 13:18:26 +0000 (15:18 +0200)]
docs: update docs

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Mon, 13 Jun 2011 17:10:00 +0000 (19:10 +0200)]
Merge branch 'master' into 0.11

13 years agobuffer: add index to _take_memory()
Wim Taymans [Mon, 13 Jun 2011 14:31:53 +0000 (16:31 +0200)]
buffer: add index to _take_memory()

Add an index to gst_buffer_take_memory() so that we can also insert memory at a
certain offset. This is mostly interesting to prepend a header memory block to
the buffer.

13 years agopad: don't forward scheduling query
Wim Taymans [Mon, 13 Jun 2011 14:30:22 +0000 (16:30 +0200)]
pad: don't forward scheduling query

The scheduling query should not be forwarded, because elements need to implement
special code to handle different scheduling methods.

13 years agobasesrc: Allocator buffers from negotiated allocator
Wim Taymans [Mon, 13 Jun 2011 10:07:03 +0000 (12:07 +0200)]
basesrc: Allocator buffers from negotiated allocator

Allocate buffers from the negotiated allocator or bufferpool.
Handle the state of the bufferpool when flushing.
Add fill method to pushsrc.

13 years agobuffer: add more debug
Wim Taymans [Mon, 13 Jun 2011 10:04:28 +0000 (12:04 +0200)]
buffer: add more debug

13 years agobufferpool: small indentation fix
Wim Taymans [Mon, 13 Jun 2011 09:51:08 +0000 (11:51 +0200)]
bufferpool: small indentation fix

13 years agobuffer: pass the allocator as const
Wim Taymans [Mon, 13 Jun 2011 09:50:42 +0000 (11:50 +0200)]
buffer: pass the allocator as const

13 years agobasesrc: negotiate allocation
Wim Taymans [Mon, 13 Jun 2011 08:19:30 +0000 (10:19 +0200)]
basesrc: negotiate allocation

Add vmethod to configure allocation methods.
Remove some unused variables

13 years agoquery: add some more checks
Wim Taymans [Sat, 11 Jun 2011 18:45:42 +0000 (20:45 +0200)]
query: add some more checks

Make sure that the alignment is valid.
When we have a 0 size (variable buffer size), we can't have a bufferpool.

13 years agoquery: set all default values
Wim Taymans [Sat, 11 Jun 2011 17:54:47 +0000 (19:54 +0200)]
query: set all default values

Fill all query values with good defaults.

13 years agobufferpool: remove postfix parameter
Wim Taymans [Sat, 11 Jun 2011 16:52:42 +0000 (18:52 +0200)]
bufferpool: remove postfix parameter

Remove the postfix parameter, it's not used and can be done differently.

13 years agobufferpool: use same alignment values as GstMemory
Wim Taymans [Fri, 10 Jun 2011 15:50:27 +0000 (17:50 +0200)]
bufferpool: use same alignment values as GstMemory

Use the same alignment values for the bufferpool as we use for the GstMemory
API.

13 years agobasesrc: use new _check_reconfigure() method
Wim Taymans [Fri, 10 Jun 2011 15:32:48 +0000 (17:32 +0200)]
basesrc: use new _check_reconfigure() method

13 years agopad: add _check_reconfigure() method
Wim Taymans [Fri, 10 Jun 2011 15:32:20 +0000 (17:32 +0200)]
pad: add _check_reconfigure() method

Add a method to check and clear the RECONFIGURE flag on a pad.

13 years agobuffer: add support for buffer in memory
Wim Taymans [Fri, 10 Jun 2011 14:47:29 +0000 (16:47 +0200)]
buffer: add support for buffer in memory

Fix the code to support allocating the buffer and memory in one memory block.
Add an extra variable to store the memory of the buffer.
This code is disabled still because of complications.

13 years agomemory: expose default alignment
Wim Taymans [Fri, 10 Jun 2011 14:46:12 +0000 (16:46 +0200)]
memory: expose default alignment

Export the gst_memory_alignment variable so that others can know the default
configured alignment of the system.

13 years agomemory: fix is_span
Wim Taymans [Fri, 10 Jun 2011 14:19:46 +0000 (16:19 +0200)]
memory: fix is_span

Subtract the offset of the parent from is_span.

13 years agomemory: respect configured alignment
Wim Taymans [Fri, 10 Jun 2011 11:59:31 +0000 (13:59 +0200)]
memory: respect configured alignment

Move the alignment from GstBuffer to GstMemory.
make sure memory is at least aligned to the configured values.

13 years agobuffer: make new _buffer_allocate method
Wim Taymans [Fri, 10 Jun 2011 11:40:57 +0000 (13:40 +0200)]
buffer: make new _buffer_allocate method

Make a new method to allocate a buffer + memory that takes the allocator and the
alignment as parameters. Provide a macro for the old method but prefer to use
the new method to encourage plugins to negotiate the allocator properly.

13 years agodocs: update for gst_base_src_set_dynamic_size
Tim-Philipp Müller [Fri, 10 Jun 2011 11:44:40 +0000 (12:44 +0100)]
docs: update for gst_base_src_set_dynamic_size

Add to sections file and add Since: marker. Also update
win32 .def file.

API: gst_base_src_set_dynamic_size()

13 years agodesign: part-bufferlist.txt was merged into another doc
Edward Hervey [Fri, 10 Jun 2011 11:44:19 +0000 (13:44 +0200)]
design: part-bufferlist.txt was merged into another doc

13 years agodocs: Update sections files for added/removed symbols
Edward Hervey [Fri, 10 Jun 2011 11:34:59 +0000 (13:34 +0200)]
docs: Update sections files for added/removed symbols

13 years agowin32: Update for added/removed symbols
Edward Hervey [Fri, 10 Jun 2011 11:10:42 +0000 (13:10 +0200)]
win32: Update for added/removed symbols

13 years agobasesrc: add fill vmethod to basesrc
Wim Taymans [Fri, 10 Jun 2011 11:04:23 +0000 (13:04 +0200)]
basesrc: add fill vmethod to basesrc

Add a new fill virtual method to basesrc. The purpose of this method is to fill
a provided buffer with data.
Add a default implementation of the create method that allocates a buffer and
calls the fill method on it. This would allow the base class to implement
bufferpool and allocator negotiation on behalf of the subclasses.
Fix the blocksize property.
Make filesrc use the new fill method.

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 10 Jun 2011 10:09:49 +0000 (12:09 +0200)]
Merge branch 'master' into 0.11

Conflicts:
gst/gstelementfactory.c
gst/gstelementfactory.h
gst/gstpad.h
gst/gstpluginfeature.c
gst/gstpluginfeature.h

13 years agoevent: add reset_time boolean to flush_stop event
Wim Taymans [Fri, 10 Jun 2011 09:55:08 +0000 (11:55 +0200)]
event: add reset_time boolean to flush_stop event

Add a boolean to the flush_stop event to make it possible to implement flushes
that don't reset_time.
Make basesink post async_done with the reset_time property from the flush stop
event.
Fix some unit tests

13 years agoUse "const" instead G_CONST_RETURN
Javier Jardón [Thu, 9 Jun 2011 16:13:35 +0000 (17:13 +0100)]
Use "const" instead G_CONST_RETURN

G_CONST_RETURN will be deprecated soon.

https://bugzilla.gnome.org/show_bug.cgi?id=652211

13 years agopad: use new event methods to replace events
Wim Taymans [Thu, 9 Jun 2011 11:37:28 +0000 (13:37 +0200)]
pad: use new event methods to replace events

Using the new event methods, we can atomically transfer the event from the
pending list to the active list.

13 years agoevent: make macros for new miniobject methods
Wim Taymans [Thu, 9 Jun 2011 11:36:52 +0000 (13:36 +0200)]
event: make macros for new miniobject methods

13 years agominiobject: add new methods to manage miniobject pointers
Wim Taymans [Thu, 9 Jun 2011 11:35:08 +0000 (13:35 +0200)]
miniobject: add new methods to manage miniobject pointers

Add a new method to steal the miniobject stored at a location.
Add a new method to store a miniobject in a location and taking ownership
of the miniobject.

13 years agopad: fix header
Wim Taymans [Thu, 9 Jun 2011 11:34:19 +0000 (13:34 +0200)]
pad: fix header

13 years agopad: fix spurious include
Wim Taymans [Thu, 9 Jun 2011 10:31:47 +0000 (12:31 +0200)]
pad: fix spurious include

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 9 Jun 2011 10:01:02 +0000 (12:01 +0200)]
Merge branch 'master' into 0.11

Conflicts:
libs/gst/base/gstbasesrc.c

13 years agopad: forward events by default
Wim Taymans [Thu, 9 Jun 2011 09:39:08 +0000 (11:39 +0200)]
pad: forward events by default

Always forward all events in the default handler. Previously it used to not
forward caps events by default. It makes more sense to forward the caps events,
if the element is interested in the caps, it will implement an event handler to
retrieve the caps and then it can decide to forward or not. If the element has
no event handler, it probably just doesn't care about caps and it probably is
also not going to modify the data in a way that needs a caps change.

13 years agobuffer: fix typo in docs
Wim Taymans [Thu, 9 Jun 2011 09:13:55 +0000 (11:13 +0200)]
buffer: fix typo in docs