summaryrefslogtreecommitdiff
path: root/gst/gdp
Commit message (Collapse)AuthorAgeFilesLines
* gdpdepay: Add ts-offset property to adjust buffer timestampsSebastian Dröge2016-01-282-0/+62
|
* gdppay: Fix buffer memory leakVineeth TM2015-12-161-0/+2
| | | | | | | outbuffer being allocated is not being pushed to queue for EOS event and hence should be freed. https://bugzilla.gnome.org/show_bug.cgi?id=759519
* plugins-bad: Fix example pipelinesVineeth TM2015-12-153-8/+8
| | | | | | | | rename gst-launch --> gst-launch-1.0 replace old elements with new elements(ffmpegcolorspace -> videoconvert, ffenc_** -> avenc_**) fix caps in examples https://bugzilla.gnome.org/show_bug.cgi?id=759432
* Remove obsolete Android build cruftTim-Philipp Müller2015-04-261-14/+0
| | | | This is not needed any longer.
* gdppay: use public API for accessing stream header arrays in capsTim-Philipp Müller2014-12-261-9/+14
| | | | | | Don't rely on core implementation details, which are private and may change. It's also not needed here, the performance impact is close to none. Also copy buffer before changing its metadata.
* gdppay: refactor payloading code a littleTim-Philipp Müller2014-12-263-179/+110
| | | | | | | | | Get rid of some indirections and inefficiencies, just payload things directly which gives us more control over what memory is allocated where and how and makes things much simpler. In particular, we can now allocate the payload header plus the GstMemory to represent it in one go.
* gdppay: refactor a littleTim-Philipp Müller2014-12-264-212/+46
| | | | | | | | | Get rid of now-useless packetizer struct and just call internal functions directly. Also remove version property which is now defunct, not least because we create the packetizer with the version in the init function before a version can be set.
* gdppay: optimise payloading of buffers with multiple memoriesTim-Philipp Müller2014-12-262-11/+80
| | | | | | | | | | | | Add function to calculate a payload CRC across multiple memories so we don't have to merge buffers with multiple memories just to calculate the CRC. Also make CRC calculation function static, since it's not used outside dataprotocol.h and move special-casing of length = 0 -> CRC = 0 into CRC function (from caller). Perhaps more importantly, since payload CRC is off by default: don't map buffer (and possibly merge memories in the process) if we are not going to use it to calculate a CRC anyway.
* gdppay: dataprotocol: drop bogus constTim-Philipp Müller2014-12-262-3/+3
| | | | | Doesn't really make sense given that we map it and possibly merge memories and such.
* gdppay: minor caps event payloading optimisationTim-Philipp Müller2014-11-301-3/+4
| | | | | Avoid creation of buffer we're just going to throw away two lines later anyway.
* gdppay: fix some memory leaksTim-Philipp Müller2014-11-301-10/+6
|
* gdppay: remove obsolete codeThiago Santos2014-07-221-13/+0
| | | | Buffers have no caps in 1.0
* gdppay: put all sticky events in streamheaderThiago Santos2014-07-222-154/+101
| | | | | | | | Use the sticky events to compose the streamheader as they are the ones that are persisted to config new pads linked. Instead of storing them ourselves rely on the pad storage that already orders it for us https://bugzilla.gnome.org/show_bug.cgi?id=732596
* gdp: don't print already-freed stringTim-Philipp Müller2014-06-091-1/+1
| | | | CID 1221987
* gdp: Fail gracefully if event can't be parsedOlivier Crête2014-06-021-0/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=731093
* gdp: add DTS to headersThiago Santos2014-01-312-0/+5
|
* gdppay: update to 1.x realityThiago Santos2014-01-312-18/+55
| | | | | | | | | | * stream-start-id is mandatory at the beginning, so add that to the gdp headers * caps must be sent before new segment, invert the order from legacy 0.10 code And fix the tests as a ref is now kept for those buffers that compose the header
* gdppay: push the stream-start eventThiago Santos2014-01-301-2/+3
| | | | | instead of just swallowing upstream's stream-start into its payload, push it as elements expect a stream-start before data
* gst: Add better support for static pluginsSebastian Dröge2013-04-151-1/+1
|
* gdp: actually log generic dataprotocol stuff to gdp categoryTim-Philipp Müller2013-02-111-0/+3
|
* gdppay: fix buffer leak when new caps are same as old capsTim 'mithro' Ansell2013-02-071-1/+1
| | | | | | | The leak occurs when you got a message with identical caps to the ones you already had. https://bugzilla.gnome.org/show_bug.cgi?id=693324
* Fix FSF addressTim-Philipp Müller2012-11-048-16/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687520
* gdp: dump bytes into debug log using GST_MEMDUMPTim-Philipp Müller2012-09-111-28/+5
| | | | Instead of home-grown solution.
* update for new variable namesWim Taymans2012-09-111-5/+5
|
* gdppay: plug buffer leakMark Nauwelaerts2012-09-111-0/+1
|
* Use new gst_element_class_set_static_metadata()Tim-Philipp Müller2012-09-112-2/+2
|
* gst: Update for GST_PLUGIN_DEFINE() API changeSebastian Dröge2012-09-111-1/+1
|
* Improve buffer allocation of wrapped memoryWim Taymans2012-09-111-12/+4
|
* update for buffer api changeWim Taymans2012-09-111-5/+5
|
* update for buffer changesWim Taymans2012-09-111-3/+3
|
* update for memory api changesWim Taymans2012-09-111-1/+1
|
* update for new memory apiWim Taymans2012-09-111-5/+5
|
* gdppay: fixup for changed capsWim Taymans2012-09-111-28/+4
| | | | Try to send the streamheader after the first buffer.
* dataprotocol: don't define default CategoryWim Taymans2012-09-111-1/+0
| | | | | Since we now include this into the unit tests directly, don't define the default category macro because it conflicts with check.
* update for HEADER flag changesWim Taymans2012-09-112-17/+15
|
* port to new map APIWim Taymans2012-09-112-10/+9
|
* gdp: move dataprotocol library into gdp plugin and make privateTim-Philipp Müller2012-09-116-8/+13
| | | | | | | | We have removed things like protocol=gdp in the tcp elements in favour of explicit gdppay/depay elements, so there's no need to keep a public API and library for now. We can still add it back later. Someone needs to think hard about 0.11 and gdp anyway one of these days.
* gdp: fix header filesWim Taymans2012-09-111-32/+32
| | | | | Ensure correct indentation and retab Make sure all structure have padding
* gdp: rename buffer PREROLL -> LIVE flagWim Taymans2012-09-111-1/+1
| | | | | Rename the GST_BUFFER_FLAG_PREROLL to GST_BUFFER_FLAG_LIVE and give the new flag a meaning. The old PREROLL flag never had a clear meaning.
* gdp: make new _buffer_allocate methodWim Taymans2012-09-111-1/+2
| | | | | | Make a new method to allocate a buffer + memory that takes the allocator and the alignment as parameters. Provide a macro for the old method but prefer to use the new method to encourage plugins to negotiate the allocator properly.
* gdp: Rework GstSegment handlingWim Taymans2012-09-111-1/+1
| | | | | | | | | | | | | | | Improve GstSegment, rename some fields. The idea is to have the GstSegment structure represent the timing structure of the buffers as they are generated by the source or demuxer element. gst_segment_set_seek() -> gst_segment_do_seek() Rename the NEWSEGMENT event to SEGMENT. Make parsing of the SEGMENT event into a GstSegment structure. Pass a GstSegment structure when making a new SEGMENT event. This allows us to pass the timing info directly to the next element. No accumulation is needed in the receiving element, all the info is inside the element. Remove gst_segment_set_newsegment(): This function as used to accumulate segments received from upstream, which is now not needed anymore because the segment event contains the complete timing information.
* gdp: Hide the GstStructure in GstEventWim Taymans2012-09-111-2/+4
| | | | | | | | Hide the GstStructure of the event in the implementation specific part so that we can change it. Add methods to check and make the event writable. Add a new method to get a writable GstStructure of the element. Avoid directly accising the event structure.
* gdp: add docs for GstDPPacketizerStefan Kost2012-09-111-0/+10
|
* gdp: port code to new buffer data APIWim Taymans2012-09-111-2/+8
|
* gdp: remove deprecated codeWim Taymans2012-09-112-184/+0
|
* gdp: make public enum _get_type() functions thread-safeTim-Philipp Müller2012-09-111-5/+6
| | | | | Not that it is likely to matter in practice, but since these are public API they should probably be thread-safe.
* gdp: dataprotocol, lfocontrolsource: fix enum value name in enums that are ↵Tim-Philipp Müller2012-09-111-2/+2
| | | | | | | | | | public API So run-time bindings can introspect the names correctly (we abuse this field as description field only in elements, not for public API (where the description belongs into the gtk-doc chunk). https://bugzilla.gnome.org/show_bug.cgi?id=629946
* gdp: Fixes for -Wmissing-declarations -Wmissing-prototypesBenjamin Otte2012-09-111-0/+15
| | | | | | Also adds those flags to the configure warning flags https://bugzilla.gnome.org/show_bug.cgi?id=611692
* gdp: Make code safe for -Wredundant-declsBenjamin Otte2012-09-111-1/+0
| | | | | | | | | Adds that warning to configure.ac Includes a tiny change of the GST_BOILERPLATE_FULL() macro: The get_type() function is no longer declared before being defined. https://bugzilla.gnome.org/show_bug.cgi?id=611692
* gdp: fix broken xrefs in docsStefan Kost2012-09-111-3/+3
|