platform/upstream/gstreamer.git
12 years agoevent: fix leak in gst_event_parse_stream_start()
Tim-Philipp Müller [Sun, 12 Aug 2012 17:31:13 +0000 (18:31 +0100)]
event: fix leak in gst_event_parse_stream_start()

gst_structure_id_get() will make a copy of the string
extracted, but we're assigning it to a const gchar *.

12 years agotests: make pipeline test valgrind clean
Tim-Philipp Müller [Sun, 12 Aug 2012 15:40:03 +0000 (16:40 +0100)]
tests: make pipeline test valgrind clean

12 years agotests: fix pipeline unit test
Tim-Philipp Müller [Sun, 12 Aug 2012 15:37:02 +0000 (16:37 +0100)]
tests: fix pipeline unit test

Which was disabled because it failed.

12 years agoscripts: fix unterminated quoted string in create-uninstalled-setup.sh
Tim-Philipp Müller [Sun, 12 Aug 2012 14:48:20 +0000 (15:48 +0100)]
scripts: fix unterminated quoted string in create-uninstalled-setup.sh

12 years agodocs: mention gst_video_format_parse_caps() in porting guide
Tim-Philipp Müller [Sat, 11 Aug 2012 23:12:56 +0000 (00:12 +0100)]
docs: mention gst_video_format_parse_caps() in porting guide

12 years agodocs: fix up docs a bit
Tim-Philipp Müller [Sat, 11 Aug 2012 21:19:32 +0000 (22:19 +0100)]
docs: fix up docs a bit

12 years agochildproxy: fix up g-i annotation for _lookup() paramspec return value
Tim-Philipp Müller [Sat, 11 Aug 2012 21:18:13 +0000 (22:18 +0100)]
childproxy: fix up g-i annotation for _lookup() paramspec return value

No ref is returned here.

12 years agowin32: update .def file for new buffer functions
Tim-Philipp Müller [Sat, 11 Aug 2012 21:17:35 +0000 (22:17 +0100)]
win32: update .def file for new buffer functions

12 years agobaseparse: fix reverse playback with upstream demuxers that support it
Tim-Philipp Müller [Fri, 10 Aug 2012 21:58:56 +0000 (22:58 +0100)]
baseparse: fix reverse playback with upstream demuxers that support it

Don't just return FALSE for seek events with negative rates when
operating in push mode. An upstream demuxer may support this just
fine, so if we're not operating in pull mode always check upstream
first if it can handle the seek event. This fixes reverse playback
where the upstream demuxer supports it (e.g. with qtdemux). The
same code would work fine in 0.10, because baseparse will just
call the default pad event handler if FALSE was returned from the
baseparse event handler, and the pad event handler will just
forward it upstream. In 0.11 the baseclass or subclass is
responsible for chaining up to the parent class or forwarding the
event upstream in any case.

Disable reverse playback in pull mode for now, there seems to
be something going wrong with the segment configuration in that
case.

12 years agobasetransform: do not error on not-negotiated
Thiago Santos [Sat, 4 Aug 2012 14:48:52 +0000 (11:48 -0300)]
basetransform: do not error on not-negotiated

Don't error out too early and let upstream decide if it can
workaround a not-negotiated problem

https://bugzilla.gnome.org/show_bug.cgi?id=681198

12 years agobasesrc: retry on not-negotiate if a reconfigure is pending
Thiago Santos [Sat, 4 Aug 2012 14:48:13 +0000 (11:48 -0300)]
basesrc: retry on not-negotiate if a reconfigure is pending

Before erroring out on not-negotiated returns, check if the pad
has the reconfigure flag set and retry.

https://bugzilla.gnome.org/show_bug.cgi?id=681198

12 years agopad: add gst_pad_needs_reconfigure
Thiago Santos [Sat, 4 Aug 2012 14:42:05 +0000 (11:42 -0300)]
pad: add gst_pad_needs_reconfigure

