platform/upstream/gstreamer.git
13 years agoplaybin2: Optimize autoplug-continue handler a bit
Sebastian Dröge [Tue, 15 Feb 2011 16:46:22 +0000 (17:46 +0100)]
playbin2: Optimize autoplug-continue handler a bit

Don't build merge the caps of all sinks but check them one-by-one
until one supports the caps. Also get reffed caps from the sinkpads
instead of a writable copy and add debug output if a sink claims to
support ANY caps.

13 years agoplaybin2: Fix handling of non-raw custom sinks
Akihiro Tsukada [Tue, 15 Feb 2011 16:24:28 +0000 (17:24 +0100)]
playbin2: Fix handling of non-raw custom sinks

When autoplugging elements in decodebin2, check if
the caps are supported by one of the sink before
continuing autoplugging.

Fixes bug #642174.

13 years agodecodebin2: Don't leak elements that fail to go to PAUSED after being autoplugged
Sebastian Dröge [Tue, 15 Feb 2011 16:01:13 +0000 (17:01 +0100)]
decodebin2: Don't leak elements that fail to go to PAUSED after being autoplugged

Fixes bug #642381.

13 years agotheoraenc: Don't reset the video quality setting the bitrate
Sjoerd Simons [Sun, 13 Feb 2011 14:42:14 +0000 (14:42 +0000)]
theoraenc: Don't reset the video quality setting the bitrate

libtheora has two encoding modes, CBR, where it tries to hit a target
bitrate and VBR where it tries to achieve a target quality.

Internally if the target bitrate is set to anything other then 0 the
encoding-mode is CBR.

This means that the gstreamer element can leave the video_quality
setting alone as long as the user is tweaking the bitrate. Which has the
nice side-effect that if the user explicitely sets the bitrate to 0
(which is actually the default), the quality value doesn't get reset and
one ends up encoding VBR at quality-level 0...

13 years agogdppay: ensure buffer's metadata is writable before setting caps
Andoni Morales Alastruey [Wed, 9 Feb 2011 11:45:23 +0000 (12:45 +0100)]
gdppay: ensure buffer's metadata is writable before setting caps

13 years agoAutomatic update of common submodule
Stefan Kost [Mon, 14 Feb 2011 10:52:59 +0000 (12:52 +0200)]
Automatic update of common submodule

From f94d739 to 1de7f6a

13 years agodoap: update mailing list location
Tim-Philipp Müller [Thu, 10 Feb 2011 23:44:43 +0000 (23:44 +0000)]
doap: update mailing list location

13 years agodiscoverer: Use nominal bitrate if bitrate tag is unavailable
Arun Raghavan [Tue, 8 Feb 2011 18:28:56 +0000 (23:58 +0530)]
discoverer: Use nominal bitrate if bitrate tag is unavailable

If the bitrate tag is unavailable, this falls back to the nominal
bitrate tag instead, if that is present.

https://bugzilla.gnome.org/show_bug.cgi?id=641860

13 years agodecodebin2: caps can be NULL
Stefan Kost [Tue, 8 Feb 2011 10:31:34 +0000 (12:31 +0200)]
decodebin2: caps can be NULL

Don't use and unref NULL caps.

13 years agotagdemux: also push cached events downstream when operating in pull mode
Mark Nauwelaerts [Wed, 2 Feb 2011 15:49:04 +0000 (16:49 +0100)]
tagdemux: also push cached events downstream when operating in pull mode

Otherwise, having 2 tagdemux in a row followed by an element operating in
pull mode will make the second tagdemux implictly eat the first tagdemux'
tag event(s).

Fixes (part of) #641047.

13 years agooggmux: ensure serialnos are unique
Vincent Penquerc'h [Fri, 21 Jan 2011 18:10:29 +0000 (18:10 +0000)]
oggmux: ensure serialnos are unique

We do that by checking a newly generated one is not already used in
an existing stream, and doing it again if it is.

https://bugzilla.gnome.org/show_bug.cgi?id=640211

13 years agooggmux: free stream map caps when done
Tim-Philipp Müller [Wed, 2 Feb 2011 17:30:15 +0000 (17:30 +0000)]
oggmux: free stream map caps when done

13 years agooggmux: keep IN_CAPS flag check for header buffers as fallback
Tim-Philipp Müller [Wed, 2 Feb 2011 17:23:43 +0000 (17:23 +0000)]
oggmux: keep IN_CAPS flag check for header buffers as fallback

