platform/upstream/gstreamer.git
12 years agoplaysink: plug element leak
Mark Nauwelaerts [Thu, 8 Mar 2012 14:17:40 +0000 (15:17 +0100)]
playsink: plug element leak

12 years agocheck: Disable another lanczos videoscale test
Edward Hervey [Thu, 8 Mar 2012 14:24:19 +0000 (15:24 +0100)]
check: Disable another lanczos videoscale test

Segfaults hard

12 years agoRevert "ogg: Fix handling of unset granuleshift for the skeleton parser"
Tim-Philipp Müller [Wed, 7 Mar 2012 12:45:46 +0000 (12:45 +0000)]
Revert "ogg: Fix handling of unset granuleshift for the skeleton parser"

This reverts commit 7418ddd753608a5fb134afeb25d7bb4e5ddc38ec.

This breaks the unit test and messes up preroll/seeking.

12 years agocommon: update common module
Tim-Philipp Müller [Wed, 7 Mar 2012 12:39:41 +0000 (12:39 +0000)]
common: update common module

For new check-norepeat target.

12 years agowin32: update defs for new libgstaudio symbol
Edward Hervey [Wed, 7 Mar 2012 08:04:18 +0000 (09:04 +0100)]
win32: update defs for new libgstaudio symbol

12 years agovorbisdec: simplify tag handling using base class helper
Mark Nauwelaerts [Tue, 6 Mar 2012 14:57:21 +0000 (15:57 +0100)]
vorbisdec: simplify tag handling using base class helper

12 years agoaudiodecoder: add some tag handling convenience help
Mark Nauwelaerts [Tue, 6 Mar 2012 14:56:42 +0000 (15:56 +0100)]
audiodecoder: add some tag handling convenience help

12 years agoaudiodecoder: add baseclass _CAST macro
Mark Nauwelaerts [Tue, 6 Mar 2012 14:55:26 +0000 (15:55 +0100)]
audiodecoder: add baseclass _CAST macro

12 years agopango: Fix 'implicit conversion from enumeration type 'GstTextOverlayLineAlign' to...
Sebastian Dröge [Tue, 6 Mar 2012 12:11:16 +0000 (13:11 +0100)]
pango: Fix 'implicit conversion from enumeration type 'GstTextOverlayLineAlign' to different enumeration type 'PangoAlignment'' compiler warning

12 years agoogg: Fix handling of unset granuleshift for the skeleton parser
Sebastian Dröge [Tue, 6 Mar 2012 12:09:05 +0000 (13:09 +0100)]
ogg: Fix handling of unset granuleshift for the skeleton parser

And also add a helper function to properly clear/reset/free the
GstOggStream structures.

12 years agoxvimagesink: Fix 'comparison of unsigned expression >= 0 is always true'
Sebastian Dröge [Tue, 6 Mar 2012 11:47:33 +0000 (12:47 +0100)]
xvimagesink: Fix 'comparison of unsigned expression >= 0 is always true'

-1 aka 0xffffffff is the only possible 'negative' value that is used
as a special value for 'not set' here. All other positive values are
valid.

12 years agovideo-blend: Actually allow negative offsets in the function signature too
Sebastian Dröge [Tue, 6 Mar 2012 11:42:03 +0000 (12:42 +0100)]
video-blend: Actually allow negative offsets in the function signature too

12 years agopbutils: Fix 'comparison of unsigned enum expression < 0 is always false' compiler...
Sebastian Dröge [Tue, 6 Mar 2012 11:40:36 +0000 (12:40 +0100)]
pbutils: Fix 'comparison of unsigned enum expression < 0 is always false' compiler warning

12 years agodocs: make videooverlaycomposition types show up in the docs
Stefan Sauer [Mon, 5 Mar 2012 13:19:24 +0000 (14:19 +0100)]
docs: make videooverlaycomposition types show up in the docs

12 years agoplaysink: Chain up to the parent's GstBin::handle_message() for non-prepare-xoverlay...
Sebastian Dröge [Mon, 5 Mar 2012 14:23:20 +0000 (15:23 +0100)]
playsink: Chain up to the parent's GstBin::handle_message() for non-prepare-xoverlay element messages