Add an alternative version of gst_pad_check_reconfigure that doesn't
clear the reconfigure flag.

Useful for increasing error resilience without duplicating the
reconfigure code in pad task functions.

API: gst_pad_needs_reconfigure

https://bugzilla.gnome.org/show_bug.cgi?id=681198

12 years agopad: add GST_PAD_LINK_CHECK_DEFAULT to GstPadLinkCheck
Evan Nemerson [Sun, 29 Jul 2012 22:44:45 +0000 (15:44 -0700)]
pad: add GST_PAD_LINK_CHECK_DEFAULT to GstPadLinkCheck

This allows introspection-based bindings to access
Gst.PadLinkCheck.DEFAULT instead of
Gst.PAD_LINK_CHECK_DEFAULT.

https://bugzilla.gnome.org/show_bug.cgi?id=678301

12 years agobuffer: mark gst_buffer_wrapped* data as array
Evan Nemerson [Sun, 29 Jul 2012 21:57:41 +0000 (14:57 -0700)]
buffer: mark gst_buffer_wrapped* data as array

https://bugzilla.gnome.org/show_bug.cgi?id=678301

12 years agointrospection: fix some warnings generated by g-ir-scanner.
Evan Nemerson [Tue, 24 Jul 2012 20:26:00 +0000 (13:26 -0700)]
introspection: fix some warnings generated by g-ir-scanner.

https://bugzilla.gnome.org/show_bug.cgi?id=678301

12 years agobuffer: convert gst_buffer_* macros to functions
Evan Nemerson [Tue, 31 Jul 2012 04:46:18 +0000 (21:46 -0700)]
buffer: convert gst_buffer_* macros to functions

GObject Introspection does not support macros.
This is needed for bindings. We can still add back
macros or inline functions again later if we think
it's worth it.

https://bugzilla.gnome.org/show_bug.cgi?id=678301

12 years agonetclientclock: fix printf format in debug message
Tim-Philipp Müller [Fri, 10 Aug 2012 12:50:41 +0000 (13:50 +0100)]
netclientclock: fix printf format in debug message

12 years agobufferpool: fix max_buffers handling
Wim Taymans [Fri, 10 Aug 2012 10:23:03 +0000 (12:23 +0200)]
bufferpool: fix max_buffers handling

When max_buffers > 0 and the pool is empty, actually try to allocate more
buffers up to the max_buffers limit.
We need to add a counter for this to count how many buffers we allocated and
check this against the max_buffers limit.
Reorganise and clean up some code.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681153

12 years agonetclientclock: simplify by using g_socket_condition_timed_wait()
Tim-Philipp Müller [Fri, 10 Aug 2012 08:19:25 +0000 (09:19 +0100)]
netclientclock: simplify by using g_socket_condition_timed_wait()

No need to use a custom main context and custom timeout sources,
just use g_socket_condition_timed_wait() instead, which was added
for exactly this case.

Also seems to help with the unit test deadlocking with glib 2.33.x

https://bugzilla.gnome.org/show_bug.cgi?id=681575

12 years agogstobject: fix double string escaping in gst_object_default_deep_notify()
Tim-Philipp Müller [Thu, 9 Aug 2012 18:15:29 +0000 (19:15 +0100)]
gstobject: fix double string escaping in gst_object_default_deep_notify()

Make output of gst-launch -v readable again.

last-message = "event\ \ \ \*\*\*\*\*\*\*\ \(fakesink0:sink\)\ E\ \(type:\ tag\ \(20510\)\,\ GstTagList-stream\,\ taglist\=\(taglist\)\"taglist\\\,\\\ video-codec\\\=\\\(string\\\)H264\\\,\\\
 minimum-bitrate\\\=\\\(uint\\\)636611\\\,\\\ bitrate\\\=\\\(uint\\\)980729\\\,\\\ maximum-bitrate\\\=\\\(uint\\\)1116707\\\;\"\;\)\ 0x15bc760"

