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
Tim-Philipp Müller [Wed, 14 Apr 2010 10:50:38 +0000 (11:50 +0100)]
tests: more LDFLAGS -> LDADD fixes
Tim-Philipp Müller [Wed, 14 Apr 2010 10:40:21 +0000 (11:40 +0100)]
build: $(LIBM) belongs into LIBADD not LDFLAGS
Tim-Philipp Müller [Thu, 8 Apr 2010 08:14:24 +0000 (09:14 +0100)]
build: when building executables, put libs to link to into LDADD instead of LDFLAGS
Use foo_LDADD instead of foo_LDFLAGS to specify the libraries to link to.
This should make sure arguments are passed to the linker in the right
order. See #615697.
Benjamin Otte [Wed, 14 Apr 2010 09:19:14 +0000 (11:19 +0200)]
configure: Remove -Wcast-align
Apparently gcc warns that GstMiniObject is not castable to
GstEvent/Message/Buffer due to them containing 64bit variables, even
though ARM hackers claim that those only need 4byte alignment. And as
long as gcc behaves that way, this warning is not very useful.
So we'll remove the warning until this problem is fixed.
https://bugzilla.gnome.org/show_bug.cgi?id=615698
Tim-Philipp Müller [Tue, 13 Apr 2010 09:48:41 +0000 (10:48 +0100)]
configure: remove superfluous return statements at end of AC_TRY_{LINK,COMPILE} blocks
Spotted by JF Mertens. See #614767.
David Schleef [Mon, 5 Apr 2010 20:46:23 +0000 (13:46 -0700)]
configure: Change check for uint128_t
Check for ability to divide uint128_t values, since that what
we actually use it for (in gstutils.c). The existence of a
uint128_t type doesn't mean the compiler can actually generate
code for it. Also make sure that we can actually link the
result successfully.
Fixes bug #614767.
Tim-Philipp Müller [Mon, 12 Apr 2010 14:13:57 +0000 (15:13 +0100)]
docs: minor moving-plugins addition
Wim Taymans [Fri, 9 Apr 2010 13:48:00 +0000 (15:48 +0200)]
launch: make -q be more quiet
Convert some g_print into PRINT so that they are not printed when the -q option
is selected.
Wim Taymans [Fri, 9 Apr 2010 13:19:12 +0000 (15:19 +0200)]
queue2: add some more debug info
Wim Taymans [Fri, 9 Apr 2010 11:12:38 +0000 (13:12 +0200)]
fdsrc: allow specifying the size in bytes on the uri
Parse a size=value from the query string to specify a size. This is interesting
when reading from a file descriptor that actually has a size (and is not
stat-able, such as the socket of an http connection)
Wim Taymans [Fri, 9 Apr 2010 10:35:47 +0000 (12:35 +0200)]
queue2: when EOS we know the duration
When we are EOS, we don't need to do an upstream query for the duration in bytes
because we already know it is the offset of the last written byte.
Sebastian Dröge [Fri, 9 Apr 2010 11:08:13 +0000 (13:08 +0200)]
registrychunks: Initialize typefind/element factory registry chunks with zeroes
This makes valgrind stop complaining about reading unitializated memory,
which is not initialized because it's just compiler-added struct padding...
Sebastian Dröge [Fri, 9 Apr 2010 09:19:53 +0000 (11:19 +0200)]
Automatic update of common submodule
From d66a8c3 to fc85867
Tim-Philipp Müller [Thu, 8 Apr 2010 09:10:18 +0000 (10:10 +0100)]
.gitignore: add new .svg file in docs
Stefan Kost [Thu, 8 Apr 2010 07:47:03 +0000 (10:47 +0300)]
docs: use informalfigure tag to not syntax highlight the content
Stefan Kost [Thu, 25 Mar 2010 08:35:13 +0000 (10:35 +0200)]
docs: add concept map
Add a graphviz dot file. Add rules to render it to svg and include in docs.
Nodes are clickable. It is an attempt to show how things fit together.
Tim-Philipp Müller [Wed, 7 Apr 2010 18:30:49 +0000 (19:30 +0100)]
docs: add a few code snippets that show how to use gst_message_parse_*().
Tim-Philipp Müller [Wed, 7 Apr 2010 18:05:04 +0000 (19:05 +0100)]
build: bump autoconf requirement to 2.60 for gobject-introspection.m4
Require autoconf 2.60 (which was released in June 2006).
Fixes #600718.
Tim-Philipp Müller [Wed, 7 Apr 2010 11:29:52 +0000 (12:29 +0100)]
parse: fix more compiler warnings
Fix 'grammar.tab.c:815:6: warning: "YYENABLE_NLS" is not defined'
compiler warning and the same for YYLTYPE_IS_TRIVIAL. The two
translated strings aren't particularly helpful, so just define
YYENABLE_NLS to 0.
Tim-Philipp Müller [Wed, 7 Apr 2010 11:24:14 +0000 (12:24 +0100)]
parse: fix compiler warning
Fix 'grammar.y:668: passing argument 1 of ‘g_free’ discards qualifiers
from pointer target type' compiler warning.
Wim Taymans [Wed, 7 Apr 2010 14:05:38 +0000 (16:05 +0200)]
message: add Since: markers
Edward Hervey [Wed, 7 Apr 2010 07:31:39 +0000 (09:31 +0200)]
tests: gstsystemclock: don't leak the system clock
Stefan Kost [Sun, 4 Apr 2010 21:01:56 +0000 (00:01 +0300)]
build: fix out of sourcedir build for check
Move the internal header to nodist (as we copy it around anyway).
Use builddir in pattern substitution for it.
Fixes #61483.
Wim Taymans [Tue, 6 Apr 2010 15:46:36 +0000 (17:46 +0200)]
docs: fix some typos
Jonas Holmberg [Tue, 23 Feb 2010 08:16:55 +0000 (09:16 +0100)]
basesrc: fix gst_base_src_new_seamless_segment()
Keep track of pending newsegment in gst_base_src_new_seamless_segment()
to avoid pushing newsegment update before newsegment.
Stefan Kost [Sun, 4 Apr 2010 12:21:16 +0000 (15:21 +0300)]
docs: improve event docs
Rephrase first paragraph of section docs. Add detail to eos event docs.
Edward Hervey [Mon, 29 Mar 2010 06:43:05 +0000 (08:43 +0200)]
gst-indent: Add --leave-preprocessor-space for indent 2.2.11
It was previously broken, which is why we never needed it. This keeps backward
compatibility with indent <= 2.2.11
Tim-Philipp Müller [Wed, 31 Mar 2010 09:43:04 +0000 (10:43 +0100)]
libs: point gobject-introspection scanner to .la files
Point g-ir-scanner to the .la file of our library, which hopefully
makes it find the right dependencies in all cases (ie. our locally
built libgstreamer and not the system-installed one). This is also
how it's done in Gtk+ and how it's documented in the wiki, see
http://live.gnome.org/GObjectIntrospection/AutotoolsIntegration
Based on patches by Vincent Untz and Alan Knowles.
Fixes #603710.
Philip Withnall [Fri, 2 Apr 2010 00:16:16 +0000 (01:16 +0100)]
utils: Use G_GNUC_CONST instead of G_GNUC_PURE for conversion functions
Fixes bug #614629.
Edward Hervey [Thu, 1 Apr 2010 11:19:06 +0000 (13:19 +0200)]
tests: Don't forget to unref the newsegment event
Edward Hervey [Thu, 1 Apr 2010 10:34:53 +0000 (12:34 +0200)]
common: Update to latest revision for new suppressions
Stefan Kost [Wed, 31 Mar 2010 19:07:57 +0000 (22:07 +0300)]
tests: add test for updating playback rate
Tests if a seek with both positions being GST_SEEK_TYPE_NONE is handled.
Wim Taymans [Wed, 31 Mar 2010 14:55:55 +0000 (16:55 +0200)]
docs: add copy and conv function to buffer2 draft
Wim Taymans [Wed, 31 Mar 2010 08:54:55 +0000 (10:54 +0200)]
docs: update buffer2 draft
Stefan Kost [Wed, 31 Mar 2010 08:26:28 +0000 (11:26 +0300)]
docs: improve communication picture and section
Indicate that only messages go via bus. Also add queries between elements.
Sebastian Dröge [Wed, 31 Mar 2010 08:24:11 +0000 (10:24 +0200)]
event: Use correct type for the message parameter in gst_event_{new,parse}_sink_message
The struct workaround was only necessary in gstevent.h, gstutils.h knows about GstMessage
Stefan Kost [Wed, 31 Mar 2010 06:56:50 +0000 (09:56 +0300)]
docs: add communication overview to docs
Add a section to the basics that show buffers, events, messages and queries
together and describe the basics.
Tim-Philipp Müller [Tue, 30 Mar 2010 14:56:39 +0000 (15:56 +0100)]
pkgconfig: add girdir and typelibdir variables to .pc files
So that the -base libs can figure out the right include paths for the
gobject-introspection tools even if core got installed into a prefix
that's not the same prefix as gobject-introspection is installed in
or it's being build in an uninstalled gstreamer setup.
Tim-Philipp Müller [Tue, 30 Mar 2010 14:22:54 +0000 (15:22 +0100)]
po: update for new string
Tim-Philipp Müller [Tue, 30 Mar 2010 14:20:07 +0000 (15:20 +0100)]
build: make autotools put its m4 files into m4/ instead of common/m4/
This is how we do it in the other modules, and gets rid of the annoying
dirty status for common when doing git status (at least once you clean
out the old files from there).
Tim-Philipp Müller [Tue, 30 Mar 2010 11:33:01 +0000 (12:33 +0100)]
build: build examples subdirectories in parallel if requested
Thiago Santos [Sun, 28 Mar 2010 23:55:09 +0000 (20:55 -0300)]
basetransform: Refactor caps suggestion on pad_alloc
Refactor the handling of sink suggestion caps variable
so that it always has a ref to the caps it points to.
Makes the code clearer.
Stefan Kost [Mon, 29 Mar 2010 13:34:03 +0000 (16:34 +0300)]
gstinfo: add a comment explaining the reason for using fucntion protos here.
Stefan Kost [Mon, 29 Mar 2010 13:13:54 +0000 (16:13 +0300)]
gstinfo: always define dummy debug category as a function prototype
It does not seem to make sense to define this as a function only if we have
varargs macros.
Stefan Kost [Sun, 28 Mar 2010 12:10:20 +0000 (15:10 +0300)]
build: fix redeclaration erors when building with --gst-disable-gst-debug
Give dummy symbols a uniqe name.
Stefan Kost [Sun, 28 Mar 2010 11:49:03 +0000 (14:49 +0300)]
build: move some prototypes out of #ifndef GST_DISABLE_GST_DEBUG
Move the prototypes up together. We only define the macros differently.
Fixes bug #614167 mostly.
Stefan Kost [Mon, 29 Mar 2010 13:05:44 +0000 (16:05 +0300)]
info: readd the use of GstDebugFuncPtr typedef and tell why
This reverts the related changes from
3f4954e42d0440a7a598a908325c45ea9db076e4
and
ffb0a4e1905a873191f8c802346261e8c4435065.