platform/upstream/gstreamer.git
13 years agovolume: make the orc usage for float conditional again
Stefan Kost [Thu, 26 Aug 2010 12:17:20 +0000 (15:17 +0300)]
volume: make the orc usage for float conditional again

See bug #628009. The tests still fail in the orc code (which we just don't call
now).

13 years agoriff: add support for 2vuy
Thijs Vermeir [Wed, 25 Aug 2010 10:19:05 +0000 (12:19 +0200)]
riff: add support for 2vuy

It is the apple alternative for Microsofts UYVY.
(http://ntta.szm.com/Tutors/FourCC.htm)
Only use the UYVY for the caps to enable support in other
gstreamer elements.

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

13 years agovolume: enable ORC for float in volume
Stefan Kost [Wed, 25 Aug 2010 16:01:57 +0000 (19:01 +0300)]
volume: enable ORC for float in volume

13 years agoconfigure: Add check for log2
Thiago Santos [Wed, 25 Aug 2010 14:19:31 +0000 (11:19 -0300)]
configure: Add check for log2

Adds check for log2 and only use it in exif library if it is
available.

13 years agotag: Link to $(LIBM) for pow(), log2() and friends
Sebastian Dröge [Wed, 25 Aug 2010 13:32:41 +0000 (15:32 +0200)]
tag: Link to $(LIBM) for pow(), log2() and friends

13 years agotag: exif: Move some tags to their correct IFDs
Thiago Santos [Wed, 25 Aug 2010 11:41:52 +0000 (08:41 -0300)]
tag: exif: Move some tags to their correct IFDs

Put some tags in their correct IFDs

13 years agotag: exif: Always write FlashPixVersion tag
Thiago Santos [Fri, 20 Aug 2010 19:39:08 +0000 (16:39 -0300)]
tag: exif: Always write FlashPixVersion tag

FlashPixVersion is mandatory and constant. Write it always.

13 years agotag: exif: Adds flash tags mapping
Thiago Santos [Fri, 20 Aug 2010 18:59:22 +0000 (15:59 -0300)]
tag: exif: Adds flash tags mapping

Adds a mapping for GST_TAG_CAPTURING_FLASH_FIRED/_MODE to
the exif Flash tag.

Tests included.

13 years agotag: exif: More photography mappings
Thiago Santos [Thu, 19 Aug 2010 18:47:18 +0000 (15:47 -0300)]
tag: exif: More photography mappings

Adds mappings from:
GST_TAG_CAPTURING_EXPOSURE_PROGRAM -> ExposureProgram
GST_TAG_CAPTURING_EXPOSURE_MODE -> ExposureMode
GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE -> SceneCaptureType
GST_TAG_CAPTURING_GAIN_ADJUSTMENT -> GainControl
GST_TAG_CAPTURING_WHITE_BALANCE -> WhiteBalance
GST_TAG_CAPTURING_CONTRAST -> Constrast
GST_TAG_CAPTURING_SATURATION -> Saturation

Also renames gst_tag_image_orientation_from_exif_value and
gst_tag_image_orientation_to_exif_value to remove the 'gst'
prefix and not including in the win32 defs.

Tests included.

13 years agotag: exif: Add macros for the exif ids
Thiago Santos [Thu, 19 Aug 2010 12:39:39 +0000 (09:39 -0300)]
tag: exif: Add macros for the exif ids

Use macros for exif ids to avoid having those numbers spread
all over the code.

13 years agotag: exif: Adds photography tags mappings
Thiago Santos [Tue, 17 Aug 2010 18:56:34 +0000 (15:56 -0300)]
tag: exif: Adds photography tags mappings

Adds the following mappings for the exif helper:
* GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO -> DigitalZoomRatio
* GST_TAG_CAPTURING_FOCAL_LENGTH -> FocalLength
* GST_TAG_CAPTURING_SHUTTER_SPEED -> ExposureTime, ShutterSpeedValue
* GST_TAG_CAPTURING_FOCAL_RATIO -> FNumber, ApertureValue
* GST_TAG_CAPTURING_ISO_SPEED -> ISOSpeed, PhotographicSensitivity

Tests included.

13 years agotag: exif: Adds mapping for GST_TAG_APPLICATION_DATA
Thiago Santos [Tue, 17 Aug 2010 18:05:32 +0000 (15:05 -0300)]
tag: exif: Adds mapping for GST_TAG_APPLICATION_DATA

Adds mapping for GST_TAG_APPLICATION_DATA to the exif
'maker-note' tag.

13 years agotag: Adds GST_TAG_CAPTURE_FLASH_FIRED/_MODE
Thiago Santos [Fri, 20 Aug 2010 17:54:23 +0000 (14:54 -0300)]
tag: Adds GST_TAG_CAPTURE_FLASH_FIRED/_MODE

Adds a new tag for informing if flash was used while
capturing an image and the flash mode selected by the
user during this capture

API: GST_TAG_CAPTURING_FLASH_FIRED
API: GST_TAG_CAPTURING_FLASH_MODE

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

13 years agotag: More photography related tags
Thiago Santos [Tue, 17 Aug 2010 10:21:20 +0000 (07:21 -0300)]
tag: More photography related tags

API: GST_TAG_CAPTURING_EXPOSURE_PROGRAM
API: GST_TAG_CAPTURING_EXPOSURE_MODE
API: GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE
API: GST_TAG_CAPTURING_GAIN_ADJUSTMENT
API: GST_TAG_CAPTURING_WHITE_BALANCE
API: GST_TAG_CAPTURING_CONTRAST
API: GST_TAG_CAPTURING_SATURATION

Fixes #626651

13 years agotag: Adds some basic photography tags
Thiago Santos [Tue, 17 Aug 2010 09:47:52 +0000 (06:47 -0300)]
tag: Adds some basic photography tags

Adds the following basic photography tags.

API: GST_TAG_CAPTURING_SHUTTER_SPEED
API: GST_TAG_CAPTURING_FOCAL_RATIO
API: GST_TAG_CAPTURING_FOCAL_LENGTH
API: GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO
API: GST_TAG_CAPTURING_ISO_SPEED

Fixes #626651

13 years agoaudioconvert: Require ORC 0.4.7 for the loadl/storel opcodes
Sebastian Dröge [Tue, 24 Aug 2010 13:06:31 +0000 (15:06 +0200)]
audioconvert: Require ORC 0.4.7 for the loadl/storel opcodes

And update disted files to allow compilation with no or too old ORC.

13 years agoadder: Make sure FLUSH_STOP is always sent after a flushing seek.
Alessandro Decina [Tue, 24 Aug 2010 09:39:09 +0000 (11:39 +0200)]
adder: Make sure FLUSH_STOP is always sent after a flushing seek.

Send FLUSH_STOP right after forwarding the seek event upstream if necessary.
This makes sure that adder->srcpad is not left flushing if seeking fails or if
upstream is blocked.

The same fix was already applied to videomixer in 49b2a946.

13 years agoaudioconvert: Use ORC for the float<->int32 conversion
Sebastian Dröge [Tue, 24 Aug 2010 09:11:49 +0000 (11:11 +0200)]
audioconvert: Use ORC for the float<->int32 conversion

This should speed up standard Vorbis encoding and decoding pipelines a bit.

Thanks to David Schleef for the assistance to get the ORC code right
and explaining everything.

13 years agotextoverlay: Support NV21 too and minor cleanups
Sebastian Dröge [Tue, 24 Aug 2010 08:12:53 +0000 (10:12 +0200)]
textoverlay: Support NV21 too and minor cleanups

13 years agovideo: Fix component width for NV12/NV21
Sebastian Dröge [Tue, 24 Aug 2010 08:03:04 +0000 (10:03 +0200)]
video: Fix component width for NV12/NV21

Both have width/2 as component width for the chroma planes.

13 years agovideotestsrc: Fix NV21 rendering
Sebastian Dröge [Tue, 24 Aug 2010 07:51:46 +0000 (09:51 +0200)]
videotestsrc: Fix NV21 rendering

Using the same as for NV12 will result in wrong colors and crashes.

13 years agoclockoverlay: only rerender text if time string has changed
Chris Shoemaker [Mon, 23 Aug 2010 22:51:18 +0000 (18:51 -0400)]
clockoverlay: only rerender text if time string has changed

The textoverlay element will rerender the text string whenever
overlay sets the 'need_render' flag to TRUE.  Previously, we
lazily set the flag to TRUE every time the time string was requested.
Now, we save a copy of the previously given string, and only set
'need_render' to TRUE if the string has changed.

In my tests with a 30fps video stream, and a time string including
a seconds field, this change reduced the CPU usage of the clockoverlay
element from 60% to 5%.

Fixes bug #627780.

13 years agotextoverlay: add NV12 support
Rob Clark [Mon, 23 Aug 2010 18:59:38 +0000 (13:59 -0500)]
textoverlay: add NV12 support

Fixes bug #627768.

13 years agovideorate: Mark duplicated frames with the GAP flag
Sebastian Dröge [Fri, 20 Aug 2010 10:03:44 +0000 (12:03 +0200)]
videorate: Mark duplicated frames with the GAP flag

We currently don't use the GAP flag for video and the docs say
that this is for buffers, that have been created to fill a gap
and contains neutral data. For video this is the previous frame.

This information can be used by encoders to encode the duplicated
frames more efficiently. See bug #627459.

13 years agoffmpegcolorspace: Add back support for 8 bit paletted RGB
Sebastian Dröge [Thu, 19 Aug 2010 16:51:25 +0000 (18:51 +0200)]
ffmpegcolorspace: Add back support for 8 bit paletted RGB

This was removed by 3a00a97fd2b4015e93cdcabaa75da406aa599570
while making the pad template caps more compact.

Fixes bug #626629.

13 years agoalsasrc/sink: add property to get the card name
Wim Taymans [Wed, 18 Aug 2010 14:45:37 +0000 (16:45 +0200)]
alsasrc/sink: add property to get the card name

fixes #627203

13 years agoalsa: add method to retrieve the card name
Wim Taymans [Wed, 18 Aug 2010 14:42:13 +0000 (16:42 +0200)]
alsa: add method to retrieve the card name

Reuse an existing method to retrieve the card name.

13 years agobasertpdepay: don't clear the discont flag too early
American Dynamics [Wed, 18 Aug 2010 10:34:07 +0000 (12:34 +0200)]
basertpdepay: don't clear the discont flag too early

Set the discont flag when we receive a DISCONT buffer and only clear the discont
state when we pushed out a DISCONT buffer.

Fixes #626869

13 years agodocs: fix typo in appsink docs so function gets cross-referenced properly
Tim-Philipp Müller [Sat, 14 Aug 2010 18:08:53 +0000 (19:08 +0100)]
docs: fix typo in appsink docs so function gets cross-referenced properly

13 years agobuild: use new AG_GST_PKG_CONFIG_PATH m4 macro from common
Tim-Philipp Müller [Sat, 14 Aug 2010 18:02:44 +0000 (19:02 +0100)]
build: use new AG_GST_PKG_CONFIG_PATH m4 macro from common

Sets up a GST_PKG_CONFIG_PATH variable for use in Makefile.am
(avoids trailing ':' in PKG_CONFIG_PATH used).

13 years agointrospection: set PKG_CONFIG_PATH so that our in-tree libs come first when calling...
Tim-Philipp Müller [Sat, 14 Aug 2010 17:36:55 +0000 (18:36 +0100)]
introspection: set PKG_CONFIG_PATH so that our in-tree libs come first when calling scanner

When calling gobject-introspection scanner, make sure our own
freshly-built libs within the source tree (well, build dir) come
first in the PKG_CONFIG_PATH. May or may not help to make sure
that it doesn't pick up older external plugins-base libs (or
.gir files) from outside the source tree / build directory as
dependencies of the introspected lib instead of using the
stuff we just built in a sibling directory.

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