12 years agoxvimagesink: don't use deprecated XKeycodeToKeysym
Oleksij Rempel (Alexey Fisher) [Mon, 5 Mar 2012 10:09:12 +0000 (11:09 +0100)]
xvimagesink: don't use deprecated XKeycodeToKeysym

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

Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
12 years agoximagesink: don't use deprecated XKeycodeToKeysym
Oleksij Rempel (Alexey Fisher) [Mon, 5 Mar 2012 10:07:39 +0000 (11:07 +0100)]
ximagesink: don't use deprecated XKeycodeToKeysym

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

Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
12 years agoaudiodecoder: enhance some debug statement
Mark Nauwelaerts [Mon, 5 Mar 2012 09:59:00 +0000 (10:59 +0100)]
audiodecoder: enhance some debug statement

12 years agopango: don't use deprecated pango_cairo_font_map_create_context()
Oleksij Rempel (Alexey Fisher) [Sun, 4 Mar 2012 09:28:49 +0000 (10:28 +0100)]
pango: don't use deprecated pango_cairo_font_map_create_context()

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

12 years agotests: add test to check discoverer return code for missing plugins case
Tim-Philipp Müller [Sat, 3 Mar 2012 13:51:55 +0000 (13:51 +0000)]
tests: add test to check discoverer return code for missing plugins case

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

12 years agodiscoverer: don't change result for missing plugin errors
Jonathan Matthew [Wed, 29 Feb 2012 11:25:24 +0000 (21:25 +1000)]
discoverer: don't change result for missing plugin errors

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

12 years agoplayback: Only requires GTK, not GTK-X11
Sebastian Dröge [Fri, 2 Mar 2012 11:06:53 +0000 (12:06 +0100)]
playback: Only requires GTK, not GTK-X11

12 years agoplayback-test: Rename everything from seek to playback-test internally too
Sebastian Dröge [Fri, 2 Mar 2012 11:01:37 +0000 (12:01 +0100)]
playback-test: Rename everything from seek to playback-test internally too

12 years agoplayback: Rename file from seek.c to playback-test.c
Sebastian Dröge [Fri, 2 Mar 2012 10:58:30 +0000 (11:58 +0100)]
playback: Rename file from seek.c to playback-test.c

12 years agoexamples: Move seek example into its own directory
Sebastian Dröge [Fri, 2 Mar 2012 10:57:34 +0000 (11:57 +0100)]
examples: Move seek example into its own directory

12 years agoseek: Add support for setting a subtitle URI
Sebastian Dröge [Thu, 1 Mar 2012 12:24:45 +0000 (13:24 +0100)]
seek: Add support for setting a subtitle URI

12 years agoseek: Add support for changing the remaining playbin2 properties
Sebastian Dröge [Thu, 1 Mar 2012 11:52:21 +0000 (12:52 +0100)]
seek: Add support for changing the remaining playbin2 properties

Including video/audio/text sinks.

12 years agoseek: Add advanced seek ability
Sebastian Dröge [Thu, 1 Mar 2012 09:45:51 +0000 (10:45 +0100)]
seek: Add advanced seek ability

This allows to seek to a specific value in a specific format and
also lists the current position and duration in a specific format.

12 years agoseek: Some more variable moving
Sebastian Dröge [Thu, 1 Mar 2012 08:46:45 +0000 (09:46 +0100)]
seek: Some more variable moving

12 years agoseek: Move seek flags/settings into its own expander
Sebastian Dröge [Fri, 24 Feb 2012 12:54:47 +0000 (13:54 +0100)]
seek: Move seek flags/settings into its own expander

12 years agoadder: drop newsegment events on sink-pads
Stefan Sauer [Wed, 29 Feb 2012 20:54:49 +0000 (21:54 +0100)]
adder: drop newsegment events on sink-pads

Adder is sending an own newsegment event on the src pad.

12 years agotest: improve adder test on event handling
Stefan Sauer [Wed, 29 Feb 2012 20:39:44 +0000 (21:39 +0100)]
test: improve adder test on event handling

Use new consitency checker api to test event handling in more detail.

12 years agoadder: sink event handling fix
Stefan Sauer [Mon, 27 Feb 2012 10:57:55 +0000 (11:57 +0100)]
adder: sink event handling fix

Turn _sink_event() into the collectpads event function and merge the logic from
the recently added gst_adder_event. Drop flush_start events as we allready
handle them on the src-pad side. Fixes #670850.

12 years agoSuppress deprecation warnings in selected files, for g_value_array_* mostly
Edward Hervey [Mon, 27 Feb 2012 13:28:15 +0000 (14:28 +0100)]
Suppress deprecation warnings in selected files, for g_value_array_* mostly

