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
Wim Taymans [Fri, 4 Nov 2011 12:21:24 +0000 (13:21 +0100)]
ringbuffer: store bpf in the right variable
Wim Taymans [Fri, 4 Nov 2011 12:01:52 +0000 (13:01 +0100)]
docs: fix some docs
Wim Taymans [Fri, 4 Nov 2011 12:00:36 +0000 (13:00 +0100)]
uridecodebin: fix template name
Wim Taymans [Fri, 4 Nov 2011 11:53:33 +0000 (12:53 +0100)]
oggdemux: fix somtimes pad
Wim Taymans [Fri, 4 Nov 2011 09:48:50 +0000 (10:48 +0100)]
fix pad template names for request pads
Sebastian Dröge [Fri, 4 Nov 2011 09:37:12 +0000 (10:37 +0100)]
subtitleoverlay: Use gst_caps_merge() instead of gst_caps_union()
This keeps the caps order and is more efficient.
Sebastian Dröge [Fri, 4 Nov 2011 09:36:51 +0000 (10:36 +0100)]
playsinkconvertbin: Use gst_caps_merge() instead of gst_caps_union()
This keeps the caps order and is more efficient.
Edward Hervey [Fri, 4 Nov 2011 07:41:00 +0000 (08:41 +0100)]
rtpbuffer: Fix compilation issues with gcc 4.6.1
Edward Hervey [Fri, 4 Nov 2011 07:58:23 +0000 (08:58 +0100)]
win32: Update for modified API
Edward Hervey [Fri, 4 Nov 2011 07:57:45 +0000 (08:57 +0100)]
Really remove all mention of gstnetbuffer
Reynaldo H. Verdejo Pinochet [Fri, 4 Nov 2011 00:35:38 +0000 (21:35 -0300)]
Add missing default include paths to androgenizer call
Fixes building tag/ with Android's NDK
Wim Taymans [Thu, 3 Nov 2011 16:58:57 +0000 (17:58 +0100)]
update for request pads change.
Wim Taymans [Thu, 3 Nov 2011 15:48:51 +0000 (16:48 +0100)]
net: remove net library, it's now in core
Mart Raudsepp [Thu, 3 Nov 2011 12:10:31 +0000 (14:10 +0200)]
decodebin2: Post all source pads in stream-topology messages as "element-srcpad" values
This allows us to easily get ahold of all pads on a stream-topology message, including
pre-decoder ones, while "pad" only gives us access to the raw pads (as used by discoverer).
Mart Raudsepp [Thu, 20 Oct 2011 10:04:52 +0000 (13:04 +0300)]
decodebin2: Use existing "caps" quark for one of the structure sets
Wim Taymans [Thu, 3 Nov 2011 13:19:50 +0000 (14:19 +0100)]
tests: fix netbuffer test
Sebastian Dröge [Thu, 3 Nov 2011 09:07:27 +0000 (10:07 +0100)]
playsinkconvertbin: Don't add identity multiple times
Vincent Penquerc'h [Wed, 19 Oct 2011 13:13:39 +0000 (14:13 +0100)]
playsink: send flush start/stop event when we switch elements
https://bugzilla.gnome.org/show_bug.cgi?id=661262
Vincent Penquerc'h [Wed, 19 Oct 2011 13:13:30 +0000 (14:13 +0100)]
playsink: re-add identity where appropriate
https://bugzilla.gnome.org/show_bug.cgi?id=661262
Vincent Penquerc'h [Wed, 19 Oct 2011 13:12:01 +0000 (14:12 +0100)]
playsink: lock the new {set,get}_property functions
https://bugzilla.gnome.org/show_bug.cgi?id=661262
Thiago Santos [Mon, 17 Oct 2011 23:14:54 +0000 (23:14 +0000)]
playsinkconvertbin: Be more consistent with ghostpad targets
Set up targets on READY->PAUSED state change to passthrough by
default. This prevents the targets from being unset on the
first run, while the 'raw' variable would mean that some
target is set.
Thiago Santos [Mon, 17 Oct 2011 22:41:49 +0000 (22:41 +0000)]
playsinkconvertbin: No need to remove the identity
The identity element should be handled by the GstBin's cleanup,
removing it on the remove_elements function might remove it
too soon, as this function can be called directly from playsink
Thiago Santos [Mon, 17 Oct 2011 22:41:11 +0000 (22:41 +0000)]
playsinkconvertbin: Adding some debug messages
Adds a couple debug messages and some g_assert to make debugging
easier
Thiago Santos [Mon, 17 Oct 2011 22:02:03 +0000 (22:02 +0000)]
playsink-videoconvert: Fix warning on build
Remove unused variable
Vincent Penquerc'h [Mon, 17 Oct 2011 21:05:30 +0000 (21:05 +0000)]
playsink: handle after-the-fact changes in converters/volume booleans
The playsink was nastily poking a boolean in the structure.
Make those booleans properties, so we are told when they change,
and rebuild the conversion bin when they do.
Some cleanup to go with it too.
https://bugzilla.gnome.org/show_bug.cgi?id=661262
Vincent Penquerc'h [Mon, 17 Oct 2011 18:43:06 +0000 (18:43 +0000)]
playsink: handle NULL cached caps in getcaps
https://bugzilla.gnome.org/show_bug.cgi?id=661262
Vincent Penquerc'h [Mon, 17 Oct 2011 18:06:00 +0000 (18:06 +0000)]
playsink: consider both passthrough and converter caps in getcaps
Since we can switch between both modes.
https://bugzilla.gnome.org/show_bug.cgi?id=661262
Vincent Penquerc'h [Mon, 17 Oct 2011 17:54:27 +0000 (17:54 +0000)]
playsink: cache inner converter bin caps
https://bugzilla.gnome.org/show_bug.cgi?id=661262
Vincent Penquerc'h [Mon, 17 Oct 2011 17:26:48 +0000 (17:26 +0000)]
playsink: keep both raw and non raw pipelines at all times
and switch between them as needed.
https://bugzilla.gnome.org/show_bug.cgi?id=661262
Vincent Penquerc'h [Mon, 17 Oct 2011 17:29:50 +0000 (17:29 +0000)]
playsink: only compare against the media type we expect
ie, audio/x-raw- for audio, video/x-raw- for video.
Add a trailing - to be more specific. I doubt there's anything
like audio/x-rawhide or something, but you never know.
https://bugzilla.gnome.org/show_bug.cgi?id=661262
Vincent Penquerc'h [Mon, 17 Oct 2011 16:55:30 +0000 (16:55 +0000)]
playsink: refactor the converter bins since they are almost identical
https://bugzilla.gnome.org/show_bug.cgi?id=661262
Vincent Penquerc'h [Mon, 17 Oct 2011 13:00:05 +0000 (13:00 +0000)]
playsink: fix passthrough mode (hopefully)
The code was doing counterintuitive rewiring of pads when the
bin did not contain any elements. We now add an identity element
in that case, which makes it simpler, and should fix the AC3
passthrough mode when using pulseaudio (but I don't see the bug
here so can't test).
https://bugzilla.gnome.org/show_bug.cgi?id=661262
Vincent Penquerc'h [Fri, 7 Oct 2011 11:16:44 +0000 (11:16 +0000)]
playsink: handle NULL ghost pad target
For the src pad anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=661262
Sebastian Dröge [Thu, 3 Nov 2011 08:56:14 +0000 (09:56 +0100)]
Revert "playsinkaudioconvert: Fix warning when there is no target pad yet"
This reverts commit
f35c51c14915729f0fdf2b348f351ea7e81027cc.
Better patch coming soon.
Sebastian Dröge [Fri, 28 Oct 2011 08:07:42 +0000 (10:07 +0200)]
oggmux: Remove obsolete #include
Tim-Philipp Müller [Wed, 2 Nov 2011 23:33:18 +0000 (23:33 +0000)]
docs: add draft for subtitle overlays to design docs
Main purpose is to provide a generic way to make subtitles work on
top of non-raw video (vaapi, vdpau, etc.).
Colin Walters [Wed, 2 Nov 2011 19:31:11 +0000 (15:31 -0400)]
configure: Allow setting GLIB_EXTRA_CFLAGS
Similar to gstreamer commit
bb2020b1e794210cf7d44c6626122f611016a620
Wim Taymans [Wed, 2 Nov 2011 11:08:22 +0000 (12:08 +0100)]
update for tag API removal
Edward Hervey [Wed, 2 Nov 2011 10:24:05 +0000 (11:24 +0100)]
video: Add convenience macros for accessing GstVideoInfo flags
Wim Taymans [Mon, 31 Oct 2011 01:39:48 +0000 (02:39 +0100)]
netbuffer: _netaddress_ -> _net_address_