13 years agoplayback: Delay usage of GstFactoryList
Edward Hervey [Fri, 6 Aug 2010 15:16:27 +0000 (17:16 +0200)]
playback: Delay usage of GstFactoryList

By delaying it to when it's actually needed, we speed things up a bit
since some elements might have been added/removed in between.

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

13 years agoplaybin2: uridecodebin: add property to configure ring buffer size
Robert Swain [Thu, 17 Jun 2010 07:10:11 +0000 (09:10 +0200)]
playbin2: uridecodebin: add property to configure ring buffer size

13 years agoAutomatic update of common submodule
Stefan Kost [Fri, 13 Aug 2010 14:23:46 +0000 (17:23 +0300)]
Automatic update of common submodule

From 3e8db1d to ec60217

13 years agoplugin-docs: the <TITLE> tag should come right after <FILE>.
Stefan Kost [Fri, 13 Aug 2010 10:59:08 +0000 (13:59 +0300)]
plugin-docs: the <TITLE> tag should come right after <FILE>.

Fixes missing plugin entries. If the object name, e.g. GstGIOSrc came before the
title, we ended up with differnt section_id in the generated docbook.

13 years agoappsrc: fix the classification.
Stefan Kost [Thu, 12 Aug 2010 15:14:38 +0000 (18:14 +0300)]
appsrc: fix the classification.

