Wim Taymans [Wed, 13 Oct 2010 09:46:58 +0000 (11:46 +0200)]
h264depay: always mark the codec_data as keyframe
We need to mark the codec_data as a keyframe or else downstream decoders might
decide to skip it, waiting for a keyframe.
Fixes #631996
Zaheer Abbas Merali [Wed, 13 Oct 2010 06:16:47 +0000 (07:16 +0100)]
matroskamux: make buffer offsets a byte count rather than a buffer count
Tim-Philipp Müller [Thu, 7 Oct 2010 20:12:48 +0000 (21:12 +0100)]
ext, gst: canonicalise property names where this wasn't the case
ie. "foo_bar" -> "foo-bar"
Thijs Vermeir [Tue, 12 Oct 2010 13:02:42 +0000 (15:02 +0200)]
rtpmpvpay: fix timestamping of rtp buffers
Incomming buffer is only pushed on the adapter at the end of the
handle_buffer function. But duration/timestamp of this buffer is already
taken into account for the current data in the adapter. This leads to
wrong rtp timestamps and extra latency.
Sebastian Dröge [Tue, 12 Oct 2010 09:37:40 +0000 (11:37 +0200)]
examples: Fix build with GTK+ 3.0
Wim Taymans [Mon, 11 Oct 2010 13:12:00 +0000 (15:12 +0200)]
rtspsrc: mark as a source
Mark the rtspsrc element as a source.
Requires 0.10.31.1 now
Sebastian Dröge [Mon, 11 Oct 2010 12:24:13 +0000 (14:24 +0200)]
autodetect: Set GST_ELEMENT_IS_SOURCE flag on sources
Sebastian Dröge [Mon, 11 Oct 2010 12:21:07 +0000 (14:21 +0200)]
switchsrc: Set the GST_ELEMENT_IS_SOURCE flag
Sebastian Dröge [Mon, 11 Oct 2010 12:17:33 +0000 (14:17 +0200)]
configure: Require core 0.10.30.1
Zaheer Abbas Merali [Sun, 10 Oct 2010 13:43:58 +0000 (14:43 +0100)]
matroskamux: set offsets on outgoing buffers
IOhannes m zmölnig [Sat, 9 Oct 2010 12:14:27 +0000 (14:14 +0200)]
v4l2sink: Only get/set overlay params if needed
it's perfectly ok for a video output device to not have overlay capabilities.
this patch removes the need to get/set the overlay parameters if the user
does not explicitely request one of the overlay properties
IOhannes m zmölnig [Thu, 30 Sep 2010 13:28:23 +0000 (15:28 +0200)]
v4l2sink: Protect against NULL-pointer access
gst_v4l2sink_change_state() would free the pool without checking whether there
was a valid pool...
David Schleef [Fri, 8 Oct 2010 19:43:51 +0000 (12:43 -0700)]
Automatic update of common submodule
From c4a8adc to 5a668bf
Sebastian Dröge [Fri, 8 Oct 2010 10:53:33 +0000 (12:53 +0200)]
Automatic update of common submodule
From 5e3c9bf to c4a8adc
Robert Swain [Wed, 6 Oct 2010 09:29:55 +0000 (11:29 +0200)]
deinterlace: Fix required fields logic
Both history_count and fields_required count from 1. As per the while loop
condition that follows this code, to perform the deinterlacing method, we need
history_count >= fields_required fields in the history. Therefore if we have
history_count < fields_required (not fields_required + 1), we need more fields.
Andoni Morales Alastruey [Mon, 20 Sep 2010 17:43:45 +0000 (19:43 +0200)]
flvmux: resend onMetada tag when tags changes in streamable mode
Arun Raghavan [Tue, 5 Oct 2010 18:40:50 +0000 (19:40 +0100)]
qtdemux: AAC codec_data can be > 2 bytes long
This fixes the assumption that DecoderSpecificInfo must be 2 bytes long
for AAC files. The specification allows HE-AAC to be explicitly
signalled in a backward compatible way. This is done by means of an
additional information after the regular AAC header. It is expected that
decoders that can play AAC but not HE-AAC will parse the header normally
and ignore extended bits, much as they do for the HE-AAC specific payload
in the actual stream.
https://bugzilla.gnome.org/show_bug.cgi?id=612313
Mark Nauwelaerts [Tue, 5 Oct 2010 14:01:19 +0000 (16:01 +0200)]
matroskademux: only unref buffer when no longer needed for cluster scanning
Fixes #629047.
Mark Nauwelaerts [Tue, 5 Oct 2010 14:00:45 +0000 (16:00 +0200)]
matroskademux: avoid infinite cluster scanning
Wim Taymans [Tue, 5 Oct 2010 10:20:52 +0000 (12:20 +0200)]
goom: take duration into account when doing QoS
Take the duration of the frames into account so that we don't drop frames that
are only partially past the QoS deadline.
Wim Taymans [Tue, 5 Oct 2010 08:40:15 +0000 (10:40 +0200)]
goom: use adapter for timestamping
Use the adapter timestamp code to get more accurate timestamps.
Fix latency calculation, we add our own latency in the worst case.
Edward Hervey [Mon, 4 Oct 2010 20:31:32 +0000 (22:31 +0200)]
raw1394: Don't compile hdv1394src if libiec61883 isn't available
Fixes #629896
Andoni Morales Alastruey [Mon, 20 Sep 2010 17:44:09 +0000 (19:44 +0200)]
icydemux: forward tag events
https://bugzilla.gnome.org/show_bug.cgi?id=630205
Wim Taymans [Mon, 4 Oct 2010 17:00:45 +0000 (19:00 +0200)]
goom2k1: report our latency correctly
Fixes #631303
Wim Taymans [Mon, 4 Oct 2010 16:56:15 +0000 (18:56 +0200)]
goom2k1: add defines for default width/height/fps
Add some defines for the default width/height/fps instead of using different
values in different places.
Wim Taymans [Mon, 4 Oct 2010 16:52:14 +0000 (18:52 +0200)]
goom: add latency compensation code.
Implement a latency query and report how much latency we will add to the
stream.
Alse make some defaults for the default width/height/framerate
Fixes #631303
Wim Taymans [Mon, 4 Oct 2010 15:56:57 +0000 (17:56 +0200)]
test: add python version of the audio sender
Add a python version of the audio sender pipeline.
Ported by Sp4rc on IRC.
Wim Taymans [Mon, 4 Oct 2010 15:52:22 +0000 (17:52 +0200)]
tests: Add python RTP client example
Add a python version of the PCMA client app.
Ported by Sp4rc on IRC.
Sebastian Dröge [Mon, 4 Oct 2010 07:39:59 +0000 (09:39 +0200)]
rtp: Fix unitialized compiler warnings on OS X build bot
These warnings are wrong though, the variables are only used in
the cases where they *are* initialized by the bit reader.
Sebastian Dröge [Sun, 3 Oct 2010 21:49:08 +0000 (23:49 +0200)]
rtpg722pay: Fix uninitialized variable compiler warning
The clock rate is always 8000 Hz according to the RFC and
the sampling rate must always be 16000 Hz.
Vladimir Eremeev [Fri, 1 Oct 2010 09:59:10 +0000 (13:59 +0400)]
rtpjitterbuffer: improve article reference in comment block
https://bugzilla.gnome.org/show_bug.cgi?id=631082
Arun Raghavan [Fri, 30 Apr 2010 15:30:31 +0000 (21:00 +0530)]
qtdemux: Use pbutils for H.264 profile/level extraction
The functions used to extract this data have been moved to gstpbutils to
facilitate reuse.
https://bugzilla.gnome.org/show_bug.cgi?id=617318
Arun Raghavan [Fri, 30 Apr 2010 15:30:31 +0000 (21:00 +0530)]
matroskademux: Use pbutils for H.264 profile/level extraction
The functions used to extract this data have been moved to gstpbutils to
facilitate reuse.
https://bugzilla.gnome.org/show_bug.cgi?id=617318
Arun Raghavan [Thu, 22 Apr 2010 14:09:47 +0000 (19:39 +0530)]
qtdemux: Export MPEG-4 video profile and level in stream caps
This uses gstpbutils to extract the profile and level from the video
object sequence and adds this to stream caps. This can be used as
metadata and for fine-grained decoder selection.
https://bugzilla.gnome.org/show_bug.cgi?id=616521
Tim-Philipp Müller [Thu, 30 Sep 2010 11:44:52 +0000 (12:44 +0100)]
qtdemux: fix aac channel override based on codec data for 7.1 case
Arun Raghavan [Fri, 30 Apr 2010 08:36:27 +0000 (14:06 +0530)]
qtdemux: Export AAC profile and level in caps
This exports the AAC profile and level in caps for use as metadata and
(eventually) for more fine-grained selection of decoders at
caps-negotiation time. (Doesn't work for HE-AAC yet though.)
https://bugzilla.gnome.org/show_bug.cgi?id=612313
Wim Taymans [Thu, 30 Sep 2010 16:34:04 +0000 (18:34 +0200)]
rtp: add G722 pay and depayloader
Thijs Vermeir [Thu, 30 Sep 2010 10:08:49 +0000 (12:08 +0200)]
rtpjitterbuffer: update link to documentation
Thijs Vermeir [Thu, 30 Sep 2010 09:34:56 +0000 (11:34 +0200)]
examples: fix indentation on rtp client example
Thijs Vermeir [Thu, 30 Sep 2010 09:33:24 +0000 (11:33 +0200)]
examples: fix typo in port of rtp examples
Tim-Philipp Müller [Wed, 29 Sep 2010 12:20:22 +0000 (13:20 +0100)]
wavenc: miniscule code clean-up
GST_CLOCK_TIME_NONE is not something that should be used in connection with
GST_FORMAT_BYTES.
Mark Nauwelaerts [Wed, 29 Sep 2010 08:34:36 +0000 (10:34 +0200)]
avidemux: reverse playback; prevent overlap of subsequent fragments
René Stadler [Tue, 28 Sep 2010 13:21:48 +0000 (16:21 +0300)]
rtspsrc: fix missing null-terminator in protocols array
Fixes random crash regression from commit ae84ae.
Wim Taymans [Fri, 24 Sep 2010 14:26:20 +0000 (16:26 +0200)]
rtspsrc: don't add /UDP in the transport, it's the default
don't add the default UDP lower-transport, some servers don't seem to like it.
Fixes #630500
Pascal Buhler [Fri, 25 Jun 2010 15:08:03 +0000 (17:08 +0200)]
rtpmanager: packet lost should not be a warning. It happens all the time...
Pascal Buhler [Fri, 24 Sep 2010 13:33:40 +0000 (15:33 +0200)]
rtpbin: Make cleaning up sources in rtp_session_on_timeout MT safe
Using _foreach_remove on the hashtable, while releasing the lock protecting
that table inside the callback is not a good idea. The hashtable might
then change (a source removed or added) while signals like on_timeout
are being sent.
This solution makes a copy of the table, performs the _foreach without
actually removing any sources, but marks them for removal on a second
iteration with the real list, but this time not letting go of the lock.
Fixes #630452
Edward Hervey [Fri, 24 Sep 2010 13:19:15 +0000 (15:19 +0200)]
id3demux: Sanitize id3 frame names
This is similar to what is done in qtdemux. Avoids providing invalid
structure/tags names
Edward Hervey [Fri, 24 Sep 2010 12:59:45 +0000 (14:59 +0200)]
apedemux: Skip empty tags
Avoid creating bogus string tags. Also added logging of the string
values of the tag name and value.
Tim-Philipp Müller [Fri, 24 Sep 2010 07:56:36 +0000 (08:56 +0100)]
soup: init debug category before using it
Pascal Buhler [Mon, 12 Apr 2010 07:49:14 +0000 (09:49 +0200)]
rtpbin: Handle rysnc of iterator when looking for free pad name
If a new pad was added while iterating then a pad could be
returned that was already in use.
Fixes #630451
Wim Taymans [Fri, 24 Sep 2010 12:09:12 +0000 (14:09 +0200)]
rtpsession: fix compilation
Trond Andersen [Wed, 7 Apr 2010 13:31:52 +0000 (15:31 +0200)]
rtpbin: Unlock before adding pad in new_payload_found
Holding internal locks while potentially calling out is a source
of deadlocks, and in this case the application might subscribe to the
pad-added signal.
Fixes #630449
Havard Graff [Mon, 31 Aug 2009 16:37:40 +0000 (18:37 +0200)]
rtpsession: relax third-party collision detection
If the source has been inactive for some time, we assume that it has
simply changed its transport source address. Hence, there is no true
third-party collision - only a simulated one.
Fixes #630447
Wim Taymans [Fri, 24 Sep 2010 11:50:02 +0000 (13:50 +0200)]
rtpsource: whitespace fixes
Wim Taymans [Fri, 24 Sep 2010 11:48:50 +0000 (13:48 +0200)]
rtpsource: simplify the rate estimation some more
Havard Graff [Mon, 31 Aug 2009 16:34:08 +0000 (18:34 +0200)]
rtpmanager: provide additional statistics
Tim-Philipp Müller [Thu, 23 Sep 2010 23:01:05 +0000 (00:01 +0100)]
configure: set plugin release datetime
Tim-Philipp Müller [Thu, 23 Sep 2010 20:21:29 +0000 (21:21 +0100)]
equalizer: fix class definitions
Class structures must be based on the parent class struct, not on
the parent instance struct.
Tim-Philipp Müller [Wed, 15 Sep 2010 19:36:33 +0000 (20:36 +0100)]
videomixer2: pre-register pad class properly with g_type_class_ref
Fix code to match the comment. Also, there's no need to register the
background enum type again, this is already done via install_property.
David Hoyt [Thu, 23 Sep 2010 19:57:18 +0000 (21:57 +0200)]
speex: Fix crashes with MSVC
Using the symbols for the different Speex modes results
in crashes when using MSVC. Use the library functions to
get the modes instead.
Fixes bug #630378.
Havard Graff [Tue, 24 Aug 2010 11:25:02 +0000 (13:25 +0200)]
level: avoid division by zero on silence
Fixes bug #630458.
Wim Taymans [Thu, 23 Sep 2010 14:46:31 +0000 (16:46 +0200)]
flvdemux: parse and use cts
For H264, there is an extra header containing the CTS, which is a timestamp
offset that should be applied to the PTS. Parse this value and use it to adjust
the pts.
Fixes #630088
Wim Taymans [Thu, 23 Sep 2010 14:45:41 +0000 (16:45 +0200)]
flvdemux: improve pts debugging
Wim Taymans [Wed, 22 Sep 2010 17:01:40 +0000 (19:01 +0200)]
pulse: add test app for pulse device probe
Wim Taymans [Wed, 22 Sep 2010 16:50:44 +0000 (18:50 +0200)]
pulse: fix device_description in READY
Make the is_dead check more clear and add an option to check for the status of
the stream in addition to the context.
We don't need a stream to get the device_description string.
Fixes #630317
Edward Hervey [Wed, 22 Sep 2010 10:56:00 +0000 (12:56 +0200)]
qtdemux: Don't post tags if there are none
And make all code go through _post_global_tags.
Wim Taymans [Wed, 22 Sep 2010 10:37:33 +0000 (12:37 +0200)]
rtph264depay: refactor and simplify AU merging
Move the processing of the NALU to a separate method.
Simplify the merging of NALU into AU and use common code when possible.
Stefan Kost [Tue, 21 Sep 2010 20:23:07 +0000 (23:23 +0300)]
shapewipe: add optional border parameter and slowdown animation
Allow to play with the border property (sharp/soft edges).
Sebastian Dröge [Tue, 21 Sep 2010 17:14:40 +0000 (19:14 +0200)]
shapewipe: Force format to AYUV in the example pipeline for the same reason
Sebastian Dröge [Tue, 21 Sep 2010 17:13:07 +0000 (19:13 +0200)]
shapewipe: Force the input to AYUV to prevent negotiation failures in videomixer
The second videotestsrc chain might produce YUY2 because everything is
accepted downstream before the first shapewipe chain gets negotiated.
Sebastian Dröge [Tue, 21 Sep 2010 17:12:45 +0000 (19:12 +0200)]
shapewipe: Improve debugging and immediately return empty caps from the getcaps functions
Edward Hervey [Tue, 21 Sep 2010 16:33:55 +0000 (18:33 +0200)]
Automatic update of common submodule
From aa0d1d0 to 5e3c9bf
Philippe Normand [Tue, 21 Sep 2010 10:49:31 +0000 (12:49 +0200)]
v4l2: use the xoverlay APIs
Philippe Normand [Tue, 21 Sep 2010 10:48:34 +0000 (12:48 +0200)]
osxvideosink: use the new xoverlay APIs
Also bumped -base requirements.
Sebastian Dröge [Tue, 21 Sep 2010 10:31:59 +0000 (12:31 +0200)]
configure: Use -DGST_DISABLE_DEPRECATED again for GIT versions
Edward Hervey [Tue, 21 Sep 2010 09:52:22 +0000 (11:52 +0200)]
souphttpsrc: Fix debug statement
Thiago Santos [Tue, 21 Sep 2010 02:17:35 +0000 (23:17 -0300)]
qtdemux: Parse uuid atoms in push mode
Parses uuid atoms in push mode when they are found, they might
contain xmp tags.
Also does a minor refactoring to put the global tags posting
into a single function instead of repeating it in 3 different
places.
Fixes #629839
Thiago Santos [Thu, 16 Sep 2010 11:04:02 +0000 (08:04 -0300)]
qtdemux: Delay tags posting a little
Delay tags posting until we've parsed all the headers so
that the native and xmp tags get merged before posting
https://bugzilla.gnome.org/show_bug.cgi?id=629839
Thiago Santos [Thu, 16 Sep 2010 01:13:43 +0000 (22:13 -0300)]
qtdemux: Parse xmp packet in uuid atom
xmp packet is placed into a top-level uuid atom for
isom/mp4 variants.
This patch makes qtdemux parse all top-level atoms
in pull-mode before starting to push data, making
it able to find those tags.
https://bugzilla.gnome.org/show_bug.cgi?id=629839
Wim Taymans [Fri, 17 Sep 2010 09:07:52 +0000 (11:07 +0200)]
rtpstats: printf format fixes
Wim Taymans [Fri, 17 Sep 2010 09:07:02 +0000 (11:07 +0200)]
rtppay: some printf format fixes
Alessandro Decina [Wed, 15 Sep 2010 16:21:11 +0000 (18:21 +0200)]
qtdemux: fix logic when pushing EOS.
Don't check for return values when pushing EOS. Still post an error if EOS is
reached and no streams have been found.
Tim-Philipp Müller [Wed, 15 Sep 2010 16:02:57 +0000 (17:02 +0100)]
docs: add gtk-doc chunks with Since: markers for new v4l2src properties
Stefan Kost [Wed, 15 Sep 2010 15:43:50 +0000 (18:43 +0300)]
camctrl: add license header to demo
Alessandro Decina [Tue, 14 Sep 2010 15:41:28 +0000 (17:41 +0200)]
qtdemux: don't send EOS twice on the same pad.
Stefan Kost [Tue, 14 Sep 2010 07:07:58 +0000 (10:07 +0300)]
pulsesink: move the shared mainloop from class to static var
Just have one static var for the shared mainloop instead of one class variable
and copies in the instance.
Wim Taymans [Mon, 13 Sep 2010 15:31:35 +0000 (17:31 +0200)]
rtpjpegpay: cleanups for DRI markers
Protect against invalid DRI markers.
do some cleanups
American Dynamics [Fri, 10 Sep 2010 15:35:53 +0000 (11:35 -0400)]
gstrtpjpegpay: Added Define Restart Interval (DRI) Marker
Added ability to detect and respond to a JPEG-defined DRI marker
Olivier Crête [Sat, 19 Jun 2010 23:20:18 +0000 (19:20 -0400)]
gstrtpsession: Split getting the caps into its own function
Wim Taymans [Mon, 13 Sep 2010 14:03:50 +0000 (16:03 +0200)]
rtpbin: small cleanup.
Stefan Kost [Mon, 13 Sep 2010 13:24:26 +0000 (16:24 +0300)]
pulsesink: rework context sharing
We also need to share the main-loop threads as this owns the context. Thus have
a class wide main-loop thread. From this we create a context per client-name.
Instead of always looking up the context, we keep this with the instance. The
reverse mapping is only needed in pulse singal handlers. This saves a lot of
locking. Also one signal handler becomes simpler as ther eis only one mainloop
to notify.
Now valgind happy - no leaks, no bad reads/writes.
This reverts major parts of commit
69a397c32f4baf07a7b2937c610f9e8f383e9ae9.
Fixes #628996
Wim Taymans [Mon, 13 Sep 2010 13:44:52 +0000 (15:44 +0200)]
rtpsession: Small cleanups
Make the property description prettier.
Actually multiple the bandwidth with the fraction.
Olivier Crête [Wed, 2 Jun 2010 01:35:40 +0000 (21:35 -0400)]
rtpsession: Calculate RTCP bandwidth as a fraction of the RTP bandwidth
Calculate the RTCP bandwidth to be a fraction of the RTP bandwidth if it is
specified as a value between 0 and 1.
Wim Taymans [Mon, 13 Sep 2010 13:29:06 +0000 (15:29 +0200)]
session: improve bandwidth recalculation
Also recalculate bandwidth when one of the source bandwidths changed.
Use the newly calculated bandwidth.
Olivier Crête [Wed, 2 Jun 2010 01:17:26 +0000 (21:17 -0400)]
rtpsession: Add the option to auto-discover the RTP bandwidth
Thijs Vermeir [Mon, 13 Sep 2010 12:38:11 +0000 (14:38 +0200)]
rtpbin: set use-pipeline-clock on correct GObject
Olivier Crête [Wed, 2 Jun 2010 21:51:12 +0000 (17:51 -0400)]
rtpsession: Initialise the average scaled by 16
Wim Taymans [Mon, 13 Sep 2010 10:41:11 +0000 (12:41 +0200)]
rtpsession: add running_time argument docs
Olivier Crête [Wed, 23 Jun 2010 20:13:01 +0000 (16:13 -0400)]
rtpstats: Rectify description of current_time in RTPArrivalStats
It is the current time, it is unrelated to when the packet was actually received.
Wim Taymans [Mon, 13 Sep 2010 10:31:40 +0000 (12:31 +0200)]
rtpsession: compute the average correctly scaled