Sebastian Dröge
7d3760b4b7
selector: Push newsegment events before any buffers are pushed in the unit test
2011-12-07 11:04:42 +01:00
Sebastian Dröge
47de97df84
inputselector: Don't send a NEWSEGMENT event if a buffer arrived before the segment was configured
2011-12-07 11:01:49 +01:00
Sebastian Dröge
7952a54299
outputselector: Don't send last segment/buffer when no segment was configured yet
2011-12-07 11:01:31 +01:00
Sebastian Dröge
7fb67e9d6f
basetransform: If suggested caps are not compatible with upstream try to come up with compatible caps
...
Fixes bug #662199 .
2011-12-07 09:51:42 +01:00
Tim-Philipp Müller
c33b50e00f
indexfactory: fix memory leak
...
Introduced by commit bd302bb6
pluginfeature: avoid duplicating feature->name
https://bugzilla.gnome.org/show_bug.cgi?id=459466
https://bugzilla.gnome.org/show_bug.cgi?id=665703
2011-12-06 23:54:59 +00:00
Wim Taymans
629a8d03ce
pad: put new event probe type next to other event types
2011-12-06 18:18:26 +01:00
Matej Knopp
8e6b5f79bd
Add GST_PAD_PROBE_TYPE_HANDLE_FLUSH
2011-12-06 18:18:26 +01:00
Sebastian Dröge
c8909ab059
fakesink: Make event/buffer verbose output consistent with identity
2011-12-06 14:55:57 +01:00
Sebastian Dröge
b7b84671ba
identity: Print buffer flags in the verbose output
2011-12-06 14:55:57 +01:00
Sebastian Dröge
675e54f1f4
fakesrc: Make event/buffer verbose output consistent with identity and print buffer flags
2011-12-06 14:55:57 +01:00
Stefan Sauer
3663167582
tests: don't include glib/gthread.h directly
...
The g_thread functions are available after including glib.h as per docs.
2011-12-06 14:46:46 +01:00
Stefan Sauer
c379842aec
controller: port the test to new api as well
2011-12-06 14:40:36 +01:00
Stefan Sauer
eb1259b983
controller: fix gpointer vs. gpointer* mess up
2011-12-06 14:40:35 +01:00
Wim Taymans
c0e3974aa7
pad: remove GST_FLOW_RESEND
...
It is unused and undefined.
2011-12-06 14:24:15 +01:00
Wim Taymans
ebc25e895f
basesrc: add async start option
...
Add a method to enable async start behaviour. The subclass can then complete the
start operation from any other thread by caling gst_base_src_start_complete().
The base class can wait for the start to complete with
gst_base_src_start_wait().
2011-12-06 14:01:50 +01:00
Wim Taymans
960564831e
fix compilation
2011-12-06 13:58:00 +01:00
Wim Taymans
e7e948a5bf
filesrc: cleanup error path
2011-12-06 13:47:29 +01:00
Wim Taymans
1ac7160031
fix compilation
2011-12-06 13:39:05 +01:00
Stefan Sauer
4aafc381b2
controller: use _OBJECT logging variants more
2011-12-06 08:48:57 +01:00
Stefan Sauer
4b29d4f29a
controller: remove GstValueArray
...
Instead pass the values as arguments. This simplifies that code and helps
bindings.
2011-12-06 08:35:57 +01:00
Stefan Sauer
4783251b2e
controller: remove gst_object_get_value_arrays
...
One can easilly loop over the controlled properties manually. This is step 1 in
removing GstValueArray.
2011-12-06 08:35:10 +01:00
Matej Knopp
0e935321af
correct return value in gst_push_sticky
2011-12-05 17:11:07 +01:00
Wim Taymans
c2efd026db
make some macros into inline functions
2011-12-05 11:07:24 +01:00
Wim Taymans
be0e58a637
make some more macros as inline functions
...
Make some macros as inline functions for added type checking.
USe new gst_caps_take() in typefind
2011-12-05 10:24:34 +01:00
Wim Taymans
2f836b5996
docs: remove some old methods
2011-12-05 10:23:04 +01:00
Tim-Philipp Müller
8811cbc5aa
check: allow non-joinable threads in private g_thread_create() copy
...
Looks like some tests use non-joinable threads after all.
2011-12-04 21:20:07 +00:00
Tim-Philipp Müller
27004c9a12
docs: remove removed tag list functions from docs as well
2011-12-04 15:42:07 +00:00
Tim-Philipp Müller
a1daf846f3
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
gst/gstobject.h
libs/gst/check/gstcheck.h
libs/gst/controller/gstcontroller.c
plugins/elements/gstidentity.c
tools/gst-xmlinspect.c
2011-12-04 15:38:09 +00:00
Tim-Philipp Müller
2666450864
Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly
...
GStaticRecMutex is part of our API/ABI, not much we can do here in 0.10.
2011-12-04 14:38:26 +00:00
Tim-Philipp Müller
5889260d5a
Work around deprecated thread API in glib master
...
Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We can't change most of
these in 0.10 because they're part of our API and ABI.
2011-12-04 13:35:38 +00:00
Tim-Philipp Müller
a8b79513c1
benchmarks: g_thread_create() is deprecated in GLib master, use g_thread_try_new() instead
2011-12-04 13:09:53 +00:00
Tim-Philipp Müller
1f14a425d0
net: initialise GError variables to NULL
2011-12-04 13:04:35 +00:00
Edward Hervey
70df7c9189
win32: Update defs files
2011-12-04 11:43:10 +01:00
Edward Hervey
b5792eea46
gstquery: Fix unitialized variable
2011-12-04 11:42:39 +01:00
Edward Hervey
bf19148acb
gstsegment: Initialize with proper type
2011-12-04 11:32:57 +01:00
Tim-Philipp Müller
fef18639db
g_thread_init() is deprecated in glib master
...
It's not needed any longer.
2011-12-03 17:40:53 +00:00
Tim-Philipp Müller
ff96aeee84
tagsetter: update for thread API deprecations in glib master
2011-12-03 16:02:36 +00:00
Tim-Philipp Müller
4b18f0a5c3
taglist: update for thread API deprecations in glib master
2011-12-03 15:36:58 +00:00
Tim-Philipp Müller
ad0a465f93
taglist: remove gst_tag_list_get_{char,uchar}
...
Those are unused and should never be used anywhere anyway
really.
2011-12-03 15:18:21 +00:00
Tim-Philipp Müller
8c3d6ddb56
docs: remove some macros that no longer exist
2011-12-03 14:06:58 +00:00
Tim-Philipp Müller
ca179625f8
g_thread_create() is deprecated in GLib master, use g_thread_try_new() instead
2011-12-03 13:58:51 +00:00
Wim Taymans
543b56c78f
basesink: use dts and pts for sync
...
First use DTS, then fall back to PTS for synchronization.
2011-12-03 07:06:11 +01:00
Wim Taymans
e1b64d971e
basesink: small cleanups
2011-12-03 07:01:45 +01:00
Wim Taymans
f62c3922c2
basesink: merge preroll functions
...
Inline a function that is only called from one place to make things a little
easier to follow.
2011-12-03 06:45:46 +01:00
Wim Taymans
ee15bd7287
basesink: more cleanups
...
Don't pass around the object type, we can find that very efficiently from the
object itself now.
2011-12-03 06:29:42 +01:00
Wim Taymans
64bd0b6416
basesink: clean up method names
2011-12-02 23:13:23 +01:00
Wim Taymans
4be2edeb50
basesink: merge render_object into chain
...
Merge the render_object code with the chain method. It is only called from there
and there are quite a few variables that can be reused to makes things less
confusing.
2011-12-02 22:50:55 +01:00
Wim Taymans
cc8359259b
basesink: remove obsolete code
...
Remove some more code now that the render_object ethod is only
called with buffers or bufferlsts.
2011-12-02 22:36:38 +01:00
Wim Taymans
0e38f0dad0
basesink: clean up event handling
...
Add new wait_eos vmethod to wait for the eos timeout before posting the EOS
message on the bus.
Add default event handler. Move the default event actions in there. Call the
event vmethod from the pad event handler. Subclasses are now supposed to chain
up to the parent event handler or unref the event and do their own thing.
Avoid passing unused parameters to functions.
2011-12-02 22:20:08 +01:00
Mark Nauwelaerts
bfcb5a43a6
identity: unlock clock wait when appropriate
...
... notably FLUSH and state change to READY.
2011-12-02 13:41:54 +01:00