platform/upstream/gstreamer.git
13 years agobasesink: improve rate calculation
Wim Taymans [Mon, 14 Feb 2011 12:49:10 +0000 (13:49 +0100)]
basesink: improve rate calculation

When there is no duration on input buffers, assume the rate is 1.0
instead of (the undefined) 0.0.

13 years agobasesink: improve average duration calculation
Wim Taymans [Mon, 14 Feb 2011 12:47:02 +0000 (13:47 +0100)]
basesink: improve average duration calculation

Improve the calculation of the duration. When we have no input duration set on
the input buffers stop is set to start and then we end up using a 0 duration in
the average calculation.

13 years agobasesink: rename variable
Wim Taymans [Mon, 14 Feb 2011 11:21:39 +0000 (12:21 +0100)]
basesink: rename variable

Rename an internal variable to better reflact what its value means.

13 years agoparse-launch: trim whitespaces
Stefan Kost [Mon, 14 Feb 2011 13:39:21 +0000 (15:39 +0200)]
parse-launch: trim whitespaces

13 years agoparse-launch: fix typo in pad-list length comparision
Stefan Kost [Mon, 14 Feb 2011 13:37:23 +0000 (15:37 +0200)]
parse-launch: fix typo in pad-list length comparision

It was comparing the length with itself.

Fixes #642071.

13 years agoAutomatic update of common submodule
Stefan Kost [Mon, 14 Feb 2011 10:52:30 +0000 (12:52 +0200)]
Automatic update of common submodule

From f94d739 to 1de7f6a

13 years agogst-launch: pretty-print datetime tags
Tim-Philipp Müller [Sun, 13 Feb 2011 22:56:15 +0000 (22:56 +0000)]
gst-launch: pretty-print datetime tags

13 years agogstreamer.doap: update mailing list host
Tim-Philipp Müller [Thu, 10 Feb 2011 23:30:21 +0000 (23:30 +0000)]
gstreamer.doap: update mailing list host

13 years agobasesink: fix some comments
Wim Taymans [Thu, 10 Feb 2011 13:53:34 +0000 (14:53 +0100)]
basesink: fix some comments

13 years agobasesink: keep track of earliest QoS timestamp
Wim Taymans [Thu, 10 Feb 2011 13:50:04 +0000 (14:50 +0100)]
basesink: keep track of earliest QoS timestamp

Keep track of the earliest allowed timestamp according to the latest
QoS report and drop buffers before that time. Activate this filter
when throttling is enabled. We could later also activate this in the
other QoS cases.

See #638891

13 years agobasesink: use new QoS type
Wim Taymans [Thu, 10 Feb 2011 13:17:12 +0000 (14:17 +0100)]
basesink: use new QoS type

Use the new QoS type and send throttling QoS messages.

13 years agobasesink: add property to configure a throttle-time
Wim Taymans [Thu, 10 Feb 2011 12:42:05 +0000 (13:42 +0100)]
basesink: add property to configure a throttle-time

Add a property to configure the throttle time on a sink. The
property is not yet used.

See #638891

13 years agoevent: add QoS event type
Wim Taymans [Thu, 10 Feb 2011 11:02:03 +0000 (12:02 +0100)]
event: add QoS event type

Add a parameter to the QoS event to specify the QoS event type.
Update docs and add unit test.

See #638891

13 years agoclock: fix parameter docs
Wim Taymans [Thu, 10 Feb 2011 11:00:47 +0000 (12:00 +0100)]
clock: fix parameter docs

13 years agodesign: tweak docs a little
Wim Taymans [Thu, 10 Feb 2011 09:49:22 +0000 (10:49 +0100)]
design: tweak docs a little

13 years agodesign: update QoS document
Wim Taymans [Thu, 10 Feb 2011 09:34:57 +0000 (10:34 +0100)]
design: update QoS document

Add new QoS types and talk about the new throttle QoS message.

13 years agodocs: fix some typos in the bufferpool draft
Tim-Philipp Müller [Thu, 10 Feb 2011 13:46:08 +0000 (13:46 +0000)]
docs: fix some typos in the bufferpool draft

13 years agoevents: fix g-i annotation for gst_event_new_tag() which takes ownership of the tag...
Tim-Philipp Müller [Thu, 10 Feb 2011 10:19:38 +0000 (10:19 +0000)]
events: fix g-i annotation for gst_event_new_tag() which takes ownership of the tag list

