| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
This is not needed any longer.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Doesn't really make sense given that we map
it and possibly merge memories and such.
|
|
|
|
|
| |
Avoid creation of buffer we're just going to throw
away two lines later anyway.
|
| |
|
|
|
|
| |
Buffers have no caps in 1.0
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
CID 1221987
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=731093
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
instead of just swallowing upstream's stream-start into its
payload, push it as elements expect a stream-start before data
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=687520
|
|
|
|
| |
Instead of home-grown solution.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Try to send the streamheader after the first buffer.
|
|
|
|
|
| |
Since we now include this into the unit tests directly, don't define the default
category macro because it conflicts with check.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Ensure correct indentation and retab
Make sure all structure have padding
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Not that it is likely to matter in practice, but since these are public
API they should probably be thread-safe.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Also adds those flags to the configure warning flags
https://bugzilla.gnome.org/show_bug.cgi?id=611692
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|