In case the ogg mapper doesn't handle all the accepted input formats
(although it really should). Saves us error handling for that case
though. Also log caps properly.

https://bugzilla.gnome.org/show_bug.cgi?id=629196

13 years agooggmux: use oggstream for less brittleness in recognizing headers
Vincent Penquerc'h [Fri, 21 Jan 2011 16:05:46 +0000 (16:05 +0000)]
oggmux: use oggstream for less brittleness in recognizing headers

Using the IN_CAPS flag for this is brittle, and will fail if either
vorbisparse or vorbistag (which is itself based on vorbisparse) is
inserted between oggdemux and oggmux. Possibly other elements too
(eg, theoraparse, etc).
Using oggstream ensures we Get It Right More Often Than Not.

https://bugzilla.gnome.org/show_bug.cgi?id=629196

13 years agouridecodebin: fix copy-and-paste typo in property docs
Mark Nauwelaerts [Wed, 2 Feb 2011 14:33:36 +0000 (15:33 +0100)]
uridecodebin: fix copy-and-paste typo in property docs

13 years agooggmux: do not skip a pageno at start
Vincent Penquerc'h [Fri, 21 Jan 2011 10:56:00 +0000 (10:56 +0000)]
oggmux: do not skip a pageno at start

Discontinuities are automatically signalled by oggdemux at the start
of a new stream. When oggmux is yet to output actual data pages,
do not signal these discontinuities in the ogg stream.

This patch may miss some actual discontinuities at the very start of
a stream, but avoids the spurious missing pages when encoding happens
normally.

A better fix might involve finding a way to distinguish between actual
data discontinuities and discontinuities merely marking the start of
a new stream.

Fixes an issue with ogg page numbering (would skip a number for no
reason, which then looks like a packet was lost somewhere) when
re-muxing an ogg stream, e.g. when re-tagging in rhythmbox.

https://bugzilla.gnome.org/show_bug.cgi?id=629196

13 years agotheoraenc: clean up property descriptions
Tim-Philipp Müller [Tue, 1 Feb 2011 15:57:14 +0000 (15:57 +0000)]
theoraenc: clean up property descriptions

Remove "This property requires libtheora version >= 1.1" qualifiers
from property descriptions. They aren't needed any longer now that
we require libtheora >= 1.1.

13 years agoid3tag: map the ID3v2 TENC frame to GST_TAG_ENCODED_BY
Sreerenj Balachandran [Thu, 19 Aug 2010 19:31:07 +0000 (22:31 +0300)]
id3tag: map the ID3v2 TENC frame to GST_TAG_ENCODED_BY

https://bugzilla.gnome.org/show_bug.cgi?id=627268

13 years agotcp: use socklen_t where appropriate rather than specific type
Mark Nauwelaerts [Sat, 29 Jan 2011 19:43:08 +0000 (20:43 +0100)]
tcp: use socklen_t where appropriate rather than specific type

In particular, fixes Cygwin build where socklen_t is defined as int
in line with native win32 api definition.

13 years agoxmptag: cast argument to isdigit to int
Mark Nauwelaerts [Sat, 29 Jan 2011 18:40:23 +0000 (19:40 +0100)]
xmptag: cast argument to isdigit to int

... as that is the specification and fixes compilation on Cygwin:

gstxmptaag.c: In function 'read_one_tag':
gstxmptag.c:1015: error: array subscript has type 'char'

13 years agoappsink: add buffer fallback in case the application doesn't handle buffer lists
Tim-Philipp Müller [Mon, 31 Jan 2011 18:06:18 +0000 (18:06 +0000)]
appsink: add buffer fallback in case the application doesn't handle buffer lists

We shouldn't assume the application handles buffer lists, for
ease-of-use reasons and for backwards compatibility reasons.

13 years agoappsink: send new-buffer-list signal
Cai Yuanqing [Wed, 26 Jan 2011 02:32:32 +0000 (10:32 +0800)]
appsink: send new-buffer-list signal

Send new-buffer-list signal when emit-signals is TRUE

https://bugzilla.gnome.org/show_bug.cgi?id=640607

13 years agouridecodebin: also add https to buffer protocols
Wim Taymans [Thu, 20 Jan 2011 15:25:42 +0000 (16:25 +0100)]
uridecodebin: also add https to buffer protocols

