platform/upstream/gstreamer.git
13 years agoRemove executable bits from non-executable files.
Michael Smith [Tue, 27 Oct 2009 18:51:05 +0000 (11:51 -0700)]
Remove executable bits from non-executable files.

13 years agoinputselector: Use new single iterator for the internally linked pads
Sebastian Dröge [Fri, 25 Sep 2009 09:07:02 +0000 (11:07 +0200)]
inputselector: Use new single iterator for the internally linked pads

This fixes a deadlock and removes some useless code.

13 years agooutputselector: make GST_FORMAT_TIME the default segment format
Havard Graff [Mon, 31 Aug 2009 17:31:57 +0000 (19:31 +0200)]
outputselector: make GST_FORMAT_TIME the default segment format

13 years agoinputselector: Use iterate internal links instead of deprecated get internal links
Sebastian Dröge [Wed, 19 Aug 2009 15:05:32 +0000 (17:05 +0200)]
inputselector: Use iterate internal links instead of deprecated get internal links

13 years agooutputselector: check for pending srcpad in _get_property()
Tommi Myöhänen [Fri, 31 Jul 2009 08:27:03 +0000 (11:27 +0300)]
outputselector: check for pending srcpad in _get_property()

If there is a pending srcpad, return it instead of active srcpad
in gst_output_selector_get_property() function.

13 years agooutputselector: do the pad_alloc for the pad that is pending and have a fallback
Stefan Kost [Fri, 12 Jun 2009 07:14:27 +0000 (10:14 +0300)]
outputselector: do the pad_alloc for the pad that is pending and have a fallback

We should do the pad_alloc for the pending pad if any, as we will switch to that
pad on next _chain() call. Also do a fallback alloc, if there is no output yet to
not fail state transitions in dynamic pipelines.

13 years agooutput-selector: serialize setting and actual changing of new active pad
Lasse Laukkanen [Mon, 1 Jun 2009 13:31:42 +0000 (16:31 +0300)]
output-selector: serialize setting and actual changing of new active pad

13 years agooutput-selector: unref latest buffer also when resending has been disabled
Lasse Laukkanen [Mon, 4 May 2009 09:29:54 +0000 (12:29 +0300)]
output-selector: unref latest buffer also when resending has been disabled

13 years agooutput-selector: keep ref to buffer for resending only if explicitly requested
Lasse Laukkanen [Thu, 16 Apr 2009 14:32:03 +0000 (17:32 +0300)]
output-selector: keep ref to buffer for resending only if explicitly requested

13 years agoinputselector: don't leak pads in iterator
Wim Taymans [Thu, 4 Jun 2009 17:08:16 +0000 (19:08 +0200)]
inputselector: don't leak pads in iterator

13 years agoinputselector: Notify when the tags property of the selector sinkpads changes
Sebastian Dröge [Thu, 4 Jun 2009 06:56:29 +0000 (08:56 +0200)]
inputselector: Notify when the tags property of the selector sinkpads changes

First part of bug #584686.

13 years agoselector: remove not needed instance var (previous commit).
Stefan Kost [Thu, 28 May 2009 07:38:50 +0000 (10:38 +0300)]
selector: remove not needed instance var (previous commit).

13 years agooutputselector: implement pad_alloc on active pad.
Stefan Kost [Thu, 28 May 2009 07:12:58 +0000 (10:12 +0300)]
outputselector: implement pad_alloc on active pad.

13 years agoinput-selector: Forward segment events for the active pad immediately.
Jan Schmidt [Thu, 23 Apr 2009 10:04:46 +0000 (11:04 +0100)]
input-selector: Forward segment events for the active pad immediately.

When a segment event is received on the active pad, forward it downstream
immediately instead of deferring it until the next data buffer arrives. This
fixes problems with segment updates never being sent downstream, like those
needed for sparse streams, or for closing previously opened segments.

This fixes playback of DVD menus with a still video frame and an audio track,
for example.

Fixes: #577843

13 years agooutputselector: reset state when going to READY
Wim Taymans [Fri, 27 Mar 2009 10:20:02 +0000 (11:20 +0100)]
outputselector: reset state when going to READY

Reset the last-buffer, the pending pad and the segment when going to the READY
state.
Fixes #576712.

13 years agoselector: merge the tags
Wim Taymans [Tue, 24 Mar 2009 14:23:03 +0000 (15:23 +0100)]
selector: merge the tags

Merge the tags received on the input-selector sinkpads instead of only keeping
the last one we saw.