Change "Src" into "Source" (we use that elsewhere). I did not keept "Src" as it
is quite unlikely that someone plugs appsrc by searching the registry by classification.

13 years agoalsa: remove 'dir' out variable
Stefan Kost [Thu, 12 Aug 2010 12:26:08 +0000 (15:26 +0300)]
alsa: remove 'dir' out variable

Alsa seems to expect that we initialize it. Remove the variable and pass NULL
as we actually don't use it. In alsasink also #ifdef one section that is
grabing diagnostics to be disabled, when logging is disabled (the code was
using the out parameter as well).

Fixes #626125

13 years agoffmpegcolorspace: remove chroma-site and color-matrix fields from RGB caps
Tim-Philipp Müller [Thu, 12 Aug 2010 10:46:11 +0000 (11:46 +0100)]
ffmpegcolorspace: remove chroma-site and color-matrix fields from RGB caps

13 years agostreamsynchronizer: prevent deadlock with _chain when deactivating pad
Mark Nauwelaerts [Wed, 11 Aug 2010 10:49:40 +0000 (12:49 +0200)]
streamsynchronizer: prevent deadlock with _chain when deactivating pad

Fixes #626581.

13 years agoplayback: bad bad editor, readd missing line to fix the build
Stefan Kost [Thu, 12 Aug 2010 09:50:27 +0000 (12:50 +0300)]
playback: bad bad editor, readd missing line to fix the build