HTTPS also needs buffering.

13 years agobaseaudiosink: trivial cleanups
Felipe Contreras [Sun, 30 Jan 2011 13:40:53 +0000 (15:40 +0200)]
baseaudiosink: trivial cleanups

It seems these stuff was neglected from commmit d8942e2.

Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
13 years agowin32: fix DEFAULT_AUDIOSINK, should be direct*sound*sink
Tim-Philipp Müller [Thu, 27 Jan 2011 15:26:25 +0000 (15:26 +0000)]
win32: fix DEFAULT_AUDIOSINK, should be direct*sound*sink

https://bugzilla.gnome.org/show_bug.cgi?id=640705

13 years agotypefinding: register H264 typefinder with H264 caps
Philippe Normand [Thu, 27 Jan 2011 11:32:35 +0000 (12:32 +0100)]
typefinding: register H264 typefinder with H264 caps

https://bugzilla.gnome.org/show_bug.cgi?id=640709

13 years agostreamsplitter: release pending events refs
Thiago Santos [Wed, 26 Jan 2011 15:16:58 +0000 (12:16 -0300)]
streamsplitter: release pending events refs

Unref pending events when disposing the streamsplitter.

Also refactor a little to replace a for with a g_list_foreach

13 years agotests: don't run encodebin test if vorbis or theora plugins aren't available
Tim-Philipp Müller [Wed, 26 Jan 2011 15:42:48 +0000 (15:42 +0000)]
tests: don't run encodebin test if vorbis or theora plugins aren't available

13 years agopbutils: add description for degas images
Tim-Philipp Müller [Wed, 26 Jan 2011 09:07:26 +0000 (09:07 +0000)]
pbutils: add description for degas images

13 years agotypefinding: use image/x-icon as media type for ICON files
Tim-Philipp Müller [Wed, 26 Jan 2011 09:06:10 +0000 (09:06 +0000)]
typefinding: use image/x-icon as media type for ICON files

That's what we've been using so far (e.g. gdkpixbufdec).

13 years agosnapshot: use a keyframe seek
Stefan Kost [Tue, 18 Jan 2011 08:20:29 +0000 (10:20 +0200)]
snapshot: use a keyframe seek

One would usualy get good quality snapshots quickly. The exact seek position
does not really matter.

13 years agosnapshot: add a newline to the usage and error output
Stefan Kost [Mon, 17 Jan 2011 21:13:29 +0000 (23:13 +0200)]
snapshot: add a newline to the usage and error output

13 years agodecodebin2: add comment and whitespace trimming
Stefan Kost [Tue, 25 Jan 2011 16:03:23 +0000 (18:03 +0200)]
decodebin2: add comment and whitespace trimming

13 years agopbutils: add description for x-annodex
Stefan Kost [Wed, 12 Jan 2011 12:03:12 +0000 (14:03 +0200)]
pbutils: add description for x-annodex

13 years agotypefind: add typefinder for DEGAS images
Vincent Penquerc'h [Tue, 25 Jan 2011 13:39:25 +0000 (13:39 +0000)]
typefind: add typefinder for DEGAS images

This fixes at least one DEGAS image from being misdetected as DTS audio.

https://bugzilla.gnome.org/show_bug.cgi?id=625129

13 years agooggmux: cleanup
Vincent Penquerc'h [Fri, 21 Jan 2011 14:56:28 +0000 (14:56 +0000)]
oggmux: cleanup

Remove a pointless string concatentation, and fix an off-by-one in
packetno in a log.

https://bugzilla.gnome.org/show_bug.cgi?id=640189

13 years agotypefind: add detection for windows icon files to get them out of the way
Vincent Penquerc'h [Mon, 24 Jan 2011 11:45:21 +0000 (11:45 +0000)]
typefind: add detection for windows icon files to get them out of the way

Some of them can otherwise be misdetected for MPEG audio.

https://bugzilla.gnome.org/show_bug.cgi?id=620364

13 years agooggdemux: Remove dead code
Sreerenj Balachandran [Mon, 17 Jan 2011 13:11:15 +0000 (15:11 +0200)]
oggdemux: Remove dead code

13 years agooggparse: Make gst_ogg_parse_submit_buffer() safe
Yang Xichuan [Tue, 11 Jan 2011 07:10:42 +0000 (15:10 +0800)]
oggparse: Make gst_ogg_parse_submit_buffer() safe