13 years agodocs: various doc fixes
Stefan Kost [Wed, 25 Feb 2009 09:45:05 +0000 (11:45 +0200)]
docs: various doc fixes

No short-desc as we have them in the element details.
Also keep things (Makefile.am and sections.txt) sorted.
Reword ambigous returns. No text after since please.

13 years agoinputselector: Fix compilation, activate_sinkpad() has no notify parameter
Sebastian Dröge [Wed, 11 Feb 2009 16:21:20 +0000 (17:21 +0100)]
inputselector: Fix compilation, activate_sinkpad() has no notify parameter

13 years agoinput-selector: Activate and notify pad before processing events.
Michael Smith [Wed, 11 Feb 2009 00:22:54 +0000 (16:22 -0800)]
input-selector: Activate and notify pad before processing events.

Events should trigger pad selection if we don't already have an
explicitly selected pad, so that events prior to first buffer don't get
lost.

13 years agoUnref event if we don't forward it, unref pads when done with them.
Michael Smith [Sat, 31 Jan 2009 02:27:03 +0000 (18:27 -0800)]
Unref event if we don't forward it, unref pads when done with them.

13 years agoplugins/elements/gstinputselector.c: Ensure we emit notify::active-pad when auto...
Michael Smith [Thu, 4 Dec 2008 17:51:37 +0000 (17:51 +0000)]
plugins/elements/gstinputselector.c: Ensure we emit notify::active-pad when auto-selecting a pad due to it having activit...

Original commit message from CVS:
* plugins/elements/gstinputselector.c:
Ensure we emit notify::active-pad when auto-selecting a pad
due to it having activity and us not having an existing active
pad. Fixes #563147

13 years agoplugins/elements/gstinputselector.c: Gracefully handle the cases when we dont' have...
Edward Hervey [Wed, 15 Oct 2008 17:45:37 +0000 (17:45 +0000)]
plugins/elements/gstinputselector.c: Gracefully handle the cases when we dont' have otherpad.

Original commit message from CVS:
* plugins/elements/gstinputselector.c: (gst_input_selector_event),
(gst_input_selector_query):
Gracefully handle the cases when we dont' have otherpad.
Fixes #556430

13 years agoplugins/elements/gstoutputselector.c: Choose right pad for sending events. Fixes...
Stefan Kost [Tue, 7 Oct 2008 13:14:40 +0000 (13:14 +0000)]
plugins/elements/gstoutputselector.c: Choose right pad for sending events. Fixes #555244

Original commit message from CVS:
* plugins/elements/gstoutputselector.c:
Choose right pad for sending events. Fixes #555244

13 years agoplugins/elements/gstinputselector.c: Reset the selector state when going to READY.
Wim Taymans [Mon, 8 Sep 2008 20:27:23 +0000 (20:27 +0000)]
plugins/elements/gstinputselector.c: Reset the selector state when going to READY.

Original commit message from CVS:
* plugins/elements/gstinputselector.c: (gst_selector_pad_reset),
(gst_input_selector_reset), (gst_input_selector_change_state):
Reset the selector state when going to READY.

13 years agoplugins/elements/gstinputselector.c: Reuse the get_linked_pads for both source and...
Wim Taymans [Mon, 1 Sep 2008 13:23:03 +0000 (13:23 +0000)]
plugins/elements/gstinputselector.c: Reuse the get_linked_pads for both source and sinkpads because they are the same.

Original commit message from CVS:
* plugins/elements/gstinputselector.c: (gst_input_selector_init),
(gst_input_selector_event), (gst_input_selector_query):
Reuse the get_linked_pads for both source and sinkpads because they are
the same.
Implement a custum event handler and get the internally linked pad
directly instead of relying on the default (slower) implementation.

13 years agoplugins/elements/gstinputselector.c: Implement the LATENCY query in a better way...
Wim Taymans [Wed, 27 Aug 2008 15:45:16 +0000 (15:45 +0000)]
plugins/elements/gstinputselector.c: Implement the LATENCY query in a better way by taking the latency of all sinkpads an...

Original commit message from CVS:
* plugins/elements/gstinputselector.c: (gst_input_selector_init),
(gst_input_selector_query):
Implement the LATENCY query in a better way by taking the latency of all
sinkpads and taking the min/max instead of just taking a random pad.

13 years agoplugins/elements/gstinputselector.c: Move the select-all logic into the activation...
Wim Taymans [Tue, 5 Aug 2008 09:05:35 +0000 (09:05 +0000)]
plugins/elements/gstinputselector.c: Move the select-all logic into the activation of the currently selected pad. We want...