13 years agotests/playback: due to popular demand mv them from examples to icles
Stefan Kost [Thu, 12 Aug 2010 09:08:35 +0000 (12:08 +0300)]
tests/playback: due to popular demand mv them from examples to icles

The tests are toys and not reference demos.

13 years agostreamsynchronizer: send preroll buffer when delaying preroll eos
Mark Nauwelaerts [Thu, 12 Aug 2010 08:02:56 +0000 (10:02 +0200)]
streamsynchronizer: send preroll buffer when delaying preroll eos

That is, if eos is received which will not be forwarded, and the stream
has not yet seen any data, then send a buffer to preroll downstream
(which might otherwise be accomplished by the eos event).

13 years agoplaysink: remove some heuristic in chain configuration code
Mark Nauwelaerts [Thu, 12 Aug 2010 08:01:03 +0000 (10:01 +0200)]
playsink: remove some heuristic in chain configuration code

.. since queues are now inserted unconditionally.

13 years agoplaybin2/playsink: update subtitle handling for streamsynchronizer
Mark Nauwelaerts [Wed, 11 Aug 2010 08:27:35 +0000 (10:27 +0200)]
playbin2/playsink: update subtitle handling for streamsynchronizer

Streamsynchronizer excepts to see stream-changed msg for all streams, but to
arrange for this, video and subtitle streams need to be decoupled by means
of queues (due to pad blocks that may occur).

Fixes #626463.

13 years agoplaysink: always have a queue in chain head to aid streamsynchronizer
Mark Nauwelaerts [Tue, 10 Aug 2010 11:06:32 +0000 (13:06 +0200)]
playsink: always have a queue in chain head to aid streamsynchronizer

Specifically, as the latter may have one thread pushing EOS to several streams,
that needs to be decoupled into various thread to prevent preroll hanging
problems.

13 years agostreamsynchronizer: drop lock when pushing eos downstream
Mark Nauwelaerts [Tue, 10 Aug 2010 09:28:43 +0000 (11:28 +0200)]
streamsynchronizer: drop lock when pushing eos downstream

... to prevent deadlock (e.g. upon seek) when downstream waits in preroll.

13 years agostreamsynchronizer: clear stream eos state on FLUSH and new stream
Mark Nauwelaerts [Tue, 10 Aug 2010 09:19:59 +0000 (11:19 +0200)]
streamsynchronizer: clear stream eos state on FLUSH and new stream

