Tim-Philipp Müller [Fri, 23 Sep 2011 08:57:01 +0000 (09:57 +0100)]
faad: parse wants a GstFlowReturn return value, not a gboolean
Tim-Philipp Müller [Thu, 22 Sep 2011 19:11:21 +0000 (20:11 +0100)]
psmux: fix writing of system header, which makes VLC not skip the adjacent PSM and play embedded H.264 streams
header_length contains the length in bytes after the header_length
field, excluding the 6 byte start code and header_length field.
H.264 streams and some other formats need to be announced in the PSM.
VLC wouldn't play files created with mpegpsmux containing H.264 because
we claim the system header is larger than it actually is, which makes
VLC skip the program stream map which follows the system header, which
in turn makes it not recognise our H.264 video stream.
Tim-Philipp Müller [Thu, 22 Sep 2011 19:09:32 +0000 (20:09 +0100)]
docs: add ignore rules for libs docs directory
Mark Nauwelaerts [Thu, 22 Sep 2011 16:23:32 +0000 (18:23 +0200)]
faac: fixup misunderstanding in sample counting
... between codec and audioencoder regarding whether or not channel
count is already considered.
Fixes #659836.
Mark Nauwelaerts [Thu, 22 Sep 2011 14:01:56 +0000 (16:01 +0200)]
faad: use some more boilerplate
Mark Nauwelaerts [Thu, 22 Sep 2011 07:49:21 +0000 (09:49 +0200)]
faad: port to audiodecoder
Mark Nauwelaerts [Wed, 21 Sep 2011 14:11:27 +0000 (16:11 +0200)]
faac: use some more boilerplate
Mark Nauwelaerts [Wed, 21 Sep 2011 14:01:28 +0000 (16:01 +0200)]
faac: port to audioencoder
Vincent Penquerc'h [Tue, 20 Sep 2011 15:54:32 +0000 (16:54 +0100)]
kate: forward return code from setting src pad caps
https://bugzilla.gnome.org/show_bug.cgi?id=659606
Thiago Santos [Tue, 20 Sep 2011 16:00:49 +0000 (13:00 -0300)]
basecamerasrc: Fail state change if preview pipeline fails creation
If the preview pipeline fails creation, for any reason, we should
fail basecamerasrc state change.
Also adds a missing g_return_if_fail check to preview pipeline
functions
Edward Hervey [Mon, 19 Sep 2011 14:32:58 +0000 (16:32 +0200)]
codecparsers: Add checks to input, and fix size checking
Mark Nauwelaerts [Mon, 19 Sep 2011 12:54:11 +0000 (14:54 +0200)]
h263parse: bring debug statements up to desired specs
Mark Nauwelaerts [Mon, 19 Sep 2011 12:07:52 +0000 (14:07 +0200)]
h264parse: bring debug statements up to desired specs
Edward Hervey [Mon, 19 Sep 2011 11:41:44 +0000 (13:41 +0200)]
codecparsinglibs: Doc and indentation fixes
Vincent Penquerc'h [Sat, 10 Sep 2011 10:31:20 +0000 (11:31 +0100)]
rtpvp8: fix bitstream parsing using the wrong kind of bitreader
VP8 uses a probabilistic bool coder, not a straight bit coder.
This fixes parsing when error-resilient is set.
This commit includes a copy of libvpx's bool coder, BSD licensed.
https://bugzilla.gnome.org/show_bug.cgi?id=652694
Vincent Penquerc'h [Wed, 14 Sep 2011 19:22:42 +0000 (20:22 +0100)]
celt: a bit more error checking on header parsing
https://bugzilla.gnome.org/show_bug.cgi?id=659087
Vincent Penquerc'h [Wed, 14 Sep 2011 18:56:40 +0000 (19:56 +0100)]
celtenc: cleanup header creation
Avoid an extra copy via a temporary fixed size stack buffer.
Use libcelt's header size to allocate a buffer of the correct
size in the first place (libcelt has an off by 4 there, so
account for this).
While there, make size unsigned, and granpos signed.
https://bugzilla.gnome.org/show_bug.cgi?id=659087
Vincent Penquerc'h [Wed, 14 Sep 2011 18:09:30 +0000 (19:09 +0100)]
celtenc: do not use invalid buffer timestamps
https://bugzilla.gnome.org/show_bug.cgi?id=659087
Vincent Penquerc'h [Wed, 14 Sep 2011 16:26:05 +0000 (17:26 +0100)]
celtdec: fix error checking with libcelt 0.11
The return value of celt_decode has changed, newer versions
now return positive values on success.
https://bugzilla.gnome.org/show_bug.cgi?id=659087
Vincent Penquerc'h [Wed, 14 Sep 2011 16:07:50 +0000 (17:07 +0100)]
celtenc: allow actually overriding frame size
https://bugzilla.gnome.org/show_bug.cgi?id=659087
Vincent Penquerc'h [Tue, 13 Sep 2011 15:24:32 +0000 (16:24 +0100)]
kate: flush on seek, and ensure we cancel any waiting buffer
This is what pango textoverlay does, and I've had that condition
variable get stuck once.
https://bugzilla.gnome.org/show_bug.cgi?id=658940
Vincent Penquerc'h [Mon, 12 Sep 2011 10:17:20 +0000 (11:17 +0100)]
h264parse: do not try to read from a non existent VUI
https://bugzilla.gnome.org/show_bug.cgi?id=658800
Thiago Santos [Fri, 16 Sep 2011 03:32:02 +0000 (00:32 -0300)]
camerabin2: Adding 2 more log messages
Vincent Penquerc'h [Wed, 14 Sep 2011 14:20:09 +0000 (15:20 +0100)]
camerabin2: replace deprecated g_atomic_int_exchange_and_add
It was replaced by g_atomic_int_add, which now returns the
old value.
https://bugzilla.gnome.org/show_bug.cgi?id=659061
Thiago Santos [Thu, 15 Sep 2011 20:35:44 +0000 (17:35 -0300)]
camerabin2: Reset last state change result on state-locked elements
An element stores the result for the last state change it did and
GstBin's state change handler will use this last result for state
locked elements to decide if its state change was successfull or not.
In camerabin2, the filesinks have their state locked and when they
fail switching states, this last failure will be used if the application
tries to change camerabin2's state, causing any state change to fail.
This patch makes camerabin2 reset this last change failure, avoiding
that camerabin2 fails on its next state changes.
Olivier Crête [Thu, 15 Sep 2011 22:17:24 +0000 (18:17 -0400)]
spanplc: Fix typos
Thibault Saunier [Tue, 13 Sep 2011 23:40:35 +0000 (20:40 -0300)]
mpegvideoparse: Handle properly frame detection
Handle the case where we have buffers containing no startcode
in the middle of a frame properly.
Thibault Saunier [Tue, 13 Sep 2011 23:38:27 +0000 (20:38 -0300)]
codecparsers: mpegvideo: Debugging symbols enhancements
Thibault Saunier [Mon, 12 Sep 2011 16:54:37 +0000 (13:54 -0300)]
codecparsers: mpegvideo: Add the ChromaType enum
Thibault Saunier [Mon, 12 Sep 2011 16:41:41 +0000 (13:41 -0300)]
codecparsers: mpegvideo: Change broken_gop to broken_link
This way we respect the standard naming
Mark Nauwelaerts [Wed, 14 Sep 2011 14:14:24 +0000 (16:14 +0200)]
mpegvideoparse: send a video-codec tag
https://bugzilla.gnome.org/show_bug.cgi?id=569305
Thiago Santos [Mon, 12 Sep 2011 19:50:10 +0000 (16:50 -0300)]
camerabin2: Check zoom notify callback from camera-source
Camerabin2 has a zoom property that is simply proxied to its
internal camera-source element. This patch makes camerabin2 listen
to 'notify' signals from it so it can update its zoom property value
when camera-source changes its zoom as a side-effect of another operation
or because the user set the zoom directly to it, instead of doing
it from camerabin2.
Alessandro Decina [Mon, 29 Aug 2011 06:00:22 +0000 (08:00 +0200)]
rtmpsink: don't block the main thread with RTMP_Connect
Move the RTMP_Connect call from the main thread (::start) to the streaming
thread (::render).
Alessandro Decina [Mon, 12 Sep 2011 08:33:06 +0000 (10:33 +0200)]
codecparsers: fix compiler warnings
Alessandro Decina [Mon, 12 Sep 2011 08:23:19 +0000 (10:23 +0200)]
mpegvideoparse: fix compiler warnings
Thibault Saunier [Fri, 9 Sep 2011 17:22:39 +0000 (14:22 -0300)]
h264parse: Make use of the h264_nal_parser_free function
Thibault Saunier [Fri, 9 Sep 2011 17:15:21 +0000 (14:15 -0300)]
codecparsers: h264: Implement the nal_parser_free function
Thibault Saunier [Wed, 7 Sep 2011 00:29:28 +0000 (21:29 -0300)]
codecparsers: h264: Use g_slice instead of g_malloc in nal_parser_new
Thibault Saunier [Wed, 7 Sep 2011 00:28:45 +0000 (21:28 -0300)]
codecparsers: h264: Update the documentation
Fix a few error.
Document missing parts.
Add links to the specifications
Sebastian Dröge [Fri, 9 Sep 2011 10:27:57 +0000 (12:27 +0200)]
hlsdemux: Fix merge mistake from last commit
Youness Alaoui [Thu, 8 Sep 2011 23:56:33 +0000 (23:56 +0000)]
hlsdemux: Report the correct timestamp for live streams
Buffers would always start with timestamp 0 and we'd start streaming
from the first buffer, but live streams always start streaming from
the last fragment - 3 fragments in the playlist, which makes its
timestamp, as returned by get_next_fragment, be whatever position
they had in the playlist. This makes sure the position correctly
reports the position of the buffer in the playlist, and added a shifting
variable to allow seeking in the middle of fragments.
Youness Alaoui [Thu, 8 Sep 2011 22:13:19 +0000 (22:13 +0000)]
hlsdemux/tsdemux: Add HP copyright on work done on HLS
Youness Alaoui [Thu, 8 Sep 2011 20:29:42 +0000 (20:29 +0000)]
hlsdemux: set playlist to NULL after unreffing it to avoid a double-unref in the dispose
Youness Alaoui [Thu, 8 Sep 2011 18:25:00 +0000 (18:25 +0000)]
hlsdemux: Do not lock the mutex of the fetcher during EOS
The fetch_location might call stop_fetcher which could generate an EOS
and cause a deadlock
Youness Alaoui [Wed, 7 Sep 2011 02:11:06 +0000 (22:11 -0400)]
spandsp: Adding spandsp plugin with spanplc element for packet loss concealment
Youness Alaoui [Wed, 7 Sep 2011 20:09:12 +0000 (20:09 +0000)]
hlsdemux: Do not join the task from the task's thread itself. join it only in the state change
Stefan Sauer [Wed, 7 Sep 2011 13:48:33 +0000 (15:48 +0200)]
docs: cleanup makefiles
Remove commented out parts that we don't need. Remove "the wingo addition" - no
so useful after all. Narrow down file-globs for plugin docs.
Stefan Sauer [Wed, 7 Sep 2011 13:42:37 +0000 (15:42 +0200)]
docs: fix camerabin2 names in sections.txt
Stefan Sauer [Wed, 7 Sep 2011 13:37:53 +0000 (15:37 +0200)]
kateparse: fix crap in object macros
Vincent Penquerc'h [Wed, 7 Sep 2011 11:32:48 +0000 (12:32 +0100)]
mpegvideoparse: make this build with older glib
g_list_free_full is a new convenience function.
Replace it with g_list_foreach and g_list_free.
https://bugzilla.gnome.org/show_bug.cgi?id=658450
Sebastian Dröge [Wed, 7 Sep 2011 11:46:49 +0000 (13:46 +0200)]
videoparsers: Make the h263 and (new) mpeg video parser autopluggable
George Kiagiadakis [Mon, 5 Sep 2011 17:02:57 +0000 (20:02 +0300)]
h264parse: Fix IDR position marking when the IDR is split into several NALs
Sebastian Dröge [Wed, 7 Sep 2011 09:27:56 +0000 (11:27 +0200)]
h263parse: Add all always present fields to the src template caps
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