Tim-Philipp Müller
7d89c0627f
Automatic update of common submodule
...
From 94ccf4c to 668acee
2012-08-05 16:37:24 +01:00
Tim-Philipp Müller
579d1a3eca
buffer, defaultmem: add option to poison memory before freeing it
...
Might be useful to track down certain bugs.
2012-08-04 13:37:32 +01:00
Tim-Philipp Müller
1118c9264f
gst: ref/unref taglist scope enum in gst_init()
...
Fixes make check and distcheck
2012-08-03 23:54:33 +01:00
Tim-Philipp Müller
dc837f8f60
plugin: warn if plugin name starts with a "
...
This can easily happen as side-effect of the plugin name
in GST_PLUGIN_DEFINE no longer being a string in 0.11, but
a name to G_STRINGIFY.
2012-08-03 00:05:53 +01:00
Tim-Philipp Müller
31eb27aa16
docs: update porting-to-0.11 document with a "soft" API changes checklist
...
Point out some API changes that the compiler won't
be able to warn about.
2012-08-02 13:20:00 +01:00
Tim-Philipp Müller
f938cf9257
tools: fix printing of partial dates in gst-launch
2012-08-02 11:33:41 +01:00
Tim-Philipp Müller
04142a9653
Revert "tools: print TOC scope"
...
This reverts commit ee6ab7c936
.
The application will probably only ever receive global TOCs,
so don't really need this.
2012-08-02 11:15:16 +01:00
Tim-Philipp Müller
09c9a3a694
win32: add new tag list scope symbols
2012-08-02 00:22:29 +01:00
Tim-Philipp Müller
ba39106758
typefind: send segment_done event in addition to segment_done message
2012-08-02 00:22:29 +01:00
Sebastian Dröge
389ec66946
basesrc: Add default handler for URI query in GstURIHandler subclasses
2012-07-31 17:26:37 +02:00
Sjoerd Simons
8d9a4b2e94
check: unbreak fail #define
...
The fail() definition was changed to not fail with non-GCC compilers,
unfortunately the change was incorrect and appended the first argument
of fail to the expression string instead of making it the message.
This change does mean that fail() now requires a message to be passed
along.
https://bugzilla.gnome.org/show_bug.cgi?id=680755
2012-07-30 16:20:02 +01:00
Jens Georg
d89219eba3
buffer: Update annotations
...
https://bugzilla.gnome.org/show_bug.cgi?id=680805
2012-07-30 16:07:38 +01:00
Jens Georg
e1b28dc327
utils: Update annotation for get_compatible_pad
...
https://bugzilla.gnome.org/show_bug.cgi?id=680804
2012-07-30 16:05:41 +01:00
Thibault Saunier
4a2b138f52
uri: Fix wrong 'array zero-terminated=1' annotation for strings
2012-07-28 21:34:41 -04:00
Tim-Philipp Müller
05daa261f1
docs: update TOC design docs a little
2012-07-28 11:02:30 +01:00
Tim-Philipp Müller
85456357dd
event: make TOC event multi-sticky
...
We need to send two kinds of TOCs downstream as events,
and need both to stick to the pads.
https://bugzilla.gnome.org/show_bug.cgi?id=678742
2012-07-28 09:41:30 +01:00
Tim-Philipp Müller
ee6ab7c936
tools: print TOC scope
2012-07-28 09:40:25 +01:00
Tim-Philipp Müller
e8ab1006c7
toc: add GstTocScope and require it in the constructor
...
This is because we need to be able to signal different TOCs
to downstream elements such as muxers and the application,
and because we need to send both types as events (because
the sink should post the TOC messages for the app in the
end, just like tag messages are now posted by the sinks),
and hence need to make TOC events multi-sticky.
https://bugzilla.gnome.org/show_bug.cgi?id=678742
2012-07-28 09:16:06 +01:00
Tim-Philipp Müller
28f041126a
scripts: create-uninstalled-setup.sh: check for basic build tools and deps
...
.. before checking out stuff.
2012-07-28 09:16:05 +01:00
Sebastian Dröge
826a8d643d
tag: Add a scope to taglists
...
This specifies if a given taglist applies to the complete
medium or only this specific stream. By default a taglist
has a stream scope.
Fixes bug #677619 .
2012-07-28 00:34:41 +02:00
Wim Taymans
c8840b8270
segment: add offset field
...
Add an offset field that is used to track at what position the segment was
updated. This is used to set the running time to 0 when we do a flushing
seek that doesn't update the position.
See https://bugzilla.gnome.org/show_bug.cgi?id=680306
2012-07-27 17:09:45 +02:00
Wim Taymans
f05b0e222f
Update for new seeking variable name
...
When seeking, the start value and type are now called start and start_type.
2012-07-27 15:24:52 +02:00
Wim Taymans
104ef4e7e0
segment: small cleanup
...
Move the code to update the segment at the end of the function.
2012-07-27 15:24:51 +02:00
Tim-Philipp Müller
5aaf00a7de
Update docs and .def file for taglist API change
2012-07-27 12:09:20 +01:00
Wim Taymans
90e32338c8
segment: remove redundant checks
...
We don't need to check the segment format anymore because we asserted on them
being equal before.
2012-07-27 13:02:52 +02:00
Wim Taymans
dbb6d68999
tests: improve segment tests
2012-07-27 12:24:03 +02:00
Wim Taymans
a2027b5e9b
allocator: remove user_data from alloc vmethod
...
Remove the user_data from the alloc vmethod. Subclasses that implement a new
alloc function can also implement their own vmethod to pass extra arguments. We
can then also require that custom allocators implement an alloc function so that
gst_allocator_alloc() always works.
2012-07-27 12:17:29 +02:00
Wim Taymans
60382cd994
tests: remove segment accumulation checks
...
Remove the checks because there is no more segment accumulation.
2012-07-27 12:17:28 +02:00
Tim-Philipp Müller
7e98f05afc
taglist: make GST_TAG_APPLICATION_DATA also a GstSample
...
That way additional meta-data can be passed along with it.
2012-07-26 16:44:15 +01:00
Tim-Philipp Müller
3231ea6204
taglist: gst_tag_list_get_buffer*() => gst_tag_list_get_sample*()
...
Image tags and other tags are now of GstSample type.
2012-07-26 15:51:10 +01:00
Tim-Philipp Müller
280ac5c5ef
gst-launch: print image tags and other GstSample tags properly
...
These tags are now of type GstSample not GstBuffer.
2012-07-26 15:26:09 +01:00
Stefan Sauer
e9b62b030c
collectpads: remove unimplemented api
...
We can always add this back if we need it. Fixes parts of #670852 .
2012-07-24 21:38:35 +02:00
Mark Nauwelaerts
363293731e
baseparse: also account for frame size when merely scanning for frame
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680495
2012-07-24 13:50:03 +02:00
Mark Nauwelaerts
2decf696e7
baseparse: remove obsolete function parameter
2012-07-24 13:50:02 +02:00
Wim Taymans
a1f1bbd363
typefind: require bytes before typefinding
...
Require that we have some bytes in the adapter before we attempt to typefind.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680479
2012-07-24 12:38:15 +02:00
Christian Fredrik Kalager Schaller
d06885101e
update spec file with latest changes
2012-07-23 18:49:49 +02:00
Wim Taymans
fe17539f66
bufferlist: pass index as gint to _insert
...
Make the idx argument of _insert() a gint because we allow -1 as a value.
Improve annotation.
2012-07-23 16:27:34 +02:00
Wim Taymans
a21575d640
plugins: print flags better
...
print the buffer flags as a hex number so that it becomes easier to see what
flags are set.
2012-07-23 13:40:38 +02:00
Sebastian Rasmussen
d24a5ecb93
gstpoll: Improve warning message when re-adding fd to fdset
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680181
2012-07-23 12:11:16 +02:00
Sebastian Dröge
ba310f0809
Automatic update of common submodule
...
From 98e386f to 94ccf4c
2012-07-23 08:44:04 +02:00
Tim-Philipp Müller
ffdefd7720
value: add GstTagList serialisation/deserialisation
...
So we can serialise/deserialise taglists inside structures,
which used to work automagically before because GstTagList
was just a typedef to GstStructure (same for the GType),
but now that it's a separate GType we need to register
explicit functions for this.
Helps with GDP stuff in pipelines/streamheader tests.
2012-07-20 09:39:53 +01:00
Philippe Normand
80f94703f9
po: Update .po files
2012-07-20 09:49:32 +02:00
Mark Nauwelaerts
9166014007
tests: gstbuffer: add tests for some mulitple map combinations
2012-07-19 13:51:52 +02:00
Wim Taymans
29976a009f
miniobject: fix sharedness check
2012-07-19 13:35:34 +02:00
Wim Taymans
fd23640001
miniobject: refuse write when object is shared
...
In all cases, refuse to write an object when it is shared by more than one
object (also when the object was locked before).
See https://bugzilla.gnome.org/show_bug.cgi?id=679145
2012-07-19 13:20:27 +02:00
Mark Nauwelaerts
8620352efc
tests: gstbuffer: extend buffer copy test
2012-07-19 13:13:33 +02:00
Wim Taymans
b5caa93f6d
queue2: set buffering-left to 0 on 100% buffering
...
Set the buffering-left field in the query to 0 when we are completely buffered.
Improve the debug.
2012-07-19 12:42:05 +02:00
Wim Taymans
60091bf225
queue2: fix buffering query
...
Fix the buffering query, fill in the right buffering-left and estimated-total
values.
2012-07-19 12:14:29 +02:00
Wim Taymans
14550f2ee2
queue2: fix the buffering-left in the buffering message
...
The buffering-left field in the buffering message should contain a time estimate
in milliseconds about for long the buffering is going to take. We can calculate
this value when we do rate_estimates.
2012-07-19 11:13:45 +02:00
Wim Taymans
8a0f6da824
message: improve buffering message defaults
...
Remove the estimated-total field, this should not be part of the buffering
message.
Set the default value of buffering-left to 0 when the percent is 100.
2012-07-19 10:14:18 +02:00