13 years agoplaysink: set READY sinks to NULL before freeing chain upon failure
Mark Nauwelaerts [Tue, 10 Aug 2010 09:19:22 +0000 (11:19 +0200)]
playsink: set READY sinks to NULL before freeing chain upon failure

13 years agoplayback: move tests from plugin-dir to tests/examples/playback
Stefan Kost [Thu, 12 Aug 2010 07:49:59 +0000 (10:49 +0300)]
playback: move tests from plugin-dir to tests/examples/playback

13 years agoxvimagesink: Suggest caps with different width/height if bufferalloc is called with...
Sebastian Dröge [Wed, 11 Aug 2010 16:08:59 +0000 (18:08 +0200)]
xvimagesink: Suggest caps with different width/height if bufferalloc is called with impossible width/height

13 years agovideoscale: Add some debug output to the videoscale negotiation test
Sebastian Dröge [Wed, 11 Aug 2010 15:16:13 +0000 (17:16 +0200)]
videoscale: Add some debug output to the videoscale negotiation test

13 years agovideoscale: Only set the PAR if the caps already had a PAR
Sebastian Dröge [Wed, 11 Aug 2010 15:03:11 +0000 (17:03 +0200)]
videoscale: Only set the PAR if the caps already had a PAR

Otherwise we're producing different caps and basetransform thinks that it
can't passthrough buffer allocations, etc.

In 0.11 all video caps really should have the PAR set...

13 years agoxvimagesink: It's not a bad thing if the preferred video format needs less bytes...
Sebastian Dröge [Wed, 11 Aug 2010 15:00:54 +0000 (17:00 +0200)]
xvimagesink: It's not a bad thing if the preferred video format needs less bytes per frame

13 years agotags: exif: Fix bug in inner ifd parsing
Thiago Santos [Wed, 11 Aug 2010 11:47:57 +0000 (08:47 -0300)]
tags: exif: Fix bug in inner ifd parsing

Do not use the result of inner ifd's parsing to increment
the current tag index. The reasons are:

1) The function returns a boolean.
2) The inner ifd's tags are in a separate table, so they shouldn't
interfere with its parent ifd table parsing.

13 years agotag: exif: Put ExifVersion in the correct IFD
Thiago Santos [Wed, 11 Aug 2010 11:03:44 +0000 (08:03 -0300)]
tag: exif: Put ExifVersion in the correct IFD

ExifVersion is from the 'exif' ifd, not the 0th ifd.

13 years agotag: exif: Refactor functions declaration
Thiago Santos [Tue, 10 Aug 2010 22:50:42 +0000 (19:50 -0300)]
tag: exif: Refactor functions declaration

Use some macros to declare serialization/deserialization
functions prototypes.

13 years agotag: exif: Add another DateTime mapping
Thiago Santos [Tue, 10 Aug 2010 22:30:11 +0000 (19:30 -0300)]
tag: exif: Add another DateTime mapping

datetimes can also be represented by the 0x132 tag. Map it, too.

13 years agotag: exif: Fix bug on image-orientation parsing
Thiago Santos [Tue, 10 Aug 2010 14:29:22 +0000 (11:29 -0300)]
tag: exif: Fix bug on image-orientation parsing

Do not skip one extra tag when parsing image-orientation tags.

13 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 10 Aug 2010 09:57:17 +0000 (10:57 +0100)]
Automatic update of common submodule

From bd2054b to 3e8db1d

13 years agoexiftag: Compare with G_MAXUINT16 instead of -1
Sebastian Dröge [Tue, 10 Aug 2010 09:52:30 +0000 (11:52 +0200)]
exiftag: Compare with G_MAXUINT16 instead of -1

Fixes a compiler warning on the OS X buildbot.

13 years agoxmp: exif: Adds GST_TAG_APPLICATION_NAME mappings
Thiago Santos [Mon, 9 Aug 2010 21:04:08 +0000 (18:04 -0300)]
xmp: exif: Adds GST_TAG_APPLICATION_NAME mappings

adds xmp and exif helper library mappings for GST_TAG_APPLICATION_NAME
tag.

13 years agotag: exif: Write ExifVersion tag
Thiago Santos [Wed, 4 Aug 2010 16:01:21 +0000 (13:01 -0300)]
tag: exif: Write ExifVersion tag

