Commit graph

7886 commits

Author SHA1 Message Date
Thiago Santos 390b719e96 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.
2010-04-04 22:34:19 -03:00
Sebastian Dröge 44e474f76d 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.
2010-04-04 21:18:04 +02:00
Sebastian Dröge 1e8f3f7689 alsamixer: Detect errors from device polling, stop the task and post an error message
Partially fixes bug #614545.
2010-04-04 21:00:52 +02:00
Tim-Philipp Müller 7d1c889956 examples: build silly joystick seek example only on linux
jsseek depends on linux headers and should therefore only be built
on linux.

Fixes #614764.
2010-04-04 12:15:04 +01:00
Stefan Kost 45b39fcfc1 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.
2010-04-03 22:52:01 +03:00
Vincent Untz 764c899215 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.
2010-04-03 14:03:45 +01:00
Stefan Kost 718edb5c14 audiotestsrc: implement reverse playback
Support playback at negative rates. When having a GstController assigned, the
element will produce time dependend output.
2010-04-02 21:04:37 +03:00
Stefan Kost 2f16c5fd62 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.
2010-04-02 21:04:37 +03:00
Sebastian Dröge a8574bd53d seek: Only use embed_xid if HAVE_X is defined
Fixes bug #614622.
2010-04-02 18:58:06 +02:00
Edward Hervey dcfeb6efbc 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.
2010-04-01 19:13:22 +02:00
Edward Hervey e0c7452edf tests: Unref the bus once we're done with it 2010-04-01 18:51:17 +02:00
Edward Hervey 2a477a0ae5 common: Update for new suppressions 2010-04-01 16:49:37 +02:00
Edward Hervey 8db7eb4037 gstplaysink: Remove unused variable.
The value of klass is never used
2010-04-01 13:55:15 +02:00
Edward Hervey a58183459f decodebin2: Removing dead assignment.
The value of group is overwritten a few lines below before being used.
2010-04-01 13:53:37 +02:00
Edward Hervey 7173d4b1c2 tagdemux: Remove unused variable 2010-04-01 13:51:13 +02:00
Edward Hervey daa5b34d5f gstgnomevfssink: Return the proper GstFlowReturn.
We were always returning GST_FLOW_OK previously even if we encountered errors.
2010-04-01 13:48:42 +02:00
Tim-Philipp Müller b37c993e4e 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.
2010-03-30 23:46:10 +01:00
Tim-Philipp Müller fcd32fa399 examples: fix printf format warning in jsseek example
Yes, I know about G_GSIZE_FORMAT.
2010-03-30 20:21:28 +01:00
Tim-Philipp Müller 64cfa6bf73 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.
2010-03-30 19:56:56 +01:00
Tim-Philipp Müller 14063f0670 Our RIFF library depends on both the audio and tag libraries
Update rules in Makefile.am accordingly.
2010-03-30 19:29:48 +01:00
Robert Swain 6515b43e40 playsink: Fix aduio_raw_sink typo 2010-03-30 15:10:42 +02:00
Jan Schmidt cec360b397 examples: Add a silly joystick based shuttle example 2010-03-30 21:56:03 +11:00
David Schleef 681721466d theoraenc: 0-length packets are delta units 2010-03-29 20:54:46 -07:00
Tim-Philipp Müller 93e408bdbb 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.
2010-03-29 10:47:31 +01:00
Tim-Philipp Müller e1f38a685b 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.
2010-03-29 00:26:59 +01:00
Tim-Philipp Müller 00aaae8189 gst-libs: specify dependencies in Makefile.am to make them explicit 2010-03-29 00:21:01 +01:00
Tim-Philipp Müller 37d000d175 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.
2010-03-28 20:21:10 +01:00
Wim Taymans 133f804d2d uridecodebin: we can handle avi in download mode too
Add avi to the whitelisted types that can be used for download buffering.
2010-03-26 18:24:58 +01:00
Sebastian Dröge 482dd1e56a oggdemux: Provide packet duration function for old FLAC mapping too
Fixes bug #613809.
2010-03-26 15:57:39 +01:00
Damien Lespiau 7683cf8eb3 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.
2010-03-25 08:25:20 +01:00
Thiago Santos 9ef1e58ccc 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
2010-03-24 23:04:43 -03:00
Thiago Santos f2ef0cd7b1 tag: xmp: Add some comments
Just adds some comments explaining some stuff about the
(de)serialization functions. Add myself to the copyright list too.
2010-03-24 15:42:22 -03:00
Thiago Santos 8fda870b29 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
2010-03-24 15:34:52 -03:00
Thiago Santos 007bf4fe7c 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
2010-03-24 15:34:40 -03:00
Thiago Santos e207463582 tag: xmp: Fix off by one
Avoid ignoring single char tags, like exif:GPSAltitudeRef

Fixes #613690
2010-03-24 15:34:02 -03:00
Thiago Santos 7ebbfbd3a5 tag: xmp: Adds mappings for LATITUDE and LONGITUDE
Adds the mappings for those tags and tests
for tags serialization.

Fixes #613690
2010-03-24 15:33:16 -03:00
Thiago Santos fe1f3e3595 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
2010-03-24 15:33:05 -03:00
Thiago Santos e82414643c 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
2010-03-24 15:32:58 -03:00
Edward Hervey 23e3a1d94d Automatic update of common submodule
From 55cd514 to c1d07dd
2010-03-24 18:57:34 +01:00
Wim Taymans 496444c980 seek: parse more info from the buffering query
Parse more info from the buffering query and log this as debug info.
2010-03-24 18:55:25 +01:00
Wim Taymans 4ff230e71b rtsptransport: ignore unparsable ranges
Ignore unparsable port ranges instead of erroring out.

Fixes #613591
2010-03-24 12:10:38 +01:00
Sebastian Dröge 0872ea67f9 win32: Add new gst_rtsp_lower_trans_get_type() symbol to the symbol lists 2010-03-23 18:36:26 +01:00
Mark Nauwelaerts 9b227f17c8 riff: add some more fourcc for MPEG-4 video 2010-03-23 11:02:07 +01:00
Tim-Philipp Müller 7ef4938d93 configure: require core git 2010-03-22 09:15:28 +00:00
Sebastian Dröge 4038d4ba85 pkgconfig: Add @LIBM@ to the FFT pkg-config files 2010-03-22 08:38:18 +01:00
Sebastian Dröge 7e75b71851 pkgconfig: Fix include and library paths for the uninstalled pc files 2010-03-22 08:35:57 +01:00
Tim-Philipp Müller 197fe6d0d1 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
2010-03-20 13:42:32 +00:00
Torsten Schönfeld 9b6843092a docs: add Since: tags to gst_x_overlay_handle_event() docs
Fixes #613403.
2010-03-20 12:57:29 +00:00
Benjamin Otte 90f24667d7 Constify some strings in the API
Needed by plugins-good
2010-03-19 22:34:36 +01:00
Sebastian Dröge 08589317f8 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.
2010-03-19 16:43:14 +01:00