12 years agoadder: include event name in log message
Stefan Sauer [Mon, 27 Feb 2012 08:58:18 +0000 (09:58 +0100)]
adder: include event name in log message

12 years agotests: add some videoscale tests for new Lanczos-based method
Tim-Philipp Müller [Sun, 26 Feb 2012 23:35:06 +0000 (23:35 +0000)]
tests: add some videoscale tests for new Lanczos-based method

Some crash. Others show invalid memory access in valgrind.

12 years agovideoscale: fix negotiation after addition of new formats and methods
Tim-Philipp Müller [Sun, 26 Feb 2012 18:19:57 +0000 (18:19 +0000)]
videoscale: fix negotiation after addition of new formats and methods

Now that we no longer support all methods for all formats, we
need to cater for that in the transform function: we can't
transform formats not supported by the currently-selected
mehod.

make check, folks. It's da bomb.

12 years agovideoscale: fix videoscale test for new methods
Tim-Philipp Müller [Sun, 26 Feb 2012 17:46:24 +0000 (17:46 +0000)]
videoscale: fix videoscale test for new methods

Not all scaling methods are supported for all formats, so
can't just iterate over the template caps.

12 years agotheoraenc: fix compiler warning
Alessandro Decina [Sun, 26 Feb 2012 19:32:05 +0000 (20:32 +0100)]
theoraenc: fix compiler warning

12 years agoappsink: implement SEEKING query
Tim-Philipp Müller [Sat, 25 Feb 2012 15:21:30 +0000 (15:21 +0000)]
appsink: implement SEEKING query

We don't support seeking (in the sense that upstream can
make us jump back and forth to certain offsets in the
output).

12 years agointerfaces: fix ABI class padding after the recent changes
Stefan Sauer [Fri, 24 Feb 2012 20:37:00 +0000 (21:37 +0100)]
interfaces: fix ABI class padding after the recent changes

12 years agoseek: Let the XOverlay element handle events
Sebastian Dröge [Fri, 24 Feb 2012 11:09:31 +0000 (12:09 +0100)]
seek: Let the XOverlay element handle events

Need for proper resizing.

12 years agoseek: Use the same adjustment for the color balance scales as for the seek scale
Sebastian Dröge [Fri, 24 Feb 2012 11:03:34 +0000 (12:03 +0100)]
seek: Use the same adjustment for the color balance scales as for the seek scale

12 years agoseek: Change the volume/mute widgets from the main thread
Sebastian Dröge [Fri, 24 Feb 2012 11:00:41 +0000 (12:00 +0100)]
seek: Change the volume/mute widgets from the main thread

And also connect to notify::mute to get notified about mute changes.

12 years agoseek: Refactor and cleanup seek example application
Sebastian Dröge [Fri, 24 Feb 2012 10:44:53 +0000 (11:44 +0100)]
seek: Refactor and cleanup seek example application

12 years agoseek: Fix mistake in last commit
Sebastian Dröge [Thu, 23 Feb 2012 13:46:07 +0000 (14:46 +0100)]
seek: Fix mistake in last commit

12 years agoplaysink: Use g_signal_handlers_block_by_func()/unblock_by_func() instead of disconne...
Sebastian Dröge [Thu, 23 Feb 2012 12:41:25 +0000 (13:41 +0100)]
playsink: Use g_signal_handlers_block_by_func()/unblock_by_func() instead of disconnecting and reconnecting

12 years agoseek: The volume property signals are proxied in playbin2 since some time already
Sebastian Dröge [Thu, 23 Feb 2012 12:39:33 +0000 (13:39 +0100)]
seek: The volume property signals are proxied in playbin2 since some time already

12 years agoseek: Use colorbalance of playbin2 directly
Sebastian Dröge [Thu, 23 Feb 2012 12:31:37 +0000 (13:31 +0100)]
seek: Use colorbalance of playbin2 directly

12 years agoplaybin2: Proxy colorbalance interface
Sebastian Dröge [Thu, 23 Feb 2012 12:27:28 +0000 (13:27 +0100)]
playbin2: Proxy colorbalance interface

12 years agoplaysink: Proxy colorbalance interface
Sebastian Dröge [Thu, 23 Feb 2012 12:19:55 +0000 (13:19 +0100)]
playsink: Proxy colorbalance interface

12 years agoUpdate NEWS and RELEASE as well
Tim-Philipp Müller [Thu, 23 Feb 2012 12:06:15 +0000 (12:06 +0000)]
Update NEWS and RELEASE as well