Original commit message from CVS:
* plugins/elements/gstinputselector.c: (gst_selector_pad_bufferalloc),
(gst_selector_pad_chain), (gst_input_selector_getcaps),
(gst_input_selector_activate_sinkpad):
Move the select-all logic into the activation of the currently selected
pad. We want to remember the last pad with activity in select-all mode.
Fix the getcaps function, we can produce the union of the upstream caps
in select-all mode, not the intersection like proxy_getcaps() does.

13 years agooutput-selector: Use BOILERPLATE macro and update test to the latest api changes.
Stefan Kost [Thu, 19 Jun 2008 13:18:24 +0000 (13:18 +0000)]
output-selector: Use BOILERPLATE macro and update test to the latest api changes.

Original commit message from CVS:
* plugins/elements/gstoutputselector.c:
* tests/icles/output-selector-test.c:
Use BOILERPLATE macro and update test to the latest api changes.

13 years agoDo not use short_description in section docs for elements. We extract them from eleme...
Stefan Kost [Thu, 12 Jun 2008 14:49:18 +0000 (14:49 +0000)]
Do not use short_description in section docs for elements. We extract them from element details and there will be war...

Original commit message from CVS:
* ext/dc1394/gstdc1394.c:
* ext/ivorbis/vorbisdec.c:
* ext/jack/gstjackaudiosink.c:
* ext/metadata/gstmetadatademux.c:
* ext/mythtv/gstmythtvsrc.c:
* ext/theora/theoradec.c:
* gst-libs/gst/app/gstappsink.c:
* gst/bayer/gstbayer2rgb.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/rawparse/gstaudioparse.c:
* gst/rawparse/gstvideoparse.c:
* gst/rtpmanager/gstrtpbin.c:
* gst/rtpmanager/gstrtpclient.c:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/rtpmanager/gstrtpptdemux.c:
* gst/rtpmanager/gstrtpsession.c:
* gst/rtpmanager/gstrtpssrcdemux.c:
* plugins/elements/gstinputselector.c:
* plugins/elements/gstoutputselector.c:
* gst/videosignal/gstvideoanalyse.c:
* gst/videosignal/gstvideodetect.c:
* gst/videosignal/gstvideomark.c:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-source.c:
Do not use short_description in section docs for elements. We extract
them from element details and there will be warnings if they differ.
Also fixing up the ChangeLog order.

13 years agoplugins/elements/gstinputselector.c: Do g_object_notify() only when not holding the...
Wim Taymans [Thu, 20 Mar 2008 18:10:29 +0000 (18:10 +0000)]
plugins/elements/gstinputselector.c: Do g_object_notify() only when not holding the lock to get the property because othe...

Original commit message from CVS:
* plugins/elements/gstinputselector.c:
(gst_input_selector_set_active_pad), (gst_input_selector_switch):
Do g_object_notify() only when not holding the lock to get the property
because otherwise we run into a deadlock with the deep-notify handlers
that are possibly installed.

13 years agoplugins/elements/gstinputselector.c: Release the selector lock when pad alloc happens...
Wim Taymans [Thu, 20 Mar 2008 17:48:49 +0000 (17:48 +0000)]
plugins/elements/gstinputselector.c: Release the selector lock when pad alloc happens on a non selected pad.

Original commit message from CVS:
* plugins/elements/gstinputselector.c: (gst_selector_pad_class_init),
(gst_selector_pad_event), (gst_selector_pad_bufferalloc),
(gst_selector_pad_chain), (gst_input_selector_set_active_pad):
Release the selector lock when pad alloc happens on a non selected pad.

13 years agoplugins/elements/gstinputselector.c: Add pad property to configure behaviour of the...
Wim Taymans [Thu, 20 Mar 2008 17:07:07 +0000 (17:07 +0000)]
plugins/elements/gstinputselector.c: Add pad property to configure behaviour of the unselected pad, it can return OK or N...

Original commit message from CVS:
* plugins/elements/gstinputselector.c: (gst_selector_pad_class_init),
(gst_selector_pad_init), (gst_selector_pad_set_property),
(gst_selector_pad_get_property), (gst_selector_pad_event),
(gst_selector_pad_bufferalloc), (gst_selector_pad_chain),
(gst_input_selector_set_active_pad):
Add pad property to configure behaviour of the unselected pad, it can
return OK or NOT_LINKED, based on the use case.

