Commit graph

284 commits

Author SHA1 Message Date
Tim-Philipp Müller
05daa261f1 docs: update TOC design docs a little 2012-07-28 11:02:30 +01:00
Wim Taymans
5360ba56f7 basesink: handle -1 step amounts
Define a 0 and -1 step amount. They used to almost do the same thing but now, 0
cancels/stops the current step and -1 keeps on stepping until the end of the
segment.

See https://bugzilla.gnome.org/show_bug.cgi?id=679378
2012-07-18 17:49:32 +02:00
Tim-Philipp Müller
867051c7f6 docs: update stream docs for SEGMENT_START event 2012-07-09 16:32:52 +01:00
Wim Taymans
964ea9eccb docs: update docs 2012-07-05 12:56:51 +02:00
Sebastian Dröge
1e3d8a8350 part-toc: Remove section about TOC query 2012-07-05 12:37:01 +02:00
Sebastian Dröge
dfd9b60221 toc: Make structures opaque and clean up function names and fields a bit 2012-07-05 12:29:02 +02:00
Wim Taymans
6bb7d49e29 memory: update docs 2012-07-05 11:19:16 +02:00
Wim Taymans
93f279cd5a memory: expose the internal locking api
Expose the internally used methods for locking and unlocking the object. Pass
the access mode to the unlock function for extra checks and because we need it
for the EXCLUSIVE locks.
Make some new defines to specify the desired locking.
Add a new EXCLUSIVE lock mode which will increment the shared counter. Objects
with a shared counter > 1 will not be lockable in WRITE mode.
2012-07-05 11:19:15 +02:00
Tim-Philipp Müller
49ea16e041 segment: make sure we don't have unmapped seek flags littering out segment flags
Make GstSeekFlag to GstSegmentFlag conversion explicit, and
set only those seek flags in the segment flags which are
mapped. This makes sure we don't have extraneous flags
littering our segment flag field, which also fixes the
debug printing/serialisation of segment events in the
debug log.
2012-07-04 16:16:04 +01:00
Tim-Philipp Müller
d784b753d7 docs: update design docs for TOC API changes too 2012-06-25 00:10:53 +01:00
Wim Taymans
d317b36919 docs: clarify qdata wrt to metadata 2012-06-18 15:21:31 +02:00
Wim Taymans
3c16844f4d docs: review the buffering docs 2012-06-15 15:48:42 +02:00
Sebastian Dröge
27e4faa147 design: Also mention that the order of the filter caps is important 2012-06-06 09:59:55 +02:00
Wim Taymans
4e06fccf41 docs: talk about the filter caps 2012-06-06 09:14:57 +02:00
Wim Taymans
4affde2a4f docs: update negotiation docs
Mention that the acceptcaps query does not have to be recursive
2012-06-05 11:28:38 +02:00
Luis de Bethencourt
dc1c3c5094 docs: fix a typo in part-segments.txt 2012-05-24 11:49:35 +01:00
Wim Taymans
05580beb77 docs: fix docs
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
2012-05-11 09:14:52 +02:00
Wim Taymans
201538158e docs: improve bufferpool docs 2012-05-11 09:14:52 +02:00
Vincent Penquerc'h
477636479c event: add new seek snap flags
They can be used to select snapping behavior (to previous, next, or
nearest location, where relevant) when seeking.

The seeking implementation (eg, demuxer) may currently ignore some
or all of these flags.
2012-04-30 09:58:09 +01:00
Stefan Sauer
1074a4e99a Merge branch '0.10'
Conflicts:
	docs/gst/gstreamer-sections.txt
	gst/Makefile.am
	gst/gst.c
	gst/gst.h
	gst/gstevent.c
	gst/gstevent.h
	gst/gstmessage.h
	gst/gstquark.c
	gst/gstquark.h
	gst/gstquery.c
	gst/gstquery.h
	tests/check/Makefile.am