vs.

last-message = event   ******* (fakesink0:sink) E (type: tag (20510), GstTagList-stream, taglist=(taglist)"taglist\,\ video-codec\=\(string\)H264\,\ minimum-bitrate\=\(uint\)856039\,\ bitrate
\=\(uint\)1019748\,\ maximum-bitrate\=\(uint\)1116707\;";) 0x11149e0

12 years agominiobject: check writability
Wim Taymans [Thu, 9 Aug 2012 14:18:59 +0000 (16:18 +0200)]
miniobject: check writability

fix the writability check for miniobjects. We should check the shared counter.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681450

12 years agoallocator: Set the alignment at the correct place in GstAllocationParams
Sebastian Dröge [Wed, 8 Aug 2012 14:08:44 +0000 (16:08 +0200)]
allocator: Set the alignment at the correct place in GstAllocationParams

12 years agoBack to development
Tim-Philipp Müller [Wed, 8 Aug 2012 15:18:15 +0000 (16:18 +0100)]
Back to development

12 years agoRelease 0.11.93 RELEASE-0.11.93
Tim-Philipp Müller [Wed, 8 Aug 2012 14:05:08 +0000 (15:05 +0100)]
Release 0.11.93

12 years agotests: remove silly test_fail_abstract_new check
Tim-Philipp Müller [Wed, 8 Aug 2012 13:49:23 +0000 (14:49 +0100)]
tests: remove silly test_fail_abstract_new check

Our check would make sure that GLib segfaults when
someone tries to instantiate an abstract type, which
is an extremely useful thing to check for.

In newer GLibs this is fixed and we get an abort with
a g_error() now it seems, so let's just remove this
check entirely.

12 years agoexamples: don't put things with side effects inside g_assert()
Tim-Philipp Müller [Wed, 8 Aug 2012 08:53:26 +0000 (09:53 +0100)]
examples: don't put things with side effects inside g_assert()

They will be defined away to NOOPs otherwise in release builds.

12 years agowin32: update for stream-id API additions
Tim-Philipp Müller [Wed, 8 Aug 2012 08:13:38 +0000 (09:13 +0100)]
win32: update for stream-id API additions

12 years agoparse: fix for new GstChildProxy::child-added signal callback signature
Tim-Philipp Müller [Tue, 7 Aug 2012 23:54:49 +0000 (00:54 +0100)]
parse: fix for new GstChildProxy::child-added signal callback signature

Fixes crash with gst-launch-1.0 uridecodebin uri=... suburi=... ! ..

12 years agobus: Add allow-none to the function argument of gst_bus_set_sync_handler()
Sebastian Dröge [Tue, 7 Aug 2012 08:46:17 +0000 (10:46 +0200)]
bus: Add allow-none to the function argument of gst_bus_set_sync_handler()

https://bugzilla.gnome.org/show_bug.cgi?id=681139

12 years agodocs: Make sure scanner gets required libraries
Руслан Ижбулатов [Mon, 6 Aug 2012 12:33:57 +0000 (16:33 +0400)]
docs: Make sure scanner gets required libraries

12 years agoconsistencychecker: print which event we received before stream-start
Tim-Philipp Müller [Mon, 6 Aug 2012 19:08:07 +0000 (20:08 +0100)]
consistencychecker: print which event we received before stream-start

12 years agobasesrc: don't try to answer URI queries with NULL URIs
Tim-Philipp Müller [Mon, 6 Aug 2012 19:04:09 +0000 (20:04 +0100)]
basesrc: don't try to answer URI queries with NULL URIs

Should make unit tests in -base that use appsrc a bit happier.

12 years agoevent: Update for stream-start event API changes
Sebastian Dröge [Sun, 29 Jul 2012 12:25:34 +0000 (14:25 +0200)]
event: Update for stream-start event API changes

12 years agoevent: Add new stream-id field to the stream-start event
Sebastian Dröge [Sat, 28 Jul 2012 06:37:00 +0000 (08:37 +0200)]
event: Add new stream-id field to the stream-start event

This is supposed to allow uniquely identifying a single stream.

12 years agoinputselector: Use the first created pad by default
Edward Hervey [Fri, 27 Jul 2012 15:41:43 +0000 (17:41 +0200)]
inputselector: Use the first created pad by default

This guarantees a bit more consistency in which input stream will
be selected by default. It would previously be the first pad on which
an event/buffer/query was received ... which was racy and non-predictable.

12 years agoelement: Specify the order of pad iterators
Edward Hervey [Fri, 27 Jul 2012 15:38:34 +0000 (17:38 +0200)]
element: Specify the order of pad iterators

The order of returned pads wasn't specified before, so let's specify
it and use an order which might prove the most useful : the order in
which pads were added to the element.

If someone changes the order, make sure users of those iterators from
now on don't rely on that order !

12 years agocheck: add tcase_skip_broken_test() define
Tim-Philipp Müller [Sun, 5 Aug 2012 16:16:27 +0000 (17:16 +0100)]
check: add tcase_skip_broken_test() define

Skips broken tests but logs an ERROR-level message to
draw attention to that fact.

12 years agotests: update .gitignore for queuearray test binary
Tim-Philipp Müller [Sun, 5 Aug 2012 16:12:35 +0000 (17:12 +0100)]
tests: update .gitignore for queuearray test binary

12 years agotests: fix spurious netclientclock test failures
Tim-Philipp Müller [Sun, 5 Aug 2012 16:11:46 +0000 (17:11 +0100)]
tests: fix spurious netclientclock test failures

Give clocks a bit more time to synchronise.

12 years agowin32: update generated files
Tim-Philipp Müller [Sun, 5 Aug 2012 15:59:35 +0000 (16:59 +0100)]
win32: update generated files

12 years agoinput-selector: use generic marshaller for "block" action signal
Tim-Philipp Müller [Sun, 5 Aug 2012 15:41:21 +0000 (16:41 +0100)]
input-selector: use generic marshaller for "block" action signal

12 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sun, 5 Aug 2012 15:37:24 +0000 (16:37 +0100)]
Automatic update of common submodule

