platform/upstream/gstreamer.git
13 years agotests: fix some more unused-but-set-variable warnings with gcc 4.6
Tim-Philipp Müller [Sun, 29 May 2011 12:32:04 +0000 (13:32 +0100)]
tests: fix some more unused-but-set-variable warnings with gcc 4.6

13 years agowin32: update .def file for new API
Tim-Philipp Müller [Sat, 28 May 2011 15:14:23 +0000 (16:14 +0100)]
win32: update .def file for new API

13 years agoIgnore new playbin2-compress test binary
Tim-Philipp Müller [Sat, 28 May 2011 11:39:06 +0000 (12:39 +0100)]
Ignore new playbin2-compress test binary

And add old testchannels binary to CRUFT_FILES.

13 years agovideo: sprinkle some G_GNUC_CONST
Tim-Philipp Müller [Fri, 27 May 2011 22:31:27 +0000 (23:31 +0100)]
video: sprinkle some G_GNUC_CONST

Mark functions that have no effect besides their return value and
only inspect their input arguments with G_GNUC_CONST. (We just
ignore the g_return_val_if_fail() guards for this)

13 years agovideo: clean up header file
Tim-Philipp Müller [Fri, 27 May 2011 22:25:00 +0000 (23:25 +0100)]
video: clean up header file

Sprinkle some spaces and newlines here and there.

13 years agoaudio: move testchannels example to 'tests/examples' dir
Stefan Kost [Fri, 27 May 2011 12:03:19 +0000 (15:03 +0300)]
audio: move testchannels example to 'tests/examples' dir

Also fix it up a little to not include 'c' file but link to the libs instead.

13 years agocode-utile: fix level descriptions for fgs
Stefan Kost [Fri, 27 May 2011 08:39:21 +0000 (11:39 +0300)]
code-utile: fix level descriptions for fgs

fgs levels range from 8-13 and are mapped to 0-5.

13 years agocodec-utils: fix mpeg4 level verification
Stefan Kost [Wed, 25 May 2011 11:38:21 +0000 (14:38 +0300)]
codec-utils: fix mpeg4 level verification

The current condition would never be true. As levels<6 are asp and levels>7 and
<14 are fgs, we should return NULL for cases 6,7,14,15.

13 years agoxvimagesink: Fallback to non-XShm mode if allocating the XShm image failed
Sebastian Dröge [Thu, 26 May 2011 10:33:08 +0000 (12:33 +0200)]
xvimagesink: Fallback to non-XShm mode if allocating the XShm image failed

Fixes bug #630442.

13 years agoximagesink: Fallback to non-XShm mode if allocating the XShm image failed
Sebastian Dröge [Thu, 26 May 2011 10:30:31 +0000 (12:30 +0200)]
ximagesink: Fallback to non-XShm mode if allocating the XShm image failed

Fixes bug #630442.

13 years agoplaybin2: Let the input-selectors sync all streams to the running time
Sebastian Dröge [Thu, 26 May 2011 09:41:50 +0000 (11:41 +0200)]
playbin2: Let the input-selectors sync all streams to the running time

This is especially needed when switching between a non-sparse and sparse
video stream, see bug #537382. It also lowers the time needed for switching
between streams a bit.

13 years agotextoverlay: added 'outline-color' parameter to control whether text gets a shadow
Lane Brooks [Thu, 20 Jan 2011 07:52:50 +0000 (00:52 -0700)]
textoverlay: added 'outline-color' parameter to control whether text gets a shadow

13 years agotextoverlay: added 'shadow' option to control whether text gets a shadow
Lane Brooks [Thu, 20 Jan 2011 07:42:39 +0000 (00:42 -0700)]
textoverlay: added 'shadow' option to control whether text gets a shadow

13 years agotextrender: Correctly negotiate with downstream instead of just using random caps
Jindrich Makovicka [Thu, 26 May 2011 08:48:05 +0000 (10:48 +0200)]
textrender: Correctly negotiate with downstream instead of just using random caps

Fixes bug #638897.

13 years agotextrender: Add bound checks to not write outside the image area
Jindrich Makovicka [Thu, 26 May 2011 08:43:51 +0000 (10:43 +0200)]
textrender: Add bound checks to not write outside the image area

13 years agotextrender: Prevent double unref of caps if the caps can't be set on the srcpad
Jindrich Makovicka [Thu, 26 May 2011 08:42:46 +0000 (10:42 +0200)]
textrender: Prevent double unref of caps if the caps can't be set on the srcpad

13 years agognomevfssrc: Keep track of interruptions during read with a flag
Sebastian Dröge [Thu, 26 May 2011 08:31:11 +0000 (10:31 +0200)]
gnomevfssrc: Keep track of interruptions during read with a flag

13 years agognomevfssrc: Add support for cancelling the read operations
American Dynamics [Fri, 3 Sep 2010 13:11:30 +0000 (09:11 -0400)]
gnomevfssrc: Add support for cancelling the read operations

This allows the state change from PAUSED to READY to be faster.

Fixes bug #628337.

13 years agoximagesink: Remove g_assert from interface query
Sreerenj Balachandran [Wed, 25 May 2011 11:14:46 +0000 (14:14 +0300)]
ximagesink: Remove g_assert from interface query

13 years agoxvimagesink: Remove the g_assert from interface query
Sreerenj Balachandran [Wed, 25 May 2011 11:08:43 +0000 (14:08 +0300)]
xvimagesink: Remove the g_assert from interface query

13 years agoaudiotestsrc: add blue and violet noise by using spectral inversion
Stefan Kost [Wed, 25 May 2011 21:17:40 +0000 (00:17 +0300)]
audiotestsrc: add blue and violet noise by using spectral inversion

Add blue and violet noise by spectral inversion of pink and red noise.
Fixes #649969

13 years agoaudiotestsrc: add red (brownian) noise generator
Stefan Kost [Wed, 25 May 2011 20:40:26 +0000 (23:40 +0300)]
audiotestsrc: add red (brownian) noise generator

Add another noise generator which produces a quite dark noise color.

Fixes parts of #649969.

13 years agoseek: set selected/default audio/video sinks on playbin and playbin2
Vladimir Eremeev [Mon, 27 Sep 2010 09:32:31 +0000 (13:32 +0400)]
seek: set selected/default audio/video sinks on playbin and playbin2

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

13 years agoseek: add --audiosink and --videosink command line options
Tim-Philipp Müller [Wed, 25 May 2011 18:03:44 +0000 (19:03 +0100)]
seek: add --audiosink and --videosink command line options

13 years agoseek: use the right GDK defines to differentiate between the backends
Tim-Philipp Müller [Wed, 25 May 2011 17:50:34 +0000 (18:50 +0100)]
seek: use the right GDK defines to differentiate between the backends

13 years agoseek: use gst_filename_to_uri() to convert a filename to a uri
Tim-Philipp Müller [Wed, 25 May 2011 17:45:33 +0000 (18:45 +0100)]
seek: use gst_filename_to_uri() to convert a filename to a uri

13 years agoseek: make seek example work in win32
Vladimir Eremeev [Mon, 27 Sep 2010 08:46:54 +0000 (12:46 +0400)]
seek: make seek example work in win32

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

13 years agoconfigure: update GLib requirement to >= 2.24
Tim-Philipp Müller [Wed, 25 May 2011 15:08:54 +0000 (16:08 +0100)]
configure: update GLib requirement to >= 2.24

Same as core (make implicit requirement explicit).
http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement

13 years agotheoraenc: remove bogus <0 check for unsigned var
Stefan Kost [Wed, 25 May 2011 12:24:33 +0000 (15:24 +0300)]
theoraenc: remove bogus <0 check for unsigned var

bytes_written is a gsize which is unsigned and thus never < 0.

13 years agotheoraenc: fix variable type for bytes_consumed
Stefan Kost [Wed, 25 May 2011 12:23:13 +0000 (15:23 +0300)]
theoraenc: fix variable type for bytes_consumed

th_encode_ctl() returns an int. Using a gsize result in bogus <0 checks.

13 years agoriff: remove the g_return_if_fail as we test it below
Stefan Kost [Wed, 25 May 2011 12:04:20 +0000 (15:04 +0300)]
riff: remove the g_return_if_fail as we test it below

We don't want to return without setting taglist=NULL if asserts are on and with
setting taglist=NULL otherwise.

13 years agovolume: use a flag for 'mute' using the controller
Stefan Kost [Wed, 25 May 2011 11:28:18 +0000 (14:28 +0300)]
volume: use a flag for 'mute' using the controller

Previously we checked mute_csource to determine wheter we need to premultiply
volumes and mute values. That fails as we unrefs mute_csource and set it to
NULL after. Use an extra flag instead.

13 years agoexiftag: reflow the code
Stefan Kost [Wed, 25 May 2011 11:12:50 +0000 (14:12 +0300)]
exiftag: reflow the code

Move the warning on unsupported units to the swicth-case. Move fetching the
pending tags down to where we use them.

13 years agoexiftag: set value=1 if we found the token
Stefan Kost [Wed, 25 May 2011 10:59:57 +0000 (13:59 +0300)]
exiftag: set value=1 if we found the token

Otherwise we never write the tag. This would also be consistent with the code in
deserialize_scene_type().

13 years agoxvimagesink: run gst-indent
Stefan Kost [Wed, 25 May 2011 09:30:51 +0000 (12:30 +0300)]
xvimagesink: run gst-indent

13 years agoxvimagesink: remove unneded !=NULL checks
Stefan Kost [Wed, 25 May 2011 09:29:21 +0000 (12:29 +0300)]
xvimagesink: remove unneded !=NULL checks

We check for matching_attr!=NULL right before already.

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 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 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 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 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 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 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 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 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

13 years agotag: xmpwriter: Rename documentation headers
Thiago Santos [Thu, 28 Apr 2011 01:05:55 +0000 (22:05 -0300)]
tag: xmpwriter: Rename documentation headers

Fix some wrong documentation headers from the first name
given to this interface.

13 years agotests: xmp: New tests for the Iptc4xmpExt tags
Thiago Santos [Tue, 19 Apr 2011 11:41:53 +0000 (08:41 -0300)]
tests: xmp: New tests for the Iptc4xmpExt tags

13 years agotag: xmp: Add Iptc4xmpExt schema support
Thiago Santos [Tue, 19 Apr 2011 02:28:13 +0000 (23:28 -0300)]
tag: xmp: Add Iptc4xmpExt schema support

Adds Iptc4xmpExt schema with country, city and sublocation
tags mapped

13 years agotag: xmp: Add support for reading struct tags
Thiago Santos [Tue, 19 Apr 2011 14:00:24 +0000 (11:00 -0300)]
tag: xmp: Add support for reading struct tags

Adds a context variable that controls if the parsing is on
'top level' tags or inside a struct tag.

13 years agotag: xmp: Add struct xmp tag type support
Thiago Santos [Mon, 18 Apr 2011 19:54:54 +0000 (16:54 -0300)]
tag: xmp: Add struct xmp tag type support

Adds support for writing the xmp struct tag type, it is a compound tag
that has inner tags.

13 years agotag: xmp: Fixing schema maps
Thiago Santos [Tue, 19 Apr 2011 02:16:59 +0000 (23:16 -0300)]
tag: xmp: Fixing schema maps

Do not forget to create a new schema for every supported schema
instead of reusing the same object

13 years agotag: xmp: Write the same tag to all schemas
Thiago Santos [Mon, 18 Apr 2011 13:20:00 +0000 (10:20 -0300)]
tag: xmp: Write the same tag to all schemas

Instead of writing only the xmp tag for the first found entry
that matches the gstreamer tag, look for all mappings to write
the tag to different schemas.

The rationale here is that some reader application might only
be interested on a particular schema tags, so we should try
to write as many tags for all schemas.

13 years agowin32: Update libgstaudio.def for new symbols
Edward Hervey [Sun, 15 May 2011 11:39:18 +0000 (13:39 +0200)]
win32: Update libgstaudio.def for new symbols

13 years agobaseaudiosink: Use g_str_equal() instead of strncmp()
Arun Raghavan [Sat, 14 May 2011 11:57:30 +0000 (17:27 +0530)]
baseaudiosink: Use g_str_equal() instead of strncmp()

The strncmp is unnecessary anyway since one of the strings is a const
string.

13 years agobaseaudiosink: Fix trivial indentation problems
Arun Raghavan [Sat, 14 May 2011 11:19:53 +0000 (16:49 +0530)]
baseaudiosink: Fix trivial indentation problems

13 years agoaudio: Add an IEC 61937 payloading library
Arun Raghavan [Mon, 7 Mar 2011 15:19:16 +0000 (20:49 +0530)]
audio: Add an IEC 61937 payloading library

This can be used by sinks to take compressed formats, correctly payload
these in IEC 61937 frames and feed these to sinks that support
passthrough output over IEC 60958 (S/PDIF) or, in the case of MP3, over
Bluetooth.

Initial implementation includes AC3, E-AC3, MPEG-1, MPEG-2 (non-AAC),
and DTS (type-I/II/II) payloading. More formats can be added as needed.

API: gst_audio_iec61937_frame_size()
API: gst_audio_iec61937_payload()

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

13 years agobaseaudiosink: Allow subclasses to provide payloaders
Arun Raghavan [Wed, 9 Mar 2011 05:42:39 +0000 (11:12 +0530)]
baseaudiosink: Allow subclasses to provide payloaders

This allows subclasses to provide a "payload" function to prepare
buffers for consumption. The immediate use for this is for sinks that
can handle compressed formats - parsers are directly connected to the
sink, and for formats such as AC3, DTS, and MPEG, IEC 61937 patyloading
might be used.

API: GstBaseAudioSinkClass:payload()

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

13 years agoringbuffer: Add support for E-AC3
Arun Raghavan [Sat, 9 Apr 2011 04:19:10 +0000 (09:49 +0530)]
ringbuffer: Add support for E-AC3

Adds support for pushing E-AC3 buffers and doing bytes-to-ms conversion
correctly. The assumption (as with other formats) is that something like
IEC 61937 payloading will be used. Correspondingly the ringbuffer spec
is populated so that the data rate is 4x normal AC3.

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

13 years agoringbuffer: Add support for MPEG audio buffers
Arun Raghavan [Mon, 14 Mar 2011 10:21:40 +0000 (15:51 +0530)]
ringbuffer: Add support for MPEG audio buffers

13 years agoringbuffer: Add AAC format types
Arun Raghavan [Mon, 14 Mar 2011 10:19:57 +0000 (15:49 +0530)]
ringbuffer: Add AAC format types

These are meant to be used for buffers containing AAC data. Nothing uses
this yet, but for now it serves to distinguish from GST_BUFTYPE_MPEG
which represents non-AAC MPEG audio.

API: GST_BUFTYPE_MPEG2_AAC
API: GST_BUFTYPE_MPEG4_AAC

13 years agoringbuffer: Add support for DTS buffers
Arun Raghavan [Wed, 9 Mar 2011 17:27:00 +0000 (22:57 +0530)]
ringbuffer: Add support for DTS buffers

13 years agoconfigure: Require core 0.10.34.1 for the new ghostpad API
Sebastian Dröge [Sat, 14 May 2011 09:42:50 +0000 (11:42 +0200)]
configure: Require core 0.10.34.1 for the new ghostpad API

13 years agodecodebin2: fix preroll for streams at low bitrates
Andoni Morales Alastruey [Mon, 9 May 2011 20:20:23 +0000 (22:20 +0200)]
decodebin2: fix preroll for streams at low bitrates

For streams at low bitrates we need to set a limit in time because the limit
in bytes might not reached too late, sometimes more than 30 seconds.
This limit can only be set if upstream is seekable (see #584104)
Closes #647769

13 years agoplaysink: Use new ghostpad/proxypad API to get the internal pad
Sebastian Dröge [Mon, 9 May 2011 11:11:00 +0000 (13:11 +0200)]
playsink: Use new ghostpad/proxypad API to get the internal pad

13 years agoplaysink: Use new ghostpad/proxypad API
Sebastian Dröge [Mon, 9 May 2011 10:59:22 +0000 (12:59 +0200)]
playsink: Use new ghostpad/proxypad API