Sreerenj Balachandran [Mon, 17 Jan 2011 13:11:15 +0000 (15:11 +0200)]
oggdemux: Remove dead code
Yang Xichuan [Tue, 11 Jan 2011 07:10:42 +0000 (15:10 +0800)]
oggparse: Make gst_ogg_parse_submit_buffer() safe
By not passing zero-sized buffers to ogg_sync_buffer()
and checking the return values of libogg functions.
Fixes bug #639136.
Lane Brooks [Tue, 11 Jan 2011 17:18:34 +0000 (18:18 +0100)]
textoverlay: Add support for vertical center alignment
Fixes bug #639159.
Thiago Santos [Mon, 24 Jan 2011 18:21:10 +0000 (15:21 -0300)]
tag: xmp: Move static variable to local function
Variable was being written to and could cause crashes
if multiple elements were parsing xmp at the same time.
Moving it to local scope solves the problem.
Edward Hervey [Mon, 24 Jan 2011 17:27:30 +0000 (18:27 +0100)]
riff: Add support for video/x-camstudio
Tim-Philipp Müller [Mon, 24 Jan 2011 00:00:27 +0000 (00:00 +0000)]
Back to development
Tim-Philipp Müller [Fri, 21 Jan 2011 10:50:06 +0000 (10:50 +0000)]
Release 0.10.32
Tim-Philipp Müller [Tue, 18 Jan 2011 10:45:01 +0000 (10:45 +0000)]
0.10.31.4 pre-releases
Tim-Philipp Müller [Tue, 18 Jan 2011 10:44:01 +0000 (10:44 +0000)]
docs: update docs
Tim-Philipp Müller [Tue, 18 Jan 2011 10:40:29 +0000 (10:40 +0000)]
encoding-target: change keyfile header to 'GStreamer Encoding Target'
which is more in line with other files such as .desktop files.
Tim-Philipp Müller [Tue, 18 Jan 2011 01:06:50 +0000 (01:06 +0000)]
pbutils: don't assume LC_MESSAGES is always defined, also check for ENABLE_NLS
Should fix build with mingw32 build bot again.
Tim-Philipp Müller [Tue, 18 Jan 2011 00:09:37 +0000 (00:09 +0000)]
app: export gst_app_stream_type_get_type()
API: gst_app_stream_type_get_type()
API: GST_TYPE_APP_STREAM_TYPE
https://bugzilla.gnome.org/show_bug.cgi?id=639747
Tim-Philipp Müller [Mon, 17 Jan 2011 23:59:48 +0000 (23:59 +0000)]
app: make GstAppBuffer get_type() function thread-safe
Arun Raghavan [Mon, 17 Jan 2011 19:39:53 +0000 (01:09 +0530)]
discoverer: Drop new stream tags once preroll is done
This makes sure we do not touch the stream taglist once the pipeline has
been prerolled. Adding of stream tags happens in the pad event probe
which runs in a different thread from discoverer stream processing, so
modifying the tag list while discoverer might be processing it can
sometimes cause a crash.
https://bugzilla.gnome.org/show_bug.cgi?id=639778
Arun Raghavan [Mon, 17 Jan 2011 10:00:08 +0000 (15:30 +0530)]
discoverer: Validate timeouts before processing them
This avoids a race where the timeout callback is scheduled to run but we
get sufficient information to finish discovery before actually getting
around to executing the callback. See the documentation of
g_source_is_destroyed() for more details.
https://bugzilla.gnome.org/show_bug.cgi?id=639730
Arun Raghavan [Mon, 17 Jan 2011 18:38:32 +0000 (00:08 +0530)]
discoverer: Make sure we call _stop() before being freed
This ensures that everything is properly cleaned up before the
GstDiscoverer object is freed. Specifically, it makes sure that we've
removed the async timeout callback before freeing the object to avoid a
potential crash later on.
https://bugzilla.gnome.org/show_bug.cgi?id=639755
David Schleef [Sun, 16 Jan 2011 22:55:46 +0000 (14:55 -0800)]
gdppay: make newsegment buffer metadata writable
Tim-Philipp Müller [Sun, 16 Jan 2011 16:46:22 +0000 (16:46 +0000)]
pbutils: save localised strings properly when writing encoding targets to a file
Use LC_MESSAGES rather than LC_ALL. Save/load description as untranslated string
when using an English language locale. Strip locale information to the language,
so we don't save keys like description[fr_FR.UTF-8]=...
https://bugzilla.gnome.org/show_bug.cgi?id=638860
Tim-Philipp Müller [Thu, 13 Jan 2011 13:59:41 +0000 (13:59 +0000)]
typefinding: set framed=false on DTS caps
Tim-Philipp Müller [Wed, 12 Jan 2011 17:51:43 +0000 (17:51 +0000)]
docs: add some more Since: markers for new encoding-profile API
Tim-Philipp Müller [Wed, 12 Jan 2011 15:51:52 +0000 (15:51 +0000)]
configure: require gobject-introspection >= 0.9.12
Earlier versions don't honour the -L/--library-path option,
which we need. See commit
4d0ccdad in gobject-introspection git.
Should "fix" build on lucid/maverick build bots.
Tim-Philipp Müller [Tue, 11 Jan 2011 19:19:50 +0000 (19:19 +0000)]
0.10.31.3 pre-release
Tim-Philipp Müller [Tue, 11 Jan 2011 18:59:39 +0000 (18:59 +0000)]
po: update translations
Bastien Nocera [Tue, 11 Jan 2011 14:41:53 +0000 (14:41 +0000)]
examples: allow building with newer GTK+
GtkFunction is gone, and there's no update policies for
GtkRanges any more (but the default was continuous anyway,
so no need to set it to that mode explicitly).
https://bugzilla.gnome.org/show_bug.cgi?id=639215
Tim-Philipp Müller [Tue, 11 Jan 2011 14:59:38 +0000 (14:59 +0000)]
gobject-introspection: pass --library-path as well to make it find the right libgstreamer
Makes things work again properly in uninstalled setups (and
presumably in installed setups where GStreamer is installed
into a non-standard prefix). Requires fixes from core git.
https://bugzilla.gnome.org/show_bug.cgi?id=639039
Byeong-ryeol Kim [Tue, 11 Jan 2011 14:52:51 +0000 (14:52 +0000)]
gobject-introspection: fix issue when gold linker is used
Need to pass libgstreamer-0.10 explicitly to linker, since we're
calling gst_init(), which in turn is needed because the encoding
target get_type() function calls gst_value_register().
https://bugzilla.gnome.org/show_bug.cgi?id=639039
Stefan Kost [Tue, 11 Jan 2011 13:49:54 +0000 (15:49 +0200)]
Automatic update of common submodule
From e572c87 to f94d739
Tim-Philipp Müller [Mon, 10 Jan 2011 16:35:44 +0000 (16:35 +0000)]
Automatic update of common submodule
From ccbaa85 to e572c87
Tim-Philipp Müller [Mon, 10 Jan 2011 14:53:04 +0000 (14:53 +0000)]
Automatic update of common submodule
From 46445ad to ccbaa85
Yang Xichuan [Mon, 10 Jan 2011 07:55:26 +0000 (15:55 +0800)]
oggdemux: remove outdated comment
https://bugzilla.gnome.org/show_bug.cgi?id=639121
Koop Mast [Sat, 8 Jan 2011 02:16:19 +0000 (02:16 +0000)]
configure: fix bash-ism
https://bugzilla.gnome.org/show_bug.cgi?id=638961
Tim-Philipp Müller [Sat, 8 Jan 2011 02:10:03 +0000 (02:10 +0000)]
gobject-introspection: use same PKG_CONFIG_PATH for g-ir-compiler as for g-ir-scanner
Make sure to use the PKG_CONFIG_PATH set at configure time instead of
just relying on an env-var set one. This makes sure both g-ir-compiler
and g-ir-scanner use the same PKG_CONFIG_PATH for determining include
paths etc.
Tim-Philipp Müller [Sat, 8 Jan 2011 01:12:02 +0000 (01:12 +0000)]
pkg-config: add girdir and typelibdir variables to .pc files
We need them when building gir and typelib files for
libraries that depend on these, such as gst-rtsp-server
for example, in an uninstalled setup.
Tim-Philipp Müller [Fri, 7 Jan 2011 12:50:07 +0000 (12:50 +0000)]
0.10.31.2 pre-release
Edward Hervey [Fri, 7 Jan 2011 12:04:11 +0000 (13:04 +0100)]
encodebin: Add missing-plugin support
https://bugzilla.gnome.org/show_bug.cgi?id=638903
Edward Hervey [Fri, 7 Jan 2011 11:51:11 +0000 (12:51 +0100)]
encodebin: Extend documentation
https://bugzilla.gnome.org/show_bug.cgi?id=638901
Tim-Philipp Müller [Fri, 7 Jan 2011 00:43:07 +0000 (00:43 +0000)]
tests: never disable g_assert() and cast checks for the unit tests
The unit tests are riddled with g_assert() and friends, sometimes
containing functional code like set_state() calls in them even
(looking at you, pipeline/capsfilter-renegotiation). Make sure we
don't disable assert and cast checks for the unit tests even if
this has been specified for the rest of the code base, e.g. via
--disable-glib-asserts.
Tim-Philipp Müller [Thu, 6 Jan 2011 23:17:12 +0000 (23:17 +0000)]
win32: udpate pbutils .def file for API change
Tim-Philipp Müller [Thu, 6 Jan 2011 23:13:53 +0000 (23:13 +0000)]
docs: update docs
Tim-Philipp Müller [Thu, 6 Jan 2011 23:13:35 +0000 (23:13 +0000)]
po: update translations
Tim-Philipp Müller [Thu, 6 Jan 2011 23:08:34 +0000 (23:08 +0000)]
textoverlay: make text property controllable too
Because we can, and because it's the most interesting one
to control really, after xpos/ypos.
Lane Brooks [Thu, 6 Jan 2011 23:01:20 +0000 (23:01 +0000)]
textoverlay: make some properties controllable
https://bugzilla.gnome.org/show_bug.cgi?id=638859
Tim-Philipp Müller [Thu, 6 Jan 2011 20:37:50 +0000 (20:37 +0000)]
tests: ignore new rtsp test binary
David Schleef [Wed, 5 Jan 2011 23:54:15 +0000 (15:54 -0800)]
oggdemux: ignore header pages when looking for keyframe
This was causing keyframe_granule to be set to 0 for all streams
when seeking to the beginning of the stream, i.e., at the
beginning of playback. Fixes #619778.
Vincent Penquerc'h [Wed, 29 Dec 2010 15:27:44 +0000 (15:27 +0000)]
oggstream: when the last keyframe position is not known, do not use -1
Instead, use either 0 or 1, depending on bitstream version, which give
the correct result for streams which aren't cut off at start.
This allows that function to not return negative granpos.
https://bugzilla.gnome.org/show_bug.cgi?id=638276
christian schaller [Thu, 6 Jan 2011 17:57:41 +0000 (17:57 +0000)]
Update spec file with discoverer and encodebinchanges
Arun Raghavan [Wed, 5 Jan 2011 10:23:09 +0000 (15:53 +0530)]
discoverer: Documentation updates
Some cosmetic changes and expands on some bits of the documentation to
make it more newbie-friendly.
Robert Swain [Thu, 6 Jan 2011 12:08:53 +0000 (13:08 +0100)]
videorate: Fix behaviour for frame rate cap changes
The outgoing buffer timestamp is calculated by scaling an output buffer
count by the src pad frame rate caps. If these caps change, we need to
reset the count and work from a new base timestamp. The new output
buffer timestamp is then the count scaled by the new caps values added
onto the base timestamp.
Edward Hervey [Thu, 6 Jan 2011 07:47:04 +0000 (08:47 +0100)]
tools: Improve pretty-printing of tags
Avoids escaping strings for nothing and printing out useless buffer contents.
Edward Hervey [Thu, 6 Jan 2011 07:46:42 +0000 (08:46 +0100)]
tools: don't leak the GMainLoop
Tim-Philipp Müller [Thu, 6 Jan 2011 00:28:39 +0000 (00:28 +0000)]
pbutils: config.h include should come before all other includes
Edward Hervey [Wed, 5 Jan 2011 21:02:35 +0000 (22:02 +0100)]
encoding: encoding_profile_get_output_caps => _get_input_caps
Makes more sense name-wise
Edward Hervey [Wed, 5 Jan 2011 19:40:39 +0000 (20:40 +0100)]
docs: Add various new symbols
Arun Raghavan [Tue, 4 Jan 2011 20:20:34 +0000 (01:50 +0530)]
encoding-profile: Minor documentation updates
Edward Hervey [Mon, 3 Jan 2011 18:07:45 +0000 (19:07 +0100)]
encoding-profile: Give a better usage example
Edward Hervey [Mon, 3 Jan 2011 17:52:00 +0000 (18:52 +0100)]
encoding-target: Fixup loading/saving methods
Edward Hervey [Mon, 3 Jan 2011 17:51:22 +0000 (18:51 +0100)]
encoding-target: more docs cleanups
Edward Hervey [Mon, 3 Jan 2011 15:07:49 +0000 (16:07 +0100)]
encoding-target: Change target suffix to .gep
Along with a bunch of other internal cleanups
Edward Hervey [Mon, 3 Jan 2011 12:21:26 +0000 (13:21 +0100)]
encoding-target: Add more docs regarding categories
Edward Hervey [Mon, 3 Jan 2011 12:20:19 +0000 (13:20 +0100)]
encoding-target: Add API for list all categories and targets
API: gst_encoding_list_available_categories
API: gst_encoding_list_all_targets
Edward Hervey [Wed, 22 Dec 2010 17:18:00 +0000 (18:18 +0100)]
encoding-profile: Add convenience method to find a profile
API: gst_encoding_profile_find
Edward Hervey [Wed, 22 Dec 2010 17:16:33 +0000 (18:16 +0100)]
encoding-target: Implement save/load feature
Fixes #637735
Edward Hervey [Wed, 22 Dec 2010 10:41:41 +0000 (11:41 +0100)]
encoding-target: Add method to get a profile by name
API: gst_encoding_target_get_profile
Edward Hervey [Wed, 5 Jan 2011 18:30:50 +0000 (19:30 +0100)]
encodebin: Convert to new GstElementClass::request_new_pad_full vmethod
Edward Hervey [Wed, 5 Jan 2011 14:31:09 +0000 (15:31 +0100)]
pbutils: Don't forget to include the encoding headers
Edward Hervey [Wed, 5 Jan 2011 11:02:02 +0000 (12:02 +0100)]
video: Fix uninitialized variables
reported by macosx gcc
Arun Raghavan [Tue, 7 Dec 2010 09:29:46 +0000 (14:59 +0530)]
codec-utils: Minor documentation changes
David Schleef [Sun, 2 Jan 2011 23:48:47 +0000 (15:48 -0800)]
typefind: Add stream-format to h264 caps
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.