13 years agodocs: mention that it's necessary to set the state of elements added to an already...
Tim-Philipp Müller [Thu, 10 Feb 2011 00:02:23 +0000 (00:02 +0000)]
docs: mention that it's necessary to set the state of elements added to an already-running pipeline

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

13 years agodesign: add draft for first ideas for a bufferpool feature
Wim Taymans [Wed, 9 Feb 2011 15:22:04 +0000 (16:22 +0100)]
design: add draft for first ideas for a bufferpool feature

Add a first draft with some ideas and use cases for the implementation
for bufferpools. The purpose is to be able to make elements negotiate
their buffer requirements as well as provide an infrastructure to
preallocate and reuse buffers in an easy way.

13 years agodocs: clarify the NOMINAL_BITRATE docs
Stefan Kost [Wed, 9 Feb 2011 13:23:13 +0000 (15:23 +0200)]
docs: clarify the NOMINAL_BITRATE docs

Tell that its a target bitrate and actual values might be different.

13 years agopoll: trigger rebuild setup in _new
Mark Nauwelaerts [Thu, 3 Feb 2011 14:17:13 +0000 (15:17 +0100)]
poll: trigger rebuild setup in _new

Failing to do so in the Windows case (implicitly triggered otherwise)
would have a subsequent _wait return immediately leading to high CPU
usage timeout loops.

Fixes #640675.

13 years agoinfo: make adding/removing of gst_debug_log_default() work properly
Tim-Philipp Müller [Thu, 3 Feb 2011 10:53:27 +0000 (10:53 +0000)]
info: make adding/removing of gst_debug_log_default() work properly

