Aleix Conchillo Flaqué [Tue, 20 May 2014 21:58:07 +0000 (14:58 -0700)]
rtspsrc: add support for key length parameters
This patch adds supports for the incoming key management parameters for
encryption and authentication key lengths.
It also adds a new signal request-rtcp-key that allows the user to
provide the crypto parameters and key for the RTCP stream.
https://bugzilla.gnome.org/show_bug.cgi?id=730473
Wim Taymans [Thu, 19 Jun 2014 13:25:01 +0000 (15:25 +0200)]
vp8depay: fix header size checking
Use a different variable name to make it clear that we are calculating
the header size.
Correctly check that we have enough bytes to read the header bits. We
were checking if there were 5 bytes available in the header while we
only needed 3, causing the packet to be discarded as too small.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723595
Guillaume Desmottes [Tue, 20 May 2014 10:39:31 +0000 (12:39 +0200)]
rtph264pay: propagate the GST_BUFFER_FLAG_DISCONT flag
Similarly to what we did with the DELTA_UNIT flag, this patch
propagates the DISCONT flag to the first RTP packet being used to transfer a
DISCONT buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=730563
Guillaume Desmottes [Tue, 6 May 2014 15:42:14 +0000 (17:42 +0200)]
rtph264pay: propagate the GST_BUFFER_FLAG_DELTA_UNIT flag
Downstream elements may be interested knowing if a RTP packet is the start
of a key frame (to implement a RTP extension as defined in the
ONVIF Streaming Spec for example).
We do this by checking the GST_BUFFER_FLAG_DELTA_UNIT flag we receive from
upstream and propagate it to the *first* RTP packet outputted to transfer this
buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=730563
Guillaume Desmottes [Tue, 20 May 2014 11:58:20 +0000 (13:58 +0200)]
gstrtpmp4gpay: propagate the GST_BUFFER_FLAG_DISCONT flag
Propagate the DISCONT flag to the first RTP packet being used to transfer
a DISCONT buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=730563
Guillaume Desmottes [Tue, 20 May 2014 11:58:20 +0000 (13:58 +0200)]
rtpjpegpay: propagate the GST_BUFFER_FLAG_DISCONT flag
Propagate the DISCONT flag to the first RTP packet being used to transfer
a DISCONT buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=730563
Tim-Philipp Müller [Wed, 18 Jun 2014 14:03:25 +0000 (15:03 +0100)]
avidemux: don't leak flow combiner
Tim-Philipp Müller [Wed, 18 Jun 2014 13:38:55 +0000 (14:38 +0100)]
rtpjp2kpay: pre-allocate buffer-list of the right size
Tim-Philipp Müller [Wed, 18 Jun 2014 13:34:09 +0000 (14:34 +0100)]
rtpjpegpay: pre-allocate buffer list of the right size
Tim-Philipp Müller [Wed, 18 Jun 2014 13:19:28 +0000 (14:19 +0100)]
rtpmp4vpay: pre-allocate buffer list of the right size
Tim-Philipp Müller [Wed, 18 Jun 2014 12:44:31 +0000 (13:44 +0100)]
rtpvp8pay: allocate bitreader on the stack
Tim-Philipp Müller [Wed, 18 Jun 2014 12:29:47 +0000 (13:29 +0100)]
rtpvp8pay: post error message on bus on error and don't use g_message()
Tim-Philipp Müller [Wed, 18 Jun 2014 12:20:44 +0000 (13:20 +0100)]
rtpvp8pay: couple of minor optimisations
Pre-allocate buffer list of the right size to avoid re-allocs.
Avoid plenty of double runtime cast checks and re-doing the
same calculation over and over again in rtp_vp8_calc_payload_len().
Only call gst_buffer_get_size() once.
Tim-Philipp Müller [Wed, 18 Jun 2014 07:10:03 +0000 (08:10 +0100)]
rtpgstpay: pre-allocate buffer list of the right size
To avoid re-allocs.
Tim-Philipp Müller [Wed, 18 Jun 2014 06:52:05 +0000 (07:52 +0100)]
rtph264pay: pre-allocate bufferlist of the right size
To avoid unnecessary re-allocs.
Tim-Philipp Müller [Mon, 16 Jun 2014 19:15:43 +0000 (20:15 +0100)]
rtph264pay: push single buffer directly, no need to wrap it in a bufferlist
No point in a buffer list if we just have one single
buffer to push. Fix up unit test to handle that case
as well.
Tim-Philipp Müller [Mon, 16 Jun 2014 14:35:12 +0000 (15:35 +0100)]
rtpvrawpay: make chunks per frame configurable
Bit of a misnomer because it's really chunks per field
and not per frame, but we're going to ignore that for
the time being.
Tim-Philipp Müller [Mon, 16 Jun 2014 13:52:16 +0000 (14:52 +0100)]
rtpvrawpay: remove unused variables
Tim-Philipp Müller [Mon, 16 Jun 2014 13:44:27 +0000 (14:44 +0100)]
rtpvrawpay: pre-allocate buffer lists of sufficient size
Avoids unnecessary reallocs when appending buffers
to the bufferlist.
Tim-Philipp Müller [Mon, 16 Jun 2014 12:51:03 +0000 (13:51 +0100)]
rtpvrawpay: micro-optimise variable access in inner loop
Store some values that don't change during the execution
of the inner loops locally, so the compiler knows that too.
Tim-Philipp Müller [Mon, 16 Jun 2014 12:38:47 +0000 (13:38 +0100)]
rtpvrawpay: use buffer lists
Collect buffers to send out in buffer lists instead of
pushing out single buffers one at a time. For HD video
each frame might easily add up to a couple of thousand
packets, multiply that by the frame rate and that's a
lot of push() and sendmsg() calls per second.
A good reason to push out buffers as early as possible is
latency, so we don't accumulate the whole frame in a single
buffer list, but instead push it out in a few chunks, which
is hopefully a reasonable compromise.
Tim-Philipp Müller [Mon, 16 Jun 2014 15:40:07 +0000 (16:40 +0100)]
udp: improve element descriptions for dynudpsink and multiudpsink
Tim-Philipp Müller [Mon, 16 Jun 2014 15:17:16 +0000 (16:17 +0100)]
udp: remove suppression of compiler warnings for deprecated GLib API
Not needed any more.
Ravi Kiran K N [Tue, 17 Jun 2014 07:46:27 +0000 (13:16 +0530)]
videobox: Fix caps negotiation issue
Make sure that if AYUV is received it will detect that it can produce
both RGB and YUV formats
Signed-off-by: Ravi Kiran K N <ravi.kiran@samsung.com>
https://bugzilla.gnome.org/show_bug.cgi?id=725248
Tim-Philipp Müller [Mon, 16 Jun 2014 11:02:41 +0000 (12:02 +0100)]
rtptheoradepay: fix double frees
Fix double-frees introduced to fix another coverity report.
CID 1223053
Tim-Philipp Müller [Fri, 13 Jun 2014 09:12:07 +0000 (10:12 +0100)]
dynudpsink: return FLUSHING when sendto got canceled, not an error
Tim-Philipp Müller [Fri, 13 Jun 2014 08:52:03 +0000 (09:52 +0100)]
oss: simplify probed caps before returning them
Exposes all formats in the first structure if the
rest is the same for all of them.
Tim-Philipp Müller [Fri, 13 Jun 2014 08:45:28 +0000 (09:45 +0100)]
oss: make sure 16-bit formats are before 8-bit formats in probed caps
Probe supported formats in order of desirability rather than in
what order they may happen to be in the formats bitmask. Fixes
accidentally exposure of 8-bit formats in caps before 16-bit formats
(in case where U16 was not supported S8 might be listed before S16).
https://bugzilla.gnome.org/show_bug.cgi?id=706884
Nicolas Dufresne [Thu, 12 Jun 2014 20:36:24 +0000 (16:36 -0400)]
v4l2bufferpool: Cleanly handle v4l2_allocator_new failure
Vincent Penquerc'h [Thu, 12 Jun 2014 10:24:15 +0000 (11:24 +0100)]
rtptheordepay: fix leaks
Coverity 1212163
Vincent Penquerc'h [Thu, 12 Jun 2014 10:16:08 +0000 (11:16 +0100)]
rtpg729pay: leak fixes
Coverity 1212159
Vincent Penquerc'h [Thu, 12 Jun 2014 10:11:38 +0000 (11:11 +0100)]
rtph263pay: fix leak
Coverity 1212157
Vincent Penquerc'h [Thu, 12 Jun 2014 09:43:53 +0000 (10:43 +0100)]
rtph263pay: fix leaks
Coverity 1212149
Vincent Penquerc'h [Thu, 12 Jun 2014 09:31:47 +0000 (10:31 +0100)]
rtpdvpay: catch failures to map buffer
Coverity 1139741
Vincent Penquerc'h [Wed, 11 Jun 2014 16:43:42 +0000 (17:43 +0100)]
multipartdemux: guard against having no MIME type
The code would previously crash trying to insert a NULL string
into a hash table.
It does seem a little broken that indexing is done by MIME type
and not by index though, unless the spec says there cannot be
two parts with the same MIME type.
https://bugzilla.gnome.org/show_bug.cgi?id=659573
Nicolas Dufresne [Tue, 10 Jun 2014 19:42:14 +0000 (15:42 -0400)]
multipartdemux: Send stream-start event
This event was not sent. Send it before caps, this requires the pad to
be parented. This removes warning like: "Got data flow before
stream-start event".
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=731475
Thiago Santos [Tue, 10 Jun 2014 18:33:33 +0000 (15:33 -0300)]
qtdemux: avoid looping indefinitely in broken svq3 files
Abort if an atom with size 0 is read from within the svq3 stsd
atoms
https://bugzilla.gnome.org/show_bug.cgi?id=726512
Vincent Penquerc'h [Tue, 10 Jun 2014 09:52:23 +0000 (10:52 +0100)]
flacdec: add const where appropriate
Edward Hervey [Mon, 9 Jun 2014 08:39:20 +0000 (10:39 +0200)]
speexenc: add missing va_end in variadic function
Coverity 1139944
Edward Hervey [Mon, 9 Jun 2014 08:04:38 +0000 (10:04 +0200)]
flvdemux: Attempt upstream seek first
If we have an upstream element that can handle the seek (such as
rtmpsrc), try to do that first before attempting it ourself.
Vincent Penquerc'h [Wed, 4 Jun 2014 10:34:27 +0000 (11:34 +0100)]
wavparse: do not include codec_data on raw audio caps
If the wav header contains an extended chunk, we want to keep
the codec_data field, but not for raw audio.
This fixes some elements (such as adder) from failing to intersect
raw audio caps which would otherwise be intersectable.
Edward Hervey [Thu, 5 Jun 2014 07:38:29 +0000 (09:38 +0200)]
flvdemux: Query duration upstream first
Upstream elements (like rtmpsrc) might be able to provide the duration
more accurately than flvdemux. Especially with index-less vod files
Nicolas Dufresne [Fri, 30 May 2014 23:37:57 +0000 (19:37 -0400)]
v4l2bufferpool: Cleanup poll method and retry on EINTR/EAGAIN
https://bugzilla.gnome.org/show_bug.cgi?id=731015
Jan Alexander Steffens (heftig) [Thu, 6 Mar 2014 15:37:51 +0000 (16:37 +0100)]
flvdemux: set RESYNC buffer flag when bridging large PTS gaps
So downstream gets notified when this happens.
https://bugzilla.gnome.org/show_bug.cgi?id=725903
Olivier Crête [Tue, 3 Jun 2014 21:59:32 +0000 (17:59 -0400)]
rtprtx: Reset state on each iteration
Otherwise it didn't wait for the test to finish before checking the results.
https://bugzilla.gnome.org/show_bug.cgi?id=728501
Tim-Philipp Müller [Fri, 9 May 2014 13:22:42 +0000 (14:22 +0100)]
matroskademux: don't leak doctype string in error code path
CID 1212145.
Edward Hervey [Tue, 20 May 2014 06:20:42 +0000 (08:20 +0200)]
vp9enc: Don't dereference NULL checks
CID #1197703
Edward Hervey [Tue, 20 May 2014 06:23:06 +0000 (08:23 +0200)]
vp8enc: Don't dereference NULL variable
CID #1139838
Thiago Santos [Fri, 30 May 2014 17:32:42 +0000 (14:32 -0300)]
qtdemux: upstream handles seek if fragmented and on time segment
Otherwise we can reject seeks on local files that contain fragmented-like
atoms like 'mvex'. Also improve a message log
https://bugzilla.gnome.org/show_bug.cgi?id=730722
Wim Taymans [Fri, 30 May 2014 14:43:44 +0000 (16:43 +0200)]
h264depay: make sure we call handle_nal for each NAL
Call handle_nal for each NAL in the STAP-A RTP packet. This makes
sure we correctly extract the SPS and PPS.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=730999
Sebastian Dröge [Wed, 7 May 2014 12:09:06 +0000 (14:09 +0200)]
souphttpsrc: Add custom sticky event to contain the HTTP request and response headers
This can be useful to e.g. get cookie information downstream.
https://bugzilla.gnome.org/show_bug.cgi?id=729707
Thiago Santos [Mon, 26 May 2014 22:47:39 +0000 (19:47 -0300)]
avidemux: remove stream last flow return
GstPad already stores that information
https://bugzilla.gnome.org/show_bug.cgi?id=709224
Thiago Santos [Mon, 26 May 2014 22:37:46 +0000 (19:37 -0300)]
qtdemux: remove last flow return from stream struct
It is already stored on GstPad on core
https://bugzilla.gnome.org/show_bug.cgi?id=709224
Thiago Santos [Mon, 26 May 2014 22:19:45 +0000 (19:19 -0300)]
flvdemux: Use GstFlowCombiner
Use the flow combiner to have the standard combination results and avoid
repeating the same code
https://bugzilla.gnome.org/show_bug.cgi?id=709224
Thiago Santos [Mon, 26 May 2014 16:21:25 +0000 (13:21 -0300)]
matroskademux: use GstFlowCombiner
Use the flow combiner to have the standard combination results and avoid
repeating the same code
https://bugzilla.gnome.org/show_bug.cgi?id=709224
Thiago Santos [Mon, 26 May 2014 16:04:10 +0000 (13:04 -0300)]
avidemux: use GstFlowCombiner
Removes flow return combination code to use the newly added GstFlowCombiner
Thiago Santos [Fri, 23 May 2014 20:53:00 +0000 (17:53 -0300)]
qtdemux: use GstFlowCombiner
Removes the common code to combining flow returns to let it be
handled by core gstutils' GstFlowCombiner
https://bugzilla.gnome.org/show_bug.cgi?id=709224
Julien Isorce [Mon, 26 May 2014 14:59:55 +0000 (10:59 -0400)]
v4l2sink: implement gstvideosink.show_frame instead of gstbasesink.render
It allows to show preroll frame. Especially it allows to update the
frame when seeking in PAUSED state.
https://bugzilla.gnome.org/show_bug.cgi?id=722303
Nicolas Dufresne [Mon, 26 May 2014 14:59:06 +0000 (10:59 -0400)]
v4l2sink: Cleanup old pad alloc declaration
Nicolas Dufresne [Mon, 26 May 2014 16:34:42 +0000 (12:34 -0400)]
v4l2bufferpool: Copy already queued buffer
This is required as during preroll we pass the first buffer twice, hence already
queued. It is also useful, to allow filters replaying a previous rendered buffers.
This will require 1 more buffer in sink if last-sample is enabled, since the last
sample will not be the same as the currently queued buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=722303
Nicolas Dufresne [Sun, 25 May 2014 00:20:07 +0000 (20:20 -0400)]
v4l2bufferpool: Port to bufferpool flush_start/stop method
Port the buffer pool to use the new flush_start/flush_stop virtual
methods added to GstBufferPool.
https://bugzilla.gnome.org/show_bug.cgi?id=727611
Tim-Philipp Müller [Sun, 25 May 2014 16:40:58 +0000 (17:40 +0100)]
po: update
Piotr Drąg [Sun, 25 May 2014 14:54:18 +0000 (16:54 +0200)]
po: update POTFILES
https://bugzilla.gnome.org/show_bug.cgi?id=726556
Nicolas Dufresne [Sun, 25 May 2014 03:51:58 +0000 (23:51 -0400)]
v4l2bufferpool: Don't queue all the buffers before dequeueing first
For output device, we where queuing all the buffers, and then we would
dequeue one. This means we only have 1 buffer for the pipeline, no matter
the size of the queue. Instead, start dequeued when min_latency is reached.
Eventually, this the min_latency should also be affected by control
MIN_BUFFERS_FOR_OUTPUT (use by encoders).
Nicolas Dufresne [Sun, 25 May 2014 03:49:19 +0000 (23:49 -0400)]
v4l2object: Simply read back the config to update the query
It's easy to get the min/max outdate when hacking decide allocation. In
order to avoid this, simply read back the choosen value from the config.
Nicolas Dufresne [Sun, 25 May 2014 03:31:24 +0000 (23:31 -0400)]
v4l2: Cleanup and fix calculation of latency
Calculation of num_buffers (the max latency in buffers) was
up-side-down. If we can allcoate, then our maximum latency match
pool maximum number of buffers. Also renamed it to max latency. Finally
introduced a min_latency for clarity.
Nicolas Dufresne [Sun, 25 May 2014 00:00:14 +0000 (20:00 -0400)]
Revert "v4l2bufferpool: Port to bufferpool flush_start/stop method"
This reverts commit
2e0fb42e868fc9f6d98b028def80a3e953527307.
Conflicts:
sys/v4l2/gstv4l2allocator.c
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2videodec.c
Nicolas Dufresne [Sat, 24 May 2014 22:56:32 +0000 (18:56 -0400)]
v4l2object: Fix configuration of other_pool and importation case
Fix the choice of min/max, don't override the min/max with own pool selected
size, correct other_pool is_active check, start from other_pool config when
configuring the other pool and finally validate the configuration.
Nicolas Dufresne [Sat, 24 May 2014 22:45:30 +0000 (18:45 -0400)]
v4l2object: Use proposed allocator as default
Nicolas Dufresne [Sat, 24 May 2014 22:43:28 +0000 (18:43 -0400)]
v4l2bufferpool: Fix USERPTR map flags
We need to map READ only for output and write only for capture, we where
doing the opposite. This fixing USERPTR with glimagesink
https://bugzilla.gnome.org/show_bug.cgi?id=730698
Thiago Santos [Sat, 24 May 2014 14:16:35 +0000 (11:16 -0300)]
qtdemux: parse tkhd transformation matrix and add tags if appropriate
Handle the transformation matrix cases where there are only simple rotations
(90, 180 or 270 degrees) and use a tag for those cases. This is a common scenario
when recording with mobile devices
https://bugzilla.gnome.org/show_bug.cgi?id=679522
Nicolas Dufresne [Fri, 23 May 2014 23:10:21 +0000 (19:10 -0400)]
v4l2bufferpool: Prevent num_queued from going negative
Nicolas Dufresne [Fri, 23 May 2014 22:25:49 +0000 (18:25 -0400)]
v4l2videodec: don't stop if loop returned FLUSHING
The decodeing thread returning flushing isn't an error, we should simply
try starting the task again. If it's actually flushing, it will stop again by itself.
Nicolas Dufresne [Fri, 23 May 2014 21:54:20 +0000 (17:54 -0400)]
v4l2videodec: Handle early task stop
Nicolas Dufresne [Fri, 23 May 2014 21:28:13 +0000 (17:28 -0400)]
v4l2videodec: Handle gst_pad_start_task() failure
Nicolas Dufresne [Fri, 23 May 2014 21:19:07 +0000 (17:19 -0400)]
v4l2videodec: Add trace for FLUSH_START/STOP handling
Nicolas Dufresne [Fri, 23 May 2014 21:18:16 +0000 (17:18 -0400)]
v4l2videodec: Fix use of atomic value
Nicolas Dufresne [Fri, 23 May 2014 21:01:53 +0000 (17:01 -0400)]
v4l2bufferpool: Improve debugging
No need to use obj->element, the pool now have a significant name. Also don't
warn if flushing.
Nicolas Dufresne [Fri, 23 May 2014 21:01:02 +0000 (17:01 -0400)]
v4l2videodec: Fix handle_frame error handling
Nicolas Dufresne [Fri, 23 May 2014 19:56:24 +0000 (15:56 -0400)]
v4l2bufferpool: Add a trace when _start() is called
Nicolas Dufresne [Fri, 23 May 2014 19:56:02 +0000 (15:56 -0400)]
v4l2allocator: Add debug assert to detect calls in the wrong state
Nicolas Dufresne [Fri, 23 May 2014 19:55:26 +0000 (15:55 -0400)]
v4l2allocator: Reset count when stopped
Nicolas Dufresne [Fri, 23 May 2014 19:55:08 +0000 (15:55 -0400)]
v4l2allocator: Return a GstFlowReturn instead of boolean in alloc
Nicolas Dufresne [Fri, 23 May 2014 19:17:27 +0000 (15:17 -0400)]
v4l2object: Don't leak config structure
Nicolas Dufresne [Fri, 23 May 2014 18:12:10 +0000 (14:12 -0400)]
v4l2bufferpool: Port to bufferpool flush_start/stop method
Thiago Santos [Fri, 23 May 2014 06:00:50 +0000 (03:00 -0300)]
qtdemux: add tag mappings for _swr, _mak and _mod tags
swr -> Application name
mak -> device manufacturer
mod -> device model
Nicolas Dufresne [Tue, 20 May 2014 21:37:49 +0000 (17:37 -0400)]
ximagesrc: Fix ximage leaks when buffer has more then one ximage
From time to time, when the image_pool list has more then 1 element
and I suppose at start, all but 1 pooled ximage are leaked. This is
due to broken algorithm in gst_ximagesink_src_ximage_get(). There was
also a risk of use after free for the case where the ximage size has
changed.
https://bugzilla.gnome.org/show_bug.cgi?id=728502
Sebastian Dröge [Wed, 21 May 2014 11:23:27 +0000 (13:23 +0200)]
Back to development
Sebastian Dröge [Wed, 21 May 2014 11:06:35 +0000 (13:06 +0200)]
Release 1.3.2
Sebastian Dröge [Wed, 21 May 2014 10:19:39 +0000 (12:19 +0200)]
Update .po files
Sebastian Dröge [Wed, 21 May 2014 08:51:10 +0000 (10:51 +0200)]
Automatic update of common submodule
From 211fa5f to 1f5d3c3
Edward Hervey [Tue, 20 May 2014 06:23:06 +0000 (08:23 +0200)]
vp8enc: Don't dereference NULL variable
CID #1139838
Edward Hervey [Tue, 20 May 2014 06:20:42 +0000 (08:20 +0200)]
vp9enc: Don't dereference NULL checks
CID #1197703
Sebastian Dröge [Mon, 19 May 2014 09:26:46 +0000 (11:26 +0200)]
v4l2bufferpool: Explicitly cast enum "subtype" to its "supertype"
gstv4l2bufferpool.c:608:18: error: implicit conversion from enumeration type
'enum _GstV4l2BufferPoolAcquireFlags' to different enumeration type
'GstBufferPoolAcquireFlags' [-Werror,-Wenum-conversion]
params.flags = GST_V4L2_POOL_ACQUIRE_FLAG_RESURECT;
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sebastian Dröge [Mon, 19 May 2014 09:24:06 +0000 (11:24 +0200)]
goom: Use fabs() instead of abs() to calculate the floating point absolute value
tentacle3d.c:268:7: error: using integer absolute value function 'abs' when
argument is of floating point type [-Werror,-Wabsolute-value]
if (abs (tmp - fx_data->rot) > abs (tmp - (fx_data->rot + 2.0 * G_PI))) {
^
Sebastian Dröge [Mon, 19 May 2014 09:21:36 +0000 (11:21 +0200)]
debugutils: Properly calculate the difference with unsigned types
tests.c:161:16: error: taking the absolute value of unsigned type
'unsigned long' has no effect [-Werror,-Wabsolute-value]
t->diff += labs (GST_BUFFER_TIMESTAMP (buffer) - t->expected);
Nicolas Dufresne [Fri, 16 May 2014 21:46:30 +0000 (17:46 -0400)]
v4l2videodec: Handle flush while in start_streaming
We need to handle the case where a flush occure while the streaming
thread is being brought up. In this case, the flushing state of the poll
object is cleared. To solve this, we simply set the capture poll to flushing
again, this way we know the thread will exit. The decoder streamlock
is used to synchronize with handle frame.
Nicolas Dufresne [Fri, 16 May 2014 20:44:37 +0000 (16:44 -0400)]
v4l2allocator: Don't trace twice the same message
Aleix Conchillo Flaqué [Thu, 15 May 2014 18:25:50 +0000 (11:25 -0700)]
rtspsrc: always use a random ssrc for the internal session
Use a random SSRC different than 0 for the internal session SSRC.
https://bugzilla.gnome.org/show_bug.cgi?id=730212
Wim Taymans [Fri, 16 May 2014 14:52:25 +0000 (16:52 +0200)]
rtpsession: update last_activity when sending RTP
Also update last_activity when doing something with the internal
source to make sure don't timeout early.
See https://bugzilla.gnome.org/show_bug.cgi?id=730217