platform/upstream/gst-plugins-base.git
13 years agoconvertframe: fix for merge conflict
Wim Taymans [Tue, 24 May 2011 07:55:47 +0000 (09:55 +0200)]
convertframe: fix for merge conflict

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Tue, 24 May 2011 07:47:15 +0000 (09:47 +0200)]
Merge branch 'master' into 0.11

Conflicts:
gst-libs/gst/video/convertframe.c

13 years agox11: free bufferpool whe activation fails
Wim Taymans [Tue, 24 May 2011 07:45:18 +0000 (09:45 +0200)]
x11: free bufferpool whe activation fails

13 years agodocs: massage the section file more
Stefan Kost [Mon, 23 May 2011 21:13:04 +0000 (00:13 +0300)]
docs: massage the section file more

Add more symbols (from unused.txt). Move the whole bunch of riff-fourcc defines
to std section too (no one is hoing to document them, right).

13 years agodocs: add missing parameter docs
Stefan Kost [Mon, 23 May 2011 21:12:26 +0000 (00:12 +0300)]
docs: add missing parameter docs

13 years agodocs: move the riff structure to std-section
Stefan Kost [Mon, 23 May 2011 20:53:38 +0000 (23:53 +0300)]
docs: move the riff structure to std-section

If someone intents to document them and the fields we can move them back.

13 years agodocs: move pluginbaseversion to separate section as we have section docs
Stefan Kost [Mon, 23 May 2011 20:53:06 +0000 (23:53 +0300)]
docs: move pluginbaseversion to separate section as we have section docs

13 years agodocs: add minimal docblobs for status code and headers
Stefan Kost [Mon, 23 May 2011 20:51:15 +0000 (23:51 +0300)]
docs: add minimal docblobs for status code and headers

Use a trick to avoid documenting all 100 enums.

13 years agodocs: update xoverlay docs for api addition and deprecation
Stefan Kost [Mon, 23 May 2011 20:41:56 +0000 (23:41 +0300)]
docs: update xoverlay docs for api addition and deprecation

13 years agodocs: rtp library docs update
Stefan Kost [Mon, 23 May 2011 20:12:50 +0000 (23:12 +0300)]
docs: rtp library docs update

13 years agodocs: add missing documentation for various pieces
Stefan Kost [Mon, 23 May 2011 19:58:22 +0000 (22:58 +0300)]
docs: add missing documentation for various pieces

13 years agobaseaudiosink: recalibrate clock on setcaps
Thijs Vermeir [Fri, 19 Feb 2010 11:54:18 +0000 (12:54 +0100)]
baseaudiosink: recalibrate clock on setcaps

Because the spec for the ringbuffer can change when changing
the caps, we must recalibrate the clock.

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

13 years agosubparse: Try to typefind even if conversion to UTF8 failed
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.

13 years agosubparse: Compile the typefind regex with optimization to speed up matching
Sebastian Dröge [Mon, 23 May 2011 14:02:20 +0000 (16:02 +0200)]
subparse: Compile the typefind regex with optimization to speed up matching

13 years agosubparse: Interprete typefind strings passed to GRegex as raw bytes instead of valid...
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

13 years agoconvertframe: fix docs
Stefan Kost [Mon, 23 May 2011 12:21:59 +0000 (15:21 +0300)]
convertframe: fix docs

Fixup paramter mismatch between func and prototype. Add missing parameter docs.

13 years agodocs: fixup audio-library docs
Stefan Kost [Mon, 23 May 2011 12:08:24 +0000 (15:08 +0300)]
docs: fixup audio-library docs

13 years agodocs: fixup appsrc/sink api docs
Stefan Kost [Mon, 23 May 2011 12:02:27 +0000 (15:02 +0300)]
docs: fixup appsrc/sink api docs

13 years agodocs: fix docs for new api
Stefan Kost [Mon, 23 May 2011 11:53:26 +0000 (14:53 +0300)]
docs: fix docs for new api

Some parameters where wrong, first line missed the ':' and return docs where
broken.

13 years agodocs: update xmp api docs
Stefan Kost [Mon, 23 May 2011 11:45:23 +0000 (14:45 +0300)]
docs: update xmp api docs

Add missing section. Add new section to main-sgml. Add missing function.

13 years agoxmptag: remove late check
Stefan Kost [Mon, 23 May 2011 11:07:38 +0000 (14:07 +0300)]
xmptag: remove late check

We deref the pointer two lines before already and besides this internal function
should not be called with this parameter=NULL.

