Commit graph

8995 commits

Author SHA1 Message Date
Edward Hervey
c1a75a0b45 gstbasesrc: unsigned long is "%lu", not "%ul". Fixes build on macosx 2009-03-11 11:23:05 +01:00
Stefan Kost
36205e7d42 logging: some additional logging for tracing caps negotiation.
Demote one log that can come quite often. Remove one fixme that is done. Apply
gst-indent changes.
2009-03-10 21:13:40 +02:00
Stefan Kost
01dfca40f1 comment: add a fixme-0.11 2009-03-10 21:13:40 +02:00
Stefan Kost
d6807e1ae3 formatting: tabs to spaces 2009-03-10 21:13:40 +02:00
Jan Schmidt
563305cd77 Automatic update of common submodule
From 7032163 to f8b3d91
2009-03-09 23:11:24 +00:00
Tim-Philipp Müller
32e36d2840 gstreamer.spec: fix stray @GLIB2_REQ@ that didn't get expanded properly 2009-03-09 20:07:12 +00:00
Wim Taymans
72101e3b14 docs: reword stuff about custom mainloops
Fixes #574229.
2009-03-09 16:10:37 +01:00
Stefan Kost
50fdaa4f25 dump2dot: don't use GST_TIME_FORMAT when building filenames. fixes #574623 2009-03-09 16:01:20 +02:00
Wim Taymans
da0060d3aa pad: call new callbacks set in the block callback
Keep track of when a new callback is installed in the callback and call the new
callback in that case.
Add unit test for checking pad blocking.
Fixes #573823.
2009-03-09 11:48:36 +01:00
Tim-Philipp Müller
646a746965 win32: update enumtypes and config.h 2009-03-08 17:22:43 +00:00
Tim-Philipp Müller
2f4eba5892 docs: improve docs for gst_tag_list_get_date*()
Mention that the date value needs to be freed and how to free it.
2009-03-08 17:15:33 +00:00
Sebastian Dröge
05cb4f7810 Automatic update of common submodule
From ffa738d to 7032163
2009-03-08 12:02:15 +01:00
Sebastian Dröge
cc1708aa26 Automatic update of common submodule
From 3f13e4e to ffa738d
2009-03-08 11:17:50 +01:00
Stefan Kost
fd0b4ff60b dump2dot: improve caps logging
Factor out code to describe caps. Improve formating (no \n in caps fields).
Check peer caps too and show both if they differ.
2009-03-08 00:32:43 +02:00
Sebastian Dröge
687da8d289 Automatic update of common submodule
From 3c7456b to 3f13e4e
2009-03-07 11:43:31 +01:00
Sebastian Dröge
f00f94cacd Automatic update of common submodule
From 57c83f2 to 3c7456b
2009-03-07 10:43:32 +01:00
Stefan Kost
de48f9c507 collectpads: revert accidential commit from the queue (me should start using branches) 2009-03-06 22:10:10 +02:00
Stefan Kost
1ec60ae392 apidocs: markup example as highlightable example and copy same for structure
structures can be printed like we can do for caps. Mark the example so that
gtk-doc can pretty print and xref it.
2009-03-06 21:59:20 +02:00
Stefan Kost
436b0e7275 collectpads: reliably go to eos. Fixes #574160
Update collectpads status when removing pads.
2009-03-06 21:50:19 +02:00
Alessandro Decina
c20fb4c16f identity: ignore the return value of gst_pad_event_default when sending out the newsegment event in single-segment mode.
This makes identity single-segment=true ! oggmux work again after a change in
oggmux (commit b0e3d449 in -base).
2009-03-06 12:13:14 +01:00
Andy Wingo
e2ff005e63 basesink: propagate UPSTREAM events in pull mode too
* libs/gst/base/gstbasesink.c (gst_base_sink_send_event): Propagate
  upstream events in pull mode too.
2009-03-05 17:42:22 +01:00
Antoine Tremblay
fe2f12b162 GstPad: relax failure to deactivate unlinked pads
When de/activating a pad in pull mode the pad needs to de/activate the
peer pad it is connected to, failure to be able to do this in activation mode
is an error.

However if there is no peerpad, we can still deactivate the pad correctly and
assume the application will deactivate the unlinked peer pad eventually.

Fixes #574163.
2009-03-05 11:29:48 +01:00
LRN
e13168bd4b GstPoll: set the return value on windows
Make sure that the return value of the functions _read/_write_control()
return the actual result instead of always FALSE on windows.
Fixes #574211.
2009-03-05 11:02:59 +01:00
Tim-Philipp Müller
5fd1bf613c pwg: update for CVS-to-git migration
Fixes #573946.
2009-03-04 10:47:38 +00:00
Edward Hervey
f0481cb717 GstAdapter: Discard empty buffers in _push(). Fixes #574024 2009-03-04 09:20:43 +01:00
Tim-Philipp Müller
2323d50faa Update .gitignore 2009-03-03 20:01:43 +00:00
Tim-Philipp Müller
2c4305d439 gst-uninstalled: add bits for uninstalled checkouts of gst-openmax and totem 2009-03-03 19:58:53 +00:00
Sebastian Dröge
3c6448c64e API: Add gst_util_array_binary_search() for binary searchs on a sorted array
This will be mostly useful in all elements that have some kind of internal
seek/index table. Currently almost all of them (or even all of them)
are using a linear search although the used array is already sorted,
wasting some CPU time without good reason.

