Edward Hervey
2183504355
tests: Don't forget to unref the newsegment event
2010-04-01 13:19:06 +02:00
Edward Hervey
4db9094bbb
common: Update to latest revision for new suppressions
2010-04-01 12:34:53 +02:00
Stefan Kost
bfe5b681cc
tests: add test for updating playback rate
...
Tests if a seek with both positions being GST_SEEK_TYPE_NONE is handled.
2010-03-31 22:07:57 +03:00
Wim Taymans
b181094798
docs: add copy and conv function to buffer2 draft
2010-03-31 16:55:55 +02:00
Wim Taymans
ac2f2c6122
docs: update buffer2 draft
2010-03-31 10:54:55 +02:00
Stefan Kost
92fb25f593
docs: improve communication picture and section
...
Indicate that only messages go via bus. Also add queries between elements.
2010-03-31 11:32:38 +03:00
Sebastian Dröge
133792e5cd
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
2010-03-31 10:25:30 +02:00
Stefan Kost
5799aa28e3
docs: add communication overview to docs
...
Add a section to the basics that show buffers, events, messages and queries
together and describe the basics.
2010-03-31 10:41:49 +03:00
Tim-Philipp Müller
05fd9d0aba
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.
2010-03-30 15:56:39 +01:00
Tim-Philipp Müller
aaf3f95070
po: update for new string
2010-03-30 15:22:54 +01:00
Tim-Philipp Müller
b40320d483
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).
2010-03-30 15:20:07 +01:00
Tim-Philipp Müller
890042bc92
build: build examples subdirectories in parallel if requested
2010-03-30 12:35:05 +01:00
Thiago Santos
7558fed51b
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.
2010-03-29 16:05:32 -03:00
Stefan Kost
477a5d0939
gstinfo: add a comment explaining the reason for using fucntion protos here.
2010-03-29 16:38:05 +03:00
Stefan Kost
e55d18baa2
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.
2010-03-29 16:38:05 +03:00
Stefan Kost
b40c2f8114
build: fix redeclaration erors when building with --gst-disable-gst-debug
...
Give dummy symbols a uniqe name.
2010-03-29 16:38:04 +03:00
Stefan Kost
f89ccf7d3d
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.
2010-03-29 16:37:48 +03:00
Stefan Kost
04bf54c58f
info: readd the use of GstDebugFuncPtr typedef and tell why
...
This reverts the related changes from 3f4954e42d
and ffb0a4e190
.
2010-03-29 16:36:15 +03:00
Alan Knowles
f38d864bf7
net: fix typo in net client clock structure
...
It's sockaddr_in, not sockaddr_id.
2010-03-29 10:25:07 +01:00
Tim-Philipp Müller
c8502ffd73
build: add cruft alert for common/shave*
2010-03-29 10:25:07 +01:00
Sebastian Dröge
ffb0a4e190
info: Fix build at least until the correct fix is found
...
See bug #614167 .
2010-03-28 21:02:41 +02:00
Sebastian Dröge
e305e49ef4
structure: Make structure abbreviations array one-time initialization threadsafe
2010-03-28 19:49:00 +02:00
Sebastian Dröge
ad230b07f6
iterator: Add FIXME 0.11 for using GSlice for allocation
2010-03-28 19:48:54 +02:00
Sebastian Dröge
fd68dbc08f
gst: Use GSlice instead of normal g_malloc in more places
2010-03-28 19:48:45 +02:00
Stefan Kost
3f4954e42d
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 ).
2010-03-28 13:14:06 +03:00
Tim-Philipp Müller
19f46c0d35
po: update translations for newly-added strings
2010-03-25 20:05:02 +00:00
Tim-Philipp Müller
ba60de2fa0
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 .
2010-03-25 20:05:01 +00:00
Sebastian Dröge
d3f1d2aeb5
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.
2010-03-25 18:57:40 +01:00
Wim Taymans
b9ce2133dc
queue2: handle write errors
...
Handle write errors to the temporary download file and post errors when
something went wrong.
2010-03-25 18:43:04 +01:00
Wim Taymans
0b1beba01d
queue2: add element query function
...
Add an element query function that is a little more efficient than the generic
default query handler.
2010-03-25 18:13:02 +01:00
Wim Taymans
5fdee7e064
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.
2010-03-25 18:12:06 +01:00
Wim Taymans
49278848d7
queue2: remove fixed FIXME
2010-03-25 18:05:28 +01:00
Wim Taymans
bf1f6969bb
queue2: add the buffering percent in BUFFERING query
2010-03-25 17:38:02 +01:00
Wim Taymans
1f34682644
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.
2010-03-25 17:38:01 +01:00
Tim-Philipp Müller
1a72c2f01b
libs: don't use fancy shell features when invoking gobject-introspection scanner
...
It's POSIX, but tcsh doesn't seem to support it.
2010-03-25 15:54:19 +00:00
Tim-Philipp Müller
8cc7274163
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 .
2010-03-25 13:48:19 +00:00
Edward Hervey
7a8004233a
GstAdapter: add a unchecked variant of flush for internal usage
...
Trims off 10-20% cpu time when using gst_adapter_take[_buffer]
2010-03-25 10:28:21 +01:00
Thiago Santos
e875577b0f
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
2010-03-24 15:18:53 -03:00
Wim Taymans
f9c6a0886e
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.
2010-03-24 19:03:44 +01:00
Wim Taymans
11304c1257
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.
2010-03-24 19:03:44 +01:00
Edward Hervey
747b1b3638
Automatic update of common submodule
...
From 55cd514 to c1d07dd
2010-03-24 18:50:02 +01:00
Benjamin Otte
73d6e6fa34
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.
2010-03-24 17:32:54 +01:00
Tim-Philipp Müller
3d5843e1f4
build: fix make distcheck
...
The change from GST_ALL_CFLAGS to GST_OPTION_CFLAGS dropped the includes,
putting them back fixes make distcheck.
2010-03-24 15:47:22 +00:00
Benjamin Otte
d11b1f19df
Fix tests after set_element_details() deprecation
2010-03-24 15:16:02 +01:00
Robert Swain
fe7d80580c
git-update: Fix and restructure logic
2010-03-24 13:33:58 +01:00
Benjamin Otte
3b4aa3f76a
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
2010-03-24 12:20:05 +01:00
Philippe Normand
f534e35261
queue2: Fix uninitialized variable compiler warning
2010-03-24 10:57:08 +01:00
Tim-Philipp Müller
c80f263a19
tests: remove unused CHECK_CFLAGS and CHECK_LIBS from Makefile.am
2010-03-23 19:25:08 +00:00
Tim-Philipp Müller
0aa584917a
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.
2010-03-23 19:23:22 +00:00
Wim Taymans
3f4f5fa59d
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
2010-03-23 19:28:34 +01:00