13 years agoxmptag: have the default branch as the last one
Stefan Kost [Mon, 23 May 2011 11:01:29 +0000 (14:01 +0300)]
xmptag: have the default branch as the last one

13 years agoxmptag: an uint value can't be <0
Stefan Kost [Mon, 23 May 2011 11:00:04 +0000 (14:00 +0300)]
xmptag: an uint value can't be <0

13 years agowhitespace: trim trailing whitespace
Stefan Kost [Mon, 23 May 2011 10:53:06 +0000 (13:53 +0300)]
whitespace: trim trailing whitespace

13 years agovideo.c: use a break and a final warning instead of early returns
Stefan Kost [Mon, 23 May 2011 10:50:59 +0000 (13:50 +0300)]
video.c: use a break and a final warning instead of early returns

Use breaks for case branches instead of return 0. We don't expect these to
happen anyway. Thus have a warning before the final return to make it easier to
see when things go out of sync.

13 years agovideo.c: use g_assert_not_reached() for logical error here.
Stefan Kost [Mon, 23 May 2011 10:49:01 +0000 (13:49 +0300)]
video.c: use g_assert_not_reached() for logical error here.

This will help to detect them closer to the source if they ever happen.

13 years agoencodebin: use new method
Wim Taymans [Fri, 20 May 2011 10:50:39 +0000 (12:50 +0200)]
encodebin: use new method

Use the new element class method to get the metadata from an element. Not all
elements might have an elementfactory.

13 years agoencodebin: Fix compilation after the removal of GstElementDetails
Sebastian Dröge [Fri, 20 May 2011 10:32:35 +0000 (12:32 +0200)]
encodebin: Fix compilation after the removal of GstElementDetails

13 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Fri, 20 May 2011 10:26:57 +0000 (12:26 +0200)]
Merge branch 'master' into 0.11

Conflicts:
docs/plugins/gst-plugins-base-plugins.hierarchy
docs/plugins/gst-plugins-base-plugins.interfaces
docs/plugins/gst-plugins-base-plugins.prerequisites

13 years agolang: fix possible array overrun
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.

13 years agoaudioconvert: cleanup helper code
Stefan Kost [Thu, 19 May 2011 20:41:08 +0000 (23:41 +0300)]
audioconvert: cleanup helper code

make_lossless_changes() returns the same structure that we're passing (probably
to enable chaining). Instead of reusing s and making it point to s2 as well,
keep using s2. Drop the assignment which in the 2nd case is a dead one anyway.

13 years agodocs: update plugin introspection data
Stefan Kost [Thu, 19 May 2011 20:25:24 +0000 (23:25 +0300)]
docs: update plugin introspection data

Now more files are merged and produced in a canonical fashion, which hopefully
creates less or no delta in the future.

13 years agoAutomatic update of common submodule
Stefan Kost [Thu, 19 May 2011 19:56:53 +0000 (22:56 +0300)]
Automatic update of common submodule

From 9e5bbd5 to 69b981f

13 years agoximagesink: implement ALLOCATION query
Wim Taymans [Thu, 19 May 2011 13:56:57 +0000 (15:56 +0200)]
ximagesink: implement ALLOCATION query

13 years agoxvimagesink: improve allocation query
Wim Taymans [Thu, 19 May 2011 13:55:53 +0000 (15:55 +0200)]
xvimagesink: improve allocation query

If the allocation query contains the same caps as the current allocator, we can
return that one instead of making a new one.

13 years agoAdd new header file
Christian Fredrik Kalager Schaller [Thu, 19 May 2011 12:40:29 +0000 (13:40 +0100)]
Add new header file

13 years agovisual: fix upstream renegotiation
Wim Taymans [Thu, 19 May 2011 11:38:55 +0000 (13:38 +0200)]
visual: fix upstream renegotiation

Fix a refcount problem.
Handle reconfiguration requests.

13 years agoencodebin: Autoplug formatters
Thiago Santos [Thu, 19 May 2011 11:30:14 +0000 (08:30 -0300)]
encodebin: Autoplug formatters

Autoplug formatters for streams if a formatter with secondary or
higher rank is found. Formatters are autoplugged when there is no
muxer or when the muxer doesn't implement the tagsetter interface.

Currently only the first formatter found is plugged, this might
help in lots of cases, but it doesn't solve the
'lamemp3 ! xingmux ! id3mux'
case.

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

13 years agoencodebin: fix typos
Thiago Santos [Thu, 19 May 2011 11:27:29 +0000 (08:27 -0300)]
encodebin: fix typos

