Sebastian Dröge
00fd649640
valve: Add modes to forward sticky events when dropping and to convert buffers into gap events
...
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/587
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/84
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/594 >
2020-09-09 06:16:51 +00:00
Thibault Saunier
a87b4551a6
Port gtk-doc comments to their equivalent markdown syntax
...
Modernizing our documentation and preparing a possible move to hotdoc.
This commits also adds missing @title metadatas to all SECTIONs
2017-01-27 16:36:38 -03:00
Havard Graff
1bc8d9f2ea
valve: don't send sticky events as a direct response to upstream events
...
Also refactor the existing valve test to actually test the valve,
and not just test the EOS mechanism of a pad.
https://bugzilla.gnome.org/show_bug.cgi?id=763753
2016-03-24 14:50:50 +02:00
Tim-Philipp Müller
cf0680017e
elements: use new gst_element_class_add_static_pad_template()
...
https://bugzilla.gnome.org/show_bug.cgi?id=762778
2016-02-28 13:10:07 +00:00
Sebastian Dröge
6a6188a82f
valve: Don't drop non-serialized queries when the valve is dropping
...
Otherwise we end up dropping e.g. CAPS queries, and then upstream just
negotiates to whatever format it wants to. Once the valve is not-dropping
anymore this can easily result in negotiation failing completely.
https://bugzilla.gnome.org/show_bug.cgi?id=746448
2015-03-20 09:32:34 +01:00
Tim-Philipp Müller
49c6f923de
coreelements: mark properties with MUTABLE_PLAYING
2014-09-14 16:08:07 +01:00
Rémi Lefèvre
9b2231669f
valve: fix typo in description
...
https://bugzilla.gnome.org/show_bug.cgi?id=736455
2014-09-11 11:09:41 +01:00
Tim-Philipp Müller
6eb6d9ec38
docs: remove outdated and pointless 'Last reviewed' lines from docs
...
They are very confusing for people, and more often than not
also just not very accurate. Seeing 'last reviewed: 2005' in
your docs is not very confidence-inspiring. Let's just remove
those comments.
2014-04-26 21:21:51 +01:00
Wim Taymans
058533ff9f
valve: proxy caps and allocation
...
Proxy the caps queries on the srcpad as well.
Proxy the allocation query on the sinkpad.
2013-11-06 10:15:59 +01:00
Nicolas Dufresne
5bbc6f1c8c
valve: Don't read sticky flag from unrefed event
2013-05-25 22:03:53 -04:00
Tim-Philipp Müller
666c8c11c6
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 20:44:48 +00:00
Edward Hervey
d3ffa82639
Remove 0.10-related documentation and "Since" markers
2012-07-10 12:03:27 +02:00
Tim-Philipp Müller
a63829b4ff
plugins: use new gst_element_class_set_static_metadata()
2012-04-09 13:05:07 +01:00
Olivier Crête
dad60ef5c6
valve: Repush sticky events after disabling dropping
2012-01-30 12:58:43 +00:00
Wim Taymans
612b1fbb14
pad: add parent to other functions
...
Add parent to chain, chain_list, getrange and event functions.
2011-11-17 12:40:45 +01:00
Wim Taymans
09a8294d36
pad: add parent to the query function
2011-11-16 17:22:56 +01:00
Wim Taymans
06d4828df3
plugins: remove obsolete parent checks
2011-11-16 12:11:12 +01:00
Wim Taymans
b5c3e254b1
pad: remove getcaps and use caps query
...
Remove the getcaps function on the pad and use the CAPS query for
the same effect.
Add PROXY_CAPS to the pad flags. This instructs the default caps event and query
handlers to pass on the CAPS related queries and events. This simplifies a lot
of elements that passtrough caps negotiation.
Make two utility functions to proxy caps queries and aggregate the result. Needs
to use the pad forward function instead later.
Make the _query_peer_ utility functions use the gst_pad_peer_query() function to
make sure the probes are emited properly.
2011-11-15 11:20:48 +01:00
Sebastian Dröge
43e165c93c
elements: Update for negotiation related API changes
...
The filter caps are only forwarded and returned instead
of ANY caps in the core elements because they don't do
anything caps specific.
2011-05-16 15:33:11 +02:00
Wim Taymans
6ab7e6c15d
Remove pad_alloc, this can now be done better
...
Remove pad_alloc and all references. This can now be done more efficiently and
more flexible with the ALLOCATION query and the bufferpool objects. There is no
reverse negotiation yet but that will be done with an event later.
2011-04-29 13:26:19 +02:00
Sebastian Dröge
5020738a6d
elements: Use G_DEFINE_TYPE instead of GST_BOILERPLATE
2011-04-19 11:45:36 +02:00
Wim Taymans
38ffe30745
memory: more work on implementing buffer memory
2011-03-28 20:08:46 +02:00
Olivier Crête
2cfc7adcb1
valve: Only set discont on the first buffer after drops
...
Reset the discont member after setting discont on the first buffer after
dropping.
2011-01-28 15:38:17 -05:00
Stefan Kost
6090f22161
valve: fixe the property link and the sice docs
2011-01-11 15:14:04 +02:00
Tim-Philipp Müller
9c34e289b8
valve: some minor clean-ups
2010-12-31 00:51:12 +00:00
Tim-Philipp Müller
ec6336f1a9
valve: fix typo in property description
...
And rephrase while at it, to make it more concise.
2010-12-31 00:51:12 +00:00
Tim-Philipp Müller
8bdcb84abd
elements: add new valve element to build
...
Moved from gst-plugins-bad
https://bugzilla.gnome.org/show_bug.cgi?id=630808
2010-12-31 00:51:12 +00:00
Stefan Kost
ecc9106b9b
valve: no need to ref the object in _chain
...
Don't ref the pad in chain, like elsewhere
2010-12-31 00:51:12 +00:00
Olivier Crête
11eb6ef836
valve: Make the drop variable into an atomic.
...
Using an atomic allows us to avoid locking the whole object all time time.
As suggested by Stefan Kost.
2010-12-31 00:51:11 +00:00
Olivier Crête
473be88d5d
valve: Correctly set the DISCONT flag after dropping buffers
2010-12-31 00:51:11 +00:00
Olivier Crête
37e02eb7c7
valve: Remove superflous checking casts
2010-12-31 00:51:11 +00:00
Olivier Crête
80a766b39b
valve: Fix style, improve comments
...
Minor improvements to the comments and break a few overly long lines
2010-12-31 00:51:11 +00:00
Stefan Kost
f90bddfa39
valve: move default: parst in the switch statement to the end
...
Now sure if it matters, but the previous form looks weired.
2010-12-31 00:51:11 +00:00
Stefan Kost
65f13f70f6
valve: move debug-category registration to type init
2010-12-31 00:51:11 +00:00
Stefan Kost
4b1c3896d6
valve: use G_PARAM_STATIC_STRINGS on properties
2010-12-31 00:51:11 +00:00
Stefan Kost
2b70b14591
valve: GST_BOILERPLATE already sets parent_class
2010-12-31 00:51:11 +00:00
Benjamin Otte
a2de9458c1
valve: gst_element_class_set_details => gst_element_class_set_details_simple
2010-12-31 00:51:10 +00:00
Olivier Crête
91190eea08
docs: document valve element
2010-12-31 00:51:10 +00:00
Olivier Crête
59d98afb9b
fsvalve: rename to valve
2010-12-31 00:51:10 +00:00
Olivier Crête
aad953be13
fsvalve: re-indent gst style
2010-12-31 00:51:10 +00:00
Olivier Crête
fc4deda3aa
fsvalve: Ignore errors if dropping is set to true
2010-12-31 00:51:10 +00:00
Olivier Crête
a3d21f7147
fsvalve: Add getcaps proxying to the valve
2010-12-31 00:51:10 +00:00
Olivier Crête
01fdde0876
fsvalve: Rebase valve onto gstelement instead of basetransform
2010-12-31 00:51:10 +00:00
Olivier Crête
6119abb63c
fsvalve: Revert "Fix refcounting issues in prepare_output_buffer"
...
This reverts commit 65dd460f0a3a9c4882e638c86208f74ef62c3460.
2010-12-31 00:51:10 +00:00
sjoerd@luon.net
ff36774a30
fsvalve: Fix refcounting issues in prepare_output_buffer
...
20080805113057-be0f2-9dc270781f0a0f21c616ed11dbd1f198fd1b326e.gz
2010-12-31 00:51:10 +00:00
Olivier Crete
2b612137d7
fsvalve: Remove unused dispose method in valve
...
20080409163221-3e2dc-92ccb2db874e46e0d92c15520577c1be0e2bc617.gz
2010-12-31 00:51:10 +00:00
Olivier Crete
e384295df0
fsvalve: Dont hold the object lock while calling base alloc function
...
20071219203230-3e2dc-6519175d8d81496515b2d9060ac316650560f691.gz
2010-12-31 00:51:09 +00:00
Olivier Crete
8362bb9275
fsvalve: Set the DISCONT flag after dropping buffers
...
20071219203218-3e2dc-bc5f03d88ff5837040b9214de016cc142776dfc2.gz
2010-12-31 00:51:09 +00:00
Olivier Crete
6db2a426c1
fsvalve: Use do the alloc_buffer function in the valve
...
20071219005739-3e2dc-2a0fdfa2f38f03ab4791fe5c4ab85e8790113683.gz
2010-12-31 00:51:09 +00:00
Olivier Crete
67c6adaf31
fsvalve: Only set passthrough to TRUE on newer versions of gst
...
20071121200858-3e2dc-b16cdeabbc3c0562c6fc7b11b9b9792c910f569e.gz
2010-12-31 00:51:09 +00:00