Sebastian Dröge [Sun, 13 Jun 2010 13:25:24 +0000 (15:25 +0200)]
iterator: Add new FIXME for 0.11 and update gst_iterator_find_custom docs
The compare function should only unref the element if it's
not the matching element.
Also the FIXME in _fold() is not relevant because the ref/unref
happens in the fold function.
Sebastian Dröge [Sun, 13 Jun 2010 09:24:10 +0000 (11:24 +0200)]
iterator: If the iterator resync in find_custom() just retry
Sebastian Dröge [Sat, 12 Jun 2010 06:25:24 +0000 (08:25 +0200)]
Automatic update of common submodule
From 733fca9 to 6da3bab
Sebastian Dröge [Sat, 12 Jun 2010 06:04:47 +0000 (08:04 +0200)]
value: Add test for deserializing fourccs
Martin Bisson [Fri, 11 Jun 2010 22:56:13 +0000 (22:56 +0000)]
value: Fixed serialization for short fourccs.
"Y16 " and "Y8 " were not displayed properly because the space
character is not alnum. A unit test is also included.
Fixes bug #621282.
David Schleef [Fri, 11 Jun 2010 23:12:33 +0000 (16:12 -0700)]
gst-inspect: print ranks with offsets from names
David Schleef [Wed, 9 Jun 2010 19:39:54 +0000 (12:39 -0700)]
Automatic update of common submodule
From fad145b to 733fca9
David Schleef [Wed, 9 Jun 2010 19:30:49 +0000 (12:30 -0700)]
Automatic update of common submodule
From 47683c1 to fad145b
Stefan Kost [Wed, 9 Jun 2010 09:17:03 +0000 (12:17 +0300)]
debugutils: fix comment typo even more
Stefan Kost [Wed, 9 Jun 2010 09:06:52 +0000 (12:06 +0300)]
docs: update docs (format and search path).
Remove obsolete xml registry cache extension. Tell that content and location is
internal detail. Docuemnt the plugin search order.
Stefan Kost [Wed, 9 Jun 2010 09:06:16 +0000 (12:06 +0300)]
comments: add a few comments to the sparsely documented plugin loader
Zaheer Abbas Merali [Tue, 8 Jun 2010 09:41:11 +0000 (11:41 +0200)]
debugutils: fix comment typo
Stefan Kost [Tue, 8 Jun 2010 09:12:42 +0000 (12:12 +0300)]
caps: use gst_caps_append_structure_unchecked() macro once more
Stefan Kost [Tue, 8 Jun 2010 09:10:36 +0000 (12:10 +0300)]
caps: use a safer name for temporary var. to not shadow one from outer scope
Stefan Kost [Mon, 7 Jun 2010 09:20:41 +0000 (12:20 +0300)]
value: use glib types in more places
Do a bunch of char -> gchar, int -> gint, double -> gdouble changes.
Stefan Kost [Mon, 7 Jun 2010 09:07:30 +0000 (12:07 +0300)]
value: just compute strlen() once
Wim Taymans [Mon, 7 Jun 2010 08:16:04 +0000 (10:16 +0200)]
queue2: don't wait for data when EOS
When in download mode and we need to provide data for an offset that we don't
have, also perform a seek to the requested location when we are EOS. The reason
why we shouldn't wait for more data is because after EOS, there simply will be
no more data and we end up waiting forever.
Fixes #620500
Martin Bisson [Mon, 7 Jun 2010 06:18:40 +0000 (08:18 +0200)]
value: Add support for parsing short fourccs from strings
For example "Y16 " and "Y8 ".
Stefan Kost [Sun, 6 Jun 2010 20:19:58 +0000 (23:19 +0300)]
check: use globbing for selective test invocation via GST_CHECKS
Use glib globbing instead of simple string matching to allow e.g.
GST_CHECKS="test_inter*" make gst/gstcaps.check
Stefan Kost [Sun, 6 Jun 2010 18:20:21 +0000 (21:20 +0300)]
capsnego: also meassure pipeline building time
Stefan Kost [Sat, 5 Jun 2010 20:18:09 +0000 (23:18 +0300)]
basetransform: avoid a caps-copy
We can simply truncate the caps, as 'othercaps' is the result of intersect
operations and thus ours and writable.
Tim-Philipp Müller [Thu, 3 Jun 2010 00:49:51 +0000 (01:49 +0100)]
info: add new TRACE log level and move refcounting there from LOG level
This makes it possible to easily get a *:5 debug log without all
the refcounting noise, and drastically reduces the number of lines
output for a normal log (46m to 28m for a 20min video). The full log
including refcounting information can still be gotten using *:7.
Fixes #620460.
Sebastian Dröge [Fri, 4 Jun 2010 15:10:05 +0000 (17:10 +0200)]
utils: Use G_PARAM_STATIC_STRINGS for standard properties
Philippe Normand [Thu, 3 Jun 2010 15:21:00 +0000 (17:21 +0200)]
basesink: Make gst_base_sink_query return TRUE if the segment query succeeded.
Fixes bug #620490.
David Schleef [Wed, 2 Jun 2010 06:48:59 +0000 (23:48 -0700)]
Automatic update of common submodule
From 17f89e5 to 47683c1
David Schleef [Wed, 2 Jun 2010 05:54:20 +0000 (22:54 -0700)]
Automatic update of common submodule
From fd7ca04 to 17f89e5
Stefan Kost [Mon, 24 May 2010 14:25:52 +0000 (17:25 +0300)]
pads: Improve readability for gst_pad_fixate_caps()
Just truncate and then fixate. We check for empty caps in the begin and a
fixate-func that empties a caps would be broken. It also helps lazy caps impl.
in bug 618853 by avoiding the gst_caps_get_size().
Tim-Philipp Müller [Tue, 1 Jun 2010 10:46:17 +0000 (11:46 +0100)]
check: log plugins available to unit tests and their paths
Tim-Philipp Müller [Tue, 1 Jun 2010 10:45:11 +0000 (11:45 +0100)]
win32: commit Makefile changes for win32-update as well
Tim-Philipp Müller [Mon, 31 May 2010 14:14:53 +0000 (15:14 +0100)]
win32: add pre-generated versions of gstmarshal.[ch] as well
and put them next to the pre-generated enumtypes files for those
not using autotools for buildling GStreamer.
Mark Nauwelaerts [Thu, 27 May 2010 13:10:34 +0000 (15:10 +0200)]
tests: also check for adapter buffer merging in unit test
Mark Nauwelaerts [Thu, 27 May 2010 10:50:22 +0000 (12:50 +0200)]
adapter: fix _try_to_merge_up
That is, provide correct return value (as documented), and actually
loop to consider more than the first 2 buffers.
Mark Nauwelaerts [Thu, 27 May 2010 10:48:18 +0000 (12:48 +0200)]
collectpads: fix documentation glitch
Tim-Philipp Müller [Wed, 26 May 2010 10:54:35 +0000 (11:54 +0100)]
Automatic update of common submodule
From 357b0db to fd7ca04
Wim Taymans [Tue, 25 May 2010 17:17:44 +0000 (19:17 +0200)]
gstbin: unlock _get_state() on error
When an error message is received on the bus, mark the bin as being in the error
state and unlock all current _get_state() calls with an error.
Fixes #505770
Tim-Philipp Müller [Mon, 24 May 2010 18:07:35 +0000 (19:07 +0100)]
checks: add multi-thread test for tagsetter
See #619533.
Tim-Philipp Müller [Mon, 24 May 2010 18:06:45 +0000 (19:06 +0100)]
tagsetter: make sure only one thread creates the TagData
Tim-Philipp Müller [Mon, 24 May 2010 17:16:19 +0000 (18:16 +0100)]
tagsetter: protect tagsetter operations with a lock
So we don't crash when a muxer tries to add tags from two
threads at the same time, eg. because it received tag events
on two input pads simultaneously.
See #619533.
Stefan Kost [Sat, 22 May 2010 20:26:16 +0000 (23:26 +0300)]
caps: use our macros more often in the code
Stefan Kost [Sat, 22 May 2010 20:07:10 +0000 (23:07 +0300)]
caps: add append_structure_unchecked
This is useful when we know that caps is !NULL, writable and structure is
!NULL too.
Stefan Kost [Sat, 22 May 2010 19:46:40 +0000 (22:46 +0300)]
tests: rename testsuite
Previous name was only applicable to a few of the tests.
Stefan Kost [Sat, 22 May 2010 19:45:33 +0000 (22:45 +0300)]
docs: xref function name
Stefan Kost [Sat, 22 May 2010 19:44:02 +0000 (22:44 +0300)]
caps: use our macos more
Stefan Kost [Sat, 22 May 2010 19:33:09 +0000 (22:33 +0300)]
design: more planning on lazy caps.
Sebastian Dröge [Sat, 22 May 2010 08:01:44 +0000 (10:01 +0200)]
structure: API: Add gst_structure_fixate_field_string()
Stefan Kost [Wed, 19 May 2010 13:21:49 +0000 (16:21 +0300)]
design: collect ideas for having lazy caps
Design doc for having on the fly evaluated caps (see bug #618853).
Stefan Kost [Wed, 19 May 2010 12:57:08 +0000 (15:57 +0300)]
docs: add links for GSource priorities
Now it is xreffed with the glib docs, where the priority scale is explained.
Stefan Kost [Wed, 19 May 2010 11:08:26 +0000 (14:08 +0300)]
benchmark: add commandline parameters for capsnego
Allow to specify the graph size and offer two flavours (audio/video).
Stefan Kost [Wed, 19 May 2010 06:56:51 +0000 (09:56 +0300)]
benchmarks: add a benchmark for capsnegotiation
The test builds a tree like graph having conversion and basetransform elements.
Stefan Kost [Tue, 18 May 2010 14:51:01 +0000 (17:51 +0300)]
benchmarks: use gst_util_get_timestamp() instead of own implementation
Wim Taymans [Tue, 18 May 2010 16:38:14 +0000 (18:38 +0200)]
basesink: add jitter to debug output
Wim Taymans [Tue, 18 May 2010 16:35:58 +0000 (18:35 +0200)]
miniobject: cleanup type registration a little
We can make some structs const static with little effort.
Tim-Philipp Müller [Mon, 17 May 2010 12:09:15 +0000 (13:09 +0100)]
pad: don't print WARNING debug statements for normal things like EOS, part II
Tim-Philipp Müller [Fri, 14 May 2010 17:22:41 +0000 (18:22 +0100)]
Automatic update of common submodule
From 4d67bd6 to 357b0db
Stefan Kost [Fri, 14 May 2010 08:52:03 +0000 (11:52 +0300)]
caps: comment and whitespace cleanup
Make comment more specific, reposition it and add more of the kind.
Move one ifdef'ed function around.
Sebastian Dröge [Thu, 13 May 2010 06:21:37 +0000 (08:21 +0200)]
utils: Simplify fractions before doing calculations that could cause overflows
... to prevent some unnecessary overflows from happenening.
Sebastian Dröge [Thu, 13 May 2010 06:00:08 +0000 (08:00 +0200)]
utils: GCD is 0 if both parameters are 0, don't divide by zero
And turn overflow checks from assertions into simple checks to
return FALSE.
Sebastian Dröge [Thu, 13 May 2010 05:51:14 +0000 (07:51 +0200)]
utils: Simplify result of gst_fraction_multiply()
Tristan Matthews [Mon, 10 May 2010 17:25:04 +0000 (13:25 -0400)]
faq: updated line about jack output
Edward Hervey [Mon, 3 May 2010 09:32:20 +0000 (11:32 +0200)]
tests: Read return value to make clang/icc happy
Wim Taymans [Thu, 6 May 2010 14:41:09 +0000 (16:41 +0200)]
Revert "pad: don't check twice for changed caps per push"
We need to check the pad caps on the srcpad as well as on the sinkpad. Revert
this commit as it removes the check on the srcpad and can leave the srcpad
unnegotiated (or negotiated with wrong caps)
This reverts commit
07dc1e5b49580a89bfef27ff27476d51fb3ce2c2.
Stefan Kost [Thu, 6 May 2010 14:02:49 +0000 (17:02 +0300)]
pad: don't check twice for changed caps per push
gst_pad_chain_data_unchecked() does the same check already.
Stefan Kost [Thu, 6 May 2010 13:51:16 +0000 (16:51 +0300)]
basesrc: reflow to truncate caps just once
We get writable caps from the intersection (unless it failed). As we truncate
those anyway, we don't need to manualy copy the first structure.
Руслан Ижбулатов [Tue, 4 May 2010 09:29:02 +0000 (13:29 +0400)]
tools: fix gst-run wrapper to work on Windows
Fixes #617625
Tim-Philipp Müller [Sun, 2 May 2010 23:26:04 +0000 (00:26 +0100)]
docs: document that gst_byte_writer_put_string*() writes the terminator too
Wim Taymans [Wed, 5 May 2010 10:01:50 +0000 (12:01 +0200)]
docs: clarify the pull_range functions
Clarify the gst_pad_pull_range(), GstBaseSrc::create(), gst_pad_get_range()
and GstPadGetRange functions a little.
Fixes #617733
Wim Taymans [Tue, 4 May 2010 09:45:02 +0000 (11:45 +0200)]
basesrc: improve debugging
Wim Taymans [Fri, 30 Apr 2010 09:27:12 +0000 (11:27 +0200)]
utils: use reffed _get_caps() version
We don't need to have a writable copy so we can use the _reffed
version instead.
Thiago Santos [Fri, 30 Apr 2010 00:57:15 +0000 (21:57 -0300)]
tags: Adds geo location direction tags
Adds 3 new geo location tags involving direction and
movement of capture. Those are:
API: GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION
API: GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
API: GST_TAG_GEO_LOCATION_MOVEMENT_SPEED
Fixes #617223
Thiago Santos [Fri, 16 Apr 2010 09:57:05 +0000 (06:57 -0300)]
tags: Adds GST_TAG_DEVICE_MANUFACTURER and GST_TAG_DEVICE_MODEL
Adds those new tags to describe the device manufacturer and
model used to create medias.
API: GST_TAG_DEVICE_MANUFACTURER
API: GST_TAG_DEVICE_MODEL
Fixes #615941
Tim-Philipp Müller [Sun, 2 May 2010 18:43:55 +0000 (19:43 +0100)]
pwg: remove confusing metadata example with 0.8 code
Fixes #534314.
Tim-Philipp Müller [Sun, 2 May 2010 18:30:30 +0000 (19:30 +0100)]
manual: add minimal tag reading example
Should probably put that into tests/examples and figure out how to
get it included automatically, but can't be bothered right now.
Tim-Philipp Müller [Fri, 30 Apr 2010 12:10:16 +0000 (13:10 +0100)]
Bump GLib requirement to 2.20
See http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement
Tim-Philipp Müller [Thu, 29 Apr 2010 22:29:30 +0000 (23:29 +0100)]
buffer: only warn if metadata is not writable when it should be, don't return as well
Make sure we execute the same code path in git versions and in releases,
so just warn when metadata isn't writable when we want it to be instead
of bailing out.
Tim-Philipp Müller [Thu, 29 Apr 2010 22:26:54 +0000 (23:26 +0100)]
element: make 'adding flushing pad' warning more useful
This is a pretty common issue with ghost pads, let's make
the warning more helpful and tell people what they need
to do to fix it.
Stefan Kost [Wed, 28 Apr 2010 14:15:41 +0000 (17:15 +0300)]
gst-launch: add -p option to disable play handler.
Same logic as for the fault handler. This is useful for some debug/tracing tools
that need to grab SIGUSR1 and SIGUSR2 them self.
Stefan Kost [Thu, 15 Apr 2010 07:36:52 +0000 (10:36 +0300)]
basesink: implement percentage position and duration queries
If upstream does not handle them, then implement those ourself.
Stefan Kost [Wed, 14 Apr 2010 14:47:36 +0000 (17:47 +0300)]
basesink: use gst_pad_peer_query instead of reinventing.
Stefan Kost [Wed, 14 Apr 2010 14:46:55 +0000 (17:46 +0300)]
queries: add more logging
Log human readable formats and log query result.
Benjamin Otte [Mon, 19 Apr 2010 18:35:36 +0000 (20:35 +0200)]
caps: Do not allow fixating empty caps
Passing empty caps to gst_pad_fixate_caps() is invalid, as empty caps
cannot be fixated.
Benjamin Otte [Mon, 26 Apr 2010 19:52:07 +0000 (21:52 +0200)]
caps: Use G_GNUC_WARN_UNUSED_RESULT for make_writable()
People often call
gst_caps_make_writable (caps);
instead of
caps = gst_caps_make_writable (caps);
and cause a bug. Warning about an unused return value helps here.
See https://bugzilla.gnome.org/show_bug.cgi?id=616541#c2 for an example.
Sebastian Dröge [Fri, 23 Apr 2010 04:24:56 +0000 (06:24 +0200)]
gst: Use GError boxed type from GObject 2.25.2 instead of our own if possible
Tim-Philipp Müller [Thu, 29 Apr 2010 13:50:36 +0000 (14:50 +0100)]
Back to development.
Wim Taymans [Thu, 15 Apr 2010 15:11:46 +0000 (17:11 +0200)]
docs: add some more docs for the events
Tim-Philipp Müller [Tue, 27 Apr 2010 22:42:12 +0000 (23:42 +0100)]
Release 0.10.29
Tim-Philipp Müller [Tue, 27 Apr 2010 22:40:41 +0000 (23:40 +0100)]
Update .po files
Stefan Kost [Tue, 27 Apr 2010 06:42:05 +0000 (09:42 +0300)]
tests: add more tests for controller
The tests verify that bug #616846 is indeed fixed.
Benjamin Otte [Mon, 26 Apr 2010 13:43:17 +0000 (15:43 +0200)]
controller: Fix gst_interpolation_control_source_find_control_point_iter
The logic in that function is broken. Various NULL-checking bandaids for
guaranteed non-NULL variables didn't even help there.
This patch updates the function to check if a previous item exists
before fetching it instead of after. This makes all other tests
unnecessary.
In particular, it makes the check for an empty list unnecessary, because
for empty lists the only iter is the begin iter (and the end iter) and
so the new check catches that case.
https://bugzilla.gnome.org/show_bug.cgi?id=616846
Tim-Philipp Müller [Sun, 25 Apr 2010 20:15:51 +0000 (21:15 +0100)]
0.10.28.3 pre-release
Tim-Philipp Müller [Tue, 20 Apr 2010 16:17:38 +0000 (17:17 +0100)]
doap: update repository info from cvs->git and maintainers
Tim-Philipp Müller [Fri, 23 Apr 2010 13:39:20 +0000 (14:39 +0100)]
Automatic update of common submodule
From fc85867 to 4d67bd6
Sebastian Dröge [Fri, 16 Apr 2010 18:09:40 +0000 (20:09 +0200)]
docs: Consistently use MyFilter instead of sometimes ExampleFilter in the example
Fixes bug #615579.
Tim-Philipp Müller [Fri, 16 Apr 2010 13:22:18 +0000 (14:22 +0100)]
pad: add enums for custom flow return success and error codes
This way people can just #define their own custom flow returns to
one of these without having the compiler (esp. gcc-4.5) complain
about comparing integers to an enum or the enum not being listed
Fixes #615880.
API: GST_FLOW_CUSTOM_SUCCESS_1
API: GST_FLOW_CUSTOM_SUCCESS_2
API: GST_FLOW_CUSTOM_ERROR_1
API: GST_FLOW_CUSTOM_ERROR_2
Sebastian Dröge [Thu, 15 Apr 2010 20:05:38 +0000 (22:05 +0200)]
lfocontrolsource: Use correct setter for double GValues
Thiago Santos [Thu, 15 Apr 2010 14:08:03 +0000 (11:08 -0300)]
tags: doc fixes
Adds missing ':' to tags docs
Tim-Philipp Müller [Thu, 15 Apr 2010 10:38:19 +0000 (11:38 +0100)]
bin: fix bogus variable type
The result of gst_iterator_find_custom() is not a GstIterator *.
Tim-Philipp Müller [Wed, 14 Apr 2010 11:20:13 +0000 (12:20 +0100)]
0.10.28.2 pre-release
Tim-Philipp Müller [Wed, 14 Apr 2010 11:12:56 +0000 (12:12 +0100)]
po: update translations
Tim-Philipp Müller [Wed, 14 Apr 2010 11:43:41 +0000 (12:43 +0100)]
structure: log what structure string we failed to parse
Wim Taymans [Wed, 14 Apr 2010 15:56:17 +0000 (17:56 +0200)]
bin: fix refcount when removing elements during state change
When an element is removed from a bin because it caused a state change error,
don't unref the child twice.
Add some more debug info.
Add a unit test for this error.
Fixes #615756