By not passing zero-sized buffers to ogg_sync_buffer()
and checking the return values of libogg functions.

Fixes bug #639136.

13 years agotextoverlay: Add support for vertical center alignment
Lane Brooks [Tue, 11 Jan 2011 17:18:34 +0000 (18:18 +0100)]
textoverlay: Add support for vertical center alignment

Fixes bug #639159.

13 years agotag: xmp: Move static variable to local function
Thiago Santos [Mon, 24 Jan 2011 18:21:10 +0000 (15:21 -0300)]
tag: xmp: Move static variable to local function

Variable was being written to and could cause crashes
if multiple elements were parsing xmp at the same time.

Moving it to local scope solves the problem.

13 years agoriff: Add support for video/x-camstudio
Edward Hervey [Mon, 24 Jan 2011 17:27:30 +0000 (18:27 +0100)]
riff: Add support for video/x-camstudio

13 years agoBack to development
Tim-Philipp Müller [Mon, 24 Jan 2011 00:00:27 +0000 (00:00 +0000)]
Back to development

13 years agoRelease 0.10.32
Tim-Philipp Müller [Fri, 21 Jan 2011 10:50:06 +0000 (10:50 +0000)]
Release 0.10.32

13 years ago0.10.31.4 pre-releases
Tim-Philipp Müller [Tue, 18 Jan 2011 10:45:01 +0000 (10:45 +0000)]
0.10.31.4 pre-releases

13 years agodocs: update docs
Tim-Philipp Müller [Tue, 18 Jan 2011 10:44:01 +0000 (10:44 +0000)]
docs: update docs

13 years agoencoding-target: change keyfile header to 'GStreamer Encoding Target'
Tim-Philipp Müller [Tue, 18 Jan 2011 10:40:29 +0000 (10:40 +0000)]
encoding-target: change keyfile header to 'GStreamer Encoding Target'

which is more in line with other files such as .desktop files.

13 years agopbutils: don't assume LC_MESSAGES is always defined, also check for ENABLE_NLS
Tim-Philipp Müller [Tue, 18 Jan 2011 01:06:50 +0000 (01:06 +0000)]
pbutils: don't assume LC_MESSAGES is always defined, also check for ENABLE_NLS

Should fix build with mingw32 build bot again.

13 years agoapp: export gst_app_stream_type_get_type()
Tim-Philipp Müller [Tue, 18 Jan 2011 00:09:37 +0000 (00:09 +0000)]
app: export gst_app_stream_type_get_type()

API: gst_app_stream_type_get_type()
API: GST_TYPE_APP_STREAM_TYPE

https://bugzilla.gnome.org/show_bug.cgi?id=639747

13 years agoapp: make GstAppBuffer get_type() function thread-safe
Tim-Philipp Müller [Mon, 17 Jan 2011 23:59:48 +0000 (23:59 +0000)]
app: make GstAppBuffer get_type() function thread-safe

13 years agodiscoverer: Drop new stream tags once preroll is done
Arun Raghavan [Mon, 17 Jan 2011 19:39:53 +0000 (01:09 +0530)]
discoverer: Drop new stream tags once preroll is done

This makes sure we do not touch the stream taglist once the pipeline has
been prerolled. Adding of stream tags happens in the pad event probe
which runs in a different thread from discoverer stream processing, so
modifying the tag list while discoverer might be processing it can
sometimes cause a crash.

https://bugzilla.gnome.org/show_bug.cgi?id=639778

13 years agodiscoverer: Validate timeouts before processing them
Arun Raghavan [Mon, 17 Jan 2011 10:00:08 +0000 (15:30 +0530)]
discoverer: Validate timeouts before processing them

This avoids a race where the timeout callback is scheduled to run but we
get sufficient information to finish discovery before actually getting
around to executing the callback. See the documentation of
g_source_is_destroyed() for more details.

https://bugzilla.gnome.org/show_bug.cgi?id=639730

13 years agodiscoverer: Make sure we call _stop() before being freed
Arun Raghavan [Mon, 17 Jan 2011 18:38:32 +0000 (00:08 +0530)]
discoverer: Make sure we call _stop() before being freed

This ensures that everything is properly cleaned up before the
GstDiscoverer object is freed. Specifically, it makes sure that we've
removed the async timeout callback before freeing the object to avoid a
potential crash later on.