Make adding/removing gst_debug_log_default() work reliably in all
circumstances. The problem was that depending on platform and linker
flags the function argument might resolve to different addresses,
which made it impossible to remove the default log function added
in gst_init() from application code (because the pointer values
didn't match). The new approach should keep things simple by passing
NULL for the default function, which the code in libgstreamer can
then handle.

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

13 years agoRevert "info: use the publicly visible address to fix the tests"
Tim-Philipp Müller [Thu, 3 Feb 2011 10:28:01 +0000 (10:28 +0000)]
Revert "info: use the publicly visible address to fix the tests"

This reverts commit eb56687a6dfd207507a4ca000eae53f93b5e33ea.

While this commit may have fixed a problem on one of the build bots,
it didn't actually fix the original bug reported for win32.

Also, it causes other problems, such as the lookup failing when
called from C++ code (gst-phonon, amarok).

This needs to be fixed differently.

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

13 years agoqueue2: properly identity dequeued event as such
Mark Nauwelaerts [Wed, 2 Feb 2011 14:35:45 +0000 (15:35 +0100)]
queue2: properly identity dequeued event as such

... which avoids terminating with ERROR rather than UNEXPECTED.

13 years agogst-uninstalled: use $GST_PREFIX variable
Peter Collingbourne [Wed, 2 Feb 2011 02:07:58 +0000 (02:07 +0000)]
gst-uninstalled: use $GST_PREFIX variable

This makes it easier to change the prefix by editing the script.

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

13 years agotaglist: add a new "encoded-by" tag
Sreerenj Balachandran [Thu, 19 Aug 2010 19:43:07 +0000 (22:43 +0300)]
taglist: add a new "encoded-by" tag

Usecase: ID3v2 TENC ("Encoded by") frame.

API: GST_TAG_ENCODED_BY

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

13 years agonet: use socklen_t where appropriate rather than specific type
Mark Nauwelaerts [Sat, 29 Jan 2011 17:02:11 +0000 (18:02 +0100)]
net: use socklen_t where appropriate rather than specific type

In particular, fixes Cygwin build where socklen_t is defined as int
in line with native win32 api definition.

13 years agobus: honour any per-thread default main context set via g_main_thread_push_thread_def...
Tim-Philipp Müller [Mon, 31 Jan 2011 15:58:18 +0000 (15:58 +0000)]
bus: honour any per-thread default main context set via g_main_thread_push_thread_default()

Makes gst_bus_add_watch(), gst_bus_add_watch_full(), gst_bus_add_signal_watch(),
and gst_bus_add_signal_watch_full() convenience functions automatically pick up
any non-default main contexts set for the current thread via
g_main_thread_push_thread_default().

13 years agovalve: Only set discont on the first buffer after drops
Olivier Crête [Fri, 28 Jan 2011 20:36:33 +0000 (15:36 -0500)]
valve: Only set discont on the first buffer after drops

Reset the discont member after setting discont on the first buffer after
dropping.

13 years agoGstElement: Fix warning with GCC 4.6
Bastien Nocera [Fri, 28 Jan 2011 19:08:08 +0000 (19:08 +0000)]
GstElement: Fix warning with GCC 4.6

gstelement.c: In function ‘gst_element_get_request_pad’:
gstelement.c:1052:18: error: variable ‘tmp’ set but not used [-Werror=unused-but-set-variable]

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

13 years agoidentity: print unset buffer timestamps or durations as 'none'
Tim-Philipp Müller [Thu, 27 Jan 2011 09:28:07 +0000 (09:28 +0000)]
identity: print unset buffer timestamps or durations as 'none'

Like fakesink and fakesrc do.

13 years agotypefind: don't take object lock for reading the found caps
Stefan Kost [Wed, 12 Jan 2011 14:03:30 +0000 (16:03 +0200)]
typefind: don't take object lock for reading the found caps

Once we switch to normal mode, we're not typefinding anymore and thus the caps
will not change. Therefore can avoid the object lock in the data-flow path.
The locking was added in order to fix bug #608877.

13 years agodocs: fix a few more typos
Zhang Wanming [Tue, 25 Jan 2011 01:39:45 +0000 (09:39 +0800)]
docs: fix a few more typos

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

13 years agodocs: flesh out typefindelement docs some more
Tim-Philipp Müller [Tue, 25 Jan 2011 18:48:40 +0000 (18:48 +0000)]
docs: flesh out typefindelement docs some more

Mention that have-type signal may be emitted from streaming
thread or application thread, and fix a typo.

13 years agotypefind: code and comment cleanups
Stefan Kost [Wed, 12 Jan 2011 14:03:57 +0000 (16:03 +0200)]
typefind: code and comment cleanups

Make code two places of the code the pushes the buffer store more similar. More
comments and debug logging.

13 years agotrace: ensure messages are \0 terminated
Stefan Kost [Wed, 12 Jan 2011 11:05:06 +0000 (13:05 +0200)]
trace: ensure messages are \0 terminated

13 years agonettimeprovider: handle invalid network addresses earlier
Stefan Kost [Wed, 12 Jan 2011 10:58:44 +0000 (12:58 +0200)]
nettimeprovider: handle invalid network addresses earlier

Handle inet_aton() return code.

13 years agochecks: add a comment to indicate that we intentionally leave out the 'break'
Stefan Kost [Wed, 12 Jan 2011 10:44:59 +0000 (12:44 +0200)]
checks: add a comment to indicate that we intentionally leave out the 'break'

13 years agoregistry: remove dead code
Stefan Kost [Wed, 12 Jan 2011 10:43:04 +0000 (12:43 +0200)]
registry: remove dead code

The GError is only used for the mmap operations. If we have an error we handle
and clean it there already.

13 years agodocs: small controller api docs improvement
Stefan Kost [Wed, 12 Jan 2011 07:33:53 +0000 (09:33 +0200)]
docs: small controller api docs improvement

13 years agotypefind: canonicalize signal name
Stefan Kost [Tue, 11 Jan 2011 13:09:52 +0000 (15:09 +0200)]
typefind: canonicalize signal name

13 years agodocs: mention have-type signal in the docs.
Stefan Kost [Tue, 11 Jan 2011 13:09:30 +0000 (15:09 +0200)]
docs: mention have-type signal in the docs.

13 years agodocs: minor gst-launch man page fix
Tim-Philipp Müller [Tue, 25 Jan 2011 09:15:49 +0000 (09:15 +0000)]
docs: minor gst-launch man page fix

Transmitter/receiver pipelines were mislabelled. Spotted by Majin.

13 years agomultiqueue test: Remove workaround for pad_task hangs
Jan Schmidt [Tue, 25 Jan 2011 06:09:18 +0000 (16:09 +1000)]
multiqueue test: Remove workaround for pad_task hangs

Remove code that isn't needed any longer, which sets the multiqueue
to PLAYING and back before unreffing, in order to avoid a deadlock
waiting for gstpad tasks that were never started. The problem seems
to have been fixed long ago.

13 years agodesign docs: fix 2 typos in part-MT-refcounting
Cai Yuanqing [Mon, 24 Jan 2011 16:20:34 +0000 (00:20 +0800)]
design docs: fix 2 typos in part-MT-refcounting

13 years agodesign docs: part-gstbin.txt fix typo
Yang Xichuan [Mon, 24 Jan 2011 09:46:15 +0000 (17:46 +0800)]
design docs: part-gstbin.txt fix typo

Signed-off-by: Yang Xichuan <xichuan.yang@tieto.com>
13 years agodesign docs: fix a few typos and a thinko
Vincent Penquerc'h [Wed, 19 Jan 2011 15:48:26 +0000 (15:48 +0000)]
design docs: fix a few typos and a thinko

13 years agoclock: API: Add function to re-init periodic GstClockIDs
Sebastian Dröge [Tue, 11 Jan 2011 16:43:57 +0000 (17:43 +0100)]
clock: API: Add function to re-init periodic GstClockIDs

13 years agogstpluginloader: do not leak the description string
Vincent Penquerc'h [Thu, 20 Jan 2011 14:37:25 +0000 (14:37 +0000)]
gstpluginloader: do not leak the description string

The description string was changed to an inlined string a while back.
(But: no need to intern the const strings here, we just use the interning
to avoid allocating duplicates and make memory management easier,
since the strings will be around for the life-time of the app anyway).

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

13 years agobuffer: clarify docs
Wim Taymans [Sat, 22 Jan 2011 14:33:58 +0000 (15:33 +0100)]
buffer: clarify docs

13 years agodesign: update buffering doc
Wim Taymans [Tue, 11 Jan 2011 09:33:32 +0000 (10:33 +0100)]
design: update buffering doc

Add strategies to buffering doc

13 years agodocs: add missing "Since: 0.10.32" markers for GstClock
Mart Raudsepp [Mon, 24 Jan 2011 09:53:12 +0000 (11:53 +0200)]
docs: add missing "Since: 0.10.32" markers for GstClock

Since tags were missing for gst_clock_single_shot_id_reinit()
and GST_CLOCK_DONE.

13 years agodocs: Fix GstQueue2:ring-buffer-max-size property Since tag (0.10.31, not 0.10.30)
Mart Raudsepp [Mon, 24 Jan 2011 08:56:21 +0000 (10:56 +0200)]
docs: Fix GstQueue2:ring-buffer-max-size property Since tag (0.10.31, not 0.10.30)

13 years agodocs: add missing "Since: 0.10.31" marker for gst_structure_get_date_time()
Mart Raudsepp [Mon, 24 Jan 2011 08:26:45 +0000 (10:26 +0200)]
docs: add missing "Since: 0.10.31" marker for gst_structure_get_date_time()

13 years agotests: add unit test for read-beyond-end-of-string bug
Tim-Philipp Müller [Mon, 24 Jan 2011 14:22:27 +0000 (14:22 +0000)]
tests: add unit test for read-beyond-end-of-string bug

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

13 years agoparse-launch: don't read past end of string if last character is an escape char
Miguel Angel Cabrera Moya [Mon, 24 Jan 2011 14:16:37 +0000 (14:16 +0000)]
parse-launch: don't read past end of string if last character is an escape char

When the last character of a property value is a backslash
the unescaping code reads one byte pass the end of the string.

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

13 years agodocs: hack a charset=utf-8 into pwg/adm html versions
Tim-Philipp Müller [Fri, 14 Jan 2011 09:21:23 +0000 (09:21 +0000)]
docs: hack a charset=utf-8 into pwg/adm html versions

So the encoding of the original document is respected and
displays properly in browsers where the encoding autodetection
fails to recognise that it's utf-8.

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

13 years agocheck: don't leak xml file name if GST_CHECK_XML is set
Tim-Philipp Müller [Thu, 13 Jan 2011 15:41:50 +0000 (15:41 +0000)]
check: don't leak xml file name if GST_CHECK_XML is set

Spotted by nvineeth@gmail.com

13 years agoBack to development
Tim-Philipp Müller [Sun, 23 Jan 2011 23:45:40 +0000 (23:45 +0000)]
Back to development

13 years agoRelease 0.10.32 RELEASE-0.10.32
Tim-Philipp Müller [Fri, 21 Jan 2011 10:25:32 +0000 (10:25 +0000)]
Release 0.10.32

13 years agoRevert "configure: require gobject-introspection >= 0.9.12"
Tim-Philipp Müller [Thu, 20 Jan 2011 19:07:35 +0000 (19:07 +0000)]
Revert "configure: require gobject-introspection >= 0.9.12"

This reverts commit 3a59d416af6d0f8b61e2460830eb6f1138929ec2.

Reverting this, as the feature we bumped the requirement for
didn't actually work properly or help with the issue we were
trying to fix (and it was fixed differently in the end).

13 years agodocs: fix spelling of 'threshold' in app dev manual
Tim-Philipp Müller [Tue, 18 Jan 2011 22:51:49 +0000 (22:51 +0000)]
docs: fix spelling of 'threshold' in app dev manual

13 years ago0.10.31.4 pre-release
Tim-Philipp Müller [Tue, 18 Jan 2011 10:10:05 +0000 (10:10 +0000)]
0.10.31.4 pre-release

13 years agogobject-introspection: try harder to make g-ir-scanner use the right libgstreamer
Tim-Philipp Müller [Tue, 18 Jan 2011 09:04:51 +0000 (09:04 +0000)]
gobject-introspection: try harder to make g-ir-scanner use the right libgstreamer

Apply fix from libgstbase to all core libs now that we know that it
works. Should fix problems with g-ir-scanner using the wrong
(ie. system) libgstreamer, leading to linking errors such as
undefined reference to `gst_clock_single_shot_id_reinit'.

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

13 years agodocs: fix garbled UTF-8 characters when generating app dev manual ps/pdf
Tim-Philipp Müller [Fri, 14 Jan 2011 00:20:43 +0000 (00:20 +0000)]
docs: fix garbled UTF-8 characters when generating app dev manual ps/pdf

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

13 years agogobject-introspection: another attempt to make g-i find the right libgstreamer
Tim-Philipp Müller [Thu, 13 Jan 2011 20:12:16 +0000 (20:12 +0000)]
gobject-introspection: another attempt to make g-i find the right libgstreamer

Turns out g-i puts the additional -L we specify at the end, helpfully.

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

13 years agoconfigure: require gobject-introspection >= 0.9.12
Tim-Philipp Müller [Wed, 12 Jan 2011 15:46:00 +0000 (15:46 +0000)]
configure: require gobject-introspection >= 0.9.12

Earlier versions don't honour the -L/--library-path option,
which we need. See commit 4d0ccdad in gobject-introspection git.

13 years agocontroller: update g-i include paths as well for header changes
Tim-Philipp Müller [Wed, 12 Jan 2011 10:17:05 +0000 (10:17 +0000)]
controller: update g-i include paths as well for header changes

Hopefully makes Lucid and Maverick build bots happy again

13 years ago0.10.31.3 pre-release
Tim-Philipp Müller [Tue, 11 Jan 2011 18:39:06 +0000 (18:39 +0000)]
0.10.31.3 pre-release

13 years agopo: update translations
Tim-Philipp Müller [Tue, 11 Jan 2011 18:38:37 +0000 (18:38 +0000)]
po: update translations

13 years agocontroller: Fix headers to use < > in #include statements
Benjamin Otte [Tue, 11 Jan 2011 18:26:40 +0000 (19:26 +0100)]
controller: Fix headers to use < > in #include statements

The behavior of " " in include statements is implementation-defined -
see the C standard, section 6.10.2 or
http://stackoverflow.com/questions/21593

13 years agogstnet: Fix --c-include for gir generation
Benjamin Otte [Tue, 11 Jan 2011 18:14:28 +0000 (19:14 +0100)]
gstnet: Fix --c-include for gir generation

Previously it was - probably due to copy/paste error - looking for
gstbase headers.
It's changed now to only include the one public header for gstnet.h

13 years agogobject-introspection: make g-ir-scanner try harder to find the right libgstreamer
Tim-Philipp Müller [Tue, 11 Jan 2011 13:47:38 +0000 (13:47 +0000)]
gobject-introspection: make g-ir-scanner try harder to find the right libgstreamer

It's not quite clear to me why g-ir-scanner doesn't get this info from
the pkg-config file, nor why libtool doesn't get it from the .la.

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

13 years agopkgconfig: also add libdir to -uninstalled .pc files
Tim-Philipp Müller [Tue, 11 Jan 2011 13:05:12 +0000 (13:05 +0000)]
pkgconfig: also add libdir to -uninstalled .pc files

This way we can find the paths to pass e.g. g-ir-scanner for
uninstalled setups.

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

13 years agoAutomatic update of common submodule
Stefan Kost [Tue, 11 Jan 2011 13:49:23 +0000 (15:49 +0200)]
Automatic update of common submodule

From e572c87 to f94d739

13 years agovalve: fixe the property link and the sice docs
Stefan Kost [Tue, 11 Jan 2011 13:10:32 +0000 (15:10 +0200)]
valve: fixe the property link and the sice docs

13 years agogstpoll: fix compiler warning with MingW
Raimo Järvi [Tue, 11 Jan 2011 12:46:31 +0000 (12:46 +0000)]
gstpoll: fix compiler warning with MingW

gstpoll.c: In function 'gst_poll_get_read_gpollfd':
gstpoll.c:692:10: warning: assignment makes integer from pointer without a cast

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

13 years agotest: outputselector: Add another negotiation test
Thiago Santos [Mon, 10 Jan 2011 17:37:41 +0000 (14:37 -0300)]
test: outputselector: Add another negotiation test

Adds an unit test to check that the output-selector works
when negotiating before srcpads are requested

13 years agooutputselector: Improve get and set caps functions
Thiago Santos [Mon, 10 Jan 2011 17:19:17 +0000 (14:19 -0300)]
outputselector: Improve get and set caps functions

Improve sink pad getcaps and setcaps by handling the case where
no src pads exist yet

13 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 10 Jan 2011 16:35:25 +0000 (16:35 +0000)]
Automatic update of common submodule

From ccbaa85 to e572c87

13 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 10 Jan 2011 14:52:40 +0000 (14:52 +0000)]
Automatic update of common submodule

From 46445ad to ccbaa85

13 years agotests: selector: unref peer pad
Thiago Santos [Mon, 10 Jan 2011 12:59:19 +0000 (09:59 -0300)]
tests: selector: unref peer pad

Do not forget to unref peer's pad on output-selector negotiation
tests

13 years agobasesrc: make sure we wait and release the live lock
Wim Taymans [Mon, 10 Jan 2011 12:18:16 +0000 (13:18 +0100)]
basesrc: make sure we wait and release the live lock

Make sure we release the live lock and wait in all cases when we need to wait
for the playing or flushing state change.

Fixes #635785

13 years agoregistry: Don't replace valid existing plugins by blacklisted ones
Edward Hervey [Sat, 8 Jan 2011 13:52:27 +0000 (14:52 +0100)]
registry: Don't replace valid existing plugins by blacklisted ones

Only replace existing plugins by blacklisted ones if they correspond
to the exact same plugin. If they're not the same, keep the existing
valid one.

Fixes #638941

13 years agoconfigure, gst-uninstalled: remove a few bashism
Tim-Philipp Müller [Sat, 8 Jan 2011 02:19:31 +0000 (02:19 +0000)]
configure, gst-uninstalled: remove a few bashism

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

13 years ago0.10.31.2 pre-release
Tim-Philipp Müller [Fri, 7 Jan 2011 12:13:37 +0000 (12:13 +0000)]
0.10.31.2 pre-release

13 years agoindexers: fix two small leaks
Tim-Philipp Müller [Fri, 7 Jan 2011 02:18:37 +0000 (02:18 +0000)]
indexers: fix two small leaks

element factory plugin_names are interned strings these days.

13 years agotests: never disable g_assert() and cast checks for the unit tests
Tim-Philipp Müller [Fri, 7 Jan 2011 00:53:11 +0000 (00:53 +0000)]
tests: never disable g_assert() and cast checks for the unit tests

The unit tests are riddled with g_assert() and friends, make sure we
don't disable assert and cast checks for the unit tests even if
this has been specified for the rest of the code base, e.g. via
--disable-glib-asserts.

13 years agoregistry: ignore old libgstvalve.so and libgstselector.so plugins to minimize upgrade...
Tim-Philipp Müller [Thu, 6 Jan 2011 19:40:27 +0000 (19:40 +0000)]
registry: ignore old libgstvalve.so and libgstselector.so plugins to minimize upgrade pain

Ignore plugins which have been moved into coreelements, so it's
still possible to just upgrade GStreamer core without having to
upgrade the whole stack.

13 years agoRevert "padtemplate: allow disablinbg the template name conformance checks"
Tim-Philipp Müller [Thu, 6 Jan 2011 19:21:56 +0000 (19:21 +0000)]
Revert "padtemplate: allow disablinbg the template name conformance checks"

This reverts commit f9039c22040e1a38a3691bc4d299af427c963255.

We use -DG_DISABLE_ASSERTS for releases and pre-releases, but
don't want to disable pad name checking for releases in general,
I think. Need a better solution here. Fixes pad unit test in
pre-release/release mode.

13 years agooutput-selector: Add pad-negotiation-mode property
Thiago Santos [Tue, 4 Jan 2011 15:42:50 +0000 (12:42 -0300)]
output-selector: Add pad-negotiation-mode property

Adds getcaps/setcaps to output-selector and adds a property
to select which type of negotiation should be done.

The available modes are:
 * none:   no negotiation (current behavior), getcaps return ANY and
           setcaps aren't set on any of the peers
 * all:    use all pads (default), getcaps returns the intersection of
           peer pads and setcaps is set on all peers
 * active: getcaps and setcaps are proxied to the active pad

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

13 years agodocs: mention extra input-selector pad properties
Tim-Philipp Müller [Thu, 6 Jan 2011 18:18:29 +0000 (18:18 +0000)]
docs: mention extra input-selector pad properties

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

13 years agopo: update translations
Tim-Philipp Müller [Thu, 6 Jan 2011 17:47:38 +0000 (17:47 +0000)]
po: update translations

13 years agoinfo: avoid unnecessary malloc/free for each log function call on MSVC
Tim-Philipp Müller [Thu, 23 Sep 2010 11:49:59 +0000 (12:49 +0100)]
info: avoid unnecessary malloc/free for each log function call on MSVC

Avoid unnecessary malloc/free to get the file basename on MSVC to avoid
unnecessary overhead when doing GST_DEBUG=foo:5 or so (since it would be
done before the category log level filtering).

13 years agoUpdate spec file with latest changes and enable GIR
christian schaller [Thu, 6 Jan 2011 17:29:46 +0000 (17:29 +0000)]
Update spec file with latest changes and enable GIR

13 years agoobject: Fix creation of default name
David Schleef [Wed, 5 Jan 2011 20:59:48 +0000 (12:59 -0800)]
object: Fix creation of default name

Change the fixed allocation (!) to g_strdup_printf().

13 years agoGstElement: Add a more flexible way to get request pads.
Edward Hervey [Mon, 20 Dec 2010 12:30:43 +0000 (13:30 +0100)]
GstElement: Add a more flexible way to get request pads.

The new request_new_pad_full vmethod provides an additional caps field,
which allows elements to take better decision process.

Also, add a gst_element_request_pad() function to allow developers to be
able to specify which pad template they want a pad of.

Convert gstutils to use that new method instead of the old one when more
efficient.

This is useful for being able to request pads in a more flexible way,
especially when the element can provide pads whose caps depend on
runtime configuration and therefore can't provide pre-registered
pad templates.

API: GstElement::request_new_pad_full
API: gst_element_request_pad

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

13 years agoinputselector: remove "select-all" property
Tim-Philipp Müller [Wed, 5 Jan 2011 15:53:28 +0000 (15:53 +0000)]
inputselector: remove "select-all" property

select-all mode is a bit broken (e.g. newsegment event
handling), so remove that for now. The funnel element
in farsight provides similar functionality.

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

13 years agogst: remove safety check for GLib < 2.8
Tim-Philipp Müller [Wed, 5 Jan 2011 15:36:55 +0000 (15:36 +0000)]
gst: remove safety check for GLib < 2.8

Don't worry about accidentally using GLib < 2.8 at runtime anymore.