12 years agoBump version after release
Tim-Philipp Müller [Thu, 23 Feb 2012 11:04:00 +0000 (11:04 +0000)]
Bump version after release

12 years agoseek: Directly use navigation interface on playbin2
Sebastian Dröge [Thu, 23 Feb 2012 10:59:17 +0000 (11:59 +0100)]
seek: Directly use navigation interface on playbin2

12 years agoplaybin2: Proxy navigation interface
Sebastian Dröge [Thu, 23 Feb 2012 10:56:37 +0000 (11:56 +0100)]
playbin2: Proxy navigation interface

12 years agoplaysink: Proxy navigation interface
Sebastian Dröge [Thu, 23 Feb 2012 10:54:27 +0000 (11:54 +0100)]
playsink: Proxy navigation interface

12 years agoseek: Directly use the XOverlay interface on playbin2
Sebastian Dröge [Thu, 23 Feb 2012 10:43:09 +0000 (11:43 +0100)]
seek: Directly use the XOverlay interface on playbin2

12 years agoplaybin2: Proxy the XOverlay interface
Sebastian Dröge [Thu, 23 Feb 2012 10:42:55 +0000 (11:42 +0100)]
playbin2: Proxy the XOverlay interface

12 years agoplaysink: Proxy the XOverlay interface
Sebastian Dröge [Thu, 23 Feb 2012 10:33:27 +0000 (11:33 +0100)]
playsink: Proxy the XOverlay interface

12 years agoplaysink: Force the aspect ratio if the sink has such a property
Sebastian Dröge [Thu, 23 Feb 2012 10:05:11 +0000 (11:05 +0100)]
playsink: Force the aspect ratio if the sink has such a property

12 years agoseek: Make navigation/colorbalance settings work with non-playbin2 pipelines too
Sebastian Dröge [Wed, 22 Feb 2012 14:52:04 +0000 (15:52 +0100)]
seek: Make navigation/colorbalance settings work with non-playbin2 pipelines too

12 years agoseek: Add checkboxes for the remaining playbin2 flags and refactor code a bit
Sebastian Dröge [Wed, 22 Feb 2012 14:43:25 +0000 (15:43 +0100)]
seek: Add checkboxes for the remaining playbin2 flags and refactor code a bit

12 years agoseek: Only show colorbalance expander for playbin2 pipelines
Sebastian Dröge [Wed, 22 Feb 2012 14:01:15 +0000 (15:01 +0100)]
seek: Only show colorbalance expander for playbin2 pipelines

12 years agoseek: Add UI for setting the colorbalance interface properties on playbin2
Sebastian Dröge [Wed, 22 Feb 2012 13:58:38 +0000 (14:58 +0100)]
seek: Add UI for setting the colorbalance interface properties on playbin2

12 years agoplaysink: Only use the sink's colorbalance interface if it supports at least brightne...
Sebastian Dröge [Wed, 22 Feb 2012 13:53:39 +0000 (14:53 +0100)]
playsink: Only use the sink's colorbalance interface if it supports at least brightness/contrast/hue/saturation

12 years agoplaysinkvideoconvert: Fix element name
Sebastian Dröge [Wed, 22 Feb 2012 13:12:16 +0000 (14:12 +0100)]
playsinkvideoconvert: Fix element name

12 years agoplaybin2: Give a fixed name "playsink" to the internal playsink element
Sebastian Dröge [Wed, 22 Feb 2012 11:17:47 +0000 (12:17 +0100)]
playbin2: Give a fixed name "playsink" to the internal playsink element

12 years agoplaysink: Only really use software volume if requested
Sebastian Dröge [Wed, 22 Feb 2012 11:07:13 +0000 (12:07 +0100)]
playsink: Only really use software volume if requested

12 years agoplaysink: Add a software color-balance element before the sink if the sink doesn...
Sebastian Dröge [Wed, 22 Feb 2012 10:56:59 +0000 (11:56 +0100)]
playsink: Add a software color-balance element before the sink if the sink doesn't support changing the color-balance

12 years agomixer: Add ::get_mixer_type() vfunc and deprecate interface struct value
Sebastian Dröge [Wed, 22 Feb 2012 09:19:13 +0000 (10:19 +0100)]
mixer: Add ::get_mixer_type() vfunc and deprecate interface struct value

12 years agocolorbalance: Add ::get_balance_type() vfunc and deprecated value inside the interfac...
Sebastian Dröge [Wed, 22 Feb 2012 09:15:15 +0000 (10:15 +0100)]
colorbalance: Add ::get_balance_type() vfunc and deprecated value inside the interface struct