Write ExifVersion tag unconditionally when creating exif
buffers. Might help other applications parsing of this data.

13 years agotests: tag: Test to try to serialize multiple exif tags
Thiago Santos [Wed, 4 Aug 2010 16:02:52 +0000 (13:02 -0300)]
tests: tag: Test to try to serialize multiple exif tags

Adds a new test for exif data that tries serializing data
from multiple ifd tables and check if it works.

13 years agotags: exif: Fix inner tags offset rewriting
Thiago Santos [Mon, 9 Aug 2010 20:25:07 +0000 (17:25 -0300)]
tags: exif: Fix inner tags offset rewriting

Fixes a bug that made exif helper lib fail to rewrite inner ifd tags
offsets when there were more than 1 inner ifd.

13 years agotextoverlay: configurable text color and position
Mark Nauwelaerts [Thu, 22 Jul 2010 15:29:57 +0000 (17:29 +0200)]
textoverlay: configurable text color and position

Rather than only left, right, top, etc, allow for horizontal and vertical
positioning on a scale from 0 to 1.
Also cater for configuring rendered text color.

Fixes #624920.

API: GstTextOverlay:xpos
API: GstTextOverlay:ypos
API: GstTextOverlay:color

13 years agovideotestsrc: add solid-color pattern
Mark Nauwelaerts [Wed, 21 Jul 2010 12:20:03 +0000 (14:20 +0200)]
videotestsrc: add solid-color pattern

... which generalizes the current listing of white, black, etc.
In particular, also allow specifying alpha channel, and modify
some structures and pattern filling to cater for alpha value as well.

Fixes #624919.

API: GstVideoTestSrc:solid-color

13 years agooggstream: static forward declarations are forbidden by the C standard
Sebastian Dröge [Sun, 8 Aug 2010 15:42:04 +0000 (17:42 +0200)]
oggstream: static forward declarations are forbidden by the C standard

...and actually cause compiler errors on VC++. Change it to an extern
forward declaration and non-static definition.

13 years agoAutomatic update of common submodule
Stefan Kost [Thu, 5 Aug 2010 10:56:29 +0000 (13:56 +0300)]
Automatic update of common submodule

From 2004d03 to bd2054b

13 years agoconfigure: Check if the compiler supports ISO C89 or C99 and which parameters are...
Sebastian Dröge [Wed, 4 Aug 2010 17:24:29 +0000 (19:24 +0200)]
configure: Check if the compiler supports ISO C89 or C99 and which parameters are required

This first checks what is required for ISO C99 support and sets the relevant
compiler parameters and if no C99 compiler is found, it checks for a
C89 compiler. This enables us to check for and use C89/C99 functions
that gcc hides from us without the correct compiler parameters.

13 years agobaseaudiosink/baseaudiosrc: Post CLOCK-LOST/CLOCK-PROVIDE when going to/from READY
Sebastian Dröge [Wed, 4 Aug 2010 13:18:37 +0000 (15:18 +0200)]
baseaudiosink/baseaudiosrc: Post CLOCK-LOST/CLOCK-PROVIDE when going to/from READY

Otherwise the clocks are redistributed every time the pipeline
goes to PAUSED, which is quite expensive.

13 years agotag: xmp: Make xmp lib aware for the different tag types
Thiago Santos [Tue, 3 Aug 2010 18:03:27 +0000 (15:03 -0300)]
tag: xmp: Make xmp lib aware for the different tag types