13 years agovisual: improve negotiation
Wim Taymans [Thu, 19 May 2011 10:42:46 +0000 (12:42 +0200)]
visual: improve negotiation

Remove the setcaps function on the srcpad, we know exactly when we negotiate a
new format now.
Use a caps event to configure new caps.

13 years agovorbis: fix for new API
Wim Taymans [Thu, 19 May 2011 10:29:57 +0000 (12:29 +0200)]
vorbis: fix for new API

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 19 May 2011 09:31:53 +0000 (11:31 +0200)]
Merge branch 'master' into 0.11

13 years agovorbisdec: Handle headers in caps
Aleix Conchillo Flaque [Wed, 18 May 2011 20:07:58 +0000 (22:07 +0200)]
vorbisdec: Handle headers in caps

13 years agobase: Update for SEGMENT event parse API changes
Sebastian Dröge [Wed, 18 May 2011 15:23:18 +0000 (17:23 +0200)]
base: Update for SEGMENT event parse API changes

13 years agoAutomatic update of common submodule
Stefan Kost [Wed, 18 May 2011 13:09:47 +0000 (16:09 +0300)]
Automatic update of common submodule

From fd35073 to 9e5bbd5

13 years agogstvideo: Add gst_video_get_size_from_caps function
Robert Swain [Wed, 18 May 2011 11:18:15 +0000 (13:18 +0200)]
gstvideo: Add gst_video_get_size_from_caps function

gst_video_get_size_from_caps () allows easy calculation of the raw video
buffer size from some fixed video caps.

API: gst_video_get_size_from_caps()

13 years agoAutomatic update of common submodule
Stefan Kost [Wed, 18 May 2011 09:24:02 +0000 (12:24 +0300)]
Automatic update of common submodule

From 46dfcea to fd35073

13 years agoalsa: Remove unused but set variable
Robert Swain [Wed, 18 May 2011 07:34:52 +0000 (09:34 +0200)]
alsa: Remove unused but set variable

Unused but set variables cause warnings in GCC 4.6.x and newer.

13 years agogst: Update for caps/pad template related API changes
Sebastian Dröge [Tue, 17 May 2011 11:04:27 +0000 (13:04 +0200)]
gst: Update for caps/pad template related API changes

13 years agotests: Update for caps/pad template related API changes
Sebastian Dröge [Tue, 17 May 2011 11:03:57 +0000 (13:03 +0200)]
tests: Update for caps/pad template related API changes

13 years agoext: Update for caps/pad template related API changes
Sebastian Dröge [Tue, 17 May 2011 11:01:39 +0000 (13:01 +0200)]
ext: Update for caps/pad template related API changes

13 years agosys: Update for caps/pad template related API changes
Sebastian Dröge [Tue, 17 May 2011 10:54:41 +0000 (12:54 +0200)]
sys: Update for caps/pad template related API changes

13 years agoencodebin: Update for caps/pad template related API changes
Sebastian Dröge [Tue, 17 May 2011 10:51:34 +0000 (12:51 +0200)]
encodebin: Update for caps/pad template related API changes

13 years agoencoding-profile: Returns a new reference of caps everywhere instead of const caps
Sebastian Dröge [Tue, 17 May 2011 10:47:32 +0000 (12:47 +0200)]
encoding-profile: Returns a new reference of caps everywhere instead of const caps

13 years agoaudiofilter: gst_pad_template_new() does not take ownership of the caps anymore
Sebastian Dröge [Tue, 17 May 2011 10:29:24 +0000 (12:29 +0200)]
audiofilter: gst_pad_template_new() does not take ownership of the caps anymore

There's no need to copy the caps before passing them to that function.

13 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Tue, 17 May 2011 09:27:12 +0000 (11:27 +0200)]
Merge branch 'master' into 0.11

13 years agoRevert "-base_port to new query API"
Sebastian Dröge [Tue, 17 May 2011 09:25:31 +0000 (11:25 +0200)]
Revert "-base_port to new query API"

This reverts commit c9f4e0676ba8c8074a50aa6d1d058f6da9a76b32.

13 years agoRevert "decodebin2: Update for GstQuery related API changes"
Sebastian Dröge [Tue, 17 May 2011 09:24:18 +0000 (11:24 +0200)]
Revert "decodebin2: Update for GstQuery related API changes"

This reverts commit 549128c2a3702a878c62f5603e097c8df7075f36.

13 years agortsp: Fix typo which broke the build
Edward Hervey [Tue, 17 May 2011 08:20:36 +0000 (10:20 +0200)]
rtsp: Fix typo which broke the build

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Tue, 17 May 2011 07:31:01 +0000 (09:31 +0200)]
Merge branch 'master' into 0.11