Values in class/interface structs are not supported by most bindings.

12 years agonavigation: Fix copy&paste error in documentation
Sebastian Dröge [Wed, 22 Feb 2012 09:09:15 +0000 (10:09 +0100)]
navigation: Fix copy&paste error in documentation

12 years agoplaysink: Implement GstStreamVolume interface
Sebastian Dröge [Wed, 22 Feb 2012 08:50:39 +0000 (09:50 +0100)]
playsink: Implement GstStreamVolume interface

12 years agoautogen: workaround for gettext/automake with git
David Schleef [Wed, 22 Feb 2012 00:51:35 +0000 (16:51 -0800)]
autogen: workaround for gettext/automake with git

Fixes: #669207.

12 years agotag: xmp: Fix a build warning when compiling with asserts disabled
Vincent Untz [Tue, 21 Feb 2012 15:43:59 +0000 (16:43 +0100)]
tag: xmp: Fix a build warning when compiling with asserts disabled

Return a value even if the code will never be reached, to make compilers
happy.

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

12 years agoseek: fix format strings
Stefan Sauer [Mon, 20 Feb 2012 19:39:59 +0000 (20:39 +0100)]
seek: fix format strings

12 years agoseek: Add support for sending navigation commands
Sebastian Dröge [Mon, 20 Feb 2012 15:44:07 +0000 (16:44 +0100)]
seek: Add support for sending navigation commands

12 years agoseek: Make the seek-bar insensitive for DVD menus
Sebastian Dröge [Mon, 20 Feb 2012 14:29:49 +0000 (15:29 +0100)]
seek: Make the seek-bar insensitive for DVD menus

12 years agoseek: Add support for the navigation interface
Sebastian Dröge [Mon, 20 Feb 2012 13:57:36 +0000 (14:57 +0100)]
seek: Add support for the navigation interface

12 years agoseek: Keep a reference to the xoverlay element
Sebastian Dröge [Mon, 20 Feb 2012 13:57:11 +0000 (14:57 +0100)]
seek: Keep a reference to the xoverlay element

12 years agoseek: Add window-embedding support for OS X/Quartz
Sebastian Dröge [Mon, 20 Feb 2012 13:35:37 +0000 (14:35 +0100)]
seek: Add window-embedding support for OS X/Quartz

osxvideosink implements the GstXOverlay interface since some time now.

12 years agoseek: Explicitely call gst_x_overlay_expose() from the GtkDrawingArea expose/draw...
Sebastian Dröge [Mon, 20 Feb 2012 13:09:28 +0000 (14:09 +0100)]
seek: Explicitely call gst_x_overlay_expose() from the GtkDrawingArea expose/draw signal

12 years agovideoscale: fix AYUV64 scaling
David Schleef [Sun, 19 Feb 2012 08:03:03 +0000 (00:03 -0800)]
videoscale: fix AYUV64 scaling

12 years agoriff: Add v210, r210 formats
David Schleef [Sun, 19 Feb 2012 01:37:29 +0000 (17:37 -0800)]
riff: Add v210, r210 formats

12 years agodocs: add new audio base class API to docs and .def file
Tim-Philipp Müller [Fri, 17 Feb 2012 15:08:36 +0000 (15:08 +0000)]
docs: add new audio base class API to docs and .def file

12 years agortspconnection: only send new data immediately if there are no queued messages
Ognyan Tonchev [Mon, 30 Jan 2012 14:55:26 +0000 (15:55 +0100)]
rtspconnection: only send new data immediately if there are no queued messages

Even if watch->messages->length is 0 there may still be some
data from a message that was only written partially at the
previous attempt stored in watch->write_data, so check for
that as well. We don't want to write data into the middle
of another message, which could happen when there wasn't
enough bandwidth.

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

12 years agoaudiodecoder: add some properties to tweak baseclass behaviour
Mark Nauwelaerts [Thu, 16 Feb 2012 11:19:20 +0000 (12:19 +0100)]
audiodecoder: add some properties to tweak baseclass behaviour

... so subclass can also rely upon never being bothered with some NULL buffer
it can't do any interesting with, or with any data before it received
any format configuration (and setup properly).

12 years agoaudioencoder: add some properties to tweak baseclass behaviour
Mark Nauwelaerts [Thu, 16 Feb 2012 11:18:03 +0000 (12:18 +0100)]
audioencoder: add some properties to tweak baseclass behaviour

