Tim-Philipp Müller [Sun, 13 Nov 2011 18:22:06 +0000 (18:22 +0000)]
gio, appsrc, appsink, cdaudiosrc: update for GstURIHandler API changes
Tim-Philipp Müller [Sun, 13 Nov 2011 14:39:43 +0000 (14:39 +0000)]
win32: update for API changes
Tim-Philipp Müller [Sun, 13 Nov 2011 13:32:30 +0000 (13:32 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
gst-libs/gst/audio/Makefile.am
gst-libs/gst/audio/audio.h
tests/examples/seek/jsseek.c
tests/examples/seek/seek.c
tests/icles/test-colorkey.c
Tim-Philipp Müller [Sun, 13 Nov 2011 13:18:16 +0000 (13:18 +0000)]
audio: add GST_AUDIO_INFO_IS_VALID macro and use in audio decoder base class
API: GST_AUDIO_INFO_IS_VALID
Tim-Philipp Müller [Sat, 12 Nov 2011 15:51:52 +0000 (15:51 +0000)]
tests: require Gtk+ 3.0 for examples and Gtk-based test apps
The Gtk+ dependency is entirely optional, we're just not
supporting Gtk+ 2.x any longer.
Tim-Philipp Müller [Mon, 7 Nov 2011 17:36:44 +0000 (17:36 +0000)]
audio: fix order in LIBADD
Local libs must come first.
Tim-Philipp Müller [Sat, 12 Nov 2011 12:00:17 +0000 (12:00 +0000)]
po: update after library merge
Tim-Philipp Müller [Sat, 12 Nov 2011 11:56:06 +0000 (11:56 +0000)]
tests: update after type renames
Tim-Philipp Müller [Fri, 11 Nov 2011 11:29:56 +0000 (11:29 +0000)]
po: update POTFILES.in for renamed source files
Tim-Philipp Müller [Mon, 7 Nov 2011 17:36:44 +0000 (17:36 +0000)]
audio: fix order in LIBADD
Local libs must come first.
Tim-Philipp Müller [Mon, 7 Nov 2011 17:25:45 +0000 (17:25 +0000)]
tests: fix audiocdsrc for changed preroll behaviour
Previously, the source posted a TAG message before buffers would
even be pushed towards the sink, so we'd get the TAG message before
any ASYNC_DONE message. Now the tags get sent downstream to the sink
to get posted there, and the tag event will get queued and handled
later after preroll has finished, so now we get the ASYNC_DONE
message before the TAG message.
Tim-Philipp Müller [Sat, 24 Sep 2011 18:55:25 +0000 (19:55 +0100)]
tests: fix up cddabasesrc unit test for GstCddaBaseSrc -> GstAudioCdSrc renaming
Tim-Philipp Müller [Sat, 24 Sep 2011 18:35:40 +0000 (19:35 +0100)]
cdparanoia: update for GstCddaBaseSrc -> GstAudioCdSrc renaming
Tim-Philipp Müller [Sat, 24 Sep 2011 18:22:11 +0000 (19:22 +0100)]
cdda: rename GstCddaBaseSrc to GstAudioCdSrc and move to libgstaudio
Another mini-lib down, to make space for new mini libs.
Remove bogus copyright line while at it.
Christian Fredrik Kalager Schaller [Sat, 12 Nov 2011 09:56:04 +0000 (09:56 +0000)]
update spec file for latest 0.11 changes
René Stadler [Sat, 12 Nov 2011 00:38:37 +0000 (01:38 +0100)]
audioconvert, videoconvert: fix caps leak in transform_caps
René Stadler [Fri, 11 Nov 2011 19:19:53 +0000 (20:19 +0100)]
audioconvert: fix leak of channel matrix
gst_channel_mix_unset_matrix relies on the channel count to free the matrix
array, so run it before resetting it to zero with gst_audio_info_init.
René Stadler [Fri, 11 Nov 2011 18:55:41 +0000 (19:55 +0100)]
videotestsrc: fix crash with ARGB64
This got broken when it was ported.
René Stadler [Fri, 11 Nov 2011 18:53:11 +0000 (19:53 +0100)]
video: init chroma-size and colorimetry members even if missing from caps
This makes a TRUE return from gst_video_info_from_caps fully consistent with
gst_video_info_init.
Wim Taymans [Fri, 11 Nov 2011 18:36:23 +0000 (19:36 +0100)]
Merge branch 'master' into 0.11
Wim Taymans [Fri, 11 Nov 2011 18:35:33 +0000 (19:35 +0100)]
rtsp: cleanup headers
Add padding, fix indentation, remove deprecated stuff
Wim Taymans [Fri, 11 Nov 2011 18:21:09 +0000 (19:21 +0100)]
rtp: fix headers
indent, add padding, remove old abidata
Wim Taymans [Fri, 11 Nov 2011 18:16:54 +0000 (19:16 +0100)]
remove padding from interfaces
Wim Taymans [Fri, 11 Nov 2011 18:16:12 +0000 (19:16 +0100)]
fix docs
Wim Taymans [Fri, 11 Nov 2011 18:14:26 +0000 (19:14 +0100)]
mixertrack: fix docs
Wim Taymans [Fri, 11 Nov 2011 18:13:52 +0000 (19:13 +0100)]
audio: fix docs
Wim Taymans [Fri, 11 Nov 2011 18:01:56 +0000 (19:01 +0100)]
pbutils: clean up headers
Add padding
indent
Wim Taymans [Fri, 11 Nov 2011 17:49:09 +0000 (18:49 +0100)]
interfaces: clean up
Remove deprecated bits
Fix FIXMES
Indent
Add padding
Wim Taymans [Fri, 11 Nov 2011 17:23:22 +0000 (18:23 +0100)]
fft: fix headers
More fft structure into .c file
indent headers
Wim Taymans [Fri, 11 Nov 2011 16:53:03 +0000 (17:53 +0100)]
audio: fix headers
Add const to some methods.
Add padding.
Add GType for GstAudioInfo and GstAudioFormatInfo.
Add new/copy/free for GstAudioInfo.
Wim Taymans [Fri, 11 Nov 2011 16:52:36 +0000 (17:52 +0100)]
app: fix headers
Tim-Philipp Müller [Fri, 11 Nov 2011 13:32:23 +0000 (13:32 +0000)]
playsinkconvertbin: fix visualisations again
Make caps writable before merging other caps into them.
Wim Taymans [Fri, 11 Nov 2011 12:14:21 +0000 (13:14 +0100)]
video: add support for max-framerate
Add support for max-framerate in the video helpers and update the video
caps document.
Wim Taymans [Fri, 11 Nov 2011 12:12:27 +0000 (13:12 +0100)]
make the identity silent
Wim Taymans [Fri, 11 Nov 2011 11:35:50 +0000 (12:35 +0100)]
remove bogus file
Wim Taymans [Fri, 11 Nov 2011 11:32:23 +0000 (12:32 +0100)]
rename files to match object names
Wim Taymans [Fri, 11 Nov 2011 11:24:08 +0000 (12:24 +0100)]
rename BaseRTP -> RTPBase
Wim Taymans [Fri, 11 Nov 2011 11:00:52 +0000 (12:00 +0100)]
rename baseaudio* -> audiobase*
Wim Taymans [Fri, 11 Nov 2011 10:52:47 +0000 (11:52 +0100)]
rename GstBaseAudio* ->GstAudioBase*
Wim Taymans [Fri, 11 Nov 2011 10:33:15 +0000 (11:33 +0100)]
rename files to match contained objects
Wim Taymans [Fri, 11 Nov 2011 10:21:41 +0000 (11:21 +0100)]
audio: GstRingBuffer -> GstAudioRingBuffer
Wim Taymans [Fri, 11 Nov 2011 09:54:39 +0000 (10:54 +0100)]
audio: rename internal audio ringbuffer
Wim Taymans [Fri, 11 Nov 2011 09:27:27 +0000 (10:27 +0100)]
remove bogus files
They got somehow commited in
7012e88090e69339c60a4eb9449f7a7e39ca6aa3
Stefan Sauer [Thu, 10 Nov 2011 21:02:35 +0000 (23:02 +0200)]
controller: port controller api changes
Wim Taymans [Thu, 10 Nov 2011 17:32:39 +0000 (18:32 +0100)]
update for adapter api changes
Wim Taymans [Thu, 10 Nov 2011 17:30:31 +0000 (18:30 +0100)]
tests: fix build after removal of base64 lib
Wim Taymans [Thu, 10 Nov 2011 16:52:36 +0000 (17:52 +0100)]
videosink: reset padding
Wim Taymans [Thu, 10 Nov 2011 16:39:10 +0000 (17:39 +0100)]
rtsp: remove deprecated base64 library
Wim Taymans [Thu, 10 Nov 2011 16:26:12 +0000 (17:26 +0100)]
Merge branch 'master' into 0.11
Wim Taymans [Thu, 10 Nov 2011 16:18:00 +0000 (17:18 +0100)]
rtp: fix de/payloaders
gst_basertppayload -> gst_base_rtp_payload
Add pts/dts support in the depayloader
Remove old timestamp code
Add a default getcaps function so subclasses can chain up to it instead of
relying on the return value of the getcaps function.
Vincent Penquerc'h [Thu, 10 Nov 2011 15:55:31 +0000 (15:55 +0000)]
baseaudiosink: make unsigned properties unsigned, not signed
Wim Taymans [Thu, 10 Nov 2011 15:24:12 +0000 (16:24 +0100)]
audio: fix base class vmethods
Wim Taymans [Thu, 10 Nov 2011 15:02:01 +0000 (16:02 +0100)]
alsa: fix negotiation
Don't assume the format is a string because now it is a list of string in the
template.
Chain up to the parent class implementation of get_caps.
Wim Taymans [Thu, 10 Nov 2011 15:00:28 +0000 (16:00 +0100)]
audiosrc: avoid deadlock
Vincent Penquerc'h [Thu, 10 Nov 2011 14:37:02 +0000 (14:37 +0000)]
vorbisenc: fix getcaps ignoring filter caps
Vincent Penquerc'h [Thu, 10 Nov 2011 14:24:30 +0000 (14:24 +0000)]
audioconvert: truncate caps in _fixate
Otherwise the resulting caps may not be fixed.
Vincent Penquerc'h [Thu, 10 Nov 2011 14:18:54 +0000 (14:18 +0000)]
oggdemux: do not try to write empty header buffers
Those are valid, and the EOS skeleton packet is actually empty.
Vincent Penquerc'h [Thu, 10 Nov 2011 13:02:13 +0000 (13:02 +0000)]
oggmux: split request pad templates into audio/video/subtitle
https://bugzilla.gnome.org/show_bug.cgi?id=663766
Wim Taymans [Thu, 10 Nov 2011 12:50:08 +0000 (13:50 +0100)]
audioclock: remove _full version
Wim Taymans [Thu, 10 Nov 2011 12:45:39 +0000 (13:45 +0100)]
appsink: fix header
Edward Hervey [Thu, 10 Nov 2011 11:47:51 +0000 (12:47 +0100)]
pbutils: Fix introspection annotations
Fixes #663689
Edward Hervey [Thu, 10 Nov 2011 10:42:10 +0000 (11:42 +0100)]
tests: Remove old structures from struct_arm.h
Wim Taymans [Thu, 10 Nov 2011 10:02:12 +0000 (11:02 +0100)]
update for removed fixate functions
Wim Taymans [Wed, 9 Nov 2011 16:37:31 +0000 (17:37 +0100)]
upates for new ACCEPT_CAPS query
Wim Taymans [Wed, 9 Nov 2011 11:11:59 +0000 (12:11 +0100)]
Merge branch 'master' into 0.11
Conflicts:
common
ext/pango/gsttextoverlay.c
gst-libs/gst/video/video.c
Wim Taymans [Wed, 9 Nov 2011 10:47:54 +0000 (11:47 +0100)]
remove query types
Wim Taymans [Wed, 9 Nov 2011 10:06:10 +0000 (11:06 +0100)]
remove streamselector
It was only used by playbin, which is gone now
Wim Taymans [Wed, 9 Nov 2011 09:53:38 +0000 (10:53 +0100)]
streamselector: GstSelectorPad -> GstStreamSelectorPad
Rename object to avoid conflicts with an object of the same name in core.
Wim Taymans [Wed, 9 Nov 2011 09:37:02 +0000 (10:37 +0100)]
streamselector: cleanups
Tim-Philipp Müller [Wed, 9 Nov 2011 00:36:51 +0000 (00:36 +0000)]
configure: suppress warnings about unused variables if debugging system is disabled in core
https://bugzilla.gnome.org/show_bug.cgi?id=662952
Vincent Penquerc'h [Thu, 27 Oct 2011 13:48:52 +0000 (14:48 +0100)]
textoverlay: continue processing text when silent
This prevents playback wegding when text buffers are
left to pile up.
https://bugzilla.gnome.org/show_bug.cgi?id=662829
Wim Taymans [Tue, 8 Nov 2011 10:07:18 +0000 (11:07 +0100)]
update for pad probe api changes
Stefan Sauer [Tue, 8 Nov 2011 07:22:56 +0000 (08:22 +0100)]
video: log important details and fix format strings
If we complain about wrong parameters passed, also log the actual value.
Tim-Philipp Müller [Tue, 8 Nov 2011 00:16:56 +0000 (00:16 +0000)]
win32: update .def file for new audiosink API
API: gst_base_audio_sink_get_alignment_threshold()
API: gst_base_audio_sink_set_alignment_threshold()
API: gst_base_audio_sink_get_discont_wait()
API: gst_base_audio_sink_set_discont_wait()
Tim-Philipp Müller [Mon, 7 Nov 2011 23:41:33 +0000 (23:41 +0000)]
examples: sprinkle GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS in seek test utility
https://bugzilla.gnome.org/show_bug.cgi?id=630497
Tim-Philipp Müller [Mon, 7 Nov 2011 23:05:44 +0000 (23:05 +0000)]
docs: fix up some Since: markers
Vincent Penquerc'h [Mon, 7 Nov 2011 18:19:51 +0000 (18:19 +0000)]
videoconvert: fix r210 writing only half a scanline
Wim Taymans [Mon, 7 Nov 2011 16:18:06 +0000 (17:18 +0100)]
Merge branch 'master' into 0.11
Wim Taymans [Mon, 7 Nov 2011 16:10:48 +0000 (17:10 +0100)]
fix for new pad probe types
Restore the previous behaviour by only blocking downstream items and not
upstream events.
Vincent Penquerc'h [Fri, 4 Nov 2011 10:34:27 +0000 (10:34 +0000)]
theoraenc: fix speed level failure test
It was testing the opposite of what it thought it was.
https://bugzilla.gnome.org/show_bug.cgi?id=663390
Vincent Penquerc'h [Fri, 4 Nov 2011 10:57:40 +0000 (10:57 +0000)]
theoraenc: make logically static const data just so
https://bugzilla.gnome.org/show_bug.cgi?id=663391
Vincent Penquerc'h [Fri, 4 Nov 2011 10:58:15 +0000 (10:58 +0000)]
theoraenc: use th_packet_iskeyframe instead of peeking at bits
https://bugzilla.gnome.org/show_bug.cgi?id=663391
Vincent Penquerc'h [Fri, 4 Nov 2011 10:59:00 +0000 (10:59 +0000)]
theoraenc: trivial comment typos fixes
https://bugzilla.gnome.org/show_bug.cgi?id=663391
Vincent Penquerc'h [Fri, 4 Nov 2011 10:59:12 +0000 (10:59 +0000)]
theoraenc: warn when trying to set an ignored obsolete property
https://bugzilla.gnome.org/show_bug.cgi?id=663391
Vincent Penquerc'h [Fri, 4 Nov 2011 11:10:46 +0000 (11:10 +0000)]
theoraenc: refuse to get to READY if the encoder was disabled
https://bugzilla.gnome.org/show_bug.cgi?id=663391
Vincent Penquerc'h [Tue, 18 Oct 2011 16:58:49 +0000 (17:58 +0100)]
oggdemux: survive skeleton finding length behind our backs in push mode
In push mode, we determine duration by doing a seek to the end of the
stream. However, a skeleton stream with an index will cause the duration
to be known already, and we end up never setting the push_time_duration
variable which we use to know duration has been determined.
https://bugzilla.gnome.org/show_bug.cgi?id=662049
Vincent Penquerc'h [Wed, 5 Oct 2011 14:29:54 +0000 (15:29 +0100)]
valgrind: add ALSA leaks fixed by snd_config_update_free_global
If they go when calling snd_config_update_free_global, they're
not really bug leaks, but more like intentional ones we don't
want to get told about.
https://bugzilla.gnome.org/show_bug.cgi?id=615342
Wim Taymans [Mon, 7 Nov 2011 11:43:37 +0000 (12:43 +0100)]
convertbin: port to 0.11 again
Wim Taymans [Mon, 7 Nov 2011 11:23:15 +0000 (12:23 +0100)]
Merge branch 'master' into 0.11
Conflicts:
common
configure.ac
gst-libs/gst/audio/gstbaseaudiosink.c
gst/playback/gstdecodebin2.c
gst/playback/gstplaysinkaudioconvert.c
gst/playback/gstplaysinkaudioconvert.h
gst/playback/gstplaysinkvideoconvert.c
gst/playback/gstplaysinkvideoconvert.h
Felipe Contreras [Mon, 2 May 2011 10:05:28 +0000 (13:05 +0300)]
baseaudiosink: make discont-wait configurable
Now we can configure how much time to wait before deciding that a
discont has happened.
Also, adds getter and setter to allow derived implementations to set
this value upon construction.
Suggestions and several improvements by Havard Graff.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Felipe Contreras [Mon, 7 Nov 2011 10:31:47 +0000 (11:31 +0100)]
baseaudiosink: delay the resyncing of timestamp vs ringbuffertime
A common problem for audio-playback is that the timestamps might not
be completely linear. This is specially common when doing streaming over
a network, where you can have jittery and/or bursty packettransmission,
which again will often be reflected on the buffertimestamps.
Now, the current implementation have a threshold that says how far the
buffertimestamp is allowed o drift from the ideal aligned time in the
ringbuffer. This was an instant reaction, and ment that if one buffer
arrived with a timestamp that would breach the drift-tolerance, a resync
would take place, and the result would be an audible gap for the
listener.
The annoying thing would be that in the case of a "timestamp-outlier",
you would first resync one way, say +100ms, and then, if the next
timestamp was "back on track", you would end up resyncing the other way
(-100ms) So in fact, when you had only one buffer with slightly off
timestamping, you would end up with *two* audible gaps. This is the
problem this patch addresses.
The way to "fix" this problem with the previous implementation, would
have been to increase the "drift-tolerance" to a value that was greater
than the largest timestamp-outlier one would normally expect. The big
problem with this approach, however, is that it will allow normal
operations with a huge offset timestamp vs running-time, which is
detrimental to lip-sync. If the drift-tolerance is set to 200ms, it
basically means that lip-sync can easily end up being off by that much.
This patch will basically start a timer when the first breach of
drift-tolerance is detected. If any following timestamp for the next n
nanoseconds gets "back on track" within the threshold, it has basically
eliminated the effect of an outlier, and the timer is stopped. If,
however, all timestamps within this time-limit are breaching the
threshold, we are probably facing a more permanent offset in the
timestamps, and a resync is allowed to happen.
So basically this patch offers something as rare as both higher
accuracy, it terms of allowing smaller drift-tolerances, as well as much
smoother, less glitchy playback!
Commit message and improvments by Havard Graff.
Fixes bug #640859.
Felipe Contreras [Mon, 7 Nov 2011 10:18:34 +0000 (11:18 +0100)]
baseaudiosink: rename some variables
Felipe Contreras [Sat, 21 May 2011 13:16:42 +0000 (16:16 +0300)]
baseaudiosink: use gst_util_uint64_scale_int when appropriate
It's probably safer this way.
Felipe Contreras [Sat, 21 May 2011 12:49:20 +0000 (15:49 +0300)]
baseaudiosink: split drift-tolerance into alignment-threshold
So that drift-tolerance is used for clock slaving resync, and
alignment-threshold is for timestamp drift.
Felipe Contreras [Sat, 21 May 2011 13:02:36 +0000 (16:02 +0300)]
baseaudiosink: trivial comment fixes
Some found by Havard Graff.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Stefan Sauer [Fri, 4 Nov 2011 21:00:43 +0000 (22:00 +0100)]
adder: don't ref NULL caps
Stefan Sauer [Fri, 4 Nov 2011 20:00:29 +0000 (21:00 +0100)]
volume: use new api to check activity of a controller
Stefan Sauer [Fri, 4 Nov 2011 14:23:25 +0000 (15:23 +0100)]
controller: port to new location and api changes
Wim Taymans [Fri, 4 Nov 2011 16:40:01 +0000 (17:40 +0100)]
playback: name conversion elements differently
Stefan Sauer [Fri, 4 Nov 2011 14:36:25 +0000 (15:36 +0100)]
build: add audio libs (pulled by pbutils) to avoid linking against system version