Arun Raghavan [Wed, 10 Mar 2010 13:32:53 +0000 (13:32 +0000)]
typefinding: add AAC profile to ADTS caps
This looks at the AAC profile for ADTS streams and adds the profile as a
string in the corresponding caps.
Profile is the actual profile, base-profile denotes the minimum codec
requirements to decode this stream. In this case they're always the
same, but they may differ e.g. in case of certain HE-AAC streams that
can be partially decoded by LC decoders (with loss of quality of course)
if no suitable HE-AAC decoder is available.
Fixes #612312.
Stefan Kost [Sun, 11 Apr 2010 19:58:15 +0000 (22:58 +0300)]
adder: add support for negative playback rates
Decrement sample counter when playing backwards. Set proper segment when playing
backwards (0..cur instead or cur..-1). Add more logging and fix a format string.
Olivier Crête [Fri, 26 Mar 2010 23:00:47 +0000 (19:00 -0400)]
audiopayload: use ptime-multiple
Based on patch by Olivier Crête <olivier.crete@collabora.co.uk>
Fixes #613248
Wim Taymans [Fri, 9 Apr 2010 14:06:05 +0000 (16:06 +0200)]
audiopayload: add property to control packet duration
Add a property to specify that the amount of data in a packet should be a
multiple of ptime-multiple.
See #613248
Sebastian Dröge [Fri, 9 Apr 2010 09:20:55 +0000 (11:20 +0200)]
Automatic update of common submodule
From 218568f to fc85867
Tim-Philipp Müller [Thu, 8 Apr 2010 16:49:02 +0000 (17:49 +0100)]
playback, ogg: dist new gstplayback.h and gstogg.h
Thomas Green [Fri, 9 Apr 2010 06:23:33 +0000 (08:23 +0200)]
playbin: Only unref the volume element on dispose and when a new audio sink is set
Unreffing it whenever the sinks are removed will make the volume
element unavailable after a playbin reuse because it is only
recreated if the audio sink has changed.
Fixes bug #614288.
Thiago Santos [Thu, 8 Apr 2010 10:39:08 +0000 (07:39 -0300)]
appsrc: Be sure that metadata is writable before setting caps
Call gst_buffer_make_metadata_writable before attempting
to set caps on the buffer.
Edward Hervey [Thu, 8 Apr 2010 10:21:50 +0000 (12:21 +0200)]
ext: Invert rank of gio and gnomevfs elements
Tim-Philipp Müller [Thu, 8 Apr 2010 00:26:09 +0000 (01:26 +0100)]
alsa: don't pass non-constant strings as printf format strings
Fixes 'format not a string literal and no format arguments' compiler
warning when compiling with -DGST_DISABLE_PRINTF_EXTENSION.
Tim-Philipp Müller [Wed, 7 Apr 2010 19:21:14 +0000 (20:21 +0100)]
docs: add gtk-doc chunks with Since: tags for new GST_VIDEO_CAPS_GRAY* API
Tim-Philipp Müller [Wed, 7 Apr 2010 18:07:29 +0000 (19:07 +0100)]
build: bump autoconf requirement to 2.60 for gobject-introspection.m4
Require autoconf 2.60 (which was released in June 2006).
Fixes #600718.
Sebastian Dröge [Wed, 7 Apr 2010 15:25:23 +0000 (17:25 +0200)]
video: Fix parsing of 8-bit grayscale caps
Sebastian Dröge [Wed, 7 Apr 2010 15:21:43 +0000 (17:21 +0200)]
video: API: Add GST_VIDEO_CAPS_GRAY{8,16}
Sebastian Dröge [Wed, 7 Apr 2010 15:08:49 +0000 (17:08 +0200)]
video: API: Add gst_video_format_is_gray() to the docs
Sebastian Dröge [Wed, 7 Apr 2010 15:07:19 +0000 (17:07 +0200)]
video: Add new symbol to the exported symbols list
Sebastian Dröge [Wed, 7 Apr 2010 15:06:36 +0000 (17:06 +0200)]
video: Add support for 8-bit and 16-bit grayscale formats
Wim Taymans [Tue, 6 Apr 2010 08:55:42 +0000 (10:55 +0200)]
rtspconnection: Handle closed POST socket in tunneling
Catch more socket errors.
Rework how sockets are managed in the GSource, wake up the maincontext instead
of adding/removing the sockets from the source.
Add callback for when the tunnel connection is lost. Some clients (Quicktime
Player) close the POST connection in tunneled mode and reopen the socket when
needed.
See #612915
David Schleef [Mon, 5 Apr 2010 04:24:44 +0000 (21:24 -0700)]
configure: fix cdparanoia check
Linking with libcdda_paranoia.so requires also linking with
libcdda_interface.so.
Thiago Santos [Sun, 4 Apr 2010 21:00:23 +0000 (18:00 -0300)]
tests: tag: Refactor a bit
Refactor xmp tags unit tests and remove an useless assertion.
This will make easier to add unit tests to serialize/deserialize
taglists.
Sebastian Dröge [Sun, 4 Apr 2010 19:18:04 +0000 (21:18 +0200)]
alsa: Ignore errors when unpreparing or closing the device
Errors could happen here when the device was removed already
or when something is broken anyway. If errors happen here and
they're propagated, the element can't shutdown cleanly.
Fixes bug #614545.
Sebastian Dröge [Sun, 4 Apr 2010 18:55:02 +0000 (20:55 +0200)]
alsamixer: Detect errors from device polling, stop the task and post an error message
Partially fixes bug #614545.
Tim-Philipp Müller [Sun, 4 Apr 2010 11:13:02 +0000 (12:13 +0100)]
examples: build silly joystick seek example only on linux
jsseek depends on linux headers and should therefore only be built
on linux.
Fixes #614764.
Stefan Kost [Sat, 3 Apr 2010 19:49:11 +0000 (22:49 +0300)]
audiotestsrc: swap timestamps in forward and reverse mode.
In reverse mode we want use the next next timestamp (and not the other way
around). Fixes the tests again. Also readd a log line that was dropped with
previous commit.
Vincent Untz [Sat, 3 Apr 2010 13:03:45 +0000 (14:03 +0100)]
libs: point gobject-introspection scanner to .la files
Point g-ir-scanner to the .la file of our library, which hopefully
makes it find the right dependencies in all cases (ie. our locally
built libgstreamer and not the system-installed one). This is also
how it's done in Gtk+ and how it's documented in the wiki, see
http://live.gnome.org/GObjectIntrospection/AutotoolsIntegration
Fixes #603710.
Stefan Kost [Fri, 2 Apr 2010 18:01:25 +0000 (21:01 +0300)]
audiotestsrc: implement reverse playback
Support playback at negative rates. When having a GstController assigned, the
element will produce time dependend output.
Stefan Kost [Fri, 2 Apr 2010 17:56:19 +0000 (20:56 +0300)]
tests: extend audio-trickplay test app
Tell status in top comment. Use debug logging instead of print to be able to
see timing issue in debug log viewer. Add more commandline flags. Test reverse
playback.
Sebastian Dröge [Fri, 2 Apr 2010 16:56:34 +0000 (18:56 +0200)]
seek: Only use embed_xid if HAVE_X is defined
Fixes bug #614622.
Edward Hervey [Thu, 1 Apr 2010 17:13:22 +0000 (19:13 +0200)]
tests/basetime: Don't run test with osxaudiosrc
libcheck runs the actual tests in a forked process and that makes the guys
in Cupertino really sad.
Edward Hervey [Thu, 1 Apr 2010 16:51:17 +0000 (18:51 +0200)]
tests: Unref the bus once we're done with it
Edward Hervey [Thu, 1 Apr 2010 14:49:37 +0000 (16:49 +0200)]
common: Update for new suppressions
Edward Hervey [Thu, 1 Apr 2010 11:55:15 +0000 (13:55 +0200)]
gstplaysink: Remove unused variable.
The value of klass is never used
Edward Hervey [Thu, 1 Apr 2010 11:53:37 +0000 (13:53 +0200)]
decodebin2: Removing dead assignment.
The value of group is overwritten a few lines below before being used.
Edward Hervey [Thu, 1 Apr 2010 11:51:13 +0000 (13:51 +0200)]
tagdemux: Remove unused variable
Edward Hervey [Thu, 1 Apr 2010 11:48:42 +0000 (13:48 +0200)]
gstgnomevfssink: Return the proper GstFlowReturn.
We were always returning GST_FLOW_OK previously even if we encountered errors.
Tim-Philipp Müller [Tue, 30 Mar 2010 22:44:51 +0000 (23:44 +0100)]
gst-libs: more gobject-introspection fixes
Use right .pc file variable for compiler includes this time:
g-ir-compiler wants the girdirs not the typelibdirs as includes.
Tim-Philipp Müller [Tue, 30 Mar 2010 19:21:28 +0000 (20:21 +0100)]
examples: fix printf format warning in jsseek example
Yes, I know about G_GSIZE_FORMAT.
Tim-Philipp Müller [Tue, 30 Mar 2010 18:56:56 +0000 (19:56 +0100)]
gst-libs: fix up gobject-introspection some more
Use new girdir and typlibdir from core .pc files, so we can figure
out the right includes to pass to the gobject-introspection tools,
whether core is installed in the same prefix as gobject-introspection
or in a different prefix or uninstalled. This also keeps us from adding
bogus paths to the includes that only work if core is uninstalled.
Also add some missing includes/pkgs where needed.
Tim-Philipp Müller [Tue, 30 Mar 2010 18:29:48 +0000 (19:29 +0100)]
Our RIFF library depends on both the audio and tag libraries
Update rules in Makefile.am accordingly.
Robert Swain [Tue, 30 Mar 2010 13:10:42 +0000 (15:10 +0200)]
playsink: Fix aduio_raw_sink typo
Jan Schmidt [Sat, 28 Nov 2009 20:03:44 +0000 (21:03 +0100)]
examples: Add a silly joystick based shuttle example
David Schleef [Tue, 30 Mar 2010 03:07:52 +0000 (20:07 -0700)]
theoraenc: 0-length packets are delta units
Tim-Philipp Müller [Mon, 29 Mar 2010 09:47:31 +0000 (10:47 +0100)]
gst-libs: build independent sub-directories in parallel if make -jN is used
Build those libraries that don't depend on any other gst-plugins-base
libraries in parallel if make -jN is used.
Tim-Philipp Müller [Sun, 28 Mar 2010 23:22:20 +0000 (00:22 +0100)]
build: build plugin and example directories in parallel if make -jN is used
We know our plugins and examples are independent of each other, so may
just as well build them in parallel. Makes the output a bit messy, but
that shouldn't be a problem and can easily be avoided with make -j1.
Tim-Philipp Müller [Sun, 28 Mar 2010 20:50:58 +0000 (21:50 +0100)]
gst-libs: specify dependencies in Makefile.am to make them explicit
Tim-Philipp Müller [Wed, 24 Mar 2010 09:59:42 +0000 (09:59 +0000)]
xoverlay: change new set_render_rectangle() vfunc to take four arguments so we don't depend on libgstvideo
Don't make libgstinterfaces (and thus libgstaudio etc.) indirectly depend
on libgstvideo by using the GstVideoRectangle helper structure in the API,
which causes undesirable dependencies, esp. with the gobject-introspection
(people will point and laugh at us if they find out that libgstaudio
depends on libgstvideo). Instead, pass the x, y, width and height parameters
directly to the function.
Re-fixes #610249.
Wim Taymans [Thu, 25 Mar 2010 17:45:48 +0000 (18:45 +0100)]
uridecodebin: we can handle avi in download mode too
Add avi to the whitelisted types that can be used for download buffering.
Sebastian Dröge [Fri, 26 Mar 2010 14:57:39 +0000 (15:57 +0100)]
oggdemux: Provide packet duration function for old FLAC mapping too
Fixes bug #613809.
Damien Lespiau [Thu, 18 Mar 2010 22:12:40 +0000 (22:12 +0000)]
autogen.sh: Don't call configure with --enable-plugin-docs
configure gives a nice warning:
configure: WARNING: unrecognized options: --enable-plugin-docs
and indeed, I could not find anything in the configure.ac or the m4
macros that would allow enabling that option. Remove it then.
Thiago Santos [Thu, 25 Mar 2010 02:04:43 +0000 (23:04 -0300)]
tag: xmp: Do not remove tag from list twice
There was a but when parsing the tags that removed two tags
from the list when only one was parsed
Thiago Santos [Wed, 24 Mar 2010 17:43:21 +0000 (14:43 -0300)]
tag: xmp: Add some comments
Just adds some comments explaining some stuff about the
(de)serialization functions. Add myself to the copyright list too.
Thiago Santos [Wed, 24 Mar 2010 13:18:13 +0000 (10:18 -0300)]
tag: xmp: Adds _USER_RATING mapping for xmp
Adds a new mapping for _USER_RATING on xmp helper lib
and also adds tests for it
Thiago Santos [Tue, 23 Mar 2010 12:32:40 +0000 (09:32 -0300)]
tag: xmp: Add Elevation tag mapping
Adds a mapping to the _ELEVATION tag, this is a different
mapping as it has to be mapped into exif:GPSAltitude and
exif:GPSAltitudeRef at the same time. So we needed to refactor
a little more to be able to deserialize it properly.
Now, when parsing a xmp buffer into a taglist all tags are
added to a list before being parsed so that when one of the
altitude tags are found the deserialization function can search
for its complementary tag to do the correct parsing
Fixes #613690
Thiago Santos [Tue, 23 Mar 2010 12:48:19 +0000 (09:48 -0300)]
tag: xmp: Fix off by one
Avoid ignoring single char tags, like exif:GPSAltitudeRef
Fixes #613690
Thiago Santos [Mon, 22 Mar 2010 18:18:28 +0000 (15:18 -0300)]
tag: xmp: Adds mappings for LATITUDE and LONGITUDE
Adds the mappings for those tags and tests
for tags serialization.
Fixes #613690
Thiago Santos [Tue, 23 Mar 2010 01:03:09 +0000 (22:03 -0300)]
tag: xmp: Refactor buffer parsing
When parsing the xmp buffer into the gst taglist store the
found tags into a list to be parsed only after finding all
tags on the buffer. This allows the parser function to search
this list for complimentary tags that should be parsed together
Fixes #613690
Thiago Santos [Sat, 20 Mar 2010 14:17:38 +0000 (11:17 -0300)]
tag: xmp: Refactor mappings storage
This commit is only refactoring, no fetaures added.
Do not store tags in flexible arrays as it doesn't allow us
to use nested flexible arrays. This is going to be needed in the
following commits to map gst tags that are stored into
2 separate tags in xmp (Not that they are alternatives, but
they are complementary).
For example, GST_TAG_ELEVATION is represented in the exif
schema with 2 fields: the absolute altitude and an integer
to indicate if it is above or below sea level.
The previous mappings storage wouldn't allow us to
express it.
Also store a serialization and a deserialization function
for each xmp tag as some of them require some non-trivial
convertion to its string form.
Fixes #613690
Edward Hervey [Wed, 24 Mar 2010 17:51:42 +0000 (18:51 +0100)]
Automatic update of common submodule
From 55cd514 to c1d07dd
Wim Taymans [Wed, 24 Mar 2010 17:55:25 +0000 (18:55 +0100)]
seek: parse more info from the buffering query
Parse more info from the buffering query and log this as debug info.
Wim Taymans [Wed, 24 Mar 2010 11:10:38 +0000 (12:10 +0100)]
rtsptransport: ignore unparsable ranges
Ignore unparsable port ranges instead of erroring out.
Fixes #613591
Sebastian Dröge [Tue, 23 Mar 2010 17:36:26 +0000 (18:36 +0100)]
win32: Add new gst_rtsp_lower_trans_get_type() symbol to the symbol lists
Mark Nauwelaerts [Tue, 23 Mar 2010 10:01:17 +0000 (11:01 +0100)]
riff: add some more fourcc for MPEG-4 video
Tim-Philipp Müller [Mon, 22 Mar 2010 09:15:28 +0000 (09:15 +0000)]
configure: require core git
Sebastian Dröge [Mon, 22 Mar 2010 07:38:18 +0000 (08:38 +0100)]
pkgconfig: Add @LIBM@ to the FFT pkg-config files
Sebastian Dröge [Mon, 22 Mar 2010 07:35:57 +0000 (08:35 +0100)]
pkgconfig: Fix include and library paths for the uninstalled pc files
Tim-Philipp Müller [Sat, 20 Mar 2010 13:42:32 +0000 (13:42 +0000)]
gio: add cast to avoid compiler warning with old GLib versions
g_file_input_stream_query_info() had char * instead of const char *
as attribute argument before 2.20.
Fixes #613387, spotted by tetsuyayasuda@gmail.com
Torsten Schönfeld [Sat, 20 Mar 2010 12:55:36 +0000 (12:55 +0000)]
docs: add Since: tags to gst_x_overlay_handle_event() docs
Fixes #613403.
Benjamin Otte [Fri, 19 Mar 2010 21:33:58 +0000 (22:33 +0100)]
Constify some strings in the API
Needed by plugins-good
Sebastian Dröge [Fri, 19 Mar 2010 15:41:54 +0000 (16:41 +0100)]
videotestsrc: Only set color-matrix and chroma-site for relevant formats
The color-matrix only makes sense for colorful formats, i.e. not Y800
and the chroma-site only for non-4:4:4(:4) formats.
Wim Taymans [Fri, 19 Mar 2010 14:37:04 +0000 (15:37 +0100)]
theoradec: add QoS messages to the decoder
Post QoS messages when we drop a frame because of QoS.
Wim Taymans [Fri, 19 Mar 2010 14:00:01 +0000 (15:00 +0100)]
rtsp: add GType for transport flags
Make a method to register the transport flags as a GType.
Tim-Philipp Müller [Fri, 19 Mar 2010 01:00:36 +0000 (01:00 +0000)]
build: Makefile.am fixes
Mostly just add missing $(GST_BASE_CFLAGS), but also fix up order
of flags (see docs/random/moving-plugins).
Tim-Philipp Müller [Fri, 19 Mar 2010 00:46:56 +0000 (00:46 +0000)]
.gitignore: ignore new unit test binary
Tim-Philipp Müller [Wed, 17 Mar 2010 23:57:31 +0000 (23:57 +0000)]
configure.ac: -Wmissing-prototypes and -Wnested-externs are not valid for C++
Fixes building Qt-based overlay examples in combination with -Werror.
Tim-Philipp Müller [Wed, 17 Mar 2010 16:32:35 +0000 (16:32 +0000)]
configure.ac: wrap overly long warning flag lines
Reuben Dowle [Wed, 17 Mar 2010 22:24:27 +0000 (19:24 -0300)]
ximagesink: Fix caps leak
Unref caps when peer doesn't accept caps
Fixes #613198
Thiago Santos [Wed, 17 Mar 2010 11:13:59 +0000 (08:13 -0300)]
tests: capsfilter-renegotiation: Adds a new unit test
Adds a new test for checking that capsfilter 'caps' property
changes cause caps renegotiation on the pipeline.
Sebastian Dröge [Wed, 17 Mar 2010 15:46:32 +0000 (16:46 +0100)]
videoscale: Use correct boundary checks for YUY2/UYVY
Fixes bug #613093.
Peter Kjellerstedt [Wed, 17 Mar 2010 15:39:13 +0000 (16:39 +0100)]
rtsp: Further clean up of gst_rtsp_strresult()
Since we no longer use an array of error messages, there is no reason
to clamp the error code, which allows us to simplify the code some more
and also to actually report the correct error code for unknown errors.
Sebastian Dröge [Wed, 17 Mar 2010 14:41:45 +0000 (15:41 +0100)]
volume: Remove useless cast
It's not necessary anymore after latest core change to GstValueArray.
Benjamin Otte [Wed, 17 Mar 2010 11:08:30 +0000 (12:08 +0100)]
Add more warning flags
The warnings are:
-Wcast-align
-Winit-self
-Wmissing-include-dirs
-Waddress
-Waggregate-return
-Wno-multichar
-Wnested-externs
No code needed to be fixed.
Benjamin Otte [Wed, 17 Mar 2010 10:14:29 +0000 (11:14 +0100)]
Fix for -Wold-style-definition
I didn't add the flag to configure because libvisual ships headers that
trigger this warning.
Benjamin Otte [Wed, 17 Mar 2010 09:53:21 +0000 (10:53 +0100)]
Add -Wformat-nonliteral -Wformat-security
And fix the resulting compile failures.
I'm sorry about the patch necessary to gstclockoverlay.h but after
talking to Tim we decided we can live with it.
Benjamin Otte [Wed, 17 Mar 2010 09:51:57 +0000 (10:51 +0100)]
rtsp: Refactor gst_rtsp_strresult
2 goals in the refactoring:
- Put the error messages closer to their enum values, so that it's easy
to see which error belongs to which value.
- Make gcc not complain with -Wformat-nonliteral
Benjamin Otte [Wed, 17 Mar 2010 09:47:07 +0000 (10:47 +0100)]
xmp: Refactor code
I initially looked here because I wanted compiles to not fail with
-Wformat-nonliteral but ended up refactoring the code to make it look
nicer.
As I lack a large collection of XMP tagged files, I only did rough
testing of the code. The testsuite passes though.
Tim-Philipp Müller [Tue, 16 Mar 2010 20:05:43 +0000 (20:05 +0000)]
m4: remove some unused .m4 files
Benjamin Otte [Tue, 16 Mar 2010 17:31:15 +0000 (18:31 +0100)]
More ENABLE_NLS fixes
Benjamin Otte [Tue, 16 Mar 2010 17:06:16 +0000 (18:06 +0100)]
Fix for ENABLE_NLS being undefined for -Wundef
Benjamin Otte [Mon, 15 Mar 2010 21:49:53 +0000 (22:49 +0100)]
Add -Wwrite-strings to configure
Fixes for the code included
Benjamin Otte [Tue, 16 Mar 2010 14:45:23 +0000 (15:45 +0100)]
gst_element_class_set_details => gst_element_class_set_details_simple
Also change my email from the old university one to the current one.
Benjamin Otte [Mon, 15 Mar 2010 21:17:56 +0000 (22:17 +0100)]
Add -Wundef flag
Wim Taymans [Tue, 16 Mar 2010 15:15:39 +0000 (16:15 +0100)]
rtspconnection: allow for more ipv6 addresses
Use hints in getaddrinfo() so that we can also resolve ipv6 addresses.
Mark Nauwelaerts [Thu, 11 Mar 2010 13:52:09 +0000 (14:52 +0100)]
baseaudiosink: arrange for a running ringbuffer/clock for _wait_eos
Fixes #612223.
Tim-Philipp Müller [Tue, 16 Mar 2010 01:08:48 +0000 (01:08 +0000)]
tests: fix videorate test
Fix up videorate test for latest videotestsrc changes: just check for
the important bits in the negotiated caps, not for exact equality with
our filter caps. Also don't leak the videorate element in the test.
Rob Clark [Mon, 15 Mar 2010 17:54:32 +0000 (12:54 -0500)]
riff: add mapping for On2 VP7 fourccs
Fixes #612968.
Rob Clark [Mon, 15 Mar 2010 17:54:01 +0000 (12:54 -0500)]
riff: add mapping for On2 VP62 fourcc
See #612968.
Tim-Philipp Müller [Mon, 15 Mar 2010 23:46:39 +0000 (23:46 +0000)]
docs: more helper libraries docs fixes
Quieten gtk-doc a bit more.
Tim-Philipp Müller [Mon, 15 Mar 2010 23:47:23 +0000 (23:47 +0000)]
docs: add GstRTSPExtension to docs
Add minimal docs for GstRTSPExtension so people know it exists.
David Hoyt [Mon, 15 Mar 2010 18:45:13 +0000 (18:45 +0000)]
typefind: use g_ascii_strncasecmp() instead of strncasecmp()
g_ascii_strncasecmp() is more portable and likely more robust as
well (with random binary data as input).
Fixes #612845.
Tim-Philipp Müller [Mon, 15 Mar 2010 13:39:58 +0000 (13:39 +0000)]
docs: fix typo in gst_tag_list_from_xmp_buffer() docs chunk