https://bugzilla.gnome.org/show_bug.cgi?id=639755

13 years agogdppay: make newsegment buffer metadata writable
David Schleef [Sun, 16 Jan 2011 22:55:46 +0000 (14:55 -0800)]
gdppay: make newsegment buffer metadata writable

13 years agopbutils: save localised strings properly when writing encoding targets to a file
Tim-Philipp Müller [Sun, 16 Jan 2011 16:46:22 +0000 (16:46 +0000)]
pbutils: save localised strings properly when writing encoding targets to a file

Use LC_MESSAGES rather than LC_ALL. Save/load description as untranslated string
when using an English language locale. Strip locale information to the language,
so we don't save keys like description[fr_FR.UTF-8]=...

https://bugzilla.gnome.org/show_bug.cgi?id=638860

13 years agotypefinding: set framed=false on DTS caps
Tim-Philipp Müller [Thu, 13 Jan 2011 13:59:41 +0000 (13:59 +0000)]
typefinding: set framed=false on DTS caps

13 years agodocs: add some more Since: markers for new encoding-profile API
Tim-Philipp Müller [Wed, 12 Jan 2011 17:51:43 +0000 (17:51 +0000)]
docs: add some more Since: markers for new encoding-profile API

13 years agoconfigure: require gobject-introspection >= 0.9.12
Tim-Philipp Müller [Wed, 12 Jan 2011 15:51:52 +0000 (15:51 +0000)]
configure: require gobject-introspection >= 0.9.12

Earlier versions don't honour the -L/--library-path option,
which we need. See commit 4d0ccdad in gobject-introspection git.

Should "fix" build on lucid/maverick build bots.

13 years ago0.10.31.3 pre-release
Tim-Philipp Müller [Tue, 11 Jan 2011 19:19:50 +0000 (19:19 +0000)]
0.10.31.3 pre-release

13 years agopo: update translations
Tim-Philipp Müller [Tue, 11 Jan 2011 18:59:39 +0000 (18:59 +0000)]
po: update translations

13 years agoexamples: allow building with newer GTK+
Bastien Nocera [Tue, 11 Jan 2011 14:41:53 +0000 (14:41 +0000)]
examples: allow building with newer GTK+

GtkFunction is gone, and there's no update policies for
GtkRanges any more (but the default was continuous anyway,
so no need to set it to that mode explicitly).

https://bugzilla.gnome.org/show_bug.cgi?id=639215

13 years agogobject-introspection: pass --library-path as well to make it find the right libgstreamer
Tim-Philipp Müller [Tue, 11 Jan 2011 14:59:38 +0000 (14:59 +0000)]
gobject-introspection: pass --library-path as well to make it find the right libgstreamer

Makes things work again properly in uninstalled setups (and
presumably in installed setups where GStreamer is installed
into a non-standard prefix). Requires fixes from core git.

https://bugzilla.gnome.org/show_bug.cgi?id=639039

13 years agogobject-introspection: fix issue when gold linker is used
Byeong-ryeol Kim [Tue, 11 Jan 2011 14:52:51 +0000 (14:52 +0000)]
gobject-introspection: fix issue when gold linker is used

Need to pass libgstreamer-0.10 explicitly to linker, since we're
calling gst_init(), which in turn is needed because the encoding
target get_type() function calls gst_value_register().

https://bugzilla.gnome.org/show_bug.cgi?id=639039

13 years agoAutomatic update of common submodule
Stefan Kost [Tue, 11 Jan 2011 13:49:54 +0000 (15:49 +0200)]
Automatic update of common submodule

From e572c87 to f94d739

13 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 10 Jan 2011 16:35:44 +0000 (16:35 +0000)]
Automatic update of common submodule

From ccbaa85 to e572c87

13 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 10 Jan 2011 14:53:04 +0000 (14:53 +0000)]
Automatic update of common submodule

From 46445ad to ccbaa85

13 years agooggdemux: remove outdated comment
Yang Xichuan [Mon, 10 Jan 2011 07:55:26 +0000 (15:55 +0800)]
oggdemux: remove outdated comment

https://bugzilla.gnome.org/show_bug.cgi?id=639121

13 years agoconfigure: fix bash-ism
Koop Mast [Sat, 8 Jan 2011 02:16:19 +0000 (02:16 +0000)]
configure: fix bash-ism

https://bugzilla.gnome.org/show_bug.cgi?id=638961

