Tim-Philipp Müller [Sun, 2 Jan 2011 17:21:54 +0000 (17:21 +0000)]
baseaudiosink: default to enable-last-buffer=FALSE for audio sinks
There isn't really any good reason to get the last buffer from an
audio sink, so don't make the sink keep it around unnecessarily.
Tim-Philipp Müller [Fri, 31 Dec 2010 12:14:22 +0000 (12:14 +0000)]
playbin2: use input-selector from core instead of internal copy
Tim-Philipp Müller [Fri, 31 Dec 2010 01:24:50 +0000 (01:24 +0000)]
tests: add input-selector-test and output-selector-test
Moved from gst-plugins-bad into -base, becasue it uses videotestsrc
and other elements from -base, so it can't be in core.
Stefan Kost [Wed, 24 Nov 2010 10:22:01 +0000 (12:22 +0200)]
output-selector-test: don't hardcode videosinks and use more colorspace conv.
Use autovideosink instead of hardcoded sinks. Use an additional colorspace
converter between videotestsrc and timeoverlay.
Michael Smith [Tue, 27 Oct 2009 18:51:05 +0000 (11:51 -0700)]
tests: Remove executable bits from non-executable files.
Sebastian Dröge [Tue, 24 Feb 2009 15:33:51 +0000 (16:33 +0100)]
tests: move examples directory to tests/examples as in every other GStreamer module
Stefan Kost [Thu, 19 Jun 2008 13:18:24 +0000 (13:18 +0000)]
tests: Use BOILERPLATE macro and update output-selector test to the latest api changes.
Original commit message from CVS:
* gst/selector/gstoutputselector.c:
* tests/icles/output-selector-test.c:
Use BOILERPLATE macro and update test to the latest api changes.
Stefan Kost [Thu, 7 Feb 2008 13:48:20 +0000 (13:48 +0000)]
tests/icles/output-selector-test.c: Add a fixme comment.
Original commit message from CVS:
* gst/multifile/gstmultifilesink.c:
Add a fixme comment.
* gst/selector/gstoutputselector.c:
Fix same leak as in input-selector.
* tests/icles/output-selector-test.c:
Improve the test.
Stefan Kost [Tue, 29 Jan 2008 07:38:31 +0000 (07:38 +0000)]
Replace the switch plugin with the selector plugin. Add output-selector as the opposite of input-selector (was switc...
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-metadata.xml:
* docs/plugins/inspect/plugin-selector.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-switch.xml:
* gst/selector/.cvsignore:
* gst/selector/Makefile.am:
* gst/selector/gstinputselector.c:
* gst/selector/gstinputselector.h:
* gst/selector/gstoutputselector.c:
* gst/selector/gstoutputselector.h:
* gst/selector/gstselector-marshal.list:
* gst/selector/gstselector.c:
* gst/selector/selector.vcproj:
* gst/switch/.cvsignore:
* gst/switch/Makefile.am:
* gst/switch/gstswitch-marshal.list:
* gst/switch/gstswitch.c:
* gst/switch/gstswitch.h:
* gst/switch/switch.vcproj:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/output-selector-test.c:
Replace the switch plugin with the selector plugin. Add output-
selector as the opposite of input-selectoo (was switch). Add a test
for output-selector. Add docs for the elements. The vcproj needs
update. Fixes #500142.
Wim Taymans [Thu, 30 Dec 2010 17:08:05 +0000 (18:08 +0100)]
baseaudiopay: fix timestamps on buffer lists
Fix the outgoing timestamps and RTP timestamps on outgoing buffers when using
buffer lists.
Tim-Philipp Müller [Wed, 29 Dec 2010 22:36:41 +0000 (22:36 +0000)]
typefinding: assume EBML files without doctype are matroska
https://bugzilla.gnome.org/show_bug.cgi?id=638019
Wim Taymans [Wed, 29 Dec 2010 11:53:36 +0000 (12:53 +0100)]
multifdsink: only keep last valid timestamp
Fixes #634397
Andoni Morales Alastruey [Wed, 13 Oct 2010 15:09:13 +0000 (17:09 +0200)]
multifdsink: add first and last buffer's timestamp to the stats
Tim-Philipp Müller [Wed, 29 Dec 2010 11:51:42 +0000 (11:51 +0000)]
ogg: fix typo in comment
Vincent Penquerc'h [Tue, 28 Dec 2010 17:39:58 +0000 (17:39 +0000)]
oggstream: fix interpretation of Theora granule position
The offset part of the granpos is not a sign of the newer encoding.
Use the version number instead.
This fixes the criticals thrown by theoraparse, and (at last) the
remaining part of #553244.
Havard Graff [Thu, 25 Nov 2010 16:01:04 +0000 (17:01 +0100)]
baseaudiosink: protect against ringbuffer disappearing while in a query
Observed a case where the sink went to null-state during the query,
hence the ringbuffer-pointer was NULL, causing a crash.
Moving the ringbuffer-check code until after the query, and hold the
lock during the check and while using the spec-values. It should not matter
to the query wether the ringbuffer is present or not, and it actually
gets a time bit more time to get the ringbuffer set up in this case!
Fixes #635231
Wim Taymans [Tue, 28 Dec 2010 18:39:18 +0000 (19:39 +0100)]
oggdemux: handle pads that are not added yet
Don't try to stream data on pads that are not added yet. This happens while we
discover the different streams.
Wim Taymans [Tue, 28 Dec 2010 10:41:49 +0000 (11:41 +0100)]
basedepay: fix refcounting issue
Make sure that when _make_writable() returns a new buffer, we actually push that
one instead of the old one.
Vincent Penquerc'h [Sat, 25 Dec 2010 15:22:42 +0000 (15:22 +0000)]
oggstream: implement tag extraction for Kate streams
This will mainly allow Totem to know the language of those streams,
so the subtitle selection menu gets properly filled out.
https://bugzilla.gnome.org/show_bug.cgi?id=638005
Tim-Philipp Müller [Sun, 26 Dec 2010 17:29:38 +0000 (17:29 +0000)]
pbutils: add description for DVB subtitle caps
Vincent Penquerc'h [Thu, 23 Dec 2010 17:18:17 +0000 (17:18 +0000)]
oggdemux: set headers on caps
This will allow switching from one stream to another without having to send
the headers for the new stream again.
https://bugzilla.gnome.org/show_bug.cgi?id=637927
David Schleef [Wed, 22 Dec 2010 23:29:56 +0000 (15:29 -0800)]
oggstream: Fix parsing of theora size
Vincent Penquerc'h [Wed, 22 Dec 2010 19:06:56 +0000 (19:06 +0000)]
oggdemux: Don't use gst_pad_alloc_buffer()
allocate buffers using gst_buffer_new_and_alloc() instead of
gst_pad_alloc_buffer_and_set_caps(), as the first one will
cause the pad to block, and we don't want that since that will
prevent subsequent pads from being fed if a block occurs at
start, when all pads must be fed for playback to start.
This fixes autoplugging of the tiger element and other things.
https://bugzilla.gnome.org/show_bug.cgi?id=637822
Edward Hervey [Wed, 22 Dec 2010 17:12:14 +0000 (18:12 +0100)]
encodebin: Also use "Formatter"s for container formats
Edward Hervey [Wed, 22 Dec 2010 17:19:48 +0000 (18:19 +0100)]
encoding-target: Fix typo
Thiago Santos [Wed, 22 Dec 2010 13:32:03 +0000 (10:32 -0300)]
tag: exif: Fix unitialized data warning
Fixes a valgrind warning on jifmux tests on -bad caused by
unitialized bytes.
Fixes #637758
Alessandro Decina [Wed, 22 Dec 2010 12:56:12 +0000 (13:56 +0100)]
encodebin: minor fix in error handling.
Don't call gst_bin_remove (bin, <invalid pointer>).
Edward Hervey [Tue, 21 Dec 2010 17:51:29 +0000 (18:51 +0100)]
pbutils: More gtk-doc annotations
Vincent Penquerc'h [Tue, 21 Dec 2010 10:26:40 +0000 (10:26 +0000)]
playbin2: delay stream-changed messages
https://bugzilla.gnome.org/show_bug.cgi?id=637586
Edward Hervey [Tue, 21 Dec 2010 15:33:50 +0000 (16:33 +0100)]
encoding-target: Ensure target names and categories are valid
Wim Taymans [Tue, 21 Dec 2010 14:11:10 +0000 (15:11 +0100)]
depay: update some docs
Wim Taymans [Tue, 21 Dec 2010 14:02:18 +0000 (15:02 +0100)]
rtpdepayloade: add support for getting events
Add support for intercepting sink events in the depayloader by adding a new
vmethod.
Wim Taymans [Tue, 21 Dec 2010 12:37:41 +0000 (13:37 +0100)]
vorbisdec: keep timestamps when no decoded output
Keep track of the timestamps even when we didn't generate decodable output.
Wim Taymans [Tue, 21 Dec 2010 12:19:38 +0000 (13:19 +0100)]
vorbisdec: avoid using invalid timestamps
Wim Taymans [Tue, 21 Dec 2010 09:41:27 +0000 (10:41 +0100)]
seek: don't pause for live buffering messages
Wim Taymans [Mon, 20 Dec 2010 17:29:15 +0000 (18:29 +0100)]
basertppay: use RTP base time when invalid timestamps
When we have an invalid running-time (because we clipped, for example) use the
RTP base time for timestamping instead of generating wrong RTP timestamps.
Wim Taymans [Mon, 20 Dec 2010 17:28:14 +0000 (18:28 +0100)]
rtppayload: copy applied rate to segment
Use set_segment_full to copy all segment values to the segment structure.
Edward Hervey [Tue, 21 Dec 2010 12:09:34 +0000 (13:09 +0100)]
tests: Update container-less profile checks
Edward Hervey [Tue, 21 Dec 2010 12:08:15 +0000 (13:08 +0100)]
encoding-profile: Add guard against profiles without format
Edward Hervey [Tue, 21 Dec 2010 12:07:27 +0000 (13:07 +0100)]
encodebin: Fix usage of non-container profiles
Edward Hervey [Fri, 17 Dec 2010 15:10:53 +0000 (16:10 +0100)]
docs: Update for videoscale class changes
Edward Hervey [Mon, 20 Dec 2010 16:46:48 +0000 (17:46 +0100)]
Automatic update of common submodule
From 169462a to 46445ad
Edward Hervey [Sun, 19 Dec 2010 12:41:22 +0000 (13:41 +0100)]
gstdiscoverer: Don't leak tags
Edward Hervey [Sun, 19 Dec 2010 12:22:23 +0000 (13:22 +0100)]
gst-discoverer: show global tags by default
Sebastian Dröge [Sun, 19 Dec 2010 08:53:08 +0000 (09:53 +0100)]
rtsp: Fix memory leaks in the gst_rtsp_url_decode_path_components() unit tests
Sebastian Dröge [Sat, 18 Dec 2010 19:47:00 +0000 (20:47 +0100)]
examples: Fix encodebin example CFLAGS and LDFLAGS
Previously it would only succeed to link if a new enough
libgstpbutils-0.10 was installed in the default library
search path.
Vincent Penquerc'h [Fri, 17 Dec 2010 14:16:18 +0000 (14:16 +0000)]
ogg: implement packet duration query for kate streams
https://bugzilla.gnome.org/show_bug.cgi?id=637519
Rob Clark [Sat, 18 Dec 2010 01:06:27 +0000 (19:06 -0600)]
fix compile errors on macosx
with i686-apple-darwin10-gcc-4.2.1:
encoding-profile.h:134: warning: type qualifiers ignored on function return type
encoding-profile.c:240: warning: type qualifiers ignored on function return type
gstencodebin.c: In function 'next_unused_stream_profile':
gstencodebin.c:454: warning: format '%d' expects type 'int', but argument 8 has type 'GType'
gstencodebin.c:464: warning: format '%d' expects type 'int', but argument 8 has type 'GType'
Leo Singer [Fri, 17 Dec 2010 08:49:26 +0000 (00:49 -0800)]
audioresample: corrected buffer duration calculation to account for nonzero initial timestamp
Since we calculate timestamps by:
timestamp = t0 + (out samples) / (out rate)
and durations by:
duration = ((out samples) + (processed samples)) / (out rate) - timestamp
if t0 is nonzero, this would simplify to
duration = t0 + (processed samples) / (out rate).
This duration is too large by the amount t0. We should have done:
duration = t0 + ((out samples) + (processed samples)) / (out rate) - timestamp
so that
duration = (processed samples) / (out rate).
Leo Singer [Fri, 17 Dec 2010 04:40:33 +0000 (20:40 -0800)]
audioresample: changed num_gap_samples, num_nongap_samples from guint32 to guint64 so that gaps of greater than or equal to 2^32 samples do not cause integer overflow
Leo Singer [Fri, 17 Dec 2010 04:38:31 +0000 (20:38 -0800)]
audioresample: push half a history length, instead of a full history length, at end-of-stream so that output segment and input segment have same duration
Leo Singer [Fri, 17 Dec 2010 04:34:13 +0000 (20:34 -0800)]
audioresample: renamed count_gap, count_nongap to more descriptive num_gap_samples, num_nongap_samples
Leo Singer [Fri, 17 Dec 2010 04:32:07 +0000 (20:32 -0800)]
audioresample: replaced void* with gpointer
Leo Singer [Fri, 17 Dec 2010 04:30:24 +0000 (20:30 -0800)]
audioresample: initial filter transient discarded; unit tests passing
Leo Singer [Fri, 17 Dec 2010 04:09:58 +0000 (20:09 -0800)]
Revert "Revert "audioresample: Add GAP flag support""
This reverts commit
35c76b3409dde7f2dcc8232388a47a1b99b661a7.
Conflicts:
gst/audioresample/gstaudioresample.c
gst/audioresample/gstaudioresample.h
Vincent Penquerc'h [Thu, 16 Dec 2010 10:26:43 +0000 (10:26 +0000)]
timeoverlay: add missing break
https://bugzilla.gnome.org/show_bug.cgi?id=637377
Sebastian Dröge [Thu, 16 Dec 2010 09:11:43 +0000 (10:11 +0100)]
videoscale: Change classification to Filter/Converter/Video/Scaler
Stefan Kost [Wed, 15 Dec 2010 21:47:29 +0000 (23:47 +0200)]
win32: update the def file with the new rtsp api
Andy Wingo [Wed, 15 Dec 2010 16:51:36 +0000 (17:51 +0100)]
add gst_rtsp_url_decode_path_components
* gst-libs/gst/rtsp/gstrtspurl.h:
* gst-libs/gst/rtsp/gstrtspurl.c (gst_rtsp_url_decode_path_components):
New public function, returns a strv of uri-decoded path components.
* tests/check/Makefile.am:
* tests/check/libs/rtsp.c: Add tests.
Wim Taymans [Wed, 15 Dec 2010 15:35:43 +0000 (16:35 +0100)]
win32: update defs file
Wim Taymans [Wed, 15 Dec 2010 15:30:55 +0000 (16:30 +0100)]
rtpbuffer: relax arrangement for RTP bufferlists
Don't assume there are exactly 2 buffers but allow cases where the header and
payload are in 1 buffer or where the payload is in more buffers.
Stefan Kost [Wed, 15 Dec 2010 12:55:34 +0000 (14:55 +0200)]
Automatic update of common submodule
From 20742ae to 169462a
Wim Taymans [Wed, 15 Dec 2010 11:58:47 +0000 (12:58 +0100)]
basedepay: add support for buffer lists in the depayloader
Add support for buffer lists in the depayloader.
Edward Hervey [Mon, 13 Sep 2010 08:08:47 +0000 (10:08 +0200)]
examples: encoding example
Along with gstcapslist
Edward Hervey [Fri, 13 Aug 2010 15:36:38 +0000 (17:36 +0200)]
gst: New encoding plugin
https://bugzilla.gnome.org/show_bug.cgi?id=627476
Edward Hervey [Fri, 13 Aug 2010 15:27:52 +0000 (17:27 +0200)]
pbutils: New Profile library
https://bugzilla.gnome.org/show_bug.cgi?id=627476
Stefan Kost [Wed, 15 Dec 2010 10:21:05 +0000 (12:21 +0200)]
configure: use the -Bsymbolic-functions linker flag if supported
This feature turns intra library calls into direct function calls and thus makes
them a little faster. The downside is that this causes problems for e.g.
LD_PRELOAD based tools. Thus add a configure option to turn it off.
David Schleef [Tue, 14 Dec 2010 08:16:13 +0000 (00:16 -0800)]
typefind: Add check for yuv4mpeg
Stefan Kost [Mon, 13 Dec 2010 16:05:41 +0000 (18:05 +0200)]
pbutils: spell out two more container formats
Stefan Kost [Mon, 13 Dec 2010 14:20:23 +0000 (16:20 +0200)]
discoverer: query seekability
Besides the duration we can also query the seekability of a stream. Use the new
API in the gst-discoverer tool.
API: gst_discoverer_info_get_seekable
Stefan Kost [Mon, 13 Dec 2010 14:23:04 +0000 (16:23 +0200)]
Automatic update of common submodule
From 011bcc8 to 20742ae
Mark Nauwelaerts [Mon, 13 Dec 2010 12:04:40 +0000 (13:04 +0100)]
tests: audioresample: adjust unit test to relaxed discont checking
Stefan Kost [Mon, 13 Dec 2010 10:34:58 +0000 (12:34 +0200)]
make: move the design doc also on the Makefile.am level (for dist)
Mark Nauwelaerts [Mon, 13 Dec 2010 09:05:00 +0000 (10:05 +0100)]
audioresample: relax discont checking slightly
Mark Nauwelaerts [Mon, 13 Dec 2010 08:56:04 +0000 (09:56 +0100)]
audioresample: provide as much valid output ts and offset as valid input
... by independently tracking time and offset, rather than having no offset
leading to no output ts.
Stefan Kost [Mon, 13 Dec 2010 08:41:24 +0000 (10:41 +0200)]
typefinders: name "aac" typefinder "audio/aac"
This is in sync how we call the others.
Stefan Kost [Mon, 13 Dec 2010 07:58:53 +0000 (09:58 +0200)]
docs: move design doc to design folder
Zeeshan Ali (Khattak) [Sat, 11 Dec 2010 17:33:33 +0000 (19:33 +0200)]
videotestsrc: Add a missing return statement
Sebastian Dröge [Sat, 11 Dec 2010 16:18:49 +0000 (17:18 +0100)]
decodebin2: Deprecate new-decoded-pad and removed-decoded-pad signals
They're really the same as pad-added and pad-removed from GstElement
and it doesn't make sense to have two signals for the same thing.
Sebastian Dröge [Sat, 11 Dec 2010 16:14:36 +0000 (17:14 +0100)]
decodebin2: Emit "remove-decoded-pad" signal when pads are removed from decodebin2
Fixes bug #636198.
Wim Taymans [Fri, 10 Dec 2010 17:57:56 +0000 (18:57 +0100)]
appsink: unset flushing flag when starting
When we start again after being stopped, clear the flushing flag or else
it will always be TRUE.
Fixes #636769
Edward Hervey [Thu, 9 Dec 2010 15:57:35 +0000 (16:57 +0100)]
pbutils: Add/Fix some media descriptions
Fixes #623413
Gavin Stark [Thu, 9 Dec 2010 07:40:25 +0000 (08:40 +0100)]
xvimagesink: Use gst_caps_can_intersect() instead of gst_caps_intersect()
Fixes a memory leak and bug #636827.
Mark Nauwelaerts [Wed, 8 Dec 2010 11:55:24 +0000 (12:55 +0100)]
typefinding: improve iso media typefinding
... by also considering compatible brands rather than only aiming at major brand
(of which there are a seemingly ever expanding great many).
Stefan Kost [Wed, 8 Dec 2010 10:28:32 +0000 (12:28 +0200)]
tests: remove superflous ';' and reindent
Stefan Kost [Wed, 8 Dec 2010 10:09:45 +0000 (12:09 +0200)]
docs: fix wrong use of Since: keyword
René Stadler [Tue, 7 Dec 2010 18:28:37 +0000 (20:28 +0200)]
tests: add AC-3, E-AC-3 typefind tests
René Stadler [Fri, 3 Dec 2010 15:33:40 +0000 (17:33 +0200)]
typefind: ignore AC-3 BSIDs 9, 10 and >16
These are reserved for future extensions which will not be backwards
compatible to E-AC-3.
René Stadler [Fri, 3 Dec 2010 14:54:21 +0000 (16:54 +0200)]
typefind: accept consecutive AC-3 frames of different sizes
This is perfectly valid and occurs in particular when there are
(in)dependent substreams present.
René Stadler [Fri, 3 Dec 2010 14:22:32 +0000 (16:22 +0200)]
typefind: remove useless masking in (E-)AC-3 typefinders
René Stadler [Fri, 3 Dec 2010 14:14:15 +0000 (16:14 +0200)]
typefind: stop scanning after suggesting E-AC-3 caps
René Stadler [Fri, 3 Dec 2010 16:08:58 +0000 (18:08 +0200)]
typefind: fix E-AC-3 frame size parsing
Frame size is given in words; it is already multiplied by two where
needed, so the left shift is superfluous. This extra multiplication
caused the code to inspect the third packet instead of the second,
which would fail for files where the second packet has a size
different from the first.
Edward Hervey [Tue, 7 Dec 2010 16:35:14 +0000 (17:35 +0100)]
rtsp: Move around the typedefs to make GIR happy
Otherwise it will generate they symbols as _GstRTSP* (with the leading
underscore).
Tim-Philipp Müller [Sat, 4 Dec 2010 14:48:46 +0000 (14:48 +0000)]
tests: use GLib 2.22 API unconditionally
Tim-Philipp Müller [Sat, 4 Dec 2010 14:45:58 +0000 (14:45 +0000)]
libs: use GLib 2.22 API unconditionally
Benjamin Gaignard [Fri, 3 Dec 2010 16:41:18 +0000 (17:41 +0100)]
Add build system for Android
Wim Taymans [Fri, 3 Dec 2010 14:46:07 +0000 (15:46 +0100)]
defs: add new symbol
Mark Nauwelaerts [Wed, 27 Oct 2010 11:49:41 +0000 (13:49 +0200)]
oggstream: additional tag extraction
... supporting theora, flac, speex, celt.
Fixes #629349.
Mark Nauwelaerts [Wed, 27 Oct 2010 10:08:25 +0000 (12:08 +0200)]
oggstream: use separate tag extraction vfunction
Mark Nauwelaerts [Wed, 27 Oct 2010 09:58:53 +0000 (11:58 +0200)]
oggstream: refactor vorbis comment tag extraction