13 years agortspconnection: not enter in not controllable state unless it is necessary
Miguel Angel Cabrera Moya [Mon, 16 May 2011 13:35:50 +0000 (15:35 +0200)]
rtspconnection: not enter in not controllable state unless it is necessary

When closing rtspsrc the state change blocks until the polling in the
connection timeouts. This is because the second time we loop to read a
full message controllable is set to FALSE in the poll group, even though no
message is half read.
This can be avoided by not setting controllable to FALSE the poll group
unless we had begin to read a message.

Fixes #610916

13 years agortspconnection: not enter in not controllable state unless it is necessary
Miguel Angel Cabrera Moya [Mon, 16 May 2011 13:35:50 +0000 (15:35 +0200)]
rtspconnection: not enter in not controllable state unless it is necessary

When closing rtspsrc the state change blocks until the polling in the
connection timeouts. This is because the second time we loop to read a
full message controllable is set to FALSE in the poll group, even though no
message is half read.
This can be avoided by not setting controllable to FALSE the poll group
unless we had begin to read a message.

Fixes #610916

13 years agocdparanoiasrc: fix build on OSX by #undef-ing VERSION before including system headers
Tim-Philipp Müller [Sun, 30 May 2010 12:21:00 +0000 (13:21 +0100)]
cdparanoiasrc: fix build on OSX by #undef-ing VERSION before including system headers

On OSX the cdparanoia headers include IOKit framework headers (in particular
SCSICmds_INQUIRY_Definitions.h) which define a structure that has a member
named VERSION, so we must #undef VERSION before including those for things
to compile on OSX.

Fixes #609918.

13 years agov4l: Make sure to return a subset of the filter caps in getcaps
Sebastian Dröge [Mon, 16 May 2011 15:44:44 +0000 (17:44 +0200)]
v4l: Make sure to return a subset of the filter caps in getcaps

13 years agov4lsrc: fix for new getcaps function
Wim Taymans [Mon, 16 May 2011 15:30:13 +0000 (17:30 +0200)]
v4lsrc: fix for new getcaps function

13 years agovideorate: Update for segment API changes
Sebastian Dröge [Mon, 16 May 2011 15:14:08 +0000 (17:14 +0200)]
videorate: Update for segment API changes

13 years agodecodebin2: Update for GstQuery related API changes
Sebastian Dröge [Mon, 16 May 2011 15:13:14 +0000 (17:13 +0200)]
decodebin2: Update for GstQuery related API changes

13 years agoplaysink: Update for other 0.11 API changes
Sebastian Dröge [Mon, 16 May 2011 15:13:04 +0000 (17:13 +0200)]
playsink: Update for other 0.11 API changes

13 years agoplaysink: Use correct number of parameters to gst_pad_get_caps()
Sebastian Dröge [Mon, 16 May 2011 15:08:45 +0000 (17:08 +0200)]
playsink: Use correct number of parameters to gst_pad_get_caps()

13 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Mon, 16 May 2011 15:06:22 +0000 (17:06 +0200)]
Merge branch 'master' into 0.11

Conflicts:
configure.ac
ext/alsa/gstalsasrc.c
gst-libs/gst/audio/gstbaseaudiosink.c
gst-libs/gst/tag/gstxmptag.c
gst/playback/gstsubtitleoverlay.c
gst/videorate/gstvideorate.c
sys/xvimage/xvimagesink.c

13 years agotests: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 13:31:58 +0000 (15:31 +0200)]
tests: Update for negotiation related API changes

13 years agovorbis: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 13:25:34 +0000 (15:25 +0200)]
vorbis: Update for negotiation related API changes

13 years agotheora: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 13:19:35 +0000 (15:19 +0200)]
theora: Update for negotiation related API changes

13 years agotextoverlay: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 10:23:17 +0000 (12:23 +0200)]
textoverlay: Update for negotiation related API changes

13 years agoogg: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 10:20:34 +0000 (12:20 +0200)]
ogg: Update for negotiation related API changes

13 years agovisual: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 10:18:03 +0000 (12:18 +0200)]
visual: Update for negotiation related API changes

13 years agoalsa: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 10:17:49 +0000 (12:17 +0200)]
alsa: Update for negotiation related API changes

13 years agoxvimagesink: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 10:04:39 +0000 (12:04 +0200)]
xvimagesink: Update for negotiation related API changes

13 years agovideorate: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 10:01:14 +0000 (12:01 +0200)]
videorate: Update for negotiation related API changes