2012-04-02 21:33:10 +02:00
Alexander Saprykin
7d88015650 docs: add overview of GstToc usage 2012-04-02 10:49:38 +02:00
Wim Taymans
38b96e6c8c buffer: improve the buffer memory methods
gst_buffer_take_memory -> gst_buffer_insert_memory because insert is what the
method does.
Make all methods deal with ranges so that we can replace, merge, remove and map
a certain subset of the memory in a buffer. With the new methods we can make
some code nicer and reuse more code. Being able to deal with a subset of the
buffer memory allows us to optimize more cases later (most notably RTP headers
and payload that could be in different memory objects).
Make some more convenient macros that call the more generic range methods.
2012-03-30 18:15:24 +02:00
Wim Taymans
ebd4863d21 bufferpool: fix array types 2012-03-09 15:03:11 +01:00
Wim Taymans
c1a38be6e2 docs: update docs 2012-03-09 14:30:01 +01:00
Wim Taymans
d6f31dfce5 docs: update docs 2012-02-24 10:28: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
86c15749a4 docs: push_event doesn't return a flow value after all 2012-02-10 12:50:26 +00:00
Wim Taymans
3d4a1a98b5 docs: update and improve docs 2012-02-09 11:48:02 +01:00
Stefan Sauer
55eea8f780 docs: update controller api design 2012-01-23 11:03:43 +01:00
Wim Taymans
80f4716a61 memory: check semantics of nested mappings
Count how many mappings are currently active and also with what access pattern.
Update the design doc with restrictions on the access patterns for nested
mappings.
Check if nested mappings obey the access mode restrictions of the design doc.
Add various unit tests to check the desired behaviour.
2012-01-06 13:10:18 +01:00
Wim Taymans
6e0024e76e memory: take offset into account
Take the offset into account whem mapping and unmapping the buffer.
2012-01-05 17:28:28 +01:00
Wim Taymans
cff9b3715f docs: clarify resize and current mappings 2012-01-05 17:02:48 +01:00
Wim Taymans
b750dc5090 memory: clarify nested mappings, add unit test 2012-01-05 16:48:49 +01:00
Wim Taymans
e97ecdebea improve docs a little 2012-01-05 12:39:17 +01:00
Stefan Sauer
5668654ed5 docs: update controller design doc 2012-01-01 20:59:22 +01:00
Stefan Sauer
3d71df23b0 docs: add the start of a design document for controller 2011-12-25 21:28:04 +01:00
Wim Taymans
9e3aa102d7 docs: update design doc
also fix default alignment value (0 == no-alignment)
2011-11-18 18:08:21 +01:00
Wim Taymans
642a4697fe pad: install query probes
Fire query probes according to updated design doc.
2011-11-08 17:32:11 +01:00
Wim Taymans
ce09010267 pad: add pull mode probes
Allow probes to inspect the offset and size from a probe in pull mode and allow
the probe to modify the buffer.
Update design doc a little.
2011-11-08 12:47:33 +01:00
Wim Taymans
b6fbeb8fed pad: make probes work on all pads
fixes #644907
2011-11-04 18:19:14 +01:00
Tim-Philipp Müller
bffc9207b5 pad: rename GstProbeType and GstProbeReturn to GstPadProbe{Type,Return}
Better now than later in the cycle. These might come in handy:

sed -i -e 's/GstProbeReturn/GstPadProbeReturn/g'   `git grep GstProbeReturn  | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GST_PROBE_/GST_PAD_PROBE_/g'          `git grep GST_PROBE_      | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GstProbeType/GstPadProbeType/g'       `git grep GstProbeType    | sed -e 's/:.*//' | sort -u`
2011-11-01 00:15:17 +00:00
Sebastian Dröge
43538e2e75 Merge branch 'master' into 0.11
Conflicts:
	docs/design/draft-buffer2.txt
	docs/design/part-TODO.txt
	docs/design/part-block.txt
	docs/design/part-bufferlist.txt
	docs/design/part-caps.txt
	docs/design/part-element-transform.txt
	docs/design/part-events.txt
	docs/design/part-negotiation.txt
	gst/gstcaps.c
	gst/gstevent.h
	gst/gstghostpad.c
	gst/gstinterface.c
	gst/gstpad.c
	gst/gstpad.h
	gst/gstutils.c
	libs/gst/base/gstbasesink.c
	libs/gst/base/gstbasesrc.c
	libs/gst/base/gstbasetransform.c
	libs/gst/base/gsttypefindhelper.c
	plugins/elements/gstcapsfilter.c
	plugins/elements/gsttee.c
	tests/check/generic/sinks.c
	tools/gst-launch.1.in
2011-09-08 14:28:23 +02:00
Piotr Fusik
14f5518f3d docs, gst: typo fixes
https://bugzilla.gnome.org/show_bug.cgi?id=658449
2011-09-07 18:03:17 +01:00
Wim Taymans
1b381907b5 docs: update design docs a little
Update the design doc with the current state of the videometadata.
2011-06-22 18:07:18 +02:00
Wim Taymans
f8fedb8ff1 docs: update negotiation design doc 2011-06-22 12:26:19 +02:00
Wim Taymans
7988f4c494 docs: update bufferpool design doc 2011-06-21 17:47:36 +02:00
Wim Taymans
44d45e0b63 docs: update docs 2011-06-14 15:19:21 +02:00
Edward Hervey
30b3e90117 design: part-bufferlist.txt was merged into another doc 2011-06-10 13:44:19 +02:00
Wim Taymans
b84fff07ea memory: Require implementation to implement _share
Require the memory implementations to implement a share operation. This allows
us to remove the fallback share implementation which uses a different allocator
implementation and complicates things too much.
Update design doc a bit.
2011-06-08 12:04:49 +02:00
Wim Taymans
9886c712cd docs: add beginnings of memory design doc 2011-06-07 18:18:27 +02:00