summaryrefslogtreecommitdiff
path: root/gst-libs
AgeCommit message (Collapse)AuthorFilesLines
2017-11-27gl/caopengllayer: use public GstGLContext instead of Cocoa-specific oneMatthew Waters2-10/+10
Allows keeping the GstGLCAOpenGLLayer public but not the winsys-specific context/display/window.
2017-11-27Revert "gl: cocoa: sprinkle some GST_EXPORT"Matthew Waters1-2/+0
This reverts commit 94d798c3337013bd902c0fd0a66f7f6842243eeb. cocoac headers don't need to be public as all the functionality can be provided by the base class
2017-11-26gl: cocoa: sprinkle some GST_EXPORTTim-Philipp Müller1-0/+2
Undefined symbols for architecture x86_64: "_gst_gl_context_cocoa_get_type", referenced from: __create_layer in libgstopengl_la-caopengllayersink.o Might need some more in other headers, but first need to clarify what exactly should be exported, there are some inconsistencies (installed header files vs. funcs in docs).
2017-11-26codecparsers: mpegvideoparser: remove API that was deprecated 5 years agoTim-Philipp Müller2-255/+0
Libraries in -bad are not covered by our API/ABI stability guarantees, and to the best of our knowledge everyone using this API has moved to the replacement APIs ages ago.
2017-11-25videoaggregator: Don't leak stringEdward Hervey1-2/+4
The result of gst_video_colorimetry_to_string () needs to be free'd
2017-11-24viv-fb: Don't destroy the native FB displayJan Schmidt1-2/+2
It causes crashes in applications because the result of fbGetDisplay() might be in use elsewhere in the application and Vivante doesn't seem to do any refcounting
2017-11-24Revert "gl: Use GstGLDisplayEGL directly instead of creating a ↵Jan Schmidt3-9/+95
GstGLDisplayVIVFb subclass" This reverts commit 47fd4d391e775c11f529705bb0f457a9d25ba5e7. This patch is incorrect. It doesn't actually compile, and causes a crash because the viv-fb window implementation needs a native EGL handle to pass to fbCreateWindow, but the GstGLDisplayEGL handleis actually an EGLDisplay now (and gets cast to the wrong type)
2017-11-23meson: remove outdated comment in build fileTim-Philipp Müller1-4/+1
2017-11-22aggregator: Remove klass->sinkpads_typeMathieu Duponchelle3-24/+15
This posed problems for the python bindings (and possibly others). Instead, subclasses now use add_pad_template_with_gtype. https://bugzilla.gnome.org/show_bug.cgi?id=789986
2017-11-20all: Fix left-shift undefined behaviourEdward Hervey1-1/+1
Cast to the target type before shifting (or use macro if available)
2017-11-07glbasefilter: actually indicate start internallyMatthew Waters1-6/+8
Otherwise when we stop, the necessary stop functions will not be called and things may be leaked. https://bugzilla.gnome.org/show_bug.cgi?id=788280
2017-11-02aggregator: add doc blurb for gst_aggregator_pad_is_eos()Tim-Philipp Müller1-0/+6
2017-11-02aggregator: also remove now-unused PadForeachFunc declarationTim-Philipp Müller1-5/+0
https://bugzilla.gnome.org/show_bug.cgi?id=785679
2017-11-02aggregator: Remove pad iterator functionOlivier Crête2-86/+0
Use new gst_element_foreach_sink_pad() from core instead. https://bugzilla.gnome.org/show_bug.cgi?id=785679
2017-11-02aggregator: use new gst_element_foreach_sink_pad()Tim-Philipp Müller1-15/+21
Instead of gst_aggregator_iterate_sinkpads() which will soon be removed. https://bugzilla.gnome.org/show_bug.cgi?id=785679
2017-11-02videoaggregator: use new gst_element_foreach_sink_pad()Tim-Philipp Müller1-16/+17
Instead of gst_aggregator_iterate_sinkpads() which will soon be removed. https://bugzilla.gnome.org/show_bug.cgi?id=785679
2017-11-02videoaggregator: add CAST macrosTim-Philipp Müller2-0/+2
2017-11-02audioaggregator: use new gst_element_foreach_sink_pad()Tim-Philipp Müller1-11/+8
Instead of gst_aggregator_iterate_sinkpads() which will soon be removed. https://bugzilla.gnome.org/show_bug.cgi?id=785679
2017-11-02videoaggregator: drop ABI compat in padding for new struct memberTim-Philipp Müller2-7/+7
Don't really have to do that while it's in -bad and most users are in-tree anyway.
2017-11-02audioaggregator: make class padding largerTim-Philipp Müller1-2/+2
2017-11-01aggregator: add more commentsStefan Sauer1-0/+6
2017-10-28gl/shader: allow setting non-square matrices as uniforms on gles platformsMatthew Waters2-4/+0
It is possible with GLES3
2017-10-28gl/query: split tests and fix some corresponding issues in usageMatthew Waters1-5/+10
2017-10-26adaptivedemux: add replaced flag to not error out on bitrate changeThiago Santos2-1/+7
When switching bitrates we set the old streams as cancelled, but it could also be confused with a cancel due to other reasons (as an error) and it would lead the element to stop the pipeline mistankely. This would happen when the stream being replaced was waiting for a manifest update on live. Ss make it sure that we are stopping for switching bitrates to avoid erroring out. https://bugzilla.gnome.org/show_bug.cgi?id=789457
2017-10-23aggregator: fix type for latency property (int64 -> GStClockTime)Stefan Sauer1-11/+10
The value is used as GstClockTiem in the code. Adapt the hack^H^H^H^Hcode in live-adder.
2017-10-21audioaggregator: Accept buffer with no data, but duration and gap flagOlivier Crête1-0/+12
These are produced from GAP events by the base class. https://bugzilla.gnome.org/show_bug.cgi?id=784846
2017-10-21aggregator: Don't take flush lock from output threadOlivier Crête1-7/+17
Instead just take it in the chain function. https://bugzilla.gnome.org/show_bug.cgi?id=784911
2017-10-20aggregator: Don't block if adding to the tail of the queueOlivier Crête1-1/+1
If we're adding to the tail of the queue, it's because we're converting a gap event, so don't block there it means we're calling from the output thread. https://bugzilla.gnome.org/show_bug.cgi?id=784911
2017-10-20Use value instead of version macro when testing for mac OS versionJérôme Laheurte2-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=788404
2017-10-17aggregator: review code related to time levelStefan Sauer1-22/+24
Add a comment for when the state matters. Use a local var for priv in update_time_level() to improve readability. Move the our_latency local var below the query results checks.
2017-10-17aggregator: init latency values with 0 instead of FALSEStefan Sauer1-1/+1
2017-10-15aggregator: code cleanup for event and query funcStefan Sauer1-8/+8
Only look up klass for non serialized events/queries. For events remove superfluous assignment for the return value in the flushing case.
2017-10-15aggregator: simplify pad_event_func for FLUSH_STOP eventsStefan Sauer1-13/+7
We want to skip serialization for FLUSH_STOP events (apparently). We can simplify the code to add it to the top-level conditions. There was nothing done in the first code path if the event was FLUSH_STOP.
2017-10-15aggregator: drop special casing for eosStefan Sauer1-34/+3
Just queue it like any other serialized event. This way we don't need to check if there still are buffers in the queue. Validated with the tests and gst-launch-1.0 pipelines.
2017-10-15aggregator: add a doc-blob for the event_funcStefan Sauer1-0/+4
2017-10-15aggregator: rename a local variableStefan Sauer1-5/+5
The variable tracks wheter the queue is not empty, but num_buffers==0. That means we have events or queries to process. Rename accordingly.
2017-10-15aggregator: remove commented codeStefan Sauer1-2/+2
The SEGMENT_DONE event does not require any special treatment. This is commented out in 6efc106a67.
2017-10-15aggregator: move the comment for the locks to the lock macrosStefan Sauer1-6/+4
Looks like some code was inserted afterwards.
2017-10-15aggregator: improve section docsStefan Sauer1-0/+6
Mention how data ends up in the queues. Document the relation of the pad functions and the class vmethods to get events and queries.
2017-10-15audioaggregator: improve readability in offset calculationStefan Sauer1-8/+9
Don't reuse the offset variables will contain a sample offset for an intermediate time value. Instead add a segment_pos variable of type GstClockTime for this. Use The clock-time macros to check if we got a valid time.
2017-10-14audioaggregator: move comment to the place it is meant to beStefan Sauer1-3/+1
This probably got shifted after some changes.
2017-10-13videoaggregator: use GstFlowReturn for flow returnsTim-Philipp Müller1-1/+1
2017-10-05audioaggregator: remove buffer!=NULL checkStefan Sauer1-3/+3
Acording to the logic this cannot happen (we already check this before). So add a assert like we do above and remove the check. This make it clearer that we check for the offset range. Also remove a dead assignment since we reassign this a few lines below.
2017-10-05audioaggreator: update docsStefan Sauer1-10/+14
Remove wrote references to collectpads. Document the units.
2017-10-05meson: remove vs_module_defsHavard Graff12-12/+0
The GST_EXPORT should handle it.
2017-10-05meson: Fix namespace and add some missing args in the gir generationRico Tzschichholz3-5/+5
2017-10-05audioaggregator: pass blocksize to mix_buffer()Stefan Sauer1-7/+3
No need to recalc the value twice per run. Establishes that it is the same value.
2017-10-05audioaggregator: rename _fill_buffer() to _queue_new_buffer()Stefan Sauer1-2/+5
It does not fill a buffer. Rename it and add a short comment.
2017-10-05aggregator: cleanup event forwardingStefan Sauer1-22/+21
Don't copy the whole event struct. Set the input params when we call the forwarding helper. Initialize the internal fields and return values in the helper.
2017-10-05aggregator: simplify src_eventStefan Sauer1-18/+4
Avoid extra ref/unref, we have a ref and do_seek unrefs. Just return the result as we have. This lets us remove the local var plus the label.