13 years agotcpclientsrc: Update for negotation related API changes
Sebastian Dröge [Mon, 16 May 2011 09:37:39 +0000 (11:37 +0200)]
tcpclientsrc: Update for negotation related API changes

13 years agoaudioresample: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 09:37:25 +0000 (11:37 +0200)]
audioresample: Update for negotiation related API changes

13 years agoplayback: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 09:33:12 +0000 (11:33 +0200)]
playback: Update for negotiation related API changes

13 years agoffmpegcolorspace: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 09:26:17 +0000 (11:26 +0200)]
ffmpegcolorspace: Update for negotiation related API changes

13 years agoencodebin: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 09:04:30 +0000 (11:04 +0200)]
encodebin: Update for negotiation related API changes

13 years agoaudioconvert: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 08:56:11 +0000 (10:56 +0200)]
audioconvert: Update for negotiation related API changes

13 years agoadder: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 08:52:59 +0000 (10:52 +0200)]
adder: Update for negotiation related API changes

13 years agodiscoverer: Update for the new gst_pad_get_caps() signature
Sebastian Dröge [Mon, 16 May 2011 08:48:35 +0000 (10:48 +0200)]
discoverer: Update for the new gst_pad_get_caps() signature

13 years agoappsink: Update for the negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 08:47:02 +0000 (10:47 +0200)]
appsink: Update for the negotiation related API changes

13 years agobasertppayload: Change ::get_caps to include the filter caps
Sebastian Dröge [Mon, 16 May 2011 08:44:18 +0000 (10:44 +0200)]
basertppayload: Change ::get_caps to include the filter caps

And improve downstream negotiation a bit by passing our proposed
caps to the peer as a filter.

13 years agoximagesink: Update for negotiation related API changes
Sebastian Dröge [Wed, 11 May 2011 15:39:52 +0000 (17:39 +0200)]
ximagesink: Update for negotiation related API changes

13 years agovideotestsrc: Update for negotiation related API changes
Sebastian Dröge [Wed, 11 May 2011 15:39:06 +0000 (17:39 +0200)]
videotestsrc: Update for negotiation related API changes

13 years agovideoscale: Update for negotiation related API changes
Sebastian Dröge [Mon, 16 May 2011 10:02:48 +0000 (12:02 +0200)]
videoscale: Update for negotiation related API changes

13 years agovideoscale: basetransform is now better at trying passthrough, remove workaround
Sebastian Dröge [Wed, 11 May 2011 15:35:36 +0000 (17:35 +0200)]
videoscale: basetransform is now better at trying passthrough, remove workaround

13 years ago-base: port to new SEGMENT API
Wim Taymans [Mon, 16 May 2011 11:48:11 +0000 (13:48 +0200)]
-base: port to new SEGMENT API

13 years agovideorate: optionally ensure maximum average output frame rate
Mark Nauwelaerts [Mon, 2 May 2011 09:43:38 +0000 (11:43 +0200)]
videorate: optionally ensure maximum average output frame rate

See #628764.

13 years agovideorate: optionally only drop frames to ensure maximum frame rate
Alexey Fisher [Fri, 29 Apr 2011 12:58:02 +0000 (14:58 +0200)]
videorate: optionally only drop frames to ensure maximum frame rate

This adds option to arrange for maximal allowed variable frame rate.

Fixes #628764.

13 years agouridecodebin: use bitrate to configure streaming buffer-duration default case
Mark Nauwelaerts [Tue, 26 Apr 2011 11:37:51 +0000 (13:37 +0200)]
uridecodebin: use bitrate to configure streaming buffer-duration default case

In particular, in audio only cases whose (estimated) metadata provides bitrate
information, the buffer-size based on such bitrate (and buffer-duration)
will be much more reasonable than queue2 default buffer-size.

13 years agouridecodebin: remove some dead code
Mark Nauwelaerts [Tue, 26 Apr 2011 09:27:40 +0000 (11:27 +0200)]
uridecodebin: remove some dead code

... which was dead as pads were never added to the list, and need not be added,
since removing them is handled by a pad callback.

13 years agoencodebin: examples: Add missing base libs to makefile
Thiago Santos [Fri, 29 Apr 2011 14:48:02 +0000 (11:48 -0300)]
encodebin: examples: Add missing base libs to makefile

13 years agoencodebin: Check for missing converters
Thiago Santos [Thu, 28 Apr 2011 13:58:15 +0000 (10:58 -0300)]
encodebin: Check for missing converters

Adds checks for missing video and audio converter elements