From 94ccf4c to 668acee

12 years agobuffer, defaultmem: add option to poison memory before freeing it
Tim-Philipp Müller [Sat, 4 Aug 2012 12:37:32 +0000 (13:37 +0100)]
buffer, defaultmem: add option to poison memory before freeing it

Might be useful to track down certain bugs.

12 years agogst: ref/unref taglist scope enum in gst_init()
Tim-Philipp Müller [Fri, 3 Aug 2012 22:54:33 +0000 (23:54 +0100)]
gst: ref/unref taglist scope enum in gst_init()

Fixes make check and distcheck

12 years agoplugin: warn if plugin name starts with a "
Tim-Philipp Müller [Thu, 2 Aug 2012 23:05:53 +0000 (00:05 +0100)]
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.

12 years agodocs: update porting-to-0.11 document with a "soft" API changes checklist
Tim-Philipp Müller [Thu, 2 Aug 2012 12:19:27 +0000 (13:19 +0100)]
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.

12 years agotools: fix printing of partial dates in gst-launch
Tim-Philipp Müller [Thu, 2 Aug 2012 10:33:41 +0000 (11:33 +0100)]
tools: fix printing of partial dates in gst-launch

12 years agoRevert "tools: print TOC scope"
Tim-Philipp Müller [Thu, 2 Aug 2012 10:15:16 +0000 (11:15 +0100)]
Revert "tools: print TOC scope"

This reverts commit ee6ab7c93638a6519acb976699a6ad149d520a95.

The application will probably only ever receive global TOCs,
so don't really need this.

12 years agowin32: add new tag list scope symbols
Tim-Philipp Müller [Wed, 1 Aug 2012 16:49:27 +0000 (17:49 +0100)]
win32: add new tag list scope symbols

