Wim Taymans
88fdeb3ee7
def: update
2012-02-13 18:04:02 +01:00
Wim Taymans
c32456224e
meta: fix typos
2012-02-13 16:42:56 +01:00
Tim-Philipp Müller
042f634676
docs: add a paragraph about the STREAM CONFIG event to the design docs
2012-02-12 21:17:41 +00:00
Tim-Philipp Müller
7329843fe6
event: make _parse_nth_stream_config_header() and _parse_setup_data() return a boolean
...
As they can fail (only one of stream headers or setup data
is usually present).
2012-02-12 21:05:45 +00:00
Tim-Philipp Müller
4d937fafbb
event: rename gst_event_{set,parse}_stream_config_codec_data() to _setup_data()
...
More generic.
2012-02-12 20:51:39 +00:00
Wim Taymans
5fbdd763bb
Merge branch 'master' into 0.11
2012-02-10 15:03:03 +01:00
Wim Taymans
151d7faca3
clean up object init
...
Make an _init method where the parent mini-object and other fields are
initialized.
Check that the passed structure doesn't already have a parent.
Use the _new_custom () constructors
2012-02-10 15:02:23 +01:00
Mark Nauwelaerts
954dd59fdd
baseparse: bitrate mechanics should not deal with duration update
...
... since that is already handled by _update_duration, or should not be done
altogether if the duration is determined by non-estimated means.
Fixes #669502 .
2012-02-10 14:47:00 +01:00
Tim-Philipp Müller
86c15749a4
docs: push_event doesn't return a flow value after all
2012-02-10 12:50:26 +00:00
Wim Taymans
c9a3051b37
pad: silence probe debug a litte
2012-02-10 12:05:18 +01:00
Wim Taymans
b30b397c46
basesink: implement faster ACCEPT_CAPS query
2012-02-10 11:24:28 +01:00
Wim Taymans
34f770a900
gst: add some performance logging
...
Add some performance logging for caps copy and the slow default acceptcaps
implementation
2012-02-10 11:09:01 +01:00
Wim Taymans
3d4a1a98b5
docs: update and improve docs
2012-02-09 11:48:02 +01:00
Tim-Philipp Müller
552d726c3a
utils: remove gst_element_class_install_std_props()
...
It's only used in one place (rtmp), and there not very well.
2012-02-09 00:14:58 +00:00
Tim-Philipp Müller
41841899c7
fakesrc, identity, fakesink: do not generate last-message updates by default
...
Default to not creating lots of overhead by doing a couple of
g_strdup_printf()/g_free() per buffer or event just to generate
a last-message update that rarely anyone listens to. This means
that you need to enable silent=true explicitly in order to get
last-message dumps in gst-launch -v now. On the upside, people
won't inadvertently end up benchmarking g_strdup_printf()
performance instead of gstreamer data handling performance any
more.
Maybe the silent property should be renamed to enable-last-message
or something like that?
2012-02-09 00:14:34 +00:00
Wim Taymans
7ab1d62c24
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
2012-02-08 16:18:04 +01:00
Mark Nauwelaerts
9f2077918c
queue: use default query function to optionally forward query
...
... rather than querying peer unconditionally with possibly undesirable
outcome in case of e.g. SCHEDULING query.
2012-02-08 15:38:37 +01:00
Mark Nauwelaerts
a306518cee
baseparse: clean up a few minor extraneous tokens
2012-02-08 15:38:28 +01:00
Mark Nauwelaerts
2aaa475a4f
baseparse: remove closing segment handling
2012-02-08 15:38:07 +01:00
Wim Taymans
92de0b6143
Merge branch 'master' into 0.11
2012-02-08 14:45:25 +01:00
Wim Taymans
27d639ec09
typefind: fix race in pad mode change
...
Fixes #668909 and presumably also #669483
2012-02-08 14:32:01 +01:00
Wim Taymans
bcf3daebd4
pad: error when activation mode is wrong
...
Post an error when we try to push on a pad activated in pull mode and pull on a
pad in push mode.
2012-02-08 12:57:11 +01:00
Wim Taymans
7cb4828e93
clock: remove method declaration too
2012-02-08 09:30:02 +01:00
Stefan Sauer
110e7c2d3c
clock: remove unimplemented stats property while we can
2012-02-07 13:41:20 +01:00
Wim Taymans
dcde2c2c1a
fakesrc: remove custom marshaller
...
Remove our custom marshaller.
Make the buffer in the handoff signal static_scope so that it is actually
writable.
2012-02-07 10:44:07 +01:00
Wim Taymans
a46f0862cd
gst: improve debugging
2012-02-06 09:46:47 +01:00
Havard Graff
609e618e70
registry: fix compilation with --disable-registry
...
__registry_reuse_plugin_scanner is only defined when
GST_DISABLE_REGISTRY is not defined.
gstregistry.c: In function 'gst_registry_scan_plugin_file':
gstregistry.c:1131:8: error: '__registry_reuse_plugin_scanner' undeclared (first use in this function)
https://bugzilla.gnome.org/show_bug.cgi?id=667284
2012-02-04 15:52:21 +00:00
Vincent Penquerc'h
ec7a7c318a
bin: reset the EOS detection machinery after sending an EOS message
...
This will allow detecting further EOS, for instance after looping
a stream without changing states.
https://bugzilla.gnome.org/show_bug.cgi?id=668289
2012-02-03 11:23:28 +00:00
Ryan Lortie
1f1f6e0ed5
autogen.sh: allow calling from out-of-tree
...
https://bugzilla.gnome.org/show_bug.cgi?id=667664
2012-02-02 17:11:55 +00:00
Wim Taymans
da793d7255
trace: print caps in dump
2012-02-02 16:59:12 +01:00
Wim Taymans
b8089eedcf
defs: update
2012-02-02 16:04:10 +01:00
Wim Taymans
18ddee3b45
memory: add debug and trace for GstMemory
2012-02-02 15:57:48 +01:00
Wim Taymans
5d6999f804
trace: don't check random pointers for objects
...
Only see if the traced pointer is a GObject when it was registered with the
special offset of -2.
2012-02-02 15:55:44 +01:00
Wim Taymans
e60b67f907
Update debug categories
...
Remove some categories marked for deletion.
Add a category for GstMemory.
2012-02-02 15:54:28 +01:00
Wim Taymans
f5886a17f5
remove TRACE_NAME from headers
2012-02-02 15:52:19 +01:00
Wim Taymans
e74daf61d1
buffer: add new test
2012-02-02 13:17:38 +01:00
Wim Taymans
fab3027b27
dentity: remove prepare_output_buffer
...
Correctly mark passthrough on the baseclass so that it can correctly do the
allocation of the output buffers.
Remove our custom prepare_output_buffer function now that the baseclass is
smarter.
2012-02-02 13:15:24 +01:00
Wim Taymans
d6dfb07692
basetransform: improve prepare_output_buffer
...
Clean up the prepare_output_buffer function.
Reuse the input buffer when it is writable and when doing an
in-place but non-passthrough transform.
Move the copy-metadata function call to the prepare_output_buffer default
function. If subclasses implement a custom prepare_output_buffer, they must also
copy the metadata themselves.
Remove a useless memory copy because prepare_output_buffer already did that.
2012-02-02 13:10:27 +01:00
Wim Taymans
dd9cc4295e
identity: only map when using the memory
2012-02-02 12:32:49 +01:00
Wim Taymans
87b805a639
plugins: proxy allocation query
2012-02-02 12:32:07 +01:00
Wim Taymans
3075b3c529
basetransform: simplify code
...
We already checked passthrough a few lines above.
2012-02-02 12:30:14 +01:00
Wim Taymans
d8c12ceb2b
memory: add some performce debug info
...
Add some PERFORMANCE debug lines where we copy and do other suboptimal things.
2012-02-02 12:07:28 +01:00
Wim Taymans
d54fbe677f
pad: add flag to proxy allocation query
...
Add a flag to force the default query handler to forward the allocation query
instead of discarding it.
Reorder the pad flags a bit.
2012-02-02 12:05:37 +01:00
Tim-Philipp Müller
83002ac63e
typefind: pass extensions as comma-separated list in a simple string
...
Fix annoying gst_type_find_register() function signature. A simple
string with comma-separated extensions works just as well and saves
lines of code, casts, relocations and ultimately kittens.
2012-02-02 01:32:07 +00:00
Wim Taymans
18118218b1
basesrc: fix race in startup
...
Mark renegotiate before starting the pushing thread.
Do also check if we are starting in the get_range function.
2012-01-31 17:41:13 +01:00
Wim Taymans
76a60c4c42
element: don't crash on missing template
...
Some request pads don't have a padtemplate (mostly those from encodebin). Avoid
crashing in this case.
2012-01-31 16:27:55 +01:00
Stefan Sauer
5e4c13fc97
controller: constructures for control sources return GstControlSource
...
Don't return the specific types. In most cases there is no specific api there
anyway.
2012-01-31 12:29:52 +01:00
Wim Taymans
39c5f0b28a
don't do logic in g_assert...
2012-01-31 12:10:21 +01:00
Stefan Sauer
4deaf9b8be
controller: rename control-bindings
...
gst_control_binding_xxx -> gst_xxx_control_binding for consistency.
2012-01-30 21:18:57 +01:00
João Paulo Pizani Flor
3af9544f95
Fixes the lack of an include directive in gst/gstpreset.h
...
It blocked the build of external libraries depending on gstreamer-core (namely, gstreamermm).
Complete bug report at https://bugzilla.gnome.org/show_bug.cgi?id=669036
2012-01-30 17:22:59 +00:00