- 08 May, 2014 25 commits
-
-
Nicolas Dufresne authored
In order to correctly set the pool min/max, we need to probe for CREATE_BUFS ioctl. This can be done as soon as the format has been negotiated using a count of 0.
-
Nicolas Dufresne authored
Now that we might be copying out buffer (e.g. downstream don't support video meta bug we need it) we need to move the EOS handling inside the process method.
-
Nicolas Dufresne authored
So far we where only setting saving the first plane stride in the meta. This was leading to wrong values in GstVideoMeta.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
As soon a the alpha component can be set, we can expose the RGB32 and BGR32 format as ARGB and BGRA as long we can deterministically set the alpha padding value.
-
Nicolas Dufresne authored
Correctly check if video meta is needed. In buffer pool, trust need_video_meta flag in order to decide if configuration should succeed.
-
Nicolas Dufresne authored
Fix stride request for tiled format and improve logging.
-
Nicolas Dufresne authored
In certain cases we cannot live without video meta and/or crop meta being enabled in our internal buffer pool. Ensure this is always the case, regardless of having support for allocation query.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
Upon error, the pools might not have been allocated yet, hence we should not try and flush them (even though we still want to make sure the processing thread is fully stopped).
-
Nicolas Dufresne authored
Enforce pool being activate from before calling pool process. This should help catching basic errors in the usage of buffer pool.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
Buffer pool was guessing wrongly the number of planes rather then reading the value from obj->n_v4l2_planes. This was causing format YU12 (I420) to fail upon check.
-
Nicolas Dufresne authored
The complex mechanic to try and choose the right thing did not work. Instead, simply probe the non-contiguous format first and then the contiguous one. This is in fact very low overhead, as there is a relatively small number of pixel format supported by each devices.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
The setup_format() was confusing since it does not set anything, in fact it reads the setup from the driver and save it.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
When the pipeline fails early, the pool might be unset before the processing thread has run once. Add protection against that.
-
Nicolas Dufresne authored
Certain decoder has been found to not choose a format automatically. Running v4l2videodec on these would assert. This patch will make it fail cleanly instead.
-
Nicolas Dufresne authored
If caps are set again, we have a risk od returning from set_format with a input_state pointing to dead memory. Clearing the pointer after unref fix this issue.
-
Nicolas Dufresne authored
Uppon certain downstream error, stop() is called without a flush(). This mean that the streaming thread may still be running even though unlock has been called. Now calling flush to reset the decoder state if we are processing.
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Nicolas Dufresne authored
-
Sebastian Dröge authored
When we cancel connection attempts and similar things, there are still some operations pending on our main context from the GCancellables. We should let them all run before unreffing our context, otherwise we leak file descriptors. Unfortunately this requires libsoup 2.47.0 or newer as earlier versions steal our main context from us and we can't use it for cleanup later without assertions and funny crashes. Based on a patch by Dmitry Shatrov <shatrov@gmail.com>. https://bugzilla.gnome.org/show_bug.cgi?id=663944
-
- 07 May, 2014 2 commits
-
-
-
Tim-Philipp Müller authored
SOUP_CHECK_VERSION was only added in 2.41, but we only depend on 2.40. https://bugzilla.gnome.org/show_bug.cgi?id=727329
-
- 06 May, 2014 3 commits
-
-
Tim-Philipp Müller authored
Fixes warning if the image length is 0.
-
-
- Use gst-libav encoders/decoders instead of gst-ffmpeg - gstrtpjitterbuffer -> rtpjitterbuffer - gst-launch-0.10 -> gst-launch-1.0 - Add 'videoconvert' element - xvimagesink -> autovideosink https://bugzilla.gnome.org/show_bug.cgi?id=729247
-
- 05 May, 2014 6 commits
-
-
Vincent Penquerc'h authored
Coverity 1195121, 1195120
-
Vincent Penquerc'h authored
Coverity 1197703
-
Vincent Penquerc'h authored
while working out the codec ID. Coverity 1195148
-
Tim-Philipp Müller authored
The fd returned by open() could theoretically be 0 as well. Coverity CID 1211823.
-
Olivier Crête authored
Fix the raciness by iterating on a condition instead of using the gmainloop. Don't use the EOS as the target, otherwise the retransmission of the last packets are lost. Also count the retranmissions requests that are dropped. Check the condition before blocking on the GCond https://bugzilla.gnome.org/show_bug.cgi?id=728501
-
Olivier Crête authored
If two streams request a retranmission for the same SSRC, ignore the second one if the first oen is less than one second old, otherwise time out the first one and ignore the second.
-
- 04 May, 2014 4 commits
-
-
Olivier Crête authored
-
Mark Nauwelaerts authored
-
Olivier Crête authored
So need to keep the type of device in the device object
-
Olivier Crête authored
Coverity 1195132
-