12 years agotypefind: send segment_done event in addition to segment_done message
Tim-Philipp Müller [Wed, 1 Aug 2012 10:58:55 +0000 (11:58 +0100)]
typefind: send segment_done event in addition to segment_done message

12 years agobasesrc: Add default handler for URI query in GstURIHandler subclasses
Sebastian Dröge [Tue, 31 Jul 2012 15:25:50 +0000 (17:25 +0200)]
basesrc: Add default handler for URI query in GstURIHandler subclasses

12 years agocheck: unbreak fail #define
Sjoerd Simons [Sat, 28 Jul 2012 15:33:52 +0000 (17:33 +0200)]
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

12 years agobuffer: Update annotations
Jens Georg [Sun, 29 Jul 2012 21:37:19 +0000 (23:37 +0200)]
buffer: Update annotations

https://bugzilla.gnome.org/show_bug.cgi?id=680805

12 years agoutils: Update annotation for get_compatible_pad
Jens Georg [Sun, 29 Jul 2012 21:20:07 +0000 (23:20 +0200)]
utils: Update annotation for get_compatible_pad

https://bugzilla.gnome.org/show_bug.cgi?id=680804

12 years agouri: Fix wrong 'array zero-terminated=1' annotation for strings
Thibault Saunier [Sun, 29 Jul 2012 01:23:24 +0000 (21:23 -0400)]
uri: Fix wrong 'array zero-terminated=1' annotation for strings

12 years agodocs: update TOC design docs a little
Tim-Philipp Müller [Sat, 28 Jul 2012 10:02:30 +0000 (11:02 +0100)]
docs: update TOC design docs a little

12 years agoevent: make TOC event multi-sticky
Tim-Philipp Müller [Sat, 28 Jul 2012 08:41:30 +0000 (09:41 +0100)]
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

12 years agotools: print TOC scope
Tim-Philipp Müller [Sat, 28 Jul 2012 07:30:36 +0000 (08:30 +0100)]
tools: print TOC scope

12 years agotoc: add GstTocScope and require it in the constructor
Tim-Philipp Müller [Fri, 27 Jul 2012 22:56:54 +0000 (23:56 +0100)]
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

12 years agoscripts: create-uninstalled-setup.sh: check for basic build tools and deps
Tim-Philipp Müller [Fri, 27 Jul 2012 22:54:00 +0000 (23:54 +0100)]
scripts: create-uninstalled-setup.sh: check for basic build tools and deps

.. before checking out stuff.

12 years agotag: Add a scope to taglists
Sebastian Dröge [Fri, 27 Jul 2012 21:52:12 +0000 (23:52 +0200)]
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.

12 years agosegment: add offset field
Wim Taymans [Fri, 27 Jul 2012 15:09:45 +0000 (17:09 +0200)]
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

12 years agoUpdate for new seeking variable name
Wim Taymans [Fri, 27 Jul 2012 13:19:57 +0000 (15:19 +0200)]
Update for new seeking variable name

When seeking, the start value and type are now called start and start_type.

12 years agosegment: small cleanup
Wim Taymans [Fri, 27 Jul 2012 12:53:03 +0000 (14:53 +0200)]
segment: small cleanup

Move the code to update the segment at the end of the function.

12 years agoUpdate docs and .def file for taglist API change
Tim-Philipp Müller [Fri, 27 Jul 2012 11:05:25 +0000 (12:05 +0100)]
Update docs and .def file for taglist API change

12 years agosegment: remove redundant checks
Wim Taymans [Fri, 27 Jul 2012 11:02:52 +0000 (13:02 +0200)]
segment: remove redundant checks

We don't need to check the segment format anymore because we asserted on them
being equal before.

12 years agotests: improve segment tests
Wim Taymans [Fri, 27 Jul 2012 10:24:03 +0000 (12:24 +0200)]
tests: improve segment tests

