Sebastian Dröge [Wed, 7 Sep 2011 09:24:14 +0000 (11:24 +0200)]
diracparse: Add all fields to the src template caps
Sebastian Dröge [Wed, 7 Sep 2011 09:22:07 +0000 (11:22 +0200)]
videoparsers: Allow parsed streams to be passed through the parsers
Sebastian Dröge [Wed, 7 Sep 2011 09:17:54 +0000 (11:17 +0200)]
h264parse: Put stream-format and alignment into the src template caps
Also remove the parsed field from the sink template caps.
Sebastian Dröge [Wed, 7 Sep 2011 09:14:36 +0000 (11:14 +0200)]
h264parse: Change rank to PRIMARY+1 to have h264parse autoplugged
Sebastian Dröge [Wed, 7 Sep 2011 09:06:46 +0000 (11:06 +0200)]
diracparse: Constify some arrays
Thiago Santos [Tue, 6 Sep 2011 13:49:04 +0000 (10:49 -0300)]
camerabin2: preview: No need for appsink to store the last buffer
There is no need for preview's appsink to keep a reference to the last buffer,
so disable the property to make it unref the buffers sooner.
Christian Fredrik Kalager Schaller [Tue, 6 Sep 2011 21:48:30 +0000 (22:48 +0100)]
Update for latest new plugins and moved plugins
Stefan Sauer [Tue, 6 Sep 2011 19:25:00 +0000 (21:25 +0200)]
Automatic update of common submodule
From
a39eb83 to
11f0cd5
Stefan Sauer [Tue, 6 Sep 2011 13:40:46 +0000 (15:40 +0200)]
Automatic update of common submodule
From
605cd9a to
a39eb83
Sebastian Dröge [Tue, 6 Sep 2011 11:20:43 +0000 (13:20 +0200)]
h264parse: Add Converter to classification
This parser can convert between different alignments and stream-formats.
Thiago Santos [Mon, 5 Sep 2011 17:39:20 +0000 (14:39 -0300)]
camerabin2: preview: Appsink doesn't need to sync
Set sync to false on preview's pipeline appsink
Thiago Santos [Mon, 5 Sep 2011 12:55:53 +0000 (09:55 -0300)]
camerabin2: preview: Remove one of the two colorspace converters
The preview pipeline doesn't need 2 colorspace converters, remove
one to speed up caps negotiation and reduce the delay on getting
the first preview buffer out of the preview pipeline.
It shouldn't cause problems as videoscale and ffmpegcolorspace seems
to handle the same caps, so no conversion should be needed for
videoscale. Additionally, camerabin1 has been working with a similar
pipeline with a single ffmpegcolorspace and no bugs have been open about it
so far.
Thiago Santos [Thu, 1 Sep 2011 23:01:09 +0000 (20:01 -0300)]
camerabin2: preview: Disable appsrc signals emission
Camerabin2 doesn't check appsrc's signals, so disable them
Vincent Penquerc'h [Fri, 26 Aug 2011 09:50:38 +0000 (10:50 +0100)]
basevideoenc: do not try to calculate latency from an unknown framerate
It'll divide by zero, and latency is unknown for an unknown framerate.
Fixes an assert in the schroenc test.
https://bugzilla.gnome.org/show_bug.cgi?id=657419
Youness Alaoui [Sat, 3 Sep 2011 00:36:34 +0000 (00:36 +0000)]
hlsdemux: If a fetch fails, decrement the sequence number
Youness Alaoui [Fri, 2 Sep 2011 23:49:38 +0000 (23:49 +0000)]
hlsdemux: make hlsdemux lock/unlock the m3u8 client when it accesses it
Youness Alaoui [Fri, 2 Sep 2011 23:48:22 +0000 (23:48 +0000)]
hlsdemux: Add a get_target_duration and get_current_uri api to m3u8_client
Youness Alaoui [Fri, 2 Sep 2011 23:48:03 +0000 (23:48 +0000)]
hlsdemux: Make the m3u8 client thread-safe
Sebastian Dröge [Fri, 2 Sep 2011 17:44:31 +0000 (19:44 +0200)]
hlsdemux: Reset in PAUSED->READY after chaining up to the parent class
Otherwise there are possible race conditions with the streaming thread.
Edward Hervey [Fri, 2 Sep 2011 14:08:59 +0000 (16:08 +0200)]
docs: minor fixes
Edward Hervey [Wed, 31 Aug 2011 08:12:44 +0000 (10:12 +0200)]
gst-libs: Remove play directory. Was unported since 0.8
Edward Hervey [Wed, 31 Aug 2011 08:10:21 +0000 (10:10 +0200)]
docs: Add more sections to the gst-libs API docs
Gwenole Beauchesne [Mon, 29 Aug 2011 11:52:17 +0000 (13:52 +0200)]
codecparsers: h264: fix PPS parser
Fix transform_8x8_mode_flag and second_chroma_qp_index_offset
Gwenole Beauchesne [Mon, 29 Aug 2011 11:52:16 +0000 (13:52 +0200)]
codecparsers: h264: fix NAL reader initialization.
Gwenole Beauchesne [Fri, 26 Aug 2011 13:54:51 +0000 (15:54 +0200)]
codecparsers: h264: handle end-of-seq and end-of-stream NAL gracefully.
Gwenole Beauchesne [Fri, 26 Aug 2011 14:05:58 +0000 (16:05 +0200)]
codecparsers: h264: fix ref_pic_list_reordering().
Gwenole Beauchesne [Tue, 16 Aug 2011 14:19:02 +0000 (16:19 +0200)]
codecparsers: h264: fix pred_weight_table() parsing.
Use 16-bit signed integer values for weight values because valid
ranges are -128 to +128 inclusive.
Gwenole Beauchesne [Tue, 16 Aug 2011 13:21:18 +0000 (15:21 +0200)]
codecparsers: h264: record slice_header() size in bits.
Gwenole Beauchesne [Tue, 16 Aug 2011 13:14:03 +0000 (15:14 +0200)]
codecparsers: h264: fix slice_header() parsing.
We were not parsing the slice headers until the actual end, we are now
parsing until the end.
Gwenole Beauchesne [Fri, 12 Aug 2011 11:19:29 +0000 (13:19 +0200)]
codecparsers: h264: fix filler-data NAL unit type name.
Gwenole Beauchesne [Fri, 12 Aug 2011 08:17:47 +0000 (10:17 +0200)]
codecparsers: add pkgconfig file.
Adds a new pkgconfig file for codecparsers. They don't have
any specific dependency on gst-plugins-bad and they could quite be
independent bitstream parsers.
Gwenole Beauchesne [Fri, 5 Aug 2011 09:21:05 +0000 (11:21 +0200)]
codecparsers: mpeg: add user-data packet start code definition.
Gwenole Beauchesne [Wed, 3 Aug 2011 15:31:55 +0000 (17:31 +0200)]
codecparsers: mpeg: fix Picture_Coding_Extension parser.
Thibault Saunier [Tue, 2 Aug 2011 10:37:02 +0000 (12:37 +0200)]
h264parse: Port to the new h.264 parsing library
Thibault Saunier [Fri, 29 Jul 2011 08:56:15 +0000 (10:56 +0200)]
codecparsers: h264: Add an h.264 bitstream parsing library
Thibault Saunier [Thu, 23 Jun 2011 16:54:43 +0000 (12:54 -0400)]
mpegvideoparse: Port to the new mpeg parsing library
Thibault Saunier [Tue, 19 Jul 2011 11:52:01 +0000 (13:52 +0200)]
codecparsers: mpeg: Add an mpeg video bitstream parsing library
Create a new codecparsers library
Thibault Saunier [Tue, 30 Aug 2011 17:50:41 +0000 (14:50 -0300)]
docs: Build documentations for libraries
Sebastian Dröge [Fri, 2 Sep 2011 13:00:58 +0000 (15:00 +0200)]
hlsdemux: Remove obsolete FIXME comment
Sebastian Dröge [Fri, 2 Sep 2011 12:55:45 +0000 (14:55 +0200)]
hlsdemux: Reset the internal state going to/from READY instead of NULL
This theoretically allows reuse of the element when setting it to READY
instead of NULL.
Sebastian Dröge [Fri, 2 Sep 2011 12:54:56 +0000 (14:54 +0200)]
hlsdemux: Set playlist parsing helper object to NULL after freeing
Youness Alaoui [Thu, 1 Sep 2011 23:18:51 +0000 (23:18 +0000)]
hlsdemux: Allow up to 3 consecutive failed downloads before erroring
In some networks, especiall in 3G, a fragment download or playlist
update may fail. We allow for up to 3 consecutive failures, while using
the rfc's specs for retry delays before considering that there was an
error on the stream.
Youness Alaoui [Thu, 1 Sep 2011 22:46:19 +0000 (22:46 +0000)]
hlsdemux: remove unused argument
David Schleef [Mon, 22 Aug 2011 03:15:25 +0000 (20:15 -0700)]
vp8enc: fix drop-frame property
Fixes #656929.
Robert Swain [Thu, 1 Sep 2011 13:57:50 +0000 (15:57 +0200)]
camerabin2: Add a flag to disable image conversion elements
If we know that our camera source element produces buffers at the same
resolution and appropriate colourspace for the output, we don't need any
of the generic conversion elements in encodebin. This reduces caps
negotiation overheads among other things.
Josep Torra [Wed, 31 Aug 2011 21:06:53 +0000 (23:06 +0200)]
mms: fix warnings related to the format on the debug lines.
Thiago Santos [Wed, 31 Aug 2011 16:29:17 +0000 (13:29 -0300)]
camerabin2: Micro optimize encodebin pads linking
Reduce one check in encodebin pads linking on camerabin2 by
using the link_pads_full version
Thiago Santos [Wed, 31 Aug 2011 16:28:25 +0000 (13:28 -0300)]
basecamerabinsrc: Optimize preview pipeline startup
Use gst_element_link_pads_full to optimize preview pipeline startup,
leading to a faster camerabin2 startup as well.
Thiago Santos [Wed, 31 Aug 2011 18:33:10 +0000 (15:33 -0300)]
camerabin2: Use explicit boolean literals to make gobject happy
gobject boolean properties are strict and only accept 1 or 0, otherwise
they throw an assertion.
Sebastian Dröge [Wed, 31 Aug 2011 12:48:47 +0000 (14:48 +0200)]
hlsdemux: Just join the task
gst_task_join() will already stop the task, no need
to stop it additionally.
Sebastian Dröge [Wed, 31 Aug 2011 12:47:40 +0000 (14:47 +0200)]
hlsdemux: Join the task instead of just stopping it and not waiting for it to finish
Fixes interesting race conditions that cause crashes in decodebin2
because pads are added/removed from child elements although they
should be in READY state already.
Sebastian Dröge [Wed, 31 Aug 2011 10:12:59 +0000 (12:12 +0200)]
hlsdemux: Remove unused variable
Youness Alaoui [Wed, 31 Aug 2011 03:47:52 +0000 (03:47 +0000)]
hlsdemux: switch to higher/lower bitrate by more than one step at a time
Youness Alaoui [Wed, 31 Aug 2011 03:20:48 +0000 (03:20 +0000)]
hlsdemux: remove spamming GST_LOG_OBJECT
Youness Alaoui [Wed, 31 Aug 2011 03:07:48 +0000 (03:07 +0000)]
hlsdemux: If paused, do not cache fragments until out of memory error!
We should stop the update thread in PAUSED state and avoid fetching
new fragments when the queue is not empty. The queue should always be
empty since we push data into a queue. Also, in totem, if we seek and
pause the stream while it's buffering, then the state will stay playing
for some reason, so it's best not to continue fetching fragments forever.
Youness Alaoui [Wed, 31 Aug 2011 03:01:58 +0000 (03:01 +0000)]
hlsdemux: start/stop update thread and keep track of status
Youness Alaoui [Wed, 31 Aug 2011 02:05:08 +0000 (02:05 +0000)]
hlsdemux: Post duration message when we parse the playlist
Youness Alaoui [Wed, 31 Aug 2011 01:08:39 +0000 (01:08 +0000)]
hlsdemux: Send a flush-stop when switching pads. Fixes A->A/V sync issue.
This is to ensure that we reset the accumulate segment on the sinks
so if we start with audio only then switch to audio+video, then both
sinks will have the same segments and will be synchronized.
Youness Alaoui [Fri, 26 Aug 2011 22:48:01 +0000 (22:48 +0000)]
hlsdemux: seems there was a typo, free the adapter if it contains data, not if already empty
Youness Alaoui [Fri, 26 Aug 2011 22:47:35 +0000 (22:47 +0000)]
hlsdemux: oups, we need to empty the queue after freeing its content
Youness Alaoui [Fri, 26 Aug 2011 22:44:08 +0000 (22:44 +0000)]
tsdemux: Need to flush all streams when we receive a flush-start
Youness Alaoui [Fri, 26 Aug 2011 21:46:06 +0000 (21:46 +0000)]
hlsdemux: do not broadcast the fetcher_cond on bus error if we're cancelled
If we cancel the fetch and call the stop_fetcher, which holds the lock,
when it sets the fetcher's state to NULL, it might send an error
on the bus. In that case, we must ignore it, otherwise it will try
to take the lock and will block forever.
Jonas Larsson [Fri, 26 Aug 2011 19:29:06 +0000 (19:29 +0000)]
hlsdemux: Split playslist on \r\n not just \n
Youness Alaoui [Fri, 26 Aug 2011 19:10:58 +0000 (19:10 +0000)]
hlsdemux: Do not succeed a download if the fetcher had an error
Youness Alaoui [Fri, 26 Aug 2011 19:10:39 +0000 (19:10 +0000)]
hlsdemux: Rename functions that need to be called with a locked mutex
Youness Alaoui [Fri, 26 Aug 2011 19:09:54 +0000 (19:09 +0000)]
hlsdemux: We must signal the fetcher_cond while holding its lock
Youness Alaoui [Fri, 26 Aug 2011 17:54:51 +0000 (17:54 +0000)]
hlsdemux: We do not need to set the current playlist to the main one
When caching fragments, if we set the current playlist to main, then
it will always think it's a live stream (no endlist in it) so it will
force the redownload of the main playlist after every seek, which is
unnecessary. Also, it causes a race condition where a seek migh happen
during that redownload, and we'll think we're trying to seek a live pipeline.
Jan Schmidt [Tue, 30 Aug 2011 07:43:22 +0000 (17:43 +1000)]
soundtouch: Handling incoming rate when requested.
Absorb inbound segments with rate != 1.0 and output a segment with
rate taken from the new output-rate property, adjusting the segment
applied_rate, stream duration and timestamps as necessary to
compensate
Nicola Murino [Mon, 15 Aug 2011 15:57:53 +0000 (17:57 +0200)]
fix valgrind warning about Conditional jump or move depends on uninitialised value(s)
Nicola Murino [Wed, 17 Aug 2011 07:42:07 +0000 (09:42 +0200)]
Move m_pprevFrame free just before the clone of the latest frame for readability
Thiago Santos [Fri, 26 Aug 2011 12:43:14 +0000 (09:43 -0300)]
camerabin2: Make viewfinder's queue a thread limit only
Reduce the viewfinder queue limits to only allow it to store
one buffer, preventing the queue from holding old buffers for
too long. This also avoids showing slightly outdated frames on
the viewfinder when the source has already produced new ones
and improves the buffer recycling rate, important for sources
that use bufferpools.
Vincent Penquerc'h [Thu, 25 Aug 2011 18:56:58 +0000 (19:56 +0100)]
basevideoencoder: fix element leak
and this concludes an hour of yelling at the bloody test failing,
only to track down the problem not being in the test.
https://bugzilla.gnome.org/show_bug.cgi?id=657368
Youness Alaoui [Fri, 26 Aug 2011 00:52:46 +0000 (00:52 +0000)]
tsdemux: In push mode, do not start pull loop if upstream seek fails
Youness Alaoui [Fri, 26 Aug 2011 00:47:53 +0000 (00:47 +0000)]
hlsdemux: do not make the update_thread joinable
Youness Alaoui [Fri, 26 Aug 2011 00:26:29 +0000 (00:26 +0000)]
hlsdemux: Ensure the task is paused in case of cache error
Youness Alaoui [Thu, 25 Aug 2011 23:37:47 +0000 (23:37 +0000)]
hlsdemux: stop the threads in the proper order
first pause the task, then stop all fetchers, then stop the update thread
then pause the task again, since it might have been restarted by
another thread in the meantime
Youness Alaoui [Thu, 25 Aug 2011 23:37:25 +0000 (23:37 +0000)]
hlsdemux: do not post an error if we seek/cancel during caching of fragments
Youness Alaoui [Thu, 25 Aug 2011 23:37:00 +0000 (23:37 +0000)]
hlsdemux: if we're canceling a fetcher, we must stop its thread
Youness Alaoui [Thu, 25 Aug 2011 23:36:27 +0000 (23:36 +0000)]
hlsdemux: lock the update_thread mutex before stopping it
Youness Alaoui [Thu, 25 Aug 2011 23:35:55 +0000 (23:35 +0000)]
hlsdemux: lock the fetcher mutex before stopping it
Youness Alaoui [Thu, 25 Aug 2011 23:33:10 +0000 (23:33 +0000)]
hlsdemux: do not allow two fetchers to run simultanously
Youness Alaoui [Tue, 23 Aug 2011 20:49:33 +0000 (20:49 +0000)]
hlsdemux: Stop the streaming task on PAUSED_TO_READY state change
Vincent Penquerc'h [Thu, 25 Aug 2011 18:24:56 +0000 (19:24 +0100)]
tests: make camerabin2 test build
https://bugzilla.gnome.org/show_bug.cgi?id=657363
Olivier Crête [Wed, 13 Jul 2011 01:48:37 +0000 (21:48 -0400)]
dtmf: Add more debug
Olivier Crête [Tue, 12 Jul 2011 23:09:02 +0000 (19:09 -0400)]
dtmf: Max event type is 15
Olivier Crête [Thu, 14 Apr 2011 19:46:08 +0000 (15:46 -0400)]
dtmfsrc: Align DTMF sound buffers with last-stop from event
Also make sure the timestamps never go backwards
Olivier Crête [Tue, 12 Jul 2011 01:31:07 +0000 (21:31 -0400)]
rtpdtmfsrc: Correctly recognize the end of a buffer
Olivier Crête [Tue, 12 Jul 2011 00:47:23 +0000 (20:47 -0400)]
rtpdtmfsrc: Make sure rtpdtmfsrc timestamps don't overlap
Olivier Crête [Tue, 12 Jul 2011 00:46:20 +0000 (20:46 -0400)]
rtpdtmfsrc: Put the inter digit interval at the end, not at the start
The reason is to let rtpdtmfmux drop buffers during the inter digit interval,
this way, there will be more silence around the DTMF tones so IVFs will have
a better chance recognizing them.
Olivier Crête [Thu, 14 Apr 2011 21:08:57 +0000 (17:08 -0400)]
rtpdtmfsrc: Start at the last_stop from the start event if there was one
The goal is to try to not have a GAP between the audio and the DTMF
Olivier Crête [Thu, 14 Apr 2011 18:34:26 +0000 (14:34 -0400)]
rtpdtmfmux: Add last-stop to dtmf-event upstream events
Add the running time of the last outputted buffer to the
upstream "dtmf-event" events so that the dtmf source does not
leave a gap.
Olivier Crête [Thu, 14 Apr 2011 20:49:39 +0000 (16:49 -0400)]
rtpdtmfsrc: Respect ptime from the caps
Respect the ptime from the caps for the DTMF packets
Olivier Crête [Tue, 12 Jul 2011 01:30:28 +0000 (21:30 -0400)]
rtpdtmfsrc: Just error out if there is no clock
Tim-Philipp Müller [Wed, 24 Aug 2011 15:53:52 +0000 (16:53 +0100)]
kate: make gst_kate_util_is_utf8_string() inline to fix compiler warning with older libkate versions
gstkateutil.c:230:1: error: 'gst_kate_util_is_utf8_string' defined but not used
Vincent Penquerc'h [Wed, 24 Aug 2011 14:32:12 +0000 (15:32 +0100)]
rsndvd: ensure metadata is writable when writing to it
https://bugzilla.gnome.org/show_bug.cgi?id=657250
Sebastian Dröge [Wed, 24 Aug 2011 07:35:18 +0000 (09:35 +0200)]
tsdemux: Use FALSE instead of 0 for bool parameter
Youness Alaoui [Tue, 23 Aug 2011 22:44:17 +0000 (22:44 +0000)]
tsdemux: Need to send a newsegment after a seek
Youness Alaoui [Tue, 23 Aug 2011 22:38:26 +0000 (22:38 +0000)]
hlsdemux: Send buffering messages on the bus
Youness Alaoui [Tue, 23 Aug 2011 22:38:05 +0000 (22:38 +0000)]
hlsdemux: cache the number of fragments we are required to cache
Youness Alaoui [Tue, 23 Aug 2011 22:40:25 +0000 (22:40 +0000)]
tsdemux: Forward seek/duration query/event to the sinkpad