13 years agoplugins/elements/gstinputselector.*: Figure out the locking a bit more.
Wim Taymans [Thu, 20 Mar 2008 16:48:46 +0000 (16:48 +0000)]
plugins/elements/gstinputselector.*: Figure out the locking a bit more.

Original commit message from CVS:
* plugins/elements/gstinputselector.c:
(gst_selector_pad_get_running_time), (gst_selector_pad_reset),
(gst_selector_pad_event), (gst_selector_pad_bufferalloc),
(gst_input_selector_wait), (gst_selector_pad_chain),
(gst_input_selector_class_init), (gst_input_selector_init),
(gst_input_selector_dispose), (gst_segment_set_start),
(gst_input_selector_set_active_pad),
(gst_input_selector_set_property),
(gst_input_selector_get_property),
(gst_input_selector_get_linked_pad),
(gst_input_selector_is_active_sinkpad),
(gst_input_selector_activate_sinkpad),
(gst_input_selector_request_new_pad),
(gst_input_selector_release_pad),
(gst_input_selector_change_state), (gst_input_selector_block),
(gst_input_selector_switch):
* plugins/elements/gstinputselector.h:
Figure out the locking a bit more.
Mark buffers with discont after switching.
Fix initial segment forwarding, make sure to only forward one segment
regardless of what the sequence of buffers/segments is. See #522203.
Improve flushing when blocked.
Return NOT_LINKED when a stream is not selected.
Not API change for the switch signal in the docs.
Fix start/time/accum values of the new segment.
Correctly unlock and flush a blocking selector when going to READY.

13 years agoplugins/elements/gstinputselector.c: Add lots of debugging.
Wim Taymans [Fri, 14 Mar 2008 17:22:21 +0000 (17:22 +0000)]
plugins/elements/gstinputselector.c: Add lots of debugging.

Original commit message from CVS:
* plugins/elements/gstinputselector.c: (gst_selector_pad_event),
(gst_selector_pad_bufferalloc), (gst_selector_pad_chain),
(gst_input_selector_class_init),
(gst_input_selector_set_active_pad),
(gst_input_selector_set_property),
(gst_input_selector_push_pending_stop):
Add lots of debugging.
Fix time member in the newsegment event.

13 years agoplugins/elements/gstinputselector.*: Various cleanups.
Wim Taymans [Thu, 13 Mar 2008 16:46:04 +0000 (16:46 +0000)]
plugins/elements/gstinputselector.*: Various cleanups.

Original commit message from CVS:
* plugins/elements/gstinputselector.c: (gst_selector_pad_class_init),
(gst_selector_pad_finalize), (gst_selector_pad_get_property),
(gst_selector_pad_event), (gst_input_selector_class_init),
(gst_input_selector_init), (gst_input_selector_set_active_pad),
(gst_input_selector_set_property),
(gst_input_selector_get_property),
(gst_input_selector_request_new_pad),
(gst_input_selector_release_pad),
(gst_input_selector_push_pending_stop),
(gst_input_selector_switch):
* plugins/elements/gstinputselector.h:
Various cleanups.
Added tags to the pads.
Select active pad based on the pad object instead of its name.
Fix refcount in set_active_pad.
Add property to get the number of pads.
* plugins/elements/gstoutputselector.c:
(gst_output_selector_class_init),
(gst_output_selector_set_property),
(gst_output_selector_get_property):
Various cleanups.
Select the active pad based on the pad object instead of its name.
Fix locking when setting the active pad.
* plugins/elements/gstselector-marshal.list:
* tests/check/elements/selector.c: (cleanup_pad),
(selector_set_active_pad), (run_input_selector_buffer_count):
Fixes for pad instead of padname for pad selection.

13 years agoplugins/elements/gstoutputselector.c: Fix changing to same pad twice before a chain...
Stefan Kost [Tue, 26 Feb 2008 12:01:37 +0000 (12:01 +0000)]
plugins/elements/gstoutputselector.c: Fix changing to same pad twice before a chain call.

Original commit message from CVS:
* plugins/elements/gstoutputselector.c:
Fix changing to same pad twice before a chain call.

13 years agoplugins/elements/gstinputselector.*: Added "select-all" property to make it work...
Stefan Kost [Mon, 25 Feb 2008 08:53:51 +0000 (08:53 +0000)]
plugins/elements/gstinputselector.*: Added "select-all" property to make it work like aggregator in 0.8.

Original commit message from CVS:
* plugins/elements/gstinputselector.c:
* plugins/elements/gstinputselector.h:
Added "select-all" property to make it work like aggregator in 0.8.
* plugins/elements/gstoutputselector.c:
Fix resend-latest behavoiur.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/selector.c:
Add unit tests for selector.