12 years agoallocator: remove user_data from alloc vmethod
Wim Taymans [Fri, 27 Jul 2012 10:12:37 +0000 (12:12 +0200)]
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.

12 years agotests: remove segment accumulation checks
Wim Taymans [Fri, 27 Jul 2012 08:41:54 +0000 (10:41 +0200)]
tests: remove segment accumulation checks

Remove the checks because there is no more segment accumulation.

12 years agotaglist: make GST_TAG_APPLICATION_DATA also a GstSample
Tim-Philipp Müller [Thu, 26 Jul 2012 15:44:15 +0000 (16:44 +0100)]
taglist: make GST_TAG_APPLICATION_DATA also a GstSample

That way additional meta-data can be passed along with it.

12 years agotaglist: gst_tag_list_get_buffer*() => gst_tag_list_get_sample*()
Tim-Philipp Müller [Thu, 26 Jul 2012 14:51:10 +0000 (15:51 +0100)]
taglist: gst_tag_list_get_buffer*() => gst_tag_list_get_sample*()

Image tags and other tags are now of GstSample type.

12 years agogst-launch: print image tags and other GstSample tags properly
Tim-Philipp Müller [Thu, 26 Jul 2012 14:26:09 +0000 (15:26 +0100)]
gst-launch: print image tags and other GstSample tags properly

These tags are now of type GstSample not GstBuffer.

12 years agocollectpads: remove unimplemented api
Stefan Sauer [Tue, 24 Jul 2012 19:38:35 +0000 (21:38 +0200)]
collectpads: remove unimplemented api

We can always add this back if we need it. Fixes parts of #670852.

12 years agobaseparse: also account for frame size when merely scanning for frame
Mark Nauwelaerts [Tue, 24 Jul 2012 11:49:36 +0000 (13:49 +0200)]
baseparse: also account for frame size when merely scanning for frame

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680495

12 years agobaseparse: remove obsolete function parameter
Mark Nauwelaerts [Tue, 24 Jul 2012 11:48:39 +0000 (13:48 +0200)]
baseparse: remove obsolete function parameter

12 years agotypefind: require bytes before typefinding
Wim Taymans [Tue, 24 Jul 2012 10:38:15 +0000 (12:38 +0200)]
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

12 years agoupdate spec file with latest changes
Christian Fredrik Kalager Schaller [Mon, 23 Jul 2012 16:49:13 +0000 (18:49 +0200)]
update spec file with latest changes

12 years agobufferlist: pass index as gint to _insert
Wim Taymans [Mon, 23 Jul 2012 14:27:34 +0000 (16:27 +0200)]
bufferlist: pass index as gint to _insert

Make the idx argument of _insert() a gint because we allow -1 as a value.
Improve annotation.

12 years agoplugins: print flags better
Wim Taymans [Mon, 23 Jul 2012 11:40:38 +0000 (13:40 +0200)]
plugins: print flags better

print the buffer flags as a hex number so that it becomes easier to see what
flags are set.

12 years agogstpoll: Improve warning message when re-adding fd to fdset
Sebastian Rasmussen [Wed, 18 Jul 2012 15:03:45 +0000 (17:03 +0200)]
gstpoll: Improve warning message when re-adding fd to fdset

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680181

12 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 23 Jul 2012 06:44:04 +0000 (08:44 +0200)]
Automatic update of common submodule

From 98e386f to 94ccf4c

12 years agovalue: add GstTagList serialisation/deserialisation
Tim-Philipp Müller [Thu, 19 Jul 2012 23:49:28 +0000 (00:49 +0100)]
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.

12 years agopo: Update .po files
Philippe Normand [Fri, 20 Jul 2012 07:38:47 +0000 (09:38 +0200)]
po: Update .po files

12 years agotests: gstbuffer: add tests for some mulitple map combinations
Mark Nauwelaerts [Thu, 19 Jul 2012 11:51:23 +0000 (13:51 +0200)]
tests: gstbuffer: add tests for some mulitple map combinations