13 years agogobject-introspection: use same PKG_CONFIG_PATH for g-ir-compiler as for g-ir-scanner
Tim-Philipp Müller [Sat, 8 Jan 2011 02:10:03 +0000 (02:10 +0000)]
gobject-introspection: use same PKG_CONFIG_PATH for g-ir-compiler as for g-ir-scanner

Make sure to use the PKG_CONFIG_PATH set at configure time instead of
just relying on an env-var set one. This makes sure both g-ir-compiler
and g-ir-scanner use the same PKG_CONFIG_PATH for determining include
paths etc.

13 years agopkg-config: add girdir and typelibdir variables to .pc files
Tim-Philipp Müller [Sat, 8 Jan 2011 01:12:02 +0000 (01:12 +0000)]
pkg-config: add girdir and typelibdir variables to .pc files

We need them when building gir and typelib files for
libraries that depend on these, such as gst-rtsp-server
for example, in an uninstalled setup.

13 years ago0.10.31.2 pre-release
Tim-Philipp Müller [Fri, 7 Jan 2011 12:50:07 +0000 (12:50 +0000)]
0.10.31.2 pre-release

13 years agoencodebin: Add missing-plugin support
Edward Hervey [Fri, 7 Jan 2011 12:04:11 +0000 (13:04 +0100)]
encodebin: Add missing-plugin support

https://bugzilla.gnome.org/show_bug.cgi?id=638903

13 years agoencodebin: Extend documentation
Edward Hervey [Fri, 7 Jan 2011 11:51:11 +0000 (12:51 +0100)]
encodebin: Extend documentation

https://bugzilla.gnome.org/show_bug.cgi?id=638901

13 years agotests: never disable g_assert() and cast checks for the unit tests
Tim-Philipp Müller [Fri, 7 Jan 2011 00:43:07 +0000 (00:43 +0000)]
tests: never disable g_assert() and cast checks for the unit tests

The unit tests are riddled with g_assert() and friends, sometimes
containing functional code like set_state() calls in them even
(looking at you, pipeline/capsfilter-renegotiation). Make sure we
don't disable assert and cast checks for the unit tests even if
this has been specified for the rest of the code base, e.g. via
--disable-glib-asserts.

13 years agowin32: udpate pbutils .def file for API change
Tim-Philipp Müller [Thu, 6 Jan 2011 23:17:12 +0000 (23:17 +0000)]
win32: udpate pbutils .def file for API change

13 years agodocs: update docs
Tim-Philipp Müller [Thu, 6 Jan 2011 23:13:53 +0000 (23:13 +0000)]
docs: update docs

13 years agopo: update translations
Tim-Philipp Müller [Thu, 6 Jan 2011 23:13:35 +0000 (23:13 +0000)]
po: update translations

13 years agotextoverlay: make text property controllable too
Tim-Philipp Müller [Thu, 6 Jan 2011 23:08:34 +0000 (23:08 +0000)]
textoverlay: make text property controllable too

Because we can, and because it's the most interesting one
to control really, after xpos/ypos.

13 years agotextoverlay: make some properties controllable
Lane Brooks [Thu, 6 Jan 2011 23:01:20 +0000 (23:01 +0000)]
textoverlay: make some properties controllable

https://bugzilla.gnome.org/show_bug.cgi?id=638859

13 years agotests: ignore new rtsp test binary
Tim-Philipp Müller [Thu, 6 Jan 2011 20:37:50 +0000 (20:37 +0000)]
tests: ignore new rtsp test binary

13 years agooggdemux: ignore header pages when looking for keyframe
David Schleef [Wed, 5 Jan 2011 23:54:15 +0000 (15:54 -0800)]
oggdemux: ignore header pages when looking for keyframe

This was causing keyframe_granule to be set to 0 for all streams
when seeking to the beginning of the stream, i.e., at the
beginning of playback.  Fixes #619778.

13 years agooggstream: when the last keyframe position is not known, do not use -1
Vincent Penquerc'h [Wed, 29 Dec 2010 15:27:44 +0000 (15:27 +0000)]
oggstream: when the last keyframe position is not known, do not use -1

Instead, use either 0 or 1, depending on bitstream version, which give
the correct result for streams which aren't cut off at start.
This allows that function to not return negative granpos.

https://bugzilla.gnome.org/show_bug.cgi?id=638276