Makes the xmp helper lib aware that the tags can be simple,
sequences or bags (there is still struct and alt, but those
aren't handled yet). Adding this info makes serialization
and deserialization more consistent.

13 years agoxmp: Add a new layer of indirection (GstXmpSchema)
Thiago Santos [Mon, 2 Aug 2010 12:56:21 +0000 (09:56 -0300)]
xmp: Add a new layer of indirection (GstXmpSchema)

Instead of storing all tags in a single hashtable, store them
grouped by schema in a GstXmpSchema, and add those to the toplevel
hashtable.

13 years agotag: xmp: Make bag tags deserialization work correctly
Thiago Santos [Tue, 3 Aug 2010 17:37:05 +0000 (14:37 -0300)]
tag: xmp: Make bag tags deserialization work correctly

If we find a bag of tags of type string in the xmp packet, we
should concat them, this is not the ideal approach, but at
least works for now as we don't know what type of tag it
is (simple, structure, seq, alt or bag)

13 years agoexamples/seek: Don't unpause on clock-lost unless playing
Jan Schmidt [Wed, 4 Aug 2010 11:44:22 +0000 (21:44 +1000)]
examples/seek: Don't unpause on clock-lost unless playing

If the pipeline is paused by the user, don't pause/unpause
on clock-lost.

13 years agoringbuffer: improve debugging
Wim Taymans [Fri, 2 Jul 2010 10:10:16 +0000 (12:10 +0200)]
ringbuffer: improve debugging

13 years agoringbuffer: whitespace fixes
Wim Taymans [Fri, 2 Jul 2010 10:09:30 +0000 (12:09 +0200)]
ringbuffer: whitespace fixes

13 years agodecodebin2: use more efficient way of getting caps
Wim Taymans [Mon, 28 Jun 2010 08:53:57 +0000 (10:53 +0200)]
decodebin2: use more efficient way of getting caps

When inspecting the caps of a pad, try to get the pad _CAPS first before calling
the getcaps function.

13 years agooggmux: Fix test build when theora and vorbis aren't available
Thiago Santos [Mon, 2 Aug 2010 14:06:00 +0000 (11:06 -0300)]
oggmux: Fix test build when theora and vorbis aren't available

Ifdef properly to avoid build failures

13 years agotypefind: Detect avc1 ftyp as video/quicktime
Thiago Santos [Sun, 1 Aug 2010 09:50:13 +0000 (06:50 -0300)]
typefind: Detect avc1 ftyp as video/quicktime

Detects avc1 ftyp as video/quicktime (iso variant)

13 years agotag: xmp: removing useless locking
Thiago Santos [Tue, 27 Jul 2010 14:25:12 +0000 (11:25 -0300)]
tag: xmp: removing useless locking

Everything in the xmp helper lib is initiallized once and on a thread
safe way, and after that there are only reads going on, no more
writing. Based on that, drop the locking.

13 years agojsseek: Set joystick io encoding to 'NULL'
Jan Schmidt [Sun, 20 Jun 2010 13:53:38 +0000 (23:53 +1000)]
jsseek: Set joystick io encoding to 'NULL'

Fix problems with newer glib reporting bad encodings on the binary
data emerging from the joystick device fd.

13 years agostreamsynchronizer: fix printf format compiler warnings
Tim-Philipp Müller [Mon, 26 Jul 2010 18:25:55 +0000 (20:25 +0200)]
streamsynchronizer: fix printf format compiler warnings

Make OSX build bot happy.

13 years agotag: initialize datetime variable in xmp tag parsing code
Tim-Philipp Müller [Mon, 26 Jul 2010 16:23:33 +0000 (18:23 +0200)]
tag: initialize datetime variable in xmp tag parsing code

Fixes (correct) compiler warning on the OSX build bot.

13 years agoconfigure: require core from git
Tim-Philipp Müller [Mon, 26 Jul 2010 15:48:14 +0000 (17:48 +0200)]
configure: require core from git

For GstDateTime stuff used in libgsttag.

13 years agopbutils: add compile time and runtime version checks for gst-plugins-base
Tim-Philipp Müller [Mon, 26 Jul 2010 15:04:02 +0000 (17:04 +0200)]
pbutils: add compile time and runtime version checks for gst-plugins-base

So people can check what version of the gst-plugins-base libs they're
building against or linked against.

API: GST_PLUGINS_BASE_VERSION_MAJOR
API: GST_PLUGINS_BASE_VERSION_MINOR
API: GST_PLUGINS_BASE_VERSION_MICRO
API: GST_PLUGINS_BASE_VERSION_NANO
API: GST_CHECK_PLUGINS_BASE_VERSION
API: gst_plugins_base_version()
API: gst_plugins_base_version_string()

13 years agotag: exif: Map GST_TAG_DATE_TIME
Thiago Santos [Wed, 30 Jun 2010 19:36:14 +0000 (16:36 -0300)]
tag: exif: Map GST_TAG_DATE_TIME

Adds mapping to the exif helper library for GST_TAG_DATE_TIME.
Tests included.

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

13 years agotag: xmp: Maps GST_TAG_DATE_TIME
Thiago Santos [Wed, 23 Jun 2010 15:02:24 +0000 (12:02 -0300)]
tag: xmp: Maps GST_TAG_DATE_TIME

Adds mapping for GST_TAG_DATE_TIME.
Tests included.

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

13 years agovideorate: Fixate the pixel-aspect-ratio if necessary
Sebastian Dröge [Mon, 26 Jul 2010 14:05:44 +0000 (16:05 +0200)]
videorate: Fixate the pixel-aspect-ratio if necessary

13 years agostreamsynchronizer: Delay EOS events until all streams are EOS
Sebastian Dröge [Sat, 24 Jul 2010 16:17:43 +0000 (18:17 +0200)]
streamsynchronizer: Delay EOS events until all streams are EOS

This fixes a race condition in playbin2's gapless mode, where the
EOS of other streams might arrive in the sinks before the last stream
ends and the switch to the new track happens. The EOS sinks won't
accept any new data then and playback stops.

To prevent this, delay all EOS events until all streams are EOS
and advance the sinks of the EOS streams by filler newsegment
events if necessary.

Fixes bug #625118.

13 years agotypefindfunctions: export 3gp profile in caps
Arun Raghavan [Tue, 1 Jun 2010 18:13:45 +0000 (23:43 +0530)]
typefindfunctions: export 3gp profile in caps

This reads the 3gp profile from the major/compatible brands and puts
this as a 'profile' field in caps. This can be used by demuxers to
decide whether they can handle this stream or not. Also needed for
DLNA.

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

13 years agoexamples: Use cairo instead of to-be-deprecated GDK API
Sebastian Dröge [Sat, 24 Jul 2010 09:48:33 +0000 (11:48 +0200)]
examples: Use cairo instead of to-be-deprecated GDK API

Fixes bug #625001.

13 years agoconfigure: set release date/time
Tim-Philipp Müller [Sat, 24 Jul 2010 08:22:28 +0000 (09:22 +0100)]
configure: set release date/time

Use the new AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO macro.

13 years agotypefinding: detect enhanced AC-3
Parthasarathi Susarla [Tue, 20 Jul 2010 06:38:52 +0000 (12:08 +0530)]
typefinding: detect enhanced AC-3

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

13 years agostreamsynchronizer: Fix another deadlock when going PAUSED->READY while streams are...
Sebastian Dröge [Thu, 22 Jul 2010 07:13:00 +0000 (09:13 +0200)]
streamsynchronizer: Fix another deadlock when going PAUSED->READY while streams are waiting for the GCond

13 years agoplaysink: Switch to faster pad linking methods
Edward Hervey [Tue, 20 Jul 2010 19:05:45 +0000 (21:05 +0200)]
playsink: Switch to faster pad linking methods

Logic for choice of GST_PAD_LINK_CHECK_* is as follows:
* Where return of pad_link wasn't checked before : NOTHING
* Where linking is between known compatible elements : NOTHING
* All other cases : TEMPLATE_CAPS

Slashes down playsink reconfigure by up to 50% cpu time.

13 years agoplaysink: Set add-borders=true on the videoscale instances
Sebastian Dröge [Mon, 19 Jul 2010 13:58:20 +0000 (15:58 +0200)]
playsink: Set add-borders=true on the videoscale instances

This makes sure that we always keep the display aspect ratio and
add black borders if necessary, which is usually something you want
for viewing a video.

13 years agovideoscale: Rename borders property to add-borders
Sebastian Dröge [Mon, 19 Jul 2010 13:44:40 +0000 (15:44 +0200)]
videoscale: Rename borders property to add-borders

13 years agovideoscale: update disted orc files for latest changes
Tim-Philipp Müller [Mon, 19 Jul 2010 08:39:28 +0000 (09:39 +0100)]
videoscale: update disted orc files for latest changes

13 years agovideoscale: Add support for adding black borders to keep the DAR if necessary
Sebastian Dröge [Sat, 17 Jul 2010 18:24:18 +0000 (20:24 +0200)]
videoscale: Add support for adding black borders to keep the DAR if necessary

Fixes bug #617506.

13 years agovideoscale: Fix linear scaling of UYVY scanlines
Sebastian Dröge [Sun, 18 Jul 2010 13:08:48 +0000 (15:08 +0200)]
videoscale: Fix linear scaling of UYVY scanlines

Fixes bug #624656.