12 years agominiobject: fix sharedness check
Wim Taymans [Thu, 19 Jul 2012 11:35:34 +0000 (13:35 +0200)]
miniobject: fix sharedness check

12 years agominiobject: refuse write when object is shared
Wim Taymans [Thu, 19 Jul 2012 11:20:27 +0000 (13:20 +0200)]
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

12 years agotests: gstbuffer: extend buffer copy test
Mark Nauwelaerts [Wed, 18 Jul 2012 13:21:33 +0000 (15:21 +0200)]
tests: gstbuffer: extend buffer copy test

12 years agoqueue2: set buffering-left to 0 on 100% buffering
Wim Taymans [Thu, 19 Jul 2012 10:42:05 +0000 (12:42 +0200)]
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.

12 years agoqueue2: fix buffering query
Wim Taymans [Thu, 19 Jul 2012 10:14:29 +0000 (12:14 +0200)]
queue2: fix buffering query

Fix the buffering query, fill in the right buffering-left and estimated-total
values.

12 years agoqueue2: fix the buffering-left in the buffering message
Wim Taymans [Thu, 19 Jul 2012 08:54:16 +0000 (10:54 +0200)]
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.

12 years agomessage: improve buffering message defaults
Wim Taymans [Thu, 19 Jul 2012 08:14:18 +0000 (10:14 +0200)]
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.

12 years agopad: fix debug line
Wim Taymans [Wed, 18 Jul 2012 15:44:54 +0000 (17:44 +0200)]
pad: fix debug line

Use QUERY_TYPE on query types.

12 years agoghostpad: remove custom function
Wim Taymans [Wed, 18 Jul 2012 15:35:58 +0000 (17:35 +0200)]
ghostpad: remove custom function

Remove custom pad functions, the default ones are better.

12 years agopad: add PROXY_SCHEDULING flag
Wim Taymans [Wed, 18 Jul 2012 15:30:30 +0000 (17:30 +0200)]
pad: add PROXY_SCHEDULING flag

Add a flag that makes the default query handler forward the scheduling query.

12 years agoutils: fix docs
Wim Taymans [Wed, 18 Jul 2012 15:30:04 +0000 (17:30 +0200)]
utils: fix docs

12 years agopad: improve query caps function
Wim Taymans [Wed, 18 Jul 2012 14:20:41 +0000 (16:20 +0200)]
pad: improve query caps function

In the proxy_query_caps function, also filter against the filter in the query.
We don't need to filter against the filter in the query anymore in the default
caps query function because we already did this in the proxy_query_caps.

12 years agobasesink: handle -1 step amounts
Wim Taymans [Wed, 18 Jul 2012 09:17:23 +0000 (11:17 +0200)]
basesink: handle -1 step amounts

Define a 0 and -1 step amount. They used to almost do the same thing but now, 0
cancels/stops the current step and -1 keeps on stepping until the end of the
segment.

See https://bugzilla.gnome.org/show_bug.cgi?id=679378

12 years agoquery: fix gst_query_parse_nth_allocation_pool() annotation
Tim-Philipp Müller [Wed, 18 Jul 2012 11:30:59 +0000 (12:30 +0100)]
query: fix gst_query_parse_nth_allocation_pool() annotation

It returns a ref to the pool.

12 years agocheck: Avoid deadlock
Edward Hervey [Tue, 17 Jul 2012 13:52:53 +0000 (15:52 +0200)]
check: Avoid deadlock

Queries will be sent when pipeline goes down to NULL, which would
result in the probe being called ... but can't take the lock.

12 years agogstghostpad: Forward queries in both direction
Edward Hervey [Tue, 17 Jul 2012 13:50:09 +0000 (15:50 +0200)]
gstghostpad: Forward queries in both direction

Use the peer of the internal pad to forward them, instead of the
target which only exists for the ghostpad (and not the internal
proxy pad).