... so subclass can also rely upon never being bothered with less data
than it desires or with some NULL buffer it can't do any interesting with.

12 years agoaudiodecoder: assert some more that subclass parsed frame has proper len
Mark Nauwelaerts [Thu, 16 Feb 2012 11:15:47 +0000 (12:15 +0100)]
audiodecoder: assert some more that subclass parsed frame has proper len

12 years agodocs: fix playbin2 documentation about DVD URIs
Olivier Aubert [Tue, 17 Jan 2012 09:54:48 +0000 (10:54 +0100)]
docs: fix playbin2 documentation about DVD URIs

and playbin => playbin2 in example pipelines.

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

12 years agodiscoverer: try harder to obtain a duration if we don't get one right away
Tim-Philipp Müller [Tue, 14 Feb 2012 19:23:27 +0000 (19:23 +0000)]
discoverer: try harder to obtain a duration if we don't get one right away

If we don't get a duration right away, set the pipeline to playing
and sleep a bit, then try again. This is ugly, but the least worst
we can do right now. The alternative would be to make parsers etc.
return some bogus duration estimate even after only having pushed
a single frame, for example.

Fixes discoverer showing 0 durations for some mp3 and aac files
(e.g. soweto-adts.aac).

12 years agotypefindfunctions: make h264 typefinder more picky when returning "likely" probability
Tim-Philipp Müller [Wed, 8 Feb 2012 19:39:00 +0000 (19:39 +0000)]
typefindfunctions: make h264 typefinder more picky when returning "likely" probability

Only return LIKELY probability if we've seen an SPS, PPS and an
IDR slice nal, i.e. try harder to avoid false positives such
as with certain VC-1 files.

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

12 years agotypefindfunctions: minor cosmetic change
Tim-Philipp Müller [Wed, 8 Feb 2012 19:34:57 +0000 (19:34 +0000)]
typefindfunctions: minor cosmetic change

Don't write < 1 when we mean == 0.

12 years agovideoscale: Add nearest/linear scaling for NV12
David Schleef [Mon, 30 Jan 2012 16:21:54 +0000 (08:21 -0800)]
videoscale: Add nearest/linear scaling for NV12

12 years agovideoscale: Add AYUV64 path to Lanczos
David Schleef [Wed, 25 Jan 2012 23:49:00 +0000 (15:49 -0800)]
videoscale: Add AYUV64 path to Lanczos

12 years agotheoraenc: Use GAP flag when possible
David Schleef [Wed, 31 Aug 2011 02:02:51 +0000 (19:02 -0700)]
theoraenc: Use GAP flag when possible

Set TH_ENCCTL_SET_DUPLICATE_FLAG when we see a gap flag, to
indicate to the encoder that the current frame is a duplicate
of the previous frame.

12 years agoautogen.sh: allow calling from out-of-tree
Ryan Lortie [Sun, 8 Jan 2012 04:09:23 +0000 (23:09 -0500)]
autogen.sh: allow calling from out-of-tree

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

12 years agooggdemux: fix granpos interpolation violating max keyframe distance
Vincent Penquerc'h [Wed, 1 Feb 2012 15:28:45 +0000 (15:28 +0000)]
oggdemux: fix granpos interpolation violating max keyframe distance

In case many packets fit on a page, we may not see a granpos for
a while, and granpos interpolation can wrap the 'frames since last
keyframe' part of the granpos, generating a granpos which is smaller
than what it should be.

This is fixed by detecting keyframe packets (at least for Theora),
and updating the last keyframe granpos from this.

This may still be generating potentially wrong granpos for streams
which have a Theora like granpos (keyframes, a max keyframe distance
and a count of frames since last keyframe), and which allow implicit
granules on packets. For these streams, a custom keyframe detection
routine should be plugged into their GstOggStream mapper.

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

12 years agovorbisparse: pedantically recognize undefined headers too
Vincent Penquerc'h [Wed, 1 Feb 2012 16:46:13 +0000 (16:46 +0000)]
vorbisparse: pedantically recognize undefined headers too

12 years agovorbisparse: fix header detection
Vincent Penquerc'h [Wed, 1 Feb 2012 16:32:24 +0000 (16:32 +0000)]
vorbisparse: fix header detection

It was matching non header packets.

This fixes various leaks, where buffers would be pushed onto a headers
list, but never popped.

Might also fix corruption as those buffers were dropped from the output
silently...

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