Wim Taymans [Tue, 4 May 2010 11:51:07 +0000 (13:51 +0200)]
oggstream: avoild division by 0
Wim Taymans [Tue, 4 May 2010 11:50:46 +0000 (13:50 +0200)]
oggdemux: cleanup unused defines
Wim Taymans [Tue, 4 May 2010 11:36:58 +0000 (13:36 +0200)]
oggdemux: use the index in push mode when we can
When seeking in push mode, try to use the index first before we use the bitrate
estimation.
Wim Taymans [Tue, 4 May 2010 11:05:51 +0000 (13:05 +0200)]
oggdemux: use skeleton duration when possible
Wim Taymans [Tue, 4 May 2010 11:02:19 +0000 (13:02 +0200)]
oggstream: parse duration from 3.3 skeleton
Wim Taymans [Tue, 2 Mar 2010 10:16:39 +0000 (11:16 +0100)]
oggdemux: more index parsing work
Wim Taymans [Mon, 1 Mar 2010 12:50:32 +0000 (13:50 +0100)]
oggdemux: clean up fishead/fisbone parsing
Remove some redundant code for parsing fishead streams. Actually use the data we
parsed (mostly start_time).
Wim Taymans [Tue, 4 May 2010 09:19:39 +0000 (11:19 +0200)]
oggdemux: implement seek in push mode
Refactor start time collection code.
When we receive a flush_stop, resync to the new start time and push out a new
segment event.
Wim Taymans [Mon, 3 May 2010 14:52:59 +0000 (16:52 +0200)]
oggdemux: make event handling better
Explicitly handle FLUSH events and resync on FLUSH_STOP.
Make send_event return a boolean.
Use more performant send_event function to forward events.
Wim Taymans [Fri, 30 Apr 2010 16:37:17 +0000 (18:37 +0200)]
oggdemux: implement seeking in pushmode
Convert seek requests to bytes using the bitrate and forward them upstream. Does
not quite work because the flushing and resyncing is not implemented yet.
Wim Taymans [Fri, 30 Apr 2010 16:03:37 +0000 (18:03 +0200)]
oggdemux: refactor for seeking in pushmode
refactor the code a little to prepare for seeking in push mode
Thiago Santos [Mon, 3 May 2010 15:46:34 +0000 (12:46 -0300)]
tag: xmp: Adds new geo-location mappings
Adds GST_TAG_GEO_LOCATION_MOVEMENT_SPEED,
GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION and
GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION to xmp
mappings.
Tests included.
Thiago Santos [Tue, 27 Apr 2010 01:08:41 +0000 (22:08 -0300)]
tag: xmp: Adds xmp mappings for device tags
Adds xmp mappings for GST_TAG_DEVICE_MANUFACTURER and
GST_TAG_DEVICE_MODEL. Also adds tests for it.
Tim-Philipp Müller [Fri, 30 Apr 2010 18:56:14 +0000 (19:56 +0100)]
rtsp: deprecate remaining base64 function now that we depend on GLib 2.20
API: deprecate gst_rtsp_base64_decode_ip(), use g_base64_decode_inplace() instead
Mark Nauwelaerts [Fri, 30 Apr 2010 17:37:33 +0000 (19:37 +0200)]
basertpdepayload: ensure writable metadata
Wim Taymans [Fri, 30 Apr 2010 15:41:05 +0000 (17:41 +0200)]
oggdemux: use bitrate to estimate length in pushmode
Parse the bitrate from the various streams.
Use the bitrate and the upstream length in bytes to estimate the total stream
duration in push mode.
Tim-Philipp Müller [Fri, 30 Apr 2010 13:07:59 +0000 (14:07 +0100)]
Bump GLib requirement to 2.20
See http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement
Mark Nauwelaerts [Fri, 30 Apr 2010 11:36:59 +0000 (13:36 +0200)]
playbin2: forward duration query duration during group switch if no cached duration
... such as during first group setup.
Fixes #616396.
Mark Nauwelaerts [Fri, 2 Apr 2010 14:37:21 +0000 (16:37 +0200)]
oggdemux: only EOS when all streams are EOS
Mark Nauwelaerts [Fri, 2 Apr 2010 14:36:53 +0000 (16:36 +0200)]
oggdemux: fix debug message
Stefan Kost [Fri, 30 Apr 2010 05:45:43 +0000 (08:45 +0300)]
test: fix copy and paste error of variable name
Stefan Kost [Sun, 18 Apr 2010 17:46:37 +0000 (20:46 +0300)]
adder: only accept seek-types none and set
Previously we were also acting on cur and end, but treating them like none.
Stefan Kost [Wed, 14 Apr 2010 20:31:20 +0000 (23:31 +0300)]
adder: rework timestamping
Adder was using always incrementing timestamps. Seeking was done by setting the
position in the newsegment event. This was failing when doing segmented seeks
with rate<0.0, as offset (and thus timestamp) would go below 0.
Now we take both cur and end from the seek event. We construct newsegment events
depending including cur and end from the seek event. We set position to the
start of the segment. Timestamp is set to start or end of segment depending on
rate. Offset is recalculated.
Sebastian Dröge [Mon, 26 Apr 2010 15:30:44 +0000 (17:30 +0200)]
playsink: Add support for deinterlacing
This is disabled by default and can be enabled with the
deinterlace flag.
Fixes bug #547603.
Sebastian Dröge [Mon, 26 Apr 2010 09:12:43 +0000 (11:12 +0200)]
playbin2: Add flag for enabling/disabling automatic deinterlacing
Sebastian Dröge [Mon, 26 Apr 2010 09:11:37 +0000 (11:11 +0200)]
playbin: Use g_once_init_{enter,leave} instead of GOnce for enum/flag registration
Sebastian Dröge [Fri, 23 Apr 2010 15:01:55 +0000 (17:01 +0200)]
ffmpegcolorspace: Use GST_BOILERPLATE and use GstVideoFilter as base class
This gives automatic QoS handling.
Sebastian Dröge [Fri, 23 Apr 2010 14:24:11 +0000 (16:24 +0200)]
playsink: Correctly reconfigure the video chain when switching from a subtitle to a non-subtitle file
Fixes bug #616422.
Sebastian Dröge [Fri, 23 Apr 2010 14:08:14 +0000 (16:08 +0200)]
playbin2: If a text sink is provided, let subtitle parsing be done by decodebin2 if required
This way subtitle sinks only get buffers in the format that they
understand, i.e. raw parsed text in most cases.
Fixes bug #614942.
Sebastian Dröge [Fri, 23 Apr 2010 13:30:54 +0000 (15:30 +0200)]
playbin2: Set subtitle encoding on the decodebins again
Sebastian Dröge [Fri, 23 Apr 2010 13:22:07 +0000 (15:22 +0200)]
video: API: Add GST_VIDEO_FORMAT_v308 for packed 4:4:4 YUV
Sebastian Dröge [Fri, 23 Apr 2010 13:14:56 +0000 (15:14 +0200)]
videoscale: Some random cleanup
Sebastian Dröge [Fri, 23 Apr 2010 13:06:13 +0000 (15:06 +0200)]
videoscale: Add support for Y444, Y42B and Y41B
Sebastian Dröge [Fri, 23 Apr 2010 12:42:50 +0000 (14:42 +0200)]
videoscale: Reorder template caps by the amount of information contained in the color formats
Joshua M. Doe [Thu, 22 Apr 2010 19:46:17 +0000 (15:46 -0400)]
videorate: add support for video/x-raw-gray
Tim-Philipp Müller [Thu, 29 Apr 2010 14:05:59 +0000 (15:05 +0100)]
docs: remove references to and introspection data of plugins that no longer exist
Some plugins (decodebin2, playbin) have been renamed or merged
into different plugins (uridecodebin, playback).
Tim-Philipp Müller [Thu, 29 Apr 2010 14:02:39 +0000 (15:02 +0100)]
Back to development.
Tim-Philipp Müller [Wed, 28 Apr 2010 01:16:58 +0000 (02:16 +0100)]
Release 0.10.29
Tim-Philipp Müller [Wed, 28 Apr 2010 00:34:24 +0000 (01:34 +0100)]
Update .po files
Tim-Philipp Müller [Sun, 25 Apr 2010 22:14:35 +0000 (23:14 +0100)]
0.10.28.3 pre-release
Tim-Philipp Müller [Tue, 20 Apr 2010 16:20:43 +0000 (17:20 +0100)]
doap: update repository info from cvs->git and maintainers
Tim-Philipp Müller [Fri, 23 Apr 2010 13:39:46 +0000 (14:39 +0100)]
Automatic update of common submodule
From fc85867 to 4d67bd6
Sebastian Dröge [Thu, 22 Apr 2010 18:58:29 +0000 (20:58 +0200)]
ffmpegcolorspace: Fix Y41B->Y444 conversion
...which is the intermediate conversion for conversion to all
other formats.
Fixes bug #616545.
Sebastian Dröge [Fri, 16 Apr 2010 18:03:21 +0000 (20:03 +0200)]
audiorate: Don't leak the input buffer in error cases
Fixes bug #615572.
Stefan Kost [Mon, 29 Mar 2010 09:53:11 +0000 (12:53 +0300)]
docs: fix typo in link name
Stefan Kost [Thu, 15 Apr 2010 09:59:53 +0000 (12:59 +0300)]
x(v)imagesink: gracefully handle ximagesink>xwindow == NULL
Expose could be called before we have set the xwindow. Handle this gracefully
like we do in image_put.
Fixes #615789
Stefan Kost [Thu, 15 Apr 2010 08:44:49 +0000 (11:44 +0300)]
ximagesink: refactor _update_geometry()
Refactor like in xvimagesink. Remove the extra parameter and adjust the assert check.
Thiago Santos [Thu, 15 Apr 2010 10:18:05 +0000 (07:18 -0300)]
configure: Drop -Wcast-align
Commit message copied from core's commit from Benjamin Otte:
246f5dba96a5b50bb74621af67b30942cca72af5
Apparently gcc warns that GstMiniObject is not castable to
GstEvent/Message/Buffer due to them containing 64bit variables, even
though ARM hackers claim that those only need 4byte alignment. And as
long as gcc behaves that way, this warning is not very useful.
So we'll remove the warning until this problem is fixed.
Fixes #615698
Tim-Philipp Müller [Wed, 14 Apr 2010 13:13:25 +0000 (14:13 +0100)]
0.10.28.2 pre-release
Tim-Philipp Müller [Wed, 14 Apr 2010 12:50:21 +0000 (13:50 +0100)]
po: update translations
Stefan Kost [Tue, 13 Apr 2010 13:20:10 +0000 (16:20 +0300)]
xvimagesink: init geometry when setting new xid
Don't rely on expose event to query geomentry after new xid is set.
Fixes #615647.
Tim-Philipp Müller [Wed, 14 Apr 2010 12:43:44 +0000 (13:43 +0100)]
build: use LDADD instead of LDFLAGS to specify libs to link to when building executables
Use foo_LDADD instead of foo_LDFLAGS to specify the libraries to link to.
This should make sure arguments are passed to the linker in the right
order, and makes LDFLAGS usable again.
Based on initial patch by Brian Cameron <brian.cameron@oracle.com>
Fixes #615697.
Tim-Philipp Müller [Mon, 12 Apr 2010 13:02:34 +0000 (14:02 +0100)]
typefinding: add channels and rate to ADTS caps if we can
Arun Raghavan [Mon, 12 Apr 2010 12:33:18 +0000 (13:33 +0100)]
typefinding: add AAC level to ADTS caps
This adds code to calculate the level for a given AAC stream and export
it in the stream caps. For AAC LC streams, the level is calculated
according to the definition under the AAC Profile. For other streams,
the definition under the Main Profile is used.
HE-AAC support is still to be done, and is dependent on detecting the
presence of SBR and PS in the stream.
Level is added as a field of type string because that's the way it's
done in H.264 caps as well. There are only a few possible levels, so
not using a numerical type is not too painful in this case, and
consistency is nice.
Fixes #613589.
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.