Tim-Philipp Müller
07e2428afd
coreelements: remove unused files
2010-12-31 11:37:56 +00:00
Sebastian Dröge
3f89954c27
inputselector: Protected g_object_notify() calls for the active-pad with a recursive mutex
...
This works around a thread safety problem in GLib < 2.26.0 and should
be removed when we depend on 2.26.0.
Fixes bug #607513 .
2010-12-31 12:27:45 +01:00
Zhang Wanming
74ed5af81a
tests: fix typo
...
Signed-off-by: Zhang Wanming <Wanming.Zhang@tieto.com>
2010-12-31 12:20:53 +01:00
Zhang Wanming
8a723cfc93
gstfdsink: fix typo
...
Signed-off-by: Zhang Wanming <Wanming.Zhang@tieto.com>
2010-12-31 12:20:45 +01:00
Zhang Wanming
2633ecf4f1
docs: fix typo
...
Signed-off-by: Zhang Wanming <Wanming.Zhang@tieto.com>
2010-12-31 12:20:40 +01:00
Tim-Philipp Müller
05471ac1a7
tests: remove output-selector test which needs elements from -base
...
Move it to -base instead.
2010-12-31 01:09:40 +00:00
Tim-Philipp Müller
a97199c6a4
checks: enable input-selector and output-selector unit tests after move
2010-12-31 01:01:02 +00:00
Tim-Philipp Müller
30d24e1d55
docs: add input-selector and output-selector to docs
2010-12-31 00:56:11 +00:00
Tim-Philipp Müller
d692735f49
coreelements: GST_BOILERPLATE already sets parent_class
2010-12-31 00:56:11 +00:00
Tim-Philipp Müller
fdd65e382d
input-selector, output-selector: minor clean-ups
2010-12-31 00:56:11 +00:00
Tim-Philipp Müller
52617c91f3
coreelements: move input-selector and output-selector to core
...
Moved to core from gst-plugins-bad.
https://bugzilla.gnome.org/show_bug.cgi?id=614306
2010-12-31 00:55:19 +00:00
Stefan Kost
917278c532
output-selector-test: don't hardcode videosinks and use more colorspace conv.
...
Use autovideosink instead of hardcoded sinks. Use an additional colorspace
converter between videotestsrc and timeoverlay.
2010-12-31 00:54:05 +00:00
Thiago Santos
0cb6c9230d
outputselector: Avoid losing the last_buffer when switching
...
This patch makes outputselector take an extra ref when pushing
the last_buffer to avoid it losing it during the switch function.
This makes resend-latest properly work if the active-pad is changed
during the switch function buffer pushing (on a pad probe, for example).
https://bugzilla.gnome.org/show_bug.cgi?id=629917
2010-12-31 00:54:05 +00:00
Thiago Santos
974ca7713a
outputselector: Recheck pending switch after pushing buffer
...
This patch makes output-selector always recheck if there's a
pending pad switch after pushing a buffer, preventing that
it pushes a buffer on the 'wrong' pad.
https://bugzilla.gnome.org/show_bug.cgi?id=629917
2010-12-31 00:54:05 +00:00
Stefan Kost
246bb32dc5
inputselector: log times in human readable form
2010-12-31 00:54:05 +00:00
Stefan Kost
64beb26a56
inputselector: move reoccuring logs to LOG and remove a double info
...
Less debug spew in DEBUG category. No need to log pad again if we use
GST_LOG_OBJECT(pad,...).
2010-12-31 00:54:05 +00:00
Stefan Kost
d86c6f1956
various (gst): add missing G_PARAM_STATIC_STRINGS flags
...
Canonicalize property names as needed.
2010-12-31 00:54:05 +00:00
Stefan Kost
04c4e4fb9e
inputselector: sync with copy in -base
...
Use _get_caps_reffed to avoid copies.
2010-12-31 00:54:05 +00:00
Stefan Kost
d18e7d25f8
outputselector: move the debug init to the boilerplate macro
2010-12-31 00:54:05 +00:00
Stefan Kost
0da59d0795
inputselector: use GST_BOILERPLATE macro
2010-12-31 00:54:04 +00:00
Benjamin Otte
8915626090
Add -Wwrite-strings
...
and fix its warnings
2010-12-31 00:54:04 +00:00
Benjamin Otte
9bb7806e01
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
...
And fix all warnings
2010-12-31 00:54:04 +00:00
Benjamin Otte
0b37d8bf36
gst_element_class_set_details => gst_element_class_set_details_simple
2010-12-31 00:54:04 +00:00
Sebastian Dröge
9d21103d42
Revert "inputselector: Protect g_object_notify() with the object's mutex"
...
This reverts commit 7e067615ff
, it's causing
deadlocks with playbin2.
2010-12-31 00:54:04 +00:00
Kipp Cannon
15b1ee56d4
inputselector: Protect g_object_notify() with the object's mutex
...
This works around the thread unsafety of g_object_notify()
Fixes bug #607513 .
2010-12-31 00:54:04 +00:00
Sebastian Dröge
acf1616ae1
inputselector: Remove useless variables and fix a uninitialized variable compiler warnings
...
Merged from gst-plugins-base, dfd51aa82a
.
2010-12-31 00:54:04 +00:00
Sebastian Dröge
9b2753c6e9
inputselector: Make sure that running_time->timestamp calculation never becomes negative
...
Merged from gst-plugins-base, f365385458
.
2010-12-31 00:54:04 +00:00
Sebastian Dröge
a1f6660655
inputselector: Use the start time (i.e. timestamp) as the last stop
...
Using the end time makes it impossible to replace buffers, which is
a big problem for subtitles that could have very long durations.
Merged from gst-plugins-base, 27034be461
.
2010-12-31 00:54:04 +00:00
Sebastian Dröge
8b2d4ad8a3
inputselector: Improve debugging
...
Merged from gst-plugins-base.
2010-12-31 00:54:04 +00:00
Wim Taymans
9515cbcd08
Revert "inputselector: use get_caps_reffed()"
...
This reverts commit 49ec4f796a
.
We can't use this new function yet.
2010-12-31 00:54:04 +00:00
Wim Taymans
b74b0f04f2
inputselector: use get_caps_reffed()
2010-12-31 00:54:04 +00:00
Stefan Kost
e955afd503
inputselector: also add inline to the proto to fix the build
2010-12-31 00:54:04 +00:00
Edward Hervey
f0010f15a9
gst: Remove dead assignments and resulting unused variables
...
Merged from gst-plugins-base, 8cd1b5209b
.
2010-12-31 00:54:04 +00:00
Sebastian Dröge
d7669fa9cc
inputselector: Use the same iterate internal links function as in gst-plugins-base
2010-12-31 00:54:04 +00:00
Tim-Philipp Müller
13cf296cb0
input-selector: Remove GST_DEBUG_FUNCPTR where they're pointless
...
There's not much point in using GST_DEBUG_FUNCPTR with GObject
virtual functions such as get_property, set_propery, finalize and
dispose, since they'll never be used by anyone anyway. Saves a
few bytes and possibly a sixteenth of a polar bear.
Merged from gst-plugins-base, 6f4c1ac583
.
2010-12-31 00:53:58 +00:00
David Schleef
11dc5f63cb
input-selector: Remove Ronald Bultje from Authors field
...
Replaced with "GStreamer maintainers
<gstreamer-devel@lists.sourceforge.net>" or just removed,
depending on the number of other authors.
Merged from gst-plugins-base, 0e9bc5125a
.
2010-12-31 00:53:50 +00:00
Wim Taymans
199c1bdbcb
inputselector: set output caps before pushing
...
Set the output caps on the srcpad before pushing the buffer because else core
will do a rather expensive check to see if we can actually accept those caps on
the srcpad.
Merged from gst-plugins-base, bdfb4b46d7
.
2010-12-31 00:53:50 +00:00
Wim Taymans
7c7acac0db
inputselector: install an acceptcaps function
...
Install a custom acceptcaps function instead of using the default expensive
check. We accept whatever downstream accepts so we pass along the acceptcaps
call to the downstream peer.
Merged from gst-plugins-base, 5b72f2adf9
.
2010-12-31 00:53:50 +00:00
Michael Smith
b09bf81f15
Remove executable bits from non-executable files.
2010-12-31 00:53:50 +00:00
Sebastian Dröge
8ee3931e5d
inputselector: Use new single iterator for the internally linked pads
...
This fixes a deadlock and removes some useless code.
2010-12-31 00:53:50 +00:00
Havard Graff
8669fe97bf
outputselector: make GST_FORMAT_TIME the default segment format
2010-12-31 00:53:50 +00:00
Sebastian Dröge
1543b0ea08
inputselector: Use iterate internal links instead of deprecated get internal links
2010-12-31 00:53:50 +00:00
Tommi Myöhänen
b79648c180
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.
2010-12-31 00:53:50 +00:00
Stefan Kost
89e574ce0d
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.
2010-12-31 00:53:50 +00:00
Lasse Laukkanen
8d45bdf144
output-selector: serialize setting and actual changing of new active pad
2010-12-31 00:53:49 +00:00
Lasse Laukkanen
03d8251067
output-selector: unref latest buffer also when resending has been disabled
2010-12-31 00:53:49 +00:00
Lasse Laukkanen
c63ecb2b89
output-selector: keep ref to buffer for resending only if explicitly requested
2010-12-31 00:53:49 +00:00
Wim Taymans
bccc960734
inputselector: don't leak pads in iterator
2010-12-31 00:53:49 +00:00
Sebastian Dröge
e40d20c845
inputselector: Notify when the tags property of the selector sinkpads changes
...
First part of bug #584686 .
2010-12-31 00:53:49 +00:00
Stefan Kost
03d458b212
selector: remove not needed instance var (previous commit).
2010-12-31 00:53:49 +00:00