Wim Taymans [Mon, 1 Feb 2010 10:44:34 +0000 (11:44 +0100)]
uridecodebin: clean up decodebin properties
When reusing a decodebin2 element, clear the properties we might have changed,
to their default values or else we might end up with old configuration.
Fixes #608484
Tim-Philipp Müller [Fri, 29 Jan 2010 13:56:05 +0000 (13:56 +0000)]
playbin2: when no uri is set, post an error message
When no uri is set, don't just return STATE_CHANGE_FAILURE from the
state change function, but actually post an error message.
Tim-Philipp Müller [Sat, 30 Jan 2010 15:18:13 +0000 (15:18 +0000)]
Automatic update of common submodule
From 15d47a6 to 96dc793
Wim Taymans [Thu, 28 Jan 2010 16:12:34 +0000 (17:12 +0100)]
adder: don't hold object lock when calling peer elements
Do not hold the object lock while we call methods on peer elements as this can
lead to deadlocks.
Fixes #608179
Tim-Philipp Müller [Wed, 27 Jan 2010 01:12:49 +0000 (01:12 +0000)]
0.10.25.2 pre-release
Tim-Philipp Müller [Wed, 27 Jan 2010 01:07:55 +0000 (01:07 +0000)]
win32: update generated files for non-autotools win32 builds
Tim-Philipp Müller [Wed, 27 Jan 2010 00:56:00 +0000 (00:56 +0000)]
po: update translation files
Tim-Philipp Müller [Wed, 27 Jan 2010 00:41:24 +0000 (00:41 +0000)]
audiosrc: add gratuitious FIXME for use of generic G_TYPE_POINTER type
Edward Hervey [Tue, 26 Jan 2010 15:47:40 +0000 (16:47 +0100)]
decodebin2: Don't skip an element when getting the topology
Fixes #608167
Vincent Penquerc'h [Sun, 24 Jan 2010 14:41:44 +0000 (14:41 +0000)]
oggdemux: sparse streams aren't timed by end time, and their duration isn't implicit
Fixes timestamps and durations on Kate subtitle streams.
See http://www.xiph.org/ogg/doc/ogg-multiplex.html section 'start-time and
end-time positioning' for some more details, and bug #600929.
Vincent Penquerc'h [Sat, 23 Jan 2010 20:15:08 +0000 (20:15 +0000)]
oggdemux: properly set up the media type for kate streams
See #600929.
Julien Moutte [Mon, 25 Jan 2010 17:57:52 +0000 (18:57 +0100)]
subtitleoverlay: relax caps template on sink pads
Allow any caps on sink pad templates as we could do passthrough with non raw
video caps.
Wim Taymans [Mon, 25 Jan 2010 14:14:56 +0000 (15:14 +0100)]
oggdemux: use right type for the serialno
Use a consistent type for the serialno to avoid problems when comparing between
signed and unsigned variants.
Fixes #607926
Wim Taymans [Mon, 25 Jan 2010 13:00:52 +0000 (14:00 +0100)]
oggdemux: don't push headers twice
Don't push the stream headers twice but only in the activation of a chain.
Fixes #607929
Wim Taymans [Mon, 25 Jan 2010 12:18:18 +0000 (13:18 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-base
Wim Taymans [Mon, 25 Jan 2010 11:31:24 +0000 (12:31 +0100)]
oggdemux: rename a variable
Rename the 'seekable' variable to 'pullmode'. We might be able to seek in push
mode too eventually.
Sebastian Dröge [Mon, 25 Jan 2010 11:22:17 +0000 (12:22 +0100)]
Revert "inputselector: Protect g_object_notify() with the object's mutex"
This reverts commit
a37426c41c80fd21e5017fea01a786c05bcd9661, it's
causing deadlocks with playbin2.
Kipp Cannon [Sun, 24 Jan 2010 19:55:26 +0000 (20:55 +0100)]
inputselector: Protect g_object_notify() with the object's mutex
This works around the thread unsafety of g_object_notify()
Fixes bug #607513.
Sebastian Dröge [Sun, 24 Jan 2010 19:46:58 +0000 (20:46 +0100)]
typefindfunctions: Add typefinder for ISO MP4 files
Fixes bug #607848.
Tim-Philipp Müller [Sun, 24 Jan 2010 13:29:07 +0000 (13:29 +0000)]
oggdemux: fix crash when freeing headers
Use _ogg_packet_free() instead of gst_mini_object_unref in one more
place now that the header list contains ogg packets and not buffers.
file: Stephen_Fry-Happy_Birthday_GNU-nq_600px_425kbit.ogv
Sebastian Dröge [Sun, 24 Jan 2010 07:57:13 +0000 (08:57 +0100)]
oggdemux: Strip trailing \0 for subtitle OGM streams
Fixes bug #607870.
Sebastian Dröge [Sat, 23 Jan 2010 21:09:45 +0000 (22:09 +0100)]
oggdemux: Correctly set DELTA_UNIT flag for OGM streams
Sebastian Dröge [Sat, 23 Jan 2010 21:05:40 +0000 (22:05 +0100)]
oggdemux: Don't strip all 0-bytes from the end of OGM packets
This fixes broken packets pushed downstream by oggdemux for
MPEG4 streams for example.
Sebastian Dröge [Sat, 23 Jan 2010 21:03:18 +0000 (22:03 +0100)]
oggdemux: Extract tags from OGM text streams and don't push them downstream
Sebastian Dröge [Sat, 23 Jan 2010 13:46:19 +0000 (14:46 +0100)]
oggdemux: Store header/queued packets as ogg_packet and use normal peer chaining functions to pass them downstream
Tim-Philipp Müller [Sat, 23 Jan 2010 15:25:42 +0000 (15:25 +0000)]
typefinding: optimise AC-3 typefinder a bit
Make AC-3 typefinder use the DataScanCtx stuff so we don't have to
do gst_type_find_peek() in the inner loop all the time. Also return
when we've suggested AC3 caps, instead of continuing with the loop.
Tim-Philipp Müller [Sat, 23 Jan 2010 14:31:15 +0000 (14:31 +0000)]
Revert "typefind: Reduce number of calls to gst_type_find_peek."
This reverts commit
c661bfaa991c58f1fbd9fbc0dae90b8b2c27f92b.
This breaks AC-3 typefinding for all cases where the first frame
is at an offset > 0.
Edward Hervey [Sat, 23 Jan 2010 14:35:05 +0000 (15:35 +0100)]
pbutils: Add description for Zip Block Motion Video
Edward Hervey [Sat, 23 Jan 2010 14:34:54 +0000 (15:34 +0100)]
riff: Add mapping for Zip Block Motion Video
Edward Hervey [Sat, 23 Jan 2010 14:26:37 +0000 (15:26 +0100)]
riff: YUNV is a fourcc which is also used for YUY2 raw video
Edward Hervey [Sat, 23 Jan 2010 14:13:45 +0000 (15:13 +0100)]
riff: vp61 and VP61 are also valid On2 VP6 fourcc
Edward Hervey [Sat, 23 Jan 2010 14:10:45 +0000 (15:10 +0100)]
riff: Add mapping for On2 VP5
Edward Hervey [Sat, 23 Jan 2010 14:04:35 +0000 (15:04 +0100)]
riff: Add mapping for Sigma-Designs MPEG4
It's actually a xvid-compatible stream. both xviddec and ffmpeg handle it.
Edward Hervey [Sat, 23 Jan 2010 13:35:28 +0000 (14:35 +0100)]
pbutils: Add description for LOCO Lossless codec
Edward Hervey [Sat, 23 Jan 2010 13:35:16 +0000 (14:35 +0100)]
riff: Add mapping for LOCO Lossless codec
Edward Hervey [Sat, 23 Jan 2010 13:08:39 +0000 (14:08 +0100)]
riff: Add support for YV12 / Uncompressed packed YVU 4:2:2
Edward Hervey [Sat, 23 Jan 2010 12:50:26 +0000 (13:50 +0100)]
pbutils: add description for Autodesk Animator codec
Edward Hervey [Sat, 23 Jan 2010 12:50:09 +0000 (13:50 +0100)]
riff: Add mapping for Autodesk Animator Codec
Sebastian Dröge [Sat, 23 Jan 2010 12:20:46 +0000 (13:20 +0100)]
oggdemux: ...and set caps on queued packet buffers too
Sebastian Dröge [Sat, 23 Jan 2010 12:19:08 +0000 (13:19 +0100)]
oggdemux: Set caps on header buffers
Wim Taymans [Fri, 22 Jan 2010 15:23:43 +0000 (16:23 +0100)]
uridecodebin: handle raw sources about-to-finish signals
When we are dealing with a source that produces raw audio/video, we don't use a
decodebin2 to decode the data and we thus don't have the drained/about-to-finish
signal emited. To fix this, we add a padprobe on the source pads and emit the
drained signal ourselves. This then makes playbin2 emit the about-to-finish
signal for raw sources such as cdda://
Fixes #607116
Stefan Kost [Fri, 22 Jan 2010 14:15:54 +0000 (16:15 +0200)]
typefind: include stdio.h for sscanf
Tim-Philipp Müller [Fri, 22 Jan 2010 01:49:38 +0000 (01:49 +0000)]
typefinding: add PNM typefinder
Add PNM typefinder, so we can remove the one that's in the PNM plugin
in -bad (which btw uses different/wrong media types that don't match
the ones used by gdkpixbufdec) and people don't make fun of us for
loading image decoders when typefinding and playing back audio files.
Thijs Vermeir [Thu, 21 Jan 2010 18:31:23 +0000 (19:31 +0100)]
ffmpegcolorspace: rename performance category
rename the performance category to ffmpegcolorspace_performance
as there is already a global GST_CAT_PERFORMANCE in core
Wim Taymans [Thu, 21 Jan 2010 16:32:33 +0000 (17:32 +0100)]
oggdemux: keep track of added pads
Keep track of the pads we added and removed.
Remove some unused fields.
Don't add pads for which we don't have caps.
Wim Taymans [Thu, 21 Jan 2010 16:31:13 +0000 (17:31 +0100)]
oggstream: don't call NULL setup functions
If we find a known mapper but it doesn't have a setup function, simply skip it
instead of crashing.
Wim Taymans [Thu, 21 Jan 2010 16:30:15 +0000 (17:30 +0100)]
oggstream: avoid division by 0 on bad annodex streams
Edward Hervey [Thu, 21 Jan 2010 12:47:01 +0000 (13:47 +0100)]
pbutils: Add description for y4m container
Olivier Crête [Tue, 19 Jan 2010 19:31:34 +0000 (14:31 -0500)]
basertppayload: ptime/maxptime should be unsigned
https://bugzilla.gnome.org/show_bug.cgi?id=607403
Olivier Crête [Tue, 19 Jan 2010 02:16:32 +0000 (21:16 -0500)]
basertppayload: ptime should be in nanoseconds
https://bugzilla.gnome.org/show_bug.cgi?id=607403
Tim-Philipp Müller [Wed, 20 Jan 2010 00:53:20 +0000 (00:53 +0000)]
Automatic update of common submodule
From 14cec89 to 15d47a6
David Schleef [Tue, 19 Jan 2010 21:33:06 +0000 (13:33 -0800)]
typefind: rewrite h.264 detection
Make detection simpler: check for NALs, check that they make
sense, and report how certain we are that it's a raw H.264 stream.
Fixes: #583376.
Olivier Crête [Mon, 18 Jan 2010 19:33:30 +0000 (14:33 -0500)]
basertppayload: Reject empty caps
https://bugzilla.gnome.org/show_bug.cgi?id=607353
Thiago Santos [Tue, 19 Jan 2010 11:39:14 +0000 (08:39 -0300)]
oggdemux: No need to subtract begin time
Last stop is already based on the chain start and there is no need
to subtract the chain start as it may lead to a negative overflow.
This was causing seeking issues when the target chain was not
the first one (that has chain start = 0)
Fixes #606382
Sebastian Dröge [Tue, 19 Jan 2010 08:25:35 +0000 (09:25 +0100)]
audio: Use rounding scaling functions for GST_CLOCK_TIME_TO_FRAMES and _FRAMES_TO_CLOCK_TIME
Fixes bug #607381.
Thiago Santos [Mon, 18 Jan 2010 18:22:52 +0000 (15:22 -0300)]
oggdemux: granulepos is relative to its chain
When performing seeks, the granulepos should be offset by
its chain start time to avoid using wrong values to
update segment's last_stop. A sample file is indicated on
bug #606382
Edward Hervey [Mon, 18 Jan 2010 16:57:16 +0000 (17:57 +0100)]
pbutils: Add description for MXF container format
Tim-Philipp Müller [Mon, 18 Jan 2010 10:07:30 +0000 (10:07 +0000)]
playsink: re-use iterator callback to avoid code duplication
Tim-Philipp Müller [Mon, 18 Jan 2010 02:08:39 +0000 (02:08 +0000)]
playsink: when looking for sink properties, make sure they have the right type
We don't want to end up setting values on elements where the property is of
a different type than we expect. Can't transform the value either, since we
can't really make assumptions about the scale and transform function.
Fixes crashes when using playbin2 with apexsink (#606949).
Sebastian Dröge [Mon, 18 Jan 2010 08:30:18 +0000 (09:30 +0100)]
playbin2: Only allow to set the URIs in states <= READY or from an about-to-finish signal handler
Changing the URIs in a state > READY results in unexpected behaviour,
i.e. the new URIs are only used after the current track has finished.
Fixes bug #607226.
Mark Nauwelaerts [Fri, 15 Jan 2010 18:52:29 +0000 (19:52 +0100)]
decodebin2: sprinkle some more locking
... to avoid races and ensure some data structure consistency.
See also #574289.
Mark Nauwelaerts [Thu, 14 Jan 2010 17:26:03 +0000 (18:26 +0100)]
decodebin2: mind blocked pads when shutting down
Fix regression in shutdown deadlock handling now that the
target of a ghostpad is blocked instead of ghostpad itself.
See also #574293.
Sebastian Dröge [Thu, 14 Jan 2010 12:36:23 +0000 (13:36 +0100)]
playsink: Fix disabling of subtitles if subtitles were used before
In this case the video still goes through the text chain and
subtitles are still going in there, in case subtitles are
enabled again. This makes sure that re-enabling subtitles
happens instantly.
Fixes hanging video when disabling subtitles, caused by an
unliked video pad.
Mark Nauwelaerts [Thu, 14 Jan 2010 09:43:59 +0000 (10:43 +0100)]
playbin2: fix pad ref leak
Mark Nauwelaerts [Tue, 12 Jan 2010 20:42:59 +0000 (21:42 +0100)]
docs: fix out-of-source build
Mark Nauwelaerts [Wed, 29 Apr 2009 09:50:03 +0000 (11:50 +0200)]
stress-playbin: fix error return check
Sebastian Dröge [Thu, 14 Jan 2010 09:10:23 +0000 (10:10 +0100)]
theora: Rename source files to have the same name as the headers
Sebastian Dröge [Thu, 14 Jan 2010 09:07:22 +0000 (10:07 +0100)]
vorbis: Rename source files to have the same name as the headers
Sebastian Dröge [Thu, 14 Jan 2010 09:05:35 +0000 (10:05 +0100)]
vorbis: Move channel layout definitions into a single separate file
...instead of having two copies.
Sebastian Dröge [Thu, 14 Jan 2010 07:19:55 +0000 (08:19 +0100)]
vorbis: Add official 6.1 and 7.1 channel mappings
These are in the Vorbis spec since 2010-01-13. Fixes bug #606926.
Benjamin Otte [Wed, 13 Jan 2010 22:05:45 +0000 (23:05 +0100)]
rtsp: Don't define h_error ourselves
It's included from netdb.h and that header might define it differently,
which can lead to build failures.
Wim Taymans [Wed, 13 Jan 2010 16:36:05 +0000 (17:36 +0100)]
typefind: mp4 video is not parsed
Thiago Santos [Wed, 13 Jan 2010 15:49:20 +0000 (12:49 -0300)]
typefind: Add aac stream-format to caps
Also add the aac stream-format field on the caps when
detecting it.
Brijesh Singh [Wed, 13 Jan 2010 08:39:54 +0000 (09:39 +0100)]
playsink: Fix handling of the native audio/video flags
Fixes bug #606687.
Edward Hervey [Tue, 12 Jan 2010 15:35:50 +0000 (16:35 +0100)]
oggdemux: Fix unitialized variable.
If the package isn't handled, gracefully return GST_FLOW_OK.
Tim-Philipp Müller [Sun, 10 Jan 2010 23:50:02 +0000 (23:50 +0000)]
docs: flesh out GtkXOverlay docs some more and add example for Gtk+ >= 2.18
Explain why the whole bus sync handler mess is needed. Add section about
how to use GstXOverlay in connection with Gtk+ and mention the Gtk+ API
break issue and how to work around it (see #601809).
Tim-Philipp Müller [Sun, 10 Jan 2010 21:18:04 +0000 (21:18 +0000)]
docs: minor netbuffer documentation fix
Tim-Philipp Müller [Sun, 10 Jan 2010 20:41:53 +0000 (20:41 +0000)]
po: update translated strings
Queue2 moved into core, so remove its strings.
Wim Taymans [Fri, 8 Jan 2010 15:57:40 +0000 (16:57 +0100)]
oggdemux: push headers when activating chains
Keep a list of headers for each stream of a chain. When a chain is activated,
push the headers before pushing the data so that decoders can sync.
Fix seeking in chains, take the chain start time into account when comparing
timestamps.
See #606382
Tim-Philipp Müller [Thu, 7 Jan 2010 15:26:57 +0000 (15:26 +0000)]
tag: fix up disting of lang-tables.c more correctly
lang-tables.c is included by lang.c and not really a proper source
file that should be compiled into its own object, so rename it to
lang-tables.dat and put it into EXTRA_DIST instead to ensure it
gets disted.
Christian Schaller [Thu, 7 Jan 2010 13:50:03 +0000 (13:50 +0000)]
Add missing source file for tagger to Makefile and update spec file
Mark Yen [Thu, 7 Jan 2010 02:30:57 +0000 (18:30 -0800)]
riff-media: handle 32 bit raw RGB video.
Mark Nauwelaerts [Wed, 6 Jan 2010 12:57:51 +0000 (13:57 +0100)]
oggdemux: decide flac header packet by content rather than count
Mark Nauwelaerts [Wed, 6 Jan 2010 12:56:26 +0000 (13:56 +0100)]
oggdemux: reset header packet count at bos page
Wim Taymans [Wed, 6 Jan 2010 12:39:14 +0000 (13:39 +0100)]
audiopayload: add support for buffer-lists
Wim Taymans [Wed, 6 Jan 2010 10:33:03 +0000 (11:33 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-base
Olivier Crête [Tue, 5 Jan 2010 22:17:58 +0000 (17:17 -0500)]
textoverlay: Ignore zero framerate
https://bugzilla.gnome.org/show_bug.cgi?id=606163
Olivier Crête [Tue, 29 Dec 2009 23:45:32 +0000 (18:45 -0500)]
basertpaudiopayload: Respect ptime if it is given
If the ptime is given in the caps, respect it and force the minimum
and maximum sizes to be exactly the requested ptime.
https://bugzilla.gnome.org/show_bug.cgi?id=606050
Olivier Crête [Tue, 29 Dec 2009 23:36:29 +0000 (18:36 -0500)]
rtpbasepayload: Store ptime from caps
https://bugzilla.gnome.org/show_bug.cgi?id=606050
Olivier Crête [Wed, 2 Dec 2009 14:10:58 +0000 (19:40 +0530)]
basertppayload: Accept maxptime from caps
https://bugzilla.gnome.org/show_bug.cgi?id=606050
Mark Nauwelaerts [Tue, 5 Jan 2010 13:11:06 +0000 (14:11 +0100)]
oggdemux: enhance flac packet duration calculation
Wim Taymans [Tue, 5 Jan 2010 09:38:41 +0000 (10:38 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-base
Tim-Philipp Müller [Mon, 4 Jan 2010 09:49:25 +0000 (09:49 +0000)]
examples: use Gtk+-2.18 API conditionally
so the seek example and colorkey test work with older Gtk+ versions
as well.
Fixes #605960.
Tim-Philipp Müller [Tue, 29 Dec 2009 00:53:53 +0000 (00:53 +0000)]
tests: fix colorkey test up for Gtk+ >= 2.18
Make test-colorkey work with newer versions of Gtk+.
See #601809.
Tim-Philipp Müller [Tue, 29 Dec 2009 00:40:27 +0000 (00:40 +0000)]
examples: make seek example work with Gtk+ >= 2.18
Gtk+ broke API slightly with the introduction of
client-side windows in Gtk+ 2.18. Fix up seek
example to work with newer Gtk+ versions.
Fixes #601809.
Tim-Philipp Müller [Sat, 26 Dec 2009 23:29:24 +0000 (23:29 +0000)]
tests: fix warning and memory leak in stress-overlay test
Not all messages have structures and we need to unref messages
when returning GST_BUS_DROP in the sync bus handler.
Mark Nauwelaerts [Sat, 26 Dec 2009 17:46:50 +0000 (18:46 +0100)]
audiorate: correctly eat empty and dummy buffers
Wim Taymans [Thu, 24 Dec 2009 18:56:55 +0000 (19:56 +0100)]
adder: be a lot smarter with buffer management
Detect EOS faster.
Try to reuse one of the input buffer as the output buffer. This usually works
and avoids an allocation and a memcpy.
Be smarter with GAP buffers so that they don't get mixed or cleared at all. Also
try to use a GAP buffer as the output buffer when all input buffers are GAP
buffers.
Wim Taymans [Thu, 24 Dec 2009 15:30:23 +0000 (16:30 +0100)]
adder: use collectpads clipping function
Install a clipping function in the collectpads and use the audio clipping helper
function to perform clipping to the segment boundaries.
Fixes #590265
Wim Taymans [Thu, 24 Dec 2009 12:58:52 +0000 (13:58 +0100)]
adder: fix juvenile comment