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.
Alan Knowles [Mon, 29 Mar 2010 09:22:43 +0000 (10:22 +0100)]
net: fix typo in net client clock structure
It's sockaddr_in, not sockaddr_id.
Tim-Philipp Müller [Fri, 26 Mar 2010 17:12:05 +0000 (17:12 +0000)]
build: add cruft alert for common/shave*
Sebastian Dröge [Sun, 28 Mar 2010 19:02:41 +0000 (21:02 +0200)]
info: Fix build at least until the correct fix is found
See bug #614167.
Sebastian Dröge [Sun, 28 Mar 2010 17:13:22 +0000 (19:13 +0200)]
structure: Make structure abbreviations array one-time initialization threadsafe
Sebastian Dröge [Sun, 28 Mar 2010 16:05:36 +0000 (18:05 +0200)]
iterator: Add FIXME 0.11 for using GSlice for allocation
Sebastian Dröge [Sun, 28 Mar 2010 16:05:36 +0000 (18:05 +0200)]
gst: Use GSlice instead of normal g_malloc in more places
Stefan Kost [Sun, 28 Mar 2010 10:14:06 +0000 (13:14 +0300)]
build: more some prototypes out if #ifndef GST_DISABLE_GST_DEBUG
The build was failing becasue of a new warning. There are still failures
(tracked via bug #614167).
Tim-Philipp Müller [Thu, 25 Mar 2010 20:04:37 +0000 (20:04 +0000)]
po: update translations for newly-added strings
Tim-Philipp Müller [Thu, 25 Mar 2010 19:56:00 +0000 (19:56 +0000)]
docs: fix intermittent make distcheck failures
Use .NOTPARALLEL when building docs. This avoids intermittent
make distcheck failures like 'cp: cannot create regular file
`build/image.entities': File exists' when using -jN.
Fixes #590718.
Sebastian Dröge [Thu, 25 Mar 2010 17:57:40 +0000 (18:57 +0100)]
elementfactory: Add FIXME 0.11 to remove GstElementDetails from the public API
It's not necessary anymore to expose this as public API and this allows
easier extension of the element details by new fields.
Wim Taymans [Thu, 25 Mar 2010 17:43:04 +0000 (18:43 +0100)]
queue2: handle write errors
Handle write errors to the temporary download file and post errors when
something went wrong.
Wim Taymans [Thu, 25 Mar 2010 17:13:02 +0000 (18:13 +0100)]
queue2: add element query function
Add an element query function that is a little more efficient than the generic
default query handler.
Wim Taymans [Thu, 25 Mar 2010 17:12:06 +0000 (18:12 +0100)]
bin: improve docs a little
Mention that a DURATION message does not mean that one can safely query the
duration on a bin, that only works when the bin is prerolled.
Wim Taymans [Thu, 25 Mar 2010 17:05:28 +0000 (18:05 +0100)]
queue2: remove fixed FIXME
Wim Taymans [Thu, 25 Mar 2010 16:36:45 +0000 (17:36 +0100)]
queue2: add the buffering percent in BUFFERING query
Wim Taymans [Thu, 25 Mar 2010 16:21:02 +0000 (17:21 +0100)]
queue2: improve buffer level measurement in download mode
Keep track of the current buffer level in the current range in download mode so
that we post the correct buffering messages.
Tim-Philipp Müller [Thu, 25 Mar 2010 15:54:19 +0000 (15:54 +0000)]
libs: don't use fancy shell features when invoking gobject-introspection scanner
It's POSIX, but tcsh doesn't seem to support it.
Tim-Philipp Müller [Thu, 25 Mar 2010 13:46:35 +0000 (13:46 +0000)]
libs: fix PKG_CONFIG_PATH used when calling gobject-introspection scanner
Our own pkgconfig directory should come first, so that pkg-config uses
the in-tree libgstreamer and not some external one when --pkg=gstreamer-0.10
is passed to g-ir-scanner.
See #603710.
Edward Hervey [Thu, 25 Mar 2010 09:27:00 +0000 (10:27 +0100)]
GstAdapter: add a unchecked variant of flush for internal usage
Trims off 10-20% cpu time when using gst_adapter_take[_buffer]
Thiago Santos [Fri, 19 Mar 2010 18:10:07 +0000 (15:10 -0300)]
tags: Add new _USER_RATING tag
Adds a new tag for user favorite media rating.
User rating informs how much (from 0 to 100) a user
'likes' a media.
Having an percent uint range for this is easy to map into other scales,
like some players that allow users to attribute 'stars' to its
media.
API: GST_TAG_USER_RATING
Fixes #520697
Wim Taymans [Wed, 24 Mar 2010 18:02:12 +0000 (19:02 +0100)]
queue2: add more info in the buffering query
Add the estimated download time and estimated time left to the buffering query
results along with the estimated download and playback speed.
Wim Taymans [Wed, 24 Mar 2010 17:18:13 +0000 (18:18 +0100)]
queue2: implement flushing in download buffering
Maintain a separate variable to control src and sink flowreturn values so that
we can unlock the src part without shutting down the sink part.
Add flushing for upstream pull based elements that unblocks our getrange
function. This implements seeking when blocking for more data.
Add some arbitrary threshold before attempting a seek. Add a FIXME for this
because we need to find a sensible threshold based on the input rate.
Edward Hervey [Wed, 24 Mar 2010 17:50:02 +0000 (18:50 +0100)]
Automatic update of common submodule
From
55cd514 to
c1d07dd
Benjamin Otte [Wed, 24 Mar 2010 16:32:54 +0000 (17:32 +0100)]
Remove unused code
OPT_CFLAGS was never AC_SUBST()'ed so it wasn't used. And the last time
it was touched was in 2005.
Tim-Philipp Müller [Wed, 24 Mar 2010 15:47:22 +0000 (15:47 +0000)]
build: fix make distcheck
The change from GST_ALL_CFLAGS to GST_OPTION_CFLAGS dropped the includes,
putting them back fixes make distcheck.
Benjamin Otte [Wed, 24 Mar 2010 14:15:23 +0000 (15:15 +0100)]
Fix tests after set_element_details() deprecation
Robert Swain [Wed, 24 Mar 2010 12:33:58 +0000 (13:33 +0100)]
git-update: Fix and restructure logic
Benjamin Otte [Fri, 19 Mar 2010 21:36:07 +0000 (22:36 +0100)]
Deprecated gst_element_class_set_details()
Use gst_element_class_set_details_simple() instead. If you want to
convert automatically, here's a script:
for file in `git grep -l GstElementDetails`; do
sed -i -n -r '
1h
1!H
$ {
g
s/((\/\*[^\n]*\*\/)?\n)*[^\n]*GstElementDetails .* =\s*GST_ELEMENT_DETAILS\s*\((\"[^\"]*\",\s*\"[^\"]*\",\s*\"[^\"]*\",\s*(\"[^\"]*\"\s*)*)\);\n*(.*)gst_element_class_set_details \(([^,]*),\s*[^)]*\)/\n\n\5gst_element_class_set_details_simple (\6, \3)/
s/((\/\*[^\n]*\*\/)?\n)*[^\n]*GstElementDetails .* =\s*\{\s*(\"[^\"]*\",\s*\"[^\"]*\",\s*\"[^\"]*\",\s*(\"[^\"]*\"\s*)*)\};\n*(.*)gst_element_class_set_details \(([^,]*),\s*[^)]*\)/\n\n\5gst_element_class_set_details_simple (\6, \3)/
p
}' $file
~/gst/gstreamer/tools/gst-indent $file
done
Philippe Normand [Wed, 24 Mar 2010 09:57:08 +0000 (10:57 +0100)]
queue2: Fix uninitialized variable compiler warning
Tim-Philipp Müller [Tue, 23 Mar 2010 19:25:08 +0000 (19:25 +0000)]
tests: remove unused CHECK_CFLAGS and CHECK_LIBS from Makefile.am
Tim-Philipp Müller [Tue, 23 Mar 2010 19:23:22 +0000 (19:23 +0000)]
structure: add mapping for (uint) to allow deserialisation of unsigned integers
Unsigned ints are used in taglists, would be nice to be able to
deserialise them, esp. in connection with the taginject API.
Wim Taymans [Tue, 23 Mar 2010 18:25:29 +0000 (19:25 +0100)]
queue2: implement seeking in download mode
When in download mode and the requested offset is too far away, attempt to do a
seek request to fetch the data.
Keep track of all downloaded parts and merge ranges when needed.
Fixes #600877
André Dieb Martins [Mon, 22 Mar 2010 14:06:21 +0000 (11:06 -0300)]
git-update.sh: use autogen.sh instead of autoregen.sh on fresh repositories.
Fixes #613593.
Stefan Kost [Mon, 22 Mar 2010 15:10:06 +0000 (17:10 +0200)]
gettext: build fixes: #if -> #ifdef
Stefan Kost [Thu, 18 Mar 2010 08:22:09 +0000 (10:22 +0200)]
parse-launch: make delayed set recursive
Right now deleyed set would only try for first set of children. We need to keep
trying to support arbitrary deep hierarchies (like in playbin2 with auto*sinks).
Also GstBin would need to actualy emit the child-added/removed signal as it
implements the iface. Fixes #613215.
Sebastian Dröge [Mon, 22 Mar 2010 07:40:34 +0000 (08:40 +0100)]
pkgconfig: Use @LIBM@ instead of -lm
Tim-Philipp Müller [Fri, 19 Mar 2010 01:02:30 +0000 (01:02 +0000)]
pkgconfig: add back support for builddir != srcdir case in uninstalled setup
Attempt to add back support for builddir != srcdir. Use absolute paths
instead of relative paths based on pcfiledir this time to make things
clearer - there's not really any need for uninstalled trees to be
relocatable without re-running configure.
Robert Swain [Thu, 18 Mar 2010 11:18:39 +0000 (11:18 +0000)]
basetransform: Implement QoS message posting
And some more for bug #322947
Wim Taymans [Thu, 18 Mar 2010 12:41:35 +0000 (13:41 +0100)]
basesrc: catch, parse and store QoS event values
Catch, parse and store the QoS values from QoS events for later use.
Robert Swain [Wed, 17 Mar 2010 15:29:48 +0000 (15:29 +0000)]
basesink: Implement QoS message posting in basesink
Post QoS messages when frames are dropped.
This goes a little further towards resolving bug #322947
Wim Taymans [Wed, 17 Mar 2010 18:26:30 +0000 (19:26 +0100)]
message: improve docs a little
Robert Swain [Wed, 17 Mar 2010 18:16:42 +0000 (19:16 +0100)]
message: add QoS message to inform apps of lost data
This has been implemented as per part-qos.txt and partially addresses
bug #322947
Benjamin Otte [Wed, 17 Mar 2010 15:44:05 +0000 (16:44 +0100)]
test: Remove needless cast
GstValueArray.name is const now
Tim-Philipp Müller [Wed, 17 Mar 2010 14:33:35 +0000 (14:33 +0000)]
Revert "Add srcdir to includes for out-of-source builds"
I don't know how this ever worked, as it seems to put -I./..
and -I./../libs verbatim into the includes, at least with
current autotools versions.
This reverts commit
279a80ff27ba4c90f52981e89e710eb1181bc201.