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
Tim-Philipp Müller [Mon, 15 Mar 2010 13:32:58 +0000 (13:32 +0000)]
docs: fix up interfaces library docs to make gtk-doc happy
Tim-Philipp Müller [Mon, 15 Mar 2010 13:24:42 +0000 (13:24 +0000)]
docs: add new libgstvideo API to documentation
Tim-Philipp Müller [Mon, 15 Mar 2010 13:19:09 +0000 (13:19 +0000)]
win32: add recently added API to .def files
Also add API markers to make life easier for the release manager:
API: gst_x_overlay_set_render_rectangle()
API: gst_video_parse_caps_color_matrix()
API: gst_video_parse_caps_chroma_site()
Tim-Philipp Müller [Mon, 15 Mar 2010 13:14:54 +0000 (13:14 +0000)]
videotestsrc: use C comments instead of C++-style comments
Tim-Philipp Müller [Mon, 15 Mar 2010 13:10:23 +0000 (13:10 +0000)]
videotestsrc: use g_value_set_static_string() for string constants
Sebastian Dröge [Mon, 15 Mar 2010 13:26:28 +0000 (14:26 +0100)]
playsink: Avoid g_object_set() on NULL if a text sink is used
Fixes bug #611702.
Sebastian Dröge [Mon, 15 Mar 2010 13:10:09 +0000 (14:10 +0100)]
subparse: Correctly escape brackets in DKS regex
Fixes bug #612783.
Wim Taymans [Mon, 15 Mar 2010 10:36:22 +0000 (11:36 +0100)]
rtsp: make timeout usec more accurate
Adjust the returned usec from the elapsed time so it represents the remaining
timeout.
Stefan Kost [Mon, 15 Mar 2010 09:41:35 +0000 (11:41 +0200)]
tests: update videorate test for videotestsrc changes
Add color-matrix to the caps we are comparing. Add logging og the caps in the
test.
David Schleef [Mon, 15 Mar 2010 08:35:15 +0000 (01:35 -0700)]
videotestsrc: add chroma-zone-plate pattern
pattern=chroma-zone-plate is pattern similar to zone-plate,
but in the chroma channels instead of luma.
David Schleef [Mon, 15 Mar 2010 08:34:09 +0000 (01:34 -0700)]
theoradec: add chroma-site to caps
David Schleef [Mon, 15 Mar 2010 08:33:36 +0000 (01:33 -0700)]
videotestsrc: add chroma-site to caps
David Schleef [Mon, 15 Mar 2010 08:31:20 +0000 (01:31 -0700)]
video: add gst_video_parse_caps_chroma_site()
David Schleef [Mon, 15 Mar 2010 02:10:16 +0000 (19:10 -0700)]
theoradec: add color-matrix to caps
David Schleef [Sun, 14 Mar 2010 23:17:46 +0000 (16:17 -0700)]
videotestsrc: Add color-matrix to template caps
Tim-Philipp Müller [Sun, 14 Mar 2010 22:14:19 +0000 (22:14 +0000)]
tests: make Gtk+ test programs compile with -DGSEAL_ENABLE
Fixes #612552, at least for now.
Tim-Philipp Müller [Sun, 14 Mar 2010 22:13:25 +0000 (22:13 +0000)]
build: add cruft alert for common/shave* leftovers to top-level Makefile.am
David Schleef [Sun, 14 Mar 2010 20:11:53 +0000 (13:11 -0700)]
oggdemux: Don't drop zero-sized packets
Zero-sized packets have relevence to Theora.
Sebastian Dröge [Fri, 12 Mar 2010 14:47:40 +0000 (15:47 +0100)]
volume: Revert rounding behaviour changes when using controlled volume properties
Now the controlled and non-controlled code paths are all having
exactly the same rounding behaviour and the unit tests pass again.
Sebastian Dröge [Fri, 12 Mar 2010 14:44:50 +0000 (15:44 +0100)]
volume: Only allocate a mute value array if a control source exists for the mute property
Edward Hervey [Fri, 12 Mar 2010 12:55:55 +0000 (13:55 +0100)]
Automatic update of common submodule
From e272f71 to 55cd514
Thiago Santos [Wed, 10 Mar 2010 13:50:32 +0000 (10:50 -0300)]
tags: Add new mapping to XMP helpers
Adds geotagging mappings to XMP helpers
Fixes #609539
Benjamin Otte [Thu, 11 Mar 2010 19:16:44 +0000 (20:16 +0100)]
Don't have 2 include dirs
Seems to have been accidentally introduced in
7269bc26d0a4bf44bd77a039fb54777625ef5f39.
Edward Hervey [Thu, 11 Mar 2010 15:35:10 +0000 (16:35 +0100)]
tests: Fix another unitialized variable
Edward Hervey [Thu, 11 Mar 2010 15:09:26 +0000 (16:09 +0100)]
tests: Fix unitialized variable.
Benjamin Otte [Thu, 11 Mar 2010 14:38:18 +0000 (15:38 +0100)]
Add -Wredundant-decls to warning flags
... and fix all the warnings that flag throws.
Benjamin Otte [Thu, 11 Mar 2010 12:32:14 +0000 (13:32 +0100)]
Add -Wmissing-declarations -Wmissing-prototypes to warning flags
Includes all the fixes necessary to make stuff compile again.
Benjamin Otte [Thu, 11 Mar 2010 11:49:02 +0000 (12:49 +0100)]
gio: Remove unused function
Tim-Philipp Müller [Thu, 11 Mar 2010 11:14:35 +0000 (11:14 +0000)]
vorbisparse: make sure header buffer metadata is writable before modifying it
Fixes unit test failures with core git.
Benjamin Otte [Thu, 11 Mar 2010 11:18:00 +0000 (12:18 +0100)]
check: Ref buffers after setting caps on them
Reffing makes metadata unwritable, so we need to set the caps before.
Benjamin Otte [Thu, 11 Mar 2010 11:04:32 +0000 (12:04 +0100)]
Add WARNING_CXXFLAGS where ERROR_CXXFLAGS are
This matches the previous commit doing the same for CFLAGS in response
to the common/ module changes.
Edward Hervey [Thu, 11 Mar 2010 11:04:37 +0000 (12:04 +0100)]
Update .po files
Tim-Philipp Müller [Thu, 11 Mar 2010 10:38:53 +0000 (10:38 +0000)]
tests: don't use Gtk+ 2.18 API for no good reason
The rest of the code directly uses widget->allocation as well, so no point
in using the new API in other places.
Benjamin Otte [Thu, 11 Mar 2010 10:20:48 +0000 (11:20 +0100)]
Automatic update of common submodule
From df8a7c8 to e272f71
Stefan Kost [Thu, 11 Mar 2010 08:55:21 +0000 (10:55 +0200)]
xvoverlay: correct version number in docs
Stefan Kost [Fri, 26 Feb 2010 11:56:21 +0000 (13:56 +0200)]
tests: add a test for trickplay in audio synthesis graphs
Right now this mostly demonstatest what not works. That is seeking with
start-type = NONE to only update the rate and playing backwards. Also
it shows that non-flushing seeks tend to lockup adder. Separate unit tests
for the issues follow.
Stefan Kost [Mon, 8 Feb 2010 15:20:35 +0000 (17:20 +0200)]
tags: add basic xmp metadata support
XMP metadata can be embedded in many media container formats. Implement own
parser and formatter that can be used to convert between an xpacket and a
GstTagList. Add unit tests.
Stefan Kost [Fri, 19 Feb 2010 12:38:36 +0000 (14:38 +0200)]
example: add an example for xoverlay::set_render_rectangle()
This add a new example which animates a target recangle for the video.
Stefan Kost [Fri, 19 Feb 2010 12:46:43 +0000 (14:46 +0200)]
xvimagesink: implement set_render_rectangle
Previously we hardcoded the target rectangle passes to Xv(Shm)PutImage. Extend
the implementation to use a full rectangle and don't assume 0,0 for top,left.
Stefan Kost [Wed, 17 Feb 2010 13:00:13 +0000 (15:00 +0200)]
xoverlay: add new vmethod ::set_render_rectangle()
Add set_render_rectangle() vmethod to the interface to better support windowless
toolkits (e.g. qt graphicsview or video on canvas in general). Right now we
always fill the widget to 100%. With the patch we can use a rectangular target
region. Fixes #610249.
API: GstXOverlay::set_render_rectangle()
Stefan Kost [Tue, 16 Feb 2010 10:06:08 +0000 (12:06 +0200)]
x(v)imagesink: take new size from event thread and do not poll for every frame
We can update the geometry in ConfigureNotify (unless we disable event-
handling). If event handling is disabled, one should use _expose() to trigger a
redraw and update the geometry.
Benjamin Otte [Wed, 10 Mar 2010 20:51:59 +0000 (21:51 +0100)]
Automatic update of common submodule
From 9720a7d to df8a7c8
Benjamin Otte [Wed, 10 Mar 2010 20:01:20 +0000 (21:01 +0100)]
Update for recent changes to common submodule
This just replaces every "$ERROR_CFLAGS" usage with a usage of
"$WARNING_CFLAGS $ERROR_CFLAGS" to get the same functionality as
previously.
Actually using that separation will happen later.
Benjamin Otte [Wed, 10 Mar 2010 19:43:46 +0000 (20:43 +0100)]
Automatic update of common submodule
From 0b6e072 to 9720a7d
Benjamin Otte [Wed, 10 Mar 2010 15:09:45 +0000 (16:09 +0100)]
Automatic update of common submodule
From 7cc5eb4 to 0b6e072
Mark Nauwelaerts [Wed, 10 Mar 2010 13:36:34 +0000 (14:36 +0100)]
tagdemux: do not cache FLUSH_START/_STOP events
... and similarly so for serialized events.
Mark Nauwelaerts [Wed, 10 Mar 2010 13:34:57 +0000 (14:34 +0100)]
playsink: provide correct error message if configured audio/video sink fails