13 years agogst/multifile/gstmultifilesink.c: Add a fixme comment.
Stefan Kost [Thu, 7 Feb 2008 13:48:20 +0000 (13:48 +0000)]
gst/multifile/gstmultifilesink.c: Add a fixme comment.

Original commit message from CVS:
* gst/multifile/gstmultifilesink.c:
Add a fixme comment.
* plugins/elements/gstoutputselector.c:
Fix same leak as in input-selector.
* tests/icles/output-selector-test.c:
Improve the test.

13 years agoplugins/elements/gstinputselector.c: Don't leak event on pads that are not linked...
Wim Taymans [Fri, 1 Feb 2008 17:08:18 +0000 (17:08 +0000)]
plugins/elements/gstinputselector.c: Don't leak event on pads that are not linked. Fixes #512826.

Original commit message from CVS:
* plugins/elements/gstinputselector.c: (gst_selector_pad_event):
Don't leak event on pads that are not linked. Fixes #512826.

13 years agoReplace the switch plugin with the selector plugin. Add output- selector as the oppos...
Stefan Kost [Tue, 29 Jan 2008 07:38:31 +0000 (07:38 +0000)]
Replace the switch plugin with the selector plugin. Add output- selector as the opposite of input-selectoo (was switc...

Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-metadata.xml:
* docs/plugins/inspect/plugin-selector.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-switch.xml:
* plugins/elements/.cvsignore:
* plugins/elements/Makefile.am:
* plugins/elements/gstinputselector.c:
* plugins/elements/gstinputselector.h:
* plugins/elements/gstoutputselector.c:
* plugins/elements/gstoutputselector.h:
* plugins/elements/gstselector-marshal.list:
* plugins/elements/gstselector.c:
* plugins/elements/selector.vcproj:
* gst/switch/.cvsignore:
* gst/switch/Makefile.am:
* gst/switch/gstswitch-marshal.list:
* gst/switch/gstswitch.c:
* gst/switch/gstswitch.h:
* gst/switch/switch.vcproj:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/output-selector-test.c:
Replace the switch plugin with the selector plugin. Add output-
selector as the opposite of input-selectoo (was switch). Add a test
for output-selector. Add docs for the elements. The vcproj needs
update. Fixes #500142.

13 years agodocs: add valve element to documentation
Tim-Philipp Müller [Thu, 30 Dec 2010 00:46:02 +0000 (00:46 +0000)]
docs: add valve element to documentation

13 years agovalve: some minor clean-ups
Tim-Philipp Müller [Thu, 30 Dec 2010 00:41:09 +0000 (00:41 +0000)]
valve: some minor clean-ups

13 years agovalve: fix typo in property description
Tim-Philipp Müller [Thu, 30 Dec 2010 00:30:18 +0000 (00:30 +0000)]
valve: fix typo in property description

And rephrase while at it, to make it more concise.

13 years agotests: enable valve unit test
Tim-Philipp Müller [Thu, 30 Dec 2010 00:26:43 +0000 (00:26 +0000)]
tests: enable valve unit test

13 years agoelements: add new valve element to build
Tim-Philipp Müller [Thu, 30 Dec 2010 00:22:38 +0000 (00:22 +0000)]
elements: add new valve element to build

Moved from gst-plugins-bad

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

13 years agotests: fix valve unit test
Tim-Philipp Müller [Tue, 19 Oct 2010 22:40:36 +0000 (23:40 +0100)]
tests: fix valve unit test

gst_buffer_pad_alloc() needs simple caps or NULL caps,
ANY caps are not allowed.

13 years agovalve: no need to ref the object in _chain
Stefan Kost [Tue, 28 Sep 2010 10:52:29 +0000 (13:52 +0300)]
valve: no need to ref the object in _chain

Don't ref the pad in chain, like elsewhere

13 years agotests: Fix caps leak in the valve test
Olivier Crête [Thu, 30 Sep 2010 21:48:35 +0000 (17:48 -0400)]
tests: Fix caps leak in the valve test

13 years agovalve: Add unit tests
Olivier Crête [Thu, 30 Sep 2010 21:24:29 +0000 (17:24 -0400)]
valve: Add unit tests

Add a unit test for the valve element.

13 years agovalve: Make the drop variable into an atomic.
Olivier Crête [Thu, 30 Sep 2010 20:26:19 +0000 (16:26 -0400)]
valve: Make the drop variable into an atomic.

Using an atomic allows us to avoid locking the whole object all time time.
As suggested by Stefan Kost.

13 years agovalve: Correctly set the DISCONT flag after dropping buffers
Olivier Crête [Thu, 30 Sep 2010 20:22:04 +0000 (16:22 -0400)]
valve: Correctly set the DISCONT flag after dropping buffers

13 years agovalve: Remove superflous checking casts
Olivier Crête [Thu, 30 Sep 2010 20:16:47 +0000 (16:16 -0400)]
valve: Remove superflous checking casts

13 years agovalve: Fix style, improve comments
Olivier Crête [Thu, 30 Sep 2010 20:13:23 +0000 (16:13 -0400)]
valve: Fix style, improve comments

Minor improvements to the comments and break a few overly long lines

13 years agovalve: move default: parst in the switch statement to the end
Stefan Kost [Tue, 28 Sep 2010 11:26:11 +0000 (14:26 +0300)]
valve: move default: parst in the switch statement to the end

Now sure if it matters, but the previous form looks weired.

13 years agovalve: move debug-category registration to type init
Stefan Kost [Tue, 28 Sep 2010 11:23:01 +0000 (14:23 +0300)]
valve: move debug-category registration to type init

13 years agovalve: use G_PARAM_STATIC_STRINGS on properties
Stefan Kost [Tue, 28 Sep 2010 11:15:13 +0000 (14:15 +0300)]
valve: use G_PARAM_STATIC_STRINGS on properties

13 years agovalve: GST_BOILERPLATE already sets parent_class
Stefan Kost [Tue, 28 Sep 2010 11:07:39 +0000 (14:07 +0300)]
valve: GST_BOILERPLATE already sets parent_class

13 years agovalve: gst_element_class_set_details => gst_element_class_set_details_simple
Benjamin Otte [Thu, 18 Mar 2010 16:30:26 +0000 (17:30 +0100)]
valve: gst_element_class_set_details => gst_element_class_set_details_simple

13 years agodocs: document valve element
Olivier Crête [Tue, 10 Feb 2009 18:52:54 +0000 (18:52 +0000)]
docs: document valve element

13 years agofsvalve: rename to valve
Olivier Crête [Tue, 10 Feb 2009 17:57:16 +0000 (17:57 +0000)]
fsvalve: rename to valve

13 years agofsvalve: re-indent gst style
Olivier Crête [Tue, 10 Feb 2009 17:55:47 +0000 (17:55 +0000)]
fsvalve: re-indent gst style

13 years agofsvalve: Ignore errors if dropping is set to true
Olivier Crête [Sat, 13 Dec 2008 05:31:45 +0000 (00:31 -0500)]
fsvalve: Ignore errors if dropping is set to true

13 years agofsvalve: Add getcaps proxying to the valve
Olivier Crête [Wed, 10 Dec 2008 22:00:33 +0000 (17:00 -0500)]
fsvalve: Add getcaps proxying to the valve

13 years agofsvalve: Rebase valve onto gstelement instead of basetransform
Olivier Crête [Wed, 20 Aug 2008 18:11:02 +0000 (14:11 -0400)]
fsvalve: Rebase valve onto gstelement instead of basetransform

13 years agofsvalve: Revert "Fix refcounting issues in prepare_output_buffer"
Olivier Crête [Tue, 19 Aug 2008 22:49:51 +0000 (18:49 -0400)]
fsvalve: Revert "Fix refcounting issues in prepare_output_buffer"

This reverts commit 65dd460f0a3a9c4882e638c86208f74ef62c3460.

13 years agofsvalve: Fix refcounting issues in prepare_output_buffer
sjoerd@luon.net [Tue, 5 Aug 2008 11:30:57 +0000 (11:30 +0000)]
fsvalve: Fix refcounting issues in prepare_output_buffer

20080805113057-be0f2-9dc270781f0a0f21c616ed11dbd1f198fd1b326e.gz

13 years agofsvalve: Remove unused dispose method in valve
Olivier Crete [Wed, 9 Apr 2008 16:32:21 +0000 (16:32 +0000)]
fsvalve: Remove unused dispose method in valve

20080409163221-3e2dc-92ccb2db874e46e0d92c15520577c1be0e2bc617.gz

13 years agofsvalve: Dont hold the object lock while calling base alloc function
Olivier Crete [Wed, 19 Dec 2007 20:32:30 +0000 (20:32 +0000)]
fsvalve: Dont hold the object lock while calling base alloc function

20071219203230-3e2dc-6519175d8d81496515b2d9060ac316650560f691.gz

13 years agofsvalve: Set the DISCONT flag after dropping buffers
Olivier Crete [Wed, 19 Dec 2007 20:32:18 +0000 (20:32 +0000)]
fsvalve: Set the DISCONT flag after dropping buffers

20071219203218-3e2dc-bc5f03d88ff5837040b9214de016cc142776dfc2.gz

13 years agofsvalve: Use do the alloc_buffer function in the valve
Olivier Crete [Wed, 19 Dec 2007 00:57:39 +0000 (00:57 +0000)]
fsvalve: Use do the alloc_buffer function in the valve

20071219005739-3e2dc-2a0fdfa2f38f03ab4791fe5c4ab85e8790113683.gz

13 years agofsvalve: Only set passthrough to TRUE on newer versions of gst
Olivier Crete [Wed, 21 Nov 2007 20:08:58 +0000 (20:08 +0000)]
fsvalve: Only set passthrough to TRUE on newer versions of gst

20071121200858-3e2dc-b16cdeabbc3c0562c6fc7b11b9b9792c910f569e.gz

13 years agofsvalve: Compare minor, not major
Olivier Crete [Wed, 21 Nov 2007 18:17:29 +0000 (18:17 +0000)]
fsvalve: Compare minor, not major

20071121181729-3e2dc-a5997c3b7f5c86966370969714facf8ee242659d.gz

13 years agofsvalve: Make the valve element work with gst < 0.10.13
Olivier Crete [Fri, 26 Oct 2007 22:37:49 +0000 (22:37 +0000)]
fsvalve: Make the valve element work with gst < 0.10.13

20071026223749-3e2dc-18f685a4e45fbdce677ac777586876fc719d7222.gz

13 years agofsvalve: Rename valve to fsvalve
Olivier Crete [Wed, 24 Oct 2007 22:42:46 +0000 (22:42 +0000)]
fsvalve: Rename valve to fsvalve

20071024224246-3e2dc-c54216af2ef0ef3f1a2206d723e87be2a23ab8ed.gz

13 years agofsvalve: Add valve element
Olivier Crete [Wed, 24 Oct 2007 22:41:47 +0000 (22:41 +0000)]
fsvalve: Add valve element

20071024224147-3e2dc-f28ab0c073e283894b65c22c4f44397c897dec01.gz

13 years agofakesink: make variable static
Tim-Philipp Müller [Thu, 30 Dec 2010 18:31:11 +0000 (18:31 +0000)]
fakesink: make variable static

13 years agobasesrc: fix deadlock
Wim Taymans [Wed, 29 Dec 2010 10:48:18 +0000 (11:48 +0100)]
basesrc: fix deadlock

Only go into LIVE_WAIT when the are not live_running and only stop waiting when
live_running is TRUE. If we don't loop, we could deadlock when called from
outside of basesrc, such as baseaudiosrc.

Fixes #635785

13 years agocheck: add more sink unit tests
Wim Taymans [Tue, 28 Dec 2010 15:40:28 +0000 (16:40 +0100)]
check: add more sink unit tests

13 years agobasesink: also preroll async=false sinks
Wim Taymans [Tue, 28 Dec 2010 15:23:32 +0000 (16:23 +0100)]
basesink: also preroll async=false sinks

Also preroll async=false sinks after a flush.

13 years agodocs: fix typo
Wim Taymans [Wed, 22 Dec 2010 15:55:33 +0000 (16:55 +0100)]
docs: fix typo

13 years agoRevert "micro-optim: if (x) is cheaper than if (x > 0) for unsigned integers"
Tim-Philipp Müller [Sun, 26 Dec 2010 21:20:31 +0000 (21:20 +0000)]
Revert "micro-optim: if (x) is cheaper than if (x > 0) for unsigned integers"

This reverts commit 6aa8ca37eeb9debfa6919741a023250bf278248f.

See http://article.gmane.org/gmane.comp.video.gstreamer.devel/32282

13 years agoelements: reenable fdsrc/fdsink on MSVC
David Schleef [Fri, 24 Dec 2010 22:02:08 +0000 (14:02 -0800)]
elements: reenable fdsrc/fdsink on MSVC

13 years agoFix GStatBuf definition for win32 when building against older glib.
Michael Smith [Thu, 23 Dec 2010 00:36:09 +0000 (16:36 -0800)]
Fix GStatBuf definition for win32 when building against older glib.
Now matches upstream glib definition.

13 years agominiobject: add gobject-introspection annotation
Tim-Philipp Müller [Wed, 22 Dec 2010 22:36:05 +0000 (22:36 +0000)]
miniobject: add gobject-introspection annotation

13 years agodocs: add draft idea for progress reporting
Wim Taymans [Wed, 22 Dec 2010 15:42:04 +0000 (16:42 +0100)]
docs: add draft idea for progress reporting

13 years agobasesink: fix typo
Wim Taymans [Tue, 21 Dec 2010 09:33:59 +0000 (10:33 +0100)]
basesink: fix typo

13 years agoAutomatic update of common submodule
Edward Hervey [Mon, 20 Dec 2010 16:46:36 +0000 (17:46 +0100)]
Automatic update of common submodule

From 169462a to 46445ad

13 years agotaglist: Don't leak copies of empty strings
Sebastian Dröge [Sun, 19 Dec 2010 11:49:58 +0000 (12:49 +0100)]
taglist: Don't leak copies of empty strings

13 years agobase: documentation fixups and annotation
Edward Hervey [Fri, 17 Dec 2010 18:19:40 +0000 (19:19 +0100)]
base: documentation fixups and annotation

13 years agogst: documentation fixups and annotation
Edward Hervey [Fri, 17 Dec 2010 18:14:41 +0000 (19:14 +0100)]
gst: documentation fixups and annotation

Reported by enabling the --warn-all option of g-ir-scanner

13 years agogstdatetime: Fix documentation
Edward Hervey [Fri, 17 Dec 2010 14:48:34 +0000 (15:48 +0100)]
gstdatetime: Fix documentation

second => seconds
microsecond argument was dropped

13 years agobasesrc: Use an atomic integer instead of a lock for checking tags presence
Edward Hervey [Sat, 4 Dec 2010 14:32:06 +0000 (15:32 +0100)]
basesrc: Use an atomic integer instead of a lock for checking tags presence

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

13 years agobasetransform: Handle downstream giving a buffer with new caps but invalid size
Sebastian Dröge [Thu, 16 Dec 2010 09:55:20 +0000 (10:55 +0100)]
basetransform: Handle downstream giving a buffer with new caps but invalid size

This can happen for example when downstream proposed new caps, later proposed
the previous caps again which in turn enables passthrough mode in upstream
elements and the wrong-sized buffer appears in an element where the caps
change never happened. Simply allocate a new buffer in this case.

See bug #635461.

13 years agoinfo: use the publicly visible address to fix the tests
Stefan Kost [Wed, 15 Dec 2010 21:19:54 +0000 (23:19 +0200)]
info: use the publicly visible address to fix the tests

The -Bsymbolic change causes us to get a different address when internaly
looking up the function than what application would get when the use the symbol
that they see. This made removing the default loghandler to fail, as it is set
internally and removed externaly.

13 years agoAutomatic update of common submodule
Stefan Kost [Wed, 15 Dec 2010 12:55:12 +0000 (14:55 +0200)]
Automatic update of common submodule

From 20742ae to 169462a

13 years agoconfigure: use the -Bsymbolic-functions linker flag if supported
Stefan Kost [Wed, 15 Dec 2010 10:10:02 +0000 (12:10 +0200)]
configure: use the -Bsymbolic-functions linker flag if supported

This feature turns intra library calls into direct function calls and thus makes
them a little faster. The downside is that this causes problems for e.g.
LD_PRELOAD based tools. Thus add a configure option to turn it off.

13 years agobasesink: improve last_stop calculation
Wim Taymans [Tue, 14 Dec 2010 18:00:14 +0000 (19:00 +0100)]
basesink: improve last_stop calculation

Only update the last_stop value when we had a valid stop position for the
clipping or else the clipping code assumes the stop position extends to the end
of the segment, which makes the position reporting return weird values.

13 years agobasesink: fix object type handling in queued preroll
Wim Taymans [Tue, 14 Dec 2010 14:52:22 +0000 (15:52 +0100)]
basesink: fix object type handling in queued preroll

Factor out the method to get the object type.
When preroll-queue-len > 0, use the right object type instead of ignoring
buffer-lists.

13 years agoAutomatic update of common submodule
Stefan Kost [Mon, 13 Dec 2010 14:22:46 +0000 (16:22 +0200)]
Automatic update of common submodule

From 011bcc8 to 20742ae

13 years agolibs: Fix GIR build for srcdir != builddir
Edward Hervey [Sat, 11 Dec 2010 09:10:04 +0000 (10:10 +0100)]
libs: Fix GIR build for srcdir != builddir