Tim-Philipp Müller
226d96f107
collectpads: don't forward random stream-start event
...
It's not right, and we don't know what extra properties
that event might have set in future (e.g. sparseness).
This change means collectpad users need to create their
own stream-start event now. We could add a utility
function that creates a stream-start event based on
the input stream-start events.
2012-09-23 12:42:01 +01:00
Tim-Philipp Müller
b582ec5c81
Automatic update of common submodule
...
From 4f962f7 to 6c0b52c
2012-09-22 16:07:15 +01:00
Mark Nauwelaerts
77e74583fd
manual: update controller documentation
2012-09-21 21:13:27 +02:00
Mark Nauwelaerts
a722212dc9
object: update controller documentation
2012-09-21 21:13:13 +02:00
Bastian Winkler
771d061658
man: Fix syntax for value lists in caps strings
...
Value lists use curly brackets instead of parentheses
https://bugzilla.gnome.org/show_bug.cgi?id=684293
2012-09-21 11:47:23 +01:00
Olivier Crête
945e0d2be9
pad: Remove pad probes only once
...
Also add test to make sure that if a pad probe is removed while it's
callback is running, the cleanup_hook isn't called again if it
returns GST_PAD_PROBE_REMOVE
2012-09-20 15:24:33 -04:00
Olivier Crête
25b3e02b94
pad: Add functions to safely access GstProbeInfo data pointer
...
This is so that introspection based bindings can access it.
https://bugzilla.gnome.org/show_bug.cgi?id=684402
2012-09-20 15:24:33 -04:00
Tim-Philipp Müller
72dfd25e5f
docs: remove reference to 0.8 GstBin API from manual
...
https://bugzilla.gnome.org/show_bug.cgi?id=684048
2012-09-19 23:28:52 +01:00
Mark Nauwelaerts
f495fa7a21
identity: transform GAP event in single segment mode
2012-09-19 15:14:35 +02:00
Tim-Philipp Müller
531cdb43f5
docs: collectpads doc fixes
2012-09-19 09:44:08 +01:00
Wim Taymans
0ea3675cf4
basetransform: check acquire result value
...
Check the result value from _buffer_pool_acquire() and return the
value when allocation failed.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=684285
2012-09-18 21:49:41 +02:00
Sebastian Dröge
8f51345296
pad: Fix refcount bug by unreffing the correct variable
2012-09-18 12:46:37 +02:00
Tim-Philipp Müller
2e6d61743f
Release 0.11.99
2012-09-17 17:56:44 +01:00
Tim-Philipp Müller
ca90ea6e55
Remove GST_USE_UNSTABLE_API guard and defines
2012-09-17 13:35:26 +01:00
Sebastian Dröge
de635d089f
pad: Add parent parameter to the link and unlink functions
...
Fixes part of bug #683995 .
2012-09-17 13:24:36 +02:00
Tim-Philipp Müller
c2175db889
sample: add serialisation/deserialisation functions for GstSample
...
Since these things are inside taglists now, it would be good to be
able to print them and deserialise them.
https://bugzilla.gnome.org/show_bug.cgi?id=681322
2012-09-16 23:20:46 +01:00
Christian Fredrik Kalager Schaller
3834968dd2
Switch to F18 naming of the package
2012-09-15 21:56:07 +02:00
Mark Nauwelaerts
2834dd0518
use gst_element_factory_get_metadata to replace obsolete API
2012-09-15 19:09:08 +02:00
Mark Nauwelaerts
3cf8b945ca
replace gst_tag_list_free with gst_tag_list_unref
2012-09-14 17:52:14 +02:00
Mark Nauwelaerts
abf21d1f6d
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:01:21 +02:00
Wim Taymans
9828f72cda
basetrans: whitespace fix
2012-09-14 16:58:10 +02:00
Tim-Philipp Müller
cd14030d5d
docs: indexers are no more
...
https://bugzilla.gnome.org/show_bug.cgi?id=684018
2012-09-14 14:13:50 +01:00
Wim Taymans
7921e652b6
tests: fix for appsink return value addition
2012-09-14 13:34:24 +02:00
Tim-Philipp Müller
29418de194
Back to development
2012-09-14 02:54:52 +01:00
Tim-Philipp Müller
b3393cac76
Release 0.11.94
2012-09-14 02:46:34 +01:00
Olivier Crête
bc5cc2eb07
pad: don't try to pretty-print event after we've given away ownership
...
Might cause crashes with debug logging enabled.
https://bugzilla.gnome.org/show_bug.cgi?id=683996
2012-09-14 01:28:46 +01:00
Tim-Philipp Müller
0c1686915f
po: update translations
2012-09-14 01:17:54 +01:00
Tim-Philipp Müller
19d4ec4aca
gstcompat: fix backwards compat macro for gst_message_new_duration
...
Name it properly, so it, like, works. Clearly no one actually
used that..
2012-09-14 00:30:37 +01:00
Wim Taymans
76c127a0b9
docs: fix formats a little
2012-09-13 12:00:08 +02:00
Wim Taymans
25665ff90d
defs: add new baseparse function
2012-09-13 11:38:52 +02:00
Wim Taymans
8db60df244
docs: fourcc is no more
2012-09-13 11:38:33 +02:00
Wim Taymans
3abc720345
docs: fix some docs
...
from git grep for ffmpegcolorspace and x-raw-
2012-09-13 11:35:41 +02:00
Wim Taymans
a1fa643c93
parse: add missing declaration
2012-09-13 10:48:08 +02:00
Wim Taymans
6802620d9d
basesrc: indent fix
2012-09-13 10:24:30 +02:00
Jan Schmidt
196caf5ed6
baseparse: Add a mode/flag for disabling PTS interpolation
...
To be used by sub-classes implementing video formats with reordering
such as MPEG.
2012-09-12 22:44:37 -07:00
Jan Schmidt
f4b530ed9e
baseparse: Handle GAP and still-frame events.
...
Hacky, because the still-frame code all lives in -base, where we
can't use it - so this is a hacky duplication of -base code. Not
sure which way to fix this: Move baseparse to -base, or move still-frame
events to core?
2012-09-12 22:38:40 -07:00
Jan Schmidt
257ad2c79e
baseparse: Restructure event handling
...
Make the event handling more like what videodecoder does,
to ensure that all events are passed to child classes before being
placed on the pending queue or pushed onward.
2012-09-12 22:38:40 -07:00
Jan Schmidt
dbf4c13489
baseparse: Store incoming cached events in reverse order
...
Reverse the list just before sending. Prepending is more efficient
than appending, so this saves some cycles.
2012-09-12 22:38:40 -07:00
Jan Schmidt
3226160b31
baseparse: First attempt at handling both DTS and PTS
2012-09-12 22:38:36 -07:00
Tim-Philipp Müller
c2a25bcd0f
taglist: add warning when we get something else than a sample for a sample tag
...
Facilitate GstBuffer -> GstSample transition for some tags,
could be hard to catch otherwise when creating tags, since
it'll only be apparent later when someone tries to read the
tags.
2012-09-13 00:38:21 +01:00
Andreas Frisch
0bc87ee5d9
elementfactory: don't crash if no element klass has been set
...
https://bugzilla.gnome.org/show_bug.cgi?id=683865
2012-09-12 22:53:41 +01:00
Stefan Sauer
57b24d9c57
collectpads: fix a misplaced ')'
2012-09-12 23:12:56 +02:00
Tim-Philipp Müller
bc758c9330
error: don't tell people to file a bug for negotiation errors
2012-09-12 21:23:22 +01:00
Stefan Sauer
57ea490f5a
collectpads: remove gst_collect_pads_add_pad_full
...
Rename gst_collect_pads_add_pad_full() to gst_collect_pads_add_pad() and fix all
invocations.
2012-09-12 21:04:47 +02:00
Mark Nauwelaerts
947635d893
filesink: fix build on Cygwin
...
... where __fbufsize is not available
2012-09-12 17:16:41 +02:00
Tim-Philipp Müller
b25c3363e0
Revert "tests: fix buffer leak in queue2 unit test"
...
This reverts commit 232fd2953e
.
This was already fixed.
2012-09-12 13:00:15 +01:00
Tim-Philipp Müller
2fe8ebaae6
queue2: fix possible data corruption in ring buffer mode when seeking
...
Fix race that could cause data corruption when seeking in ring buffer
mode.
In perform_seek_to_offset(), called from the demuxer's pull_range
request, we drop the lock, tell upstream (usually a http source)
to seek to a different offset, then re-acquire the lock before we
do things to the ranges. However, between us sending the seek event
and re-acquiring the lock, the source thread might already have pushed
some data and moved along the range's writing_pos beyond the seek
offset. In that case we don't want to set the writing position back
to the requested seek position, as it would cause data to be written
to the wrong offset in the file or ring buffer.
Reproducible doing seek-emulated fast-forward/backward on 006653.
Conflicts:
plugins/elements/gstqueue2.c
2012-09-12 12:59:50 +01:00
Tim-Philipp Müller
232fd2953e
tests: fix buffer leak in queue2 unit test
2012-09-12 12:33:51 +01:00
Mark Nauwelaerts
9454c8c626
check: remove glib deprecation compatibility trickery
2012-09-12 13:02:06 +02:00
Mark Nauwelaerts
bb4860d961
check: port to the new GLib thread API
2012-09-12 13:01:18 +02:00