Stefan Sauer [Mon, 25 Jul 2011 10:04:02 +0000 (12:04 +0200)]
textoverlay: improve the example
Mentioned that this is not ment to be used with subtitles and suggest alternatives.
Edward Hervey [Mon, 25 Jul 2011 08:41:04 +0000 (10:41 +0200)]
decodebin2: Properly handle multi-stream chains
When we have a multi-stream (i.e. audio and video) input and the demuxer
adds/removes pads for a new stream (common in a mpeg-ts stream when the
program stream mapping is updated), the algorithm for EOS handling was
previously wrong (it would only drop the EOS of the *last* pad but would
let the EOS on the other pads go through).
The logic has only been changed a tiny bit for EOS handling resulting in:
* If there is no next group, let the EOS go through
* If there is a next group, but not all pads are drained in the active
group, drop the EOS event
* If there is a next group and all pads are drained, then the ghostpads
will be removed and the EOS event will be dropped automatically.
Stefan Sauer [Sat, 23 Jul 2011 12:21:27 +0000 (14:21 +0200)]
textoverlay: add example for feeding from stdin
Stefan Sauer [Sat, 23 Jul 2011 11:46:31 +0000 (13:46 +0200)]
test: print actual timestamp on failure
Stefan Sauer [Wed, 20 Jul 2011 11:46:31 +0000 (13:46 +0200)]
textoverlay: keep untimestamped textbuffer until next one
Instead of discarding untimestamped text-buffers immeditely after rendering,
keep them until we receive the next text buffer.
Fixes #654959
Tim-Philipp Müller [Fri, 15 Jul 2011 15:46:54 +0000 (16:46 +0100)]
tests: add decodebin2 test for parser autoplugging
Make sure decodebin2 doesn't try to plug the same parser twice
in a row.
Tim-Philipp Müller [Wed, 6 Jul 2011 18:40:48 +0000 (19:40 +0100)]
tests: add decodebin1 test for parser autoplugging
Make sure decodebin1 doesn't try to plug the same parser twice
in a row (so we can change all parsers to accept parsed input as
well without breaking applications still using the old decodebin1
element).
Tim-Philipp Müller [Thu, 7 Jul 2011 14:02:19 +0000 (15:02 +0100)]
decodebin: don't plug the same parser multiple times in a row
This allows us to make parsers accept both parsed and unparsed input
without decodebin plugging them in a loop until things blow up, ie.
without affecting applications that still use the old playbin or the
old decodebin.
(Making parsers accept parsed input is useful for later when we want
to use parsers to convert the stream-format into something the decoder
can handle. It's also much more convenient for application authors
who can plug parsers unconditionally in transcoding pipelines, for
example).
Tim-Philipp Müller [Thu, 14 Jul 2011 12:56:02 +0000 (13:56 +0100)]
docs: add Since marker to gtk-doc chunk for new codec utils API
And add new API to .def file.
API: gst_codec_utils_h264_get_level_idc()
Olivier Crête [Mon, 7 Mar 2011 22:55:48 +0000 (17:55 -0500)]
codec-utils: Add method to convert H.264 text level in a level_idc
David Schleef [Sun, 10 Jul 2011 01:33:38 +0000 (18:33 -0700)]
oggmux: check for EOS on both current and best pad
Oops, need both. Fixes #654270.
David Schleef [Sun, 10 Jul 2011 01:24:26 +0000 (18:24 -0700)]
oggmux: check for EOS on current pad, not best
Fixes #654270.
Piotr Fusik [Sat, 9 Jul 2011 09:59:42 +0000 (11:59 +0200)]
typefind: fixed detection of audio/x-sap
Fixes: #654295.
Signed-off-by: David Schleef <ds@schleef.org>
Luis de Bethencourt [Thu, 30 Jun 2011 18:33:36 +0000 (20:33 +0200)]
encodebin: fix compiler warning
cspace and cspace2 may run uninitialized.
Robert Swain [Wed, 29 Jun 2011 11:12:49 +0000 (13:12 +0200)]
encodebin: Add flags to disable conversion elements
Add a flags property and two flags to allow one to disable the
conversion elements within encodebin. Doing so insists that the
uncompressed input to encodebin for the appropriate stream type is
sufficient to meet the caps requirements of the encoders, muxers and
encodebin target.
This is mostly beneficial to bypass slow caps negotiations in the
conversion elements.
Thiago Santos [Wed, 29 Jun 2011 12:59:05 +0000 (09:59 -0300)]
tag: xmp: Remove extra chars from end of xmp packet
Windows picture viewer is unhappy with extra trailing chars at the
end of the xmppacket footer. So remove them as they aren't needed.
Robert Swain [Wed, 29 Jun 2011 09:30:51 +0000 (11:30 +0200)]
streamsplitter: Fix getcaps src pad caps merge
Caps returned from gst_pad_peer_get_caps_reffed () may not be writable.
If they are not is should cause an assertion in gst_caps_merge (),
however, sometimes assertions are disabled in binary builds of -base and
it's safer to just be sure the caps are writable. Also, check that the
reffed caps pointer is not NULL.
Philip Jägenstedt [Wed, 15 Jun 2011 11:51:31 +0000 (13:51 +0200)]
typefind: NULL check in degas_type_find
The length check isn't sufficient, an source might
report the correct length, but then still fail to
read the requested number of bytes for some reason.
https://bugzilla.gnome.org/show_bug.cgi?id=652642
Tim-Philipp Müller [Sun, 26 Jun 2011 00:06:58 +0000 (01:06 +0100)]
docs: minor addition to decodebin2 design doc
Tim-Philipp Müller [Sun, 26 Jun 2011 00:06:19 +0000 (01:06 +0100)]
tests: the navigation interface isn't GstImplementsInterface-wrapped
Tim-Philipp Müller [Sat, 25 Jun 2011 23:49:46 +0000 (00:49 +0100)]
interfaces: GstStreamVolume isn't wrapped by GstImplementsInterface
This interface depends on properties and isn't per-instance.
Tim-Philipp Müller [Sat, 25 Jun 2011 23:40:20 +0000 (00:40 +0100)]
rtsp: GstRTSPExtension isn't wrapped by GstImplementsInterface
Fix copy'n'paste error in headers, GstRTSPExtension isn't
something that's per-instance.
Tim-Philipp Müller [Sat, 25 Jun 2011 23:36:36 +0000 (00:36 +0100)]
tag: GstXmpWriter doesn't use the GstImplementsInterface
No need for per-instance checking of interface implementation here,
presumably just a copy'n'paste issue.
Jonathan Matthew [Sat, 11 Jun 2011 09:03:57 +0000 (19:03 +1000)]
encoding-target: set names on audio and video profiles
https://bugzilla.gnome.org/show_bug.cgi?id=652342
David Schleef [Thu, 23 Jun 2011 18:28:04 +0000 (11:28 -0700)]
Automatic update of common submodule
From 69b981f to 605cd9a
Tim-Philipp Müller [Sat, 18 Jun 2011 12:32:17 +0000 (13:32 +0100)]
Bump git version after unplanned 0.10.35 release
Merge branch '0.10.35'
Conflicts:
configure.ac
docs/plugins/inspect/plugin-adder.xml
docs/plugins/inspect/plugin-alsa.xml
docs/plugins/inspect/plugin-app.xml
docs/plugins/inspect/plugin-audioconvert.xml
docs/plugins/inspect/plugin-audiorate.xml
docs/plugins/inspect/plugin-audioresample.xml
docs/plugins/inspect/plugin-audiotestsrc.xml
docs/plugins/inspect/plugin-cdparanoia.xml
docs/plugins/inspect/plugin-decodebin.xml
docs/plugins/inspect/plugin-encoding.xml
docs/plugins/inspect/plugin-ffmpegcolorspace.xml
docs/plugins/inspect/plugin-gdp.xml
docs/plugins/inspect/plugin-gio.xml
docs/plugins/inspect/plugin-gnomevfs.xml
docs/plugins/inspect/plugin-libvisual.xml
docs/plugins/inspect/plugin-ogg.xml
docs/plugins/inspect/plugin-pango.xml
docs/plugins/inspect/plugin-playback.xml
docs/plugins/inspect/plugin-subparse.xml
docs/plugins/inspect/plugin-tcp.xml
docs/plugins/inspect/plugin-theora.xml
docs/plugins/inspect/plugin-typefindfunctions.xml
docs/plugins/inspect/plugin-uridecodebin.xml
docs/plugins/inspect/plugin-videorate.xml
docs/plugins/inspect/plugin-videoscale.xml
docs/plugins/inspect/plugin-videotestsrc.xml
docs/plugins/inspect/plugin-volume.xml
docs/plugins/inspect/plugin-vorbis.xml
docs/plugins/inspect/plugin-ximagesink.xml
docs/plugins/inspect/plugin-xvimagesink.xml
gst-libs/gst/audio/Makefile.am
gst/subparse/gstsubparse.c
win32/common/_stdint.h
win32/common/config.h
Edward Hervey [Sat, 18 Jun 2011 09:16:19 +0000 (11:16 +0200)]
discoverer: Allow GError* argument to be NULL
This is how other methods taking GError* arguments behave.
Fixes #652838
Tim-Philipp Müller [Wed, 15 Jun 2011 18:29:48 +0000 (19:29 +0100)]
Release 0.10.35
This is an ad-hoc release that is almost identical to 0.10.34:
* work around GLib atomic ops API change
* don't use G_CONST_RETURN in public headers
* subparse: typefinding fixes for subtitles in non-UTF8 charsets
Christian Fredrik Kalager Schaller [Wed, 15 Jun 2011 14:08:32 +0000 (15:08 +0100)]
Add gobject introspection files to spec
Christian Fredrik Kalager Schaller [Wed, 15 Jun 2011 13:53:56 +0000 (14:53 +0100)]
remove old v4l plugin from spec file
Christian Fredrik Kalager Schaller [Wed, 15 Jun 2011 13:49:41 +0000 (14:49 +0100)]
Add missing dist subdir
Tim-Philipp Müller [Wed, 15 Jun 2011 13:21:30 +0000 (14:21 +0100)]
audio: link test program against libgstaudio
Debarshi Ray [Tue, 14 Jun 2011 05:01:18 +0000 (10:31 +0530)]
codec-utils: restore 7350 as a valid sampling frequency for AAC
This was lost during
c77f88cac675a1dbb89e40da8e3c28320523bfca.
Tim-Philipp Müller [Thu, 9 Jun 2011 17:30:33 +0000 (18:30 +0100)]
libs: replace G_CONST_RETURN with 'const'
G_CONST_RETURN will be deprecated soon.
https://bugzilla.gnome.org/show_bug.cgi?id=652211
David Schleef [Wed, 1 Jun 2011 05:14:09 +0000 (22:14 -0700)]
convert M_PI to G_PI, for msvc
Mark Nauwelaerts [Mon, 6 Jun 2011 12:41:41 +0000 (14:41 +0200)]
tagdemux: no input data implies no type can be found
... and posting a proper error message to this effect is appropriately
informative and prevents auto-plugging otherwise stalling.
David Schleef [Sat, 4 Jun 2011 20:36:55 +0000 (13:36 -0700)]
adder: Work around changes in g_atomic API
See #651514 for details.
David Schleef [Wed, 1 Jun 2011 03:38:56 +0000 (20:38 -0700)]
discoverer: fix c99-ism
Sebastian Dröge [Mon, 23 May 2011 14:02:34 +0000 (16:02 +0200)]
subparse: Try to typefind even if conversion to UTF8 failed
Fixes bug #600043.
Sebastian Dröge [Mon, 23 May 2011 13:51:14 +0000 (15:51 +0200)]
subparse: Interprete typefind strings passed to GRegex as raw bytes instead of valid UTF8
Stefan Kost [Fri, 20 May 2011 07:48:39 +0000 (10:48 +0300)]
lang: fix possible array overrun
We where checking for i<G_N_ELEMENTS, but where accessing i+1.
Debarshi Ray [Tue, 14 Jun 2011 05:01:18 +0000 (10:31 +0530)]
codec-utils: restore 7350 as a valid sampling frequency for AAC
This was lost during
c77f88cac675a1dbb89e40da8e3c28320523bfca.
David Schleef [Wed, 1 Jun 2011 05:14:09 +0000 (22:14 -0700)]
convert M_PI to G_PI, for msvc
David Schleef [Wed, 8 Jun 2011 04:30:18 +0000 (21:30 -0700)]
oggmux: refactor how EOS is determined
This decreases the number of buffers held on each pad by one,
eliminating next_buffer. Simplifies the logic by relying solely
on CollectPads to let us know when a pad is in EOS. As a side
benefit, the collect pads related code is structured more like
other CollectPad users.
The previous code would occasionally mark the wrong pad as EOS,
causing the code to get in a state where all the streams were
finished, but EOS hadn't been sent to the source pad.
Tim-Philipp Müller [Thu, 9 Jun 2011 17:30:33 +0000 (18:30 +0100)]
libs: replace G_CONST_RETURN with 'const'
G_CONST_RETURN will be deprecated soon.
https://bugzilla.gnome.org/show_bug.cgi?id=652211
Thiago Santos [Thu, 9 Jun 2011 03:02:07 +0000 (00:02 -0300)]
tag: xmp: Fix LocationShown syntax
According to the specification, the LocationShown requires its
struct fields to be inside a Bag type.
Thiago Santos [Wed, 8 Jun 2011 17:21:40 +0000 (14:21 -0300)]
tag: xmp: Add room for extra namespace definitions
Adds an extra field to the namespace definitions of the schemas
so they can add the namespace of any array/struct fields they
might use internally.
Tim-Philipp Müller [Wed, 8 Jun 2011 11:21:43 +0000 (12:21 +0100)]
GST_PLUGINS_BASE_LIBS is not defined in -base.
Christophe Fergeau [Wed, 8 Jun 2011 09:33:07 +0000 (11:33 +0200)]
examples: don't link testchannels example with system libgstaudio
The testchannels audio test program is using -lgstaudio-0.10 to link
with libgstaudio which won't use the gstaudio library that was just
built but the one from the system. This is an issue since it means
we won't be testing the code from the current source tree, and it
also breaks the build when building on a system which don't have
a libgstaudio yet.
https://bugzilla.gnome.org/show_bug.cgi?id=652100
Tim-Philipp Müller [Wed, 8 Jun 2011 10:11:05 +0000 (11:11 +0100)]
docs: add some text about parser/decoder autoplugging issues
Mark Nauwelaerts [Mon, 6 Jun 2011 12:41:41 +0000 (14:41 +0200)]
tagdemux: no input data implies no type can be found
... and posting a proper error message to this effect is appropriately
informative and prevents auto-plugging otherwise stalling.
Mark Nauwelaerts [Mon, 6 Jun 2011 10:48:23 +0000 (12:48 +0200)]
oggmux: determine granulepos metadata using stream mapper whenever possible
... which unfortunately is not the case for all types, but at least so for
most common ones.
Mark Nauwelaerts [Mon, 6 Jun 2011 10:46:05 +0000 (12:46 +0200)]
oggmux: convert incoming buffer timestamp to running time
... so all subsequent manipulation can take place in the proper timeline
without further ado.
Mark Nauwelaerts [Wed, 1 Jun 2011 18:48:44 +0000 (20:48 +0200)]
oggmux: remove superfluous code
... since there is nothing in oggstream that cares (or even should)
about granulepos for what is being asked from it.
David Schleef [Sat, 4 Jun 2011 20:36:55 +0000 (13:36 -0700)]
adder: Work around changes in g_atomic API
See #651514 for details.
David Schleef [Wed, 1 Jun 2011 03:38:56 +0000 (20:38 -0700)]
discoverer: fix c99-ism
Luis de Bethencourt [Fri, 3 Jun 2011 14:29:00 +0000 (16:29 +0200)]
theora: separate encode and push block in chain, into own function.
Luis de Bethencourt [Thu, 2 Jun 2011 17:08:41 +0000 (19:08 +0200)]
theora: use fixed src cap pads
Luis de Bethencourt [Thu, 2 Jun 2011 16:57:05 +0000 (18:57 +0200)]
theora: set the width/height/par on the srcpad caps
Luis de Bethencourt [Thu, 2 Jun 2011 15:29:53 +0000 (17:29 +0200)]
theora: get sink caps info from downstream element pad
https://bugzilla.gnome.org/show_bug.cgi?id=651564
Patrick McCarty [Fri, 27 May 2011 21:41:39 +0000 (14:41 -0700)]
pbutils: add description for wbmp images.
https://bugzilla.gnome.org/show_bug.cgi?id=651294
Tim-Philipp Müller [Wed, 1 Jun 2011 23:55:41 +0000 (00:55 +0100)]
typefinding: add typefinder for WAP WBMP bitmaps
https://bugzilla.gnome.org/show_bug.cgi?id=651294
Sebastian Dröge [Thu, 2 Jun 2011 09:53:10 +0000 (11:53 +0200)]
playsink: Fix deadlock in the audio/video converter bins when linking fails
Edward Hervey [Wed, 1 Jun 2011 15:31:35 +0000 (17:31 +0200)]
check: ... and don't forget to add the new arm header
Forgot it in my previous commit
Edward Hervey [Wed, 1 Jun 2011 15:24:30 +0000 (17:24 +0200)]
libsabi: Add structure sizes for arm
David Schleef [Wed, 1 Jun 2011 02:57:57 +0000 (19:57 -0700)]
fft: s/M_PI/G_PI/ for MSVC
Sebastian Dröge [Tue, 31 May 2011 09:05:03 +0000 (11:05 +0200)]
volume: Fix handling of volume>=4.0 for 8 and 16 bit integer formats
Also add a unit test for this. Previously volumes bigger than 4.0
would have resulted in overflows in the fixed point processing.
Fixes bug #649642.
Tim-Philipp Müller [Sun, 29 May 2011 12:32:04 +0000 (13:32 +0100)]
tests: fix some more unused-but-set-variable warnings with gcc 4.6
Tim-Philipp Müller [Sat, 28 May 2011 15:14:23 +0000 (16:14 +0100)]
win32: update .def file for new API
Tim-Philipp Müller [Sat, 28 May 2011 11:39:06 +0000 (12:39 +0100)]
Ignore new playbin2-compress test binary
And add old testchannels binary to CRUFT_FILES.
Tim-Philipp Müller [Fri, 27 May 2011 22:31:27 +0000 (23:31 +0100)]
video: sprinkle some G_GNUC_CONST
Mark functions that have no effect besides their return value and
only inspect their input arguments with G_GNUC_CONST. (We just
ignore the g_return_val_if_fail() guards for this)
Tim-Philipp Müller [Fri, 27 May 2011 22:25:00 +0000 (23:25 +0100)]
video: clean up header file
Sprinkle some spaces and newlines here and there.
Stefan Kost [Fri, 27 May 2011 12:03:19 +0000 (15:03 +0300)]
audio: move testchannels example to 'tests/examples' dir
Also fix it up a little to not include 'c' file but link to the libs instead.
Stefan Kost [Fri, 27 May 2011 08:39:21 +0000 (11:39 +0300)]
code-utile: fix level descriptions for fgs
fgs levels range from 8-13 and are mapped to 0-5.
Stefan Kost [Wed, 25 May 2011 11:38:21 +0000 (14:38 +0300)]
codec-utils: fix mpeg4 level verification
The current condition would never be true. As levels<6 are asp and levels>7 and
<14 are fgs, we should return NULL for cases 6,7,14,15.
Sebastian Dröge [Thu, 26 May 2011 10:33:08 +0000 (12:33 +0200)]
xvimagesink: Fallback to non-XShm mode if allocating the XShm image failed
Fixes bug #630442.
Sebastian Dröge [Thu, 26 May 2011 10:30:31 +0000 (12:30 +0200)]
ximagesink: Fallback to non-XShm mode if allocating the XShm image failed
Fixes bug #630442.
Sebastian Dröge [Thu, 26 May 2011 09:41:50 +0000 (11:41 +0200)]
playbin2: Let the input-selectors sync all streams to the running time
This is especially needed when switching between a non-sparse and sparse
video stream, see bug #537382. It also lowers the time needed for switching
between streams a bit.
Lane Brooks [Thu, 20 Jan 2011 07:52:50 +0000 (00:52 -0700)]
textoverlay: added 'outline-color' parameter to control whether text gets a shadow
Lane Brooks [Thu, 20 Jan 2011 07:42:39 +0000 (00:42 -0700)]
textoverlay: added 'shadow' option to control whether text gets a shadow
Jindrich Makovicka [Thu, 26 May 2011 08:48:05 +0000 (10:48 +0200)]
textrender: Correctly negotiate with downstream instead of just using random caps
Fixes bug #638897.
Jindrich Makovicka [Thu, 26 May 2011 08:43:51 +0000 (10:43 +0200)]
textrender: Add bound checks to not write outside the image area
Jindrich Makovicka [Thu, 26 May 2011 08:42:46 +0000 (10:42 +0200)]
textrender: Prevent double unref of caps if the caps can't be set on the srcpad
Sebastian Dröge [Thu, 26 May 2011 08:31:11 +0000 (10:31 +0200)]
gnomevfssrc: Keep track of interruptions during read with a flag
American Dynamics [Fri, 3 Sep 2010 13:11:30 +0000 (09:11 -0400)]
gnomevfssrc: Add support for cancelling the read operations
This allows the state change from PAUSED to READY to be faster.
Fixes bug #628337.
Sreerenj Balachandran [Wed, 25 May 2011 11:14:46 +0000 (14:14 +0300)]
ximagesink: Remove g_assert from interface query
Sreerenj Balachandran [Wed, 25 May 2011 11:08:43 +0000 (14:08 +0300)]
xvimagesink: Remove the g_assert from interface query
Stefan Kost [Wed, 25 May 2011 21:17:40 +0000 (00:17 +0300)]
audiotestsrc: add blue and violet noise by using spectral inversion
Add blue and violet noise by spectral inversion of pink and red noise.
Fixes #649969
Stefan Kost [Wed, 25 May 2011 20:40:26 +0000 (23:40 +0300)]
audiotestsrc: add red (brownian) noise generator
Add another noise generator which produces a quite dark noise color.
Fixes parts of #649969.
Vladimir Eremeev [Mon, 27 Sep 2010 09:32:31 +0000 (13:32 +0400)]
seek: set selected/default audio/video sinks on playbin and playbin2
https://bugzilla.gnome.org/show_bug.cgi?id=630322
Tim-Philipp Müller [Wed, 25 May 2011 18:03:44 +0000 (19:03 +0100)]
seek: add --audiosink and --videosink command line options
Tim-Philipp Müller [Wed, 25 May 2011 17:50:34 +0000 (18:50 +0100)]
seek: use the right GDK defines to differentiate between the backends
Tim-Philipp Müller [Wed, 25 May 2011 17:45:33 +0000 (18:45 +0100)]
seek: use gst_filename_to_uri() to convert a filename to a uri
Vladimir Eremeev [Mon, 27 Sep 2010 08:46:54 +0000 (12:46 +0400)]
seek: make seek example work in win32
https://bugzilla.gnome.org/show_bug.cgi?id=630322
Tim-Philipp Müller [Wed, 25 May 2011 15:08:54 +0000 (16:08 +0100)]
configure: update GLib requirement to >= 2.24
Same as core (make implicit requirement explicit).
http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement
Stefan Kost [Wed, 25 May 2011 12:24:33 +0000 (15:24 +0300)]
theoraenc: remove bogus <0 check for unsigned var
bytes_written is a gsize which is unsigned and thus never < 0.
Stefan Kost [Wed, 25 May 2011 12:23:13 +0000 (15:23 +0300)]
theoraenc: fix variable type for bytes_consumed
th_encode_ctl() returns an int. Using a gsize result in bogus <0 checks.
Stefan Kost [Wed, 25 May 2011 12:04:20 +0000 (15:04 +0300)]
riff: remove the g_return_if_fail as we test it below
We don't want to return without setting taglist=NULL if asserts are on and with
setting taglist=NULL otherwise.
Stefan Kost [Wed, 25 May 2011 11:28:18 +0000 (14:28 +0300)]
volume: use a flag for 'mute' using the controller
Previously we checked mute_csource to determine wheter we need to premultiply
volumes and mute values. That fails as we unrefs mute_csource and set it to
NULL after. Use an extra flag instead.
Stefan Kost [Wed, 25 May 2011 11:12:50 +0000 (14:12 +0300)]
exiftag: reflow the code
Move the warning on unsupported units to the swicth-case. Move fetching the
pending tags down to where we use them.