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
Olivier Crête [Wed, 2 Jun 2010 00:31:18 +0000 (20:31 -0400)]
rtpsession: Count sent RTCP packets after they have been finished
If they are counted before calling gst_rtcp_buffer_end(), then the
size is way too big.
Olivier Crête [Tue, 1 Jun 2010 23:51:34 +0000 (19:51 -0400)]
gstrtpsession: Don't unref pads in finalize
The gstrtpsession object is not holding any reference to them directly
Tim-Philipp Müller [Sat, 11 Sep 2010 23:09:09 +0000 (00:09 +0100)]
po: update translations for new souphttpsrc messages
Tim-Philipp Müller [Sat, 11 Sep 2010 23:08:05 +0000 (00:08 +0100)]
soup: hook up i18n bits for plugin
Call bindtextdomain() etc.
Tim-Philipp Müller [Sat, 11 Sep 2010 23:04:42 +0000 (00:04 +0100)]
soup: fix error messages
Error messages should be translated. URIs and filenames should not
be part of the error message string that's shown to the user.
soup_message->reason_phrase is not translated and not suitable as
error message for users (see libsoup documentation). Also fix up
error codes a bit, as far as possible with the existing codes.
Tim-Philipp Müller [Fri, 10 Sep 2010 08:43:24 +0000 (09:43 +0100)]
jpegdec: don't post an error message if buffer alloc fails with NOT_LINKED flow
This is not fatal, let upstream handle it.
Wim Taymans [Fri, 10 Sep 2010 16:06:48 +0000 (18:06 +0200)]
rtspsrc: don't clear sdp when set as uri
when we set the SDP with an uri, don't clear it when we go to READY.
Wim Taymans [Fri, 10 Sep 2010 16:01:18 +0000 (18:01 +0200)]
rtspsrc: use sdp uri parse method
Use the sdp parse method that does proper uri escaping.
Stefan Kost [Fri, 10 Sep 2010 13:59:10 +0000 (16:59 +0300)]
example: add v4l2 example, demonstrating the use of gst controller
Stefan Kost [Fri, 10 Sep 2010 13:55:25 +0000 (16:55 +0300)]
v4l2src: don't skip calculating the duration
Stefan Kost [Tue, 22 Jun 2010 12:48:04 +0000 (15:48 +0300)]
v4l2src: add controlable colorbalance parameters
Expose colorbalance controls as object properties (like we do on xvimagesink).
Make them controlable.
Mark Nauwelaerts [Fri, 10 Sep 2010 11:25:39 +0000 (13:25 +0200)]
rtpmparobustdepay: fix some mis-implementation
Also add some debug.
Mark Nauwelaerts [Fri, 10 Sep 2010 11:24:02 +0000 (13:24 +0200)]
rtpmparobustdepay: properly insert dummy buffers
Wim Taymans [Fri, 10 Sep 2010 09:55:26 +0000 (11:55 +0200)]
rtspsrc: add rtsp-sdp protocol support
Allow setting an SDP with the rtsp-sdp:// url.
Based on patch from Marco Ballesio.
See #628214
Alessandro Decina [Fri, 10 Sep 2010 09:35:58 +0000 (11:35 +0200)]
alphacolor: make passthrough work.
Stefan Kost [Thu, 9 Sep 2010 18:43:40 +0000 (21:43 +0300)]
mp4adepay: small logging cleanup and addition to debug config parsing
Stefan Kost [Thu, 9 Sep 2010 18:42:46 +0000 (21:42 +0300)]
aasink: fix context initialisation and freeing to not leak
Stefan Kost [Thu, 9 Sep 2010 18:40:51 +0000 (21:40 +0300)]
tests: allow running state tests for all elements
Now one can use GST_NO_STATE_IGNORE_ELEMENTS=1 make generic/states.check
to try elements that would normaly be skipped.
Wim Taymans [Thu, 9 Sep 2010 16:47:56 +0000 (18:47 +0200)]
tests: fix rtpjpegpay test
Make the data we send to the jpeg payloader be a valid jpeg file because the
payloader now expects this.
Wim Taymans [Thu, 9 Sep 2010 16:47:11 +0000 (18:47 +0200)]
rtpjpegpay: improve debugging
Mark Nauwelaerts [Thu, 9 Sep 2010 14:31:56 +0000 (16:31 +0200)]
rtpmparobustdepay: use valid bitrate for dummy frame
Thiago Santos [Wed, 8 Sep 2010 20:07:53 +0000 (17:07 -0300)]
id3v2mux: Adds mapping for album artist
Maps GST_TAG_ALBUM_ARTIST to TPE2 in id3v2mux
Sebastian Dröge [Wed, 8 Sep 2010 16:35:08 +0000 (18:35 +0200)]
configure: Require orc 0.4.8
The deinterlace plugin apparently fails to compile with older versions.
Mark Nauwelaerts [Wed, 8 Sep 2010 15:50:11 +0000 (17:50 +0200)]
matroskademux: QoS handling logic only applies to forward playback
Fixes #628894.
Stefan Kost [Wed, 8 Sep 2010 14:43:47 +0000 (17:43 +0300)]
pulsesink: remove unused code
Stefan Kost [Wed, 8 Sep 2010 11:36:48 +0000 (14:36 +0300)]
pulsesink: fixup last commit
We need to prevent the eventual leak better.
Stefan Kost [Wed, 8 Sep 2010 11:16:58 +0000 (14:16 +0300)]
pulsesink: code cleanups
Use g_slist_prepend as we don't care about the order. Check for list == NULL
instead of iterating the list to see if it is empty. Move ctx allocation down
to prevent leak in case of failure.
Sebastian Dröge [Wed, 8 Sep 2010 05:13:42 +0000 (07:13 +0200)]
rtpjpegpay: Fix uninitialized variable compiler warning
Fixes bug #629018.
Wim Taymans [Tue, 7 Sep 2010 17:02:01 +0000 (19:02 +0200)]
pulsesink: simplify clock provide code
Don't leak the pulsesink element by having the clock keep a ref to the sink.
Create the clock only once in the constructor and use the baseaudiosink clock
cleanup code.
Stefan Kost [Tue, 7 Sep 2010 14:49:05 +0000 (17:49 +0300)]
pulsesink: move the context table init to _get_type phase
This seems to fix the invalid reads on context shutdown better, altough
I can't really explain.
Wim Taymans [Tue, 7 Sep 2010 15:06:02 +0000 (17:06 +0200)]
qtdemux: use older g_array_free
g_array_unref() is only since 2.22
Wim Taymans [Tue, 7 Sep 2010 14:49:16 +0000 (16:49 +0200)]
jpegdec: avoid invalid adapter flush on QoS
First store the available data in the adapter in the rem_img_len instance field
before trying to flush the adapter with that value on QoS.
Wim Taymans [Tue, 7 Sep 2010 14:40:08 +0000 (16:40 +0200)]
rtpjpegpay: do some more sanitity checks
Protect some more against invalid input.
American Dynamics [Tue, 7 Sep 2010 13:20:12 +0000 (15:20 +0200)]
jpegpay: handle corrupted jpeg better
Protect against corrupted jpeg input.
Wim Taymans [Tue, 7 Sep 2010 11:55:04 +0000 (13:55 +0200)]
rvawdepay: cleanup unused fields
Wim Taymans [Tue, 7 Sep 2010 11:51:37 +0000 (13:51 +0200)]
vrawdepay: handle invalid payload better
Make sure we don't read more data than available in the input buffer.
Clip the input data into the output buffer.
Stefan Kost [Mon, 16 Aug 2010 12:35:51 +0000 (15:35 +0300)]
pulse: allow setting stream properties
Add a "properties" property to the elements to allow setting extra stream
properties.
Fixes #537544
Tim-Philipp Müller [Tue, 7 Sep 2010 11:08:10 +0000 (12:08 +0100)]
docs: remove introspection info for gdkpixbuf3 plugin and update version for others
The versions got accidentally reverted to a pre-release version, fix that.
Tim-Philipp Müller [Tue, 7 Sep 2010 10:42:10 +0000 (11:42 +0100)]
Automatic update of common submodule
From c2e10bf to aa0d1d0
Tim-Philipp Müller [Tue, 7 Sep 2010 08:20:03 +0000 (09:20 +0100)]
cmmldec: fix flow return handling
Fix buggy GST_FLOW_IS_FATAL substitution, and 'make check':
- if (!GST_FLOW_IS_FATAL (dec->flow_return) && !dec->sent_root) {
+ if (dec->flow_return != GST_FLOW_OK && !dec->sent_root) {
Stefan Kost [Mon, 6 Sep 2010 21:27:07 +0000 (00:27 +0300)]
pulsesink: don't free the context multiple times
Apparently the close function of the ring-buffer can be called multiple times.
Stefan Kost [Thu, 12 Aug 2010 09:33:06 +0000 (12:33 +0300)]
rtpmp4adepay: grab the sampling arte and put into caps
This is needed to be able to mux the received audio into mp4 (in the case of
aac). Fixes #625825.
Tim-Philipp Müller [Mon, 6 Sep 2010 13:40:02 +0000 (14:40 +0100)]
rtp: mark constant tables as const
Mark Nauwelaerts [Wed, 18 Aug 2010 12:40:48 +0000 (14:40 +0200)]
rtpamrpay: properly support perfect-rtptime
Mark Nauwelaerts [Wed, 18 Aug 2010 09:42:33 +0000 (11:42 +0200)]
rtpamrpay: proper duration for multiple frame payload
Mark Nauwelaerts [Wed, 18 Aug 2010 09:42:07 +0000 (11:42 +0200)]
rtpamr(de)pay: support AMR-WB SID frame
Mark Nauwelaerts [Wed, 18 Aug 2010 09:39:06 +0000 (11:39 +0200)]
rtpg729pay: properly support perfect-rtptime
Mark Nauwelaerts [Mon, 16 Aug 2010 14:08:04 +0000 (16:08 +0200)]
qtdemux: improve framerate determining
Collect a limited number of starting sample durations and use the median of
those to determine caps framerate.
Mark Nauwelaerts [Tue, 17 Aug 2010 10:08:10 +0000 (12:08 +0200)]
matroskademux: attempt more resync upon (cluster) parse error
That is, if parse error occurs in state requiring to move to next cluster,
and doing so to the expected next position of cluster fails, then scan for a
next cluster from present position and resume from there.
Fixes #620790.
Mark Nauwelaerts [Mon, 16 Aug 2010 14:05:41 +0000 (16:05 +0200)]
matroskademux: not so fatal error handling
If some bits out of place in block(group) parsing, forego and move to next.
Also skip large blocks in pull mode, but need to give up in push mode.
Fixes #626463.
Improves #620790.
Mark Nauwelaerts [Mon, 26 Jul 2010 13:51:49 +0000 (15:51 +0200)]
matroskademux: additional parse recovery
In particular, upon parse failure in one cluster, we may forego remaining
content and try resuming from next cluster onwards.
Fixes #620790.
American Dynamics [Mon, 6 Sep 2010 10:22:11 +0000 (12:22 +0200)]
rtspsrc: Add property to configure udpsrc buffer size
Add a new udp-buffer-size property to configure the buffer-size on the udpsrc
elements.
Fixes #628058
Wim Taymans [Fri, 27 Aug 2010 15:58:47 +0000 (17:58 +0200)]
rtpbin: add ntp-sync property
Add an ntp-sync property that will sync the received streams to the server
NTP time. This requires synchronized NTP times between the sender and receivers,
like with ntpd.
Based on patch from Thijs Vermeir.
Fixes #627796
Wim Taymans [Fri, 27 Aug 2010 10:14:25 +0000 (12:14 +0200)]
jitterbuffer: rename a variable to avoid confusion
Wim Taymans [Fri, 27 Aug 2010 09:07:34 +0000 (11:07 +0200)]
rtpbin: rename some variables for less confusion
Wim Taymans [Fri, 27 Aug 2010 08:41:01 +0000 (10:41 +0200)]
rtpjitterbuffer: move comment where it belongs
Wim Taymans [Thu, 26 Aug 2010 14:00:38 +0000 (16:00 +0200)]
session: minor cleanups
Make clock snapshots more accurate by only sampling the same clock once.
Thijs Vermeir [Thu, 26 Aug 2010 08:58:26 +0000 (10:58 +0200)]
rtpbin: add use-pipeline-clock property
With this property RTCP SR NTP times can be based
on the system clock (maybe synced with ntpd) or the
current pipeline clock.
https://bugzilla.gnome.org/show_bug.cgi?id=627796
Wim Taymans [Wed, 25 Aug 2010 07:58:20 +0000 (09:58 +0200)]
rtspext: stop configuration on first failure
Stop the configuration of a stream as soon as some of the extensions return
FALSE.
Fixes #581294
Wim Taymans [Fri, 20 Aug 2010 13:35:27 +0000 (15:35 +0200)]
multifdsink: use refcount to count host/port duplicates
Instead of adding multiple client structures for the same host/port pair, use a
refcount.
Add a send-duplicates feature that allows you to disable sending multiple copies
of the same packet to the same host when it was added multiple times. The
send-duplicates property is by default set to TRUE for backwards compatibility
although it is very likely that this is not desired behaviour.
Wim Taymans [Thu, 19 Aug 2010 15:06:26 +0000 (17:06 +0200)]
rtspsrc: implement custom event handler
Extend the _push_event() function so that it can also send events to the udp
sources when asked.
Implement a custum send_event function that correctly dispatches the downstream
events in TCP mode. This fixes sending EOS to rtspsrc and have it push the EOS
downstream.
Wim Taymans [Thu, 19 Aug 2010 09:37:04 +0000 (11:37 +0200)]
pulsesrc: use _get_caps_reffed() when we can
Use _get_caps_reffed()
Add some more debug when opening the server connection.
Wim Taymans [Mon, 16 Aug 2010 09:29:07 +0000 (11:29 +0200)]
jpegdepay: handle DISCONT and reset state
Put a DISCONT event on the next output buffer when the input buffer had a
DISCONT.
Make sure we clear our adapter and reset our state before going to PAUSED.
Free the qtables.
Fixes #626869
Wim Taymans [Mon, 16 Aug 2010 09:27:53 +0000 (11:27 +0200)]
g729pay: extend from right parent
Stefan Kost [Mon, 6 Sep 2010 06:57:10 +0000 (09:57 +0300)]
pulsesink: add since docs for new property.
Stefan Kost [Mon, 30 Aug 2010 13:45:48 +0000 (16:45 +0300)]
qtdemux: use GST_BOILERPLATE macro
Stefan Kost [Mon, 16 Aug 2010 14:23:58 +0000 (17:23 +0300)]
videmixer: add a example showing how to use the child properties
Show how to position and set the alpho of the videos on gst-launch.
Stefan Kost [Mon, 16 Aug 2010 12:19:38 +0000 (15:19 +0300)]
pulsesrc: move the property-setter to the getter.
Stefan Kost [Wed, 11 Aug 2010 12:48:18 +0000 (15:48 +0300)]
spectrum only aggregate magnitude/phase if user asks for it
Stefan Kost [Wed, 11 Aug 2010 12:45:56 +0000 (15:45 +0300)]
spectrum: improve performance with local vars
Use 'input' instead of 'spectrum->input' which was intende already (variable
exists, but not used everywhere). Also use a local version of
'spectrum->input_pos'.
Stefan Kost [Wed, 11 Aug 2010 12:44:03 +0000 (15:44 +0300)]
spectrum: code cleanup
More comments and logging. Extract one complex condition to a variable. Reorder
some code for readability.
Stefan Kost [Wed, 11 Aug 2010 12:40:09 +0000 (15:40 +0300)]
spectrum: improve property setter
consistently only update if the property actualy changed the value. Do it
without reading the gvalue twice. No need to reset the spectrum analyzer for
threshold changes.
Stefan Kost [Wed, 11 Aug 2010 12:38:24 +0000 (15:38 +0300)]
spectrum: add helper to only flush ringbuffer data without resetting the fft
Reduces some duplicated code as well.