13 years agoUpdate spec file with discoverer and encodebinchanges
christian schaller [Thu, 6 Jan 2011 17:57:41 +0000 (17:57 +0000)]
Update spec file with discoverer and encodebinchanges

13 years agodiscoverer: Documentation updates
Arun Raghavan [Wed, 5 Jan 2011 10:23:09 +0000 (15:53 +0530)]
discoverer: Documentation updates

Some cosmetic changes and expands on some bits of the documentation to
make it more newbie-friendly.

13 years agovideorate: Fix behaviour for frame rate cap changes
Robert Swain [Thu, 6 Jan 2011 12:08:53 +0000 (13:08 +0100)]
videorate: Fix behaviour for frame rate cap changes

The outgoing buffer timestamp is calculated by scaling an output buffer
count by the src pad frame rate caps. If these caps change, we need to
reset the count and work from a new base timestamp. The new output
buffer timestamp is then the count scaled by the new caps values added
onto the base timestamp.

13 years agotools: Improve pretty-printing of tags
Edward Hervey [Thu, 6 Jan 2011 07:47:04 +0000 (08:47 +0100)]
tools: Improve pretty-printing of tags

Avoids escaping strings for nothing and printing out useless buffer contents.

13 years agotools: don't leak the GMainLoop
Edward Hervey [Thu, 6 Jan 2011 07:46:42 +0000 (08:46 +0100)]
tools: don't leak the GMainLoop

13 years agopbutils: config.h include should come before all other includes
Tim-Philipp Müller [Thu, 6 Jan 2011 00:28:39 +0000 (00:28 +0000)]
pbutils: config.h include should come before all other includes

13 years agoencoding: encoding_profile_get_output_caps => _get_input_caps
Edward Hervey [Wed, 5 Jan 2011 21:02:35 +0000 (22:02 +0100)]
encoding: encoding_profile_get_output_caps => _get_input_caps

Makes more sense name-wise

13 years agodocs: Add various new symbols
Edward Hervey [Wed, 5 Jan 2011 19:40:39 +0000 (20:40 +0100)]
docs: Add various new symbols

13 years agoencoding-profile: Minor documentation updates
Arun Raghavan [Tue, 4 Jan 2011 20:20:34 +0000 (01:50 +0530)]
encoding-profile: Minor documentation updates

13 years agoencoding-profile: Give a better usage example
Edward Hervey [Mon, 3 Jan 2011 18:07:45 +0000 (19:07 +0100)]
encoding-profile: Give a better usage example

13 years agoencoding-target: Fixup loading/saving methods
Edward Hervey [Mon, 3 Jan 2011 17:52:00 +0000 (18:52 +0100)]
encoding-target: Fixup loading/saving methods

13 years agoencoding-target: more docs cleanups
Edward Hervey [Mon, 3 Jan 2011 17:51:22 +0000 (18:51 +0100)]
encoding-target: more docs cleanups

13 years agoencoding-target: Change target suffix to .gep
Edward Hervey [Mon, 3 Jan 2011 15:07:49 +0000 (16:07 +0100)]
encoding-target: Change target suffix to .gep

Along with a bunch of other internal cleanups

13 years agoencoding-target: Add more docs regarding categories
Edward Hervey [Mon, 3 Jan 2011 12:21:26 +0000 (13:21 +0100)]
encoding-target: Add more docs regarding categories

13 years agoencoding-target: Add API for list all categories and targets
Edward Hervey [Mon, 3 Jan 2011 12:20:19 +0000 (13:20 +0100)]
encoding-target: Add API for list all categories and targets

API: gst_encoding_list_available_categories
API: gst_encoding_list_all_targets

13 years agoencoding-profile: Add convenience method to find a profile
Edward Hervey [Wed, 22 Dec 2010 17:18:00 +0000 (18:18 +0100)]
encoding-profile: Add convenience method to find a profile

API: gst_encoding_profile_find

13 years agoencoding-target: Implement save/load feature
Edward Hervey [Wed, 22 Dec 2010 17:16:33 +0000 (18:16 +0100)]
encoding-target: Implement save/load feature

Fixes #637735

13 years agoencoding-target: Add method to get a profile by name
Edward Hervey [Wed, 22 Dec 2010 10:41:41 +0000 (11:41 +0100)]
encoding-target: Add method to get a profile by name

API: gst_encoding_target_get_profile