Fixes bug #573623.
2009-03-02 16:17:45 +01:00
David Schleef
a29773e4cc Bump glib requirement to 2.14
Also remove code conditional on < 2.14.
2009-02-28 11:15:29 -08:00
Olivier Crête
4292c66ccd Remove win32/common/config.h.in from MANIFEST, it no longer exists 2009-02-28 13:34:08 -05:00
Edward Hervey
69b8a22ffa capsfilter: Properly reset the capsfilter when setting caps ANY. 2009-02-27 13:35:35 +01:00
Wim Taymans
013f4a58d5 design: update the framestep draft
Update the docs a little.
Add property to allow incremental stepping so that we can reduce excessive
queueing.
2009-02-27 12:36:54 +01:00
Stefan Kost
df620c9cb6 basesink: move left over handling of the error case to the activate_failed label.
If was left as dead code.
2009-02-26 15:42:06 +02:00
Jan Schmidt
55ca35afdf build: Update shave init statement for changes in common. Bump common. 2009-02-25 19:59:57 +00:00
Stefan Kost
6911aa59be binary registry: Don't attempt to parse empty caps 2009-02-25 16:03:25 +02:00
Sebastian Dröge
70fcf4a201 registry: Set typefind factory caps to NULL instead of empty caps if they originally were NULL 2009-02-25 14:19:54 +01:00
Jan Schmidt
6f0da920ef Automatic update of common submodule
From 9cf8c9b to a6ce5c6
2009-02-25 11:31:38 +00:00
Sebastian Dröge
fdc03c2841 registrybinary: Check if typefind factory caps are NULL before copying them 2009-02-24 15:10:15 +01:00
Wim Taymans
76e4fca773 Remove undeclared symbols from docs
Remove some undeclared symbols from the docs.
2009-02-24 11:40:14 +01:00
David Schleef
81d012ecd9 Change how win32/common/config.h is updated
Generate win32/common/config.h-new directly from config.h.in,
using shell variables in configure and some hard-coded information.
Change top-level makefile so that 'make win32-update' copies the
generated file to win32/common/config.h, which we keep in source
control.  It's kept in source control so that the git tree is
buildable from VS.
2009-02-23 13:08:00 -08:00
David Flynn
279a80ff27 Add srcdir to includes for out-of-source builds
When you use gstreamer uninstalled and build outside
the source tree, the includes need to be specified for
both the source tree and the build tree.

Signed-off-by: David Schleef <ds@schleef.org>
2009-02-23 10:54:53 -08:00
Wim Taymans
79c3c6a339 Error out more specifically on empty caps
When we get empty caps from the getcaps function in the default negotiate
function, post a more descriptive error.
2009-02-23 17:37:46 +01:00
Andy Wingo
dcc6ab2cce fix uri handler iteration in gst-inspect
* tools/gst-inspect.c (print_all_uri_handlers): Whoops, fix iteration.
  I'm stupid.
2009-02-23 15:24:00 +01:00
LRN
4cd4883ed3 Fix signed when compiling with MSys/MinGW
fix signed issues when compiling with MSys/MinGW.
Fixes #572591.
2009-02-23 12:33:13 +01:00
Wim Taymans
805569c873 Don't forward LATENCY event when not ready
When we are not ready to handle a latency query (we are not yet prerolled) we
also don't try to forward the latency event because that might cause unexpected
errors when upstream is not yet linked.
2009-02-23 10:53:17 +01:00
Edward Hervey
b81b9c0e59 Remove core file from previous commit 2009-02-22 22:09:39 +01:00
Alessandro Decina
d3940f520b GstPad: Add gst_pad_set_blocked_async_full
This allows connecting a GDestroyNotify for when the callback is removed/replaced.
Partially fixes #514717
2009-02-22 20:01:05 +01:00
Sebastian Dröge
5bd73d1456 Include floating point write/read functions in the docs by working around a gtk-doc bug 2009-02-22 19:05:20 +01:00
Ali Sabil
cd1f18bd12 Use the correct unref function 2009-02-22 18:53:10 +01:00
Ali Sabil
136cfb3bed Convert unref/copy functions of GstMiniObject subclasses to static inline functions
unref and copy functions are sometimes used as function
pointers for example in the case of g_hash_table_new_full
as a GDestroyNotify function.

Currently GstBuffer, GstEvent, GstMessage and GstQuery
define their respective unref and copy functions as
macros, making use of gst_mini_object_unref/copy.
This approach works very well for most cases, except
for some automatically generated bindings (currently Vala),
where the memory management semantics are defined
declaratively.

The possible solutions would be to either convert all
the macros into static inline function, or change the
signature of gst_mini_object_unref to take a void*
instead of a GstMiniObject*.

Fixes bug #572480.
2009-02-22 18:51:08 +01:00