platform/upstream/gst-plugins-good.git
14 years agoavi: fix compiler warning
Thijs Vermeir [Wed, 7 Apr 2010 11:31:13 +0000 (13:31 +0200)]
avi: fix compiler warning

14 years agomatroskademux: restrict resyncing to subtitle tracks
Mark Nauwelaerts [Wed, 31 Mar 2010 15:54:21 +0000 (17:54 +0200)]
matroskademux: restrict resyncing to subtitle tracks

This should prevent skipping audio or video in not so well interleaved
cases.

Fixes #614460.

14 years agoqtdemux: Post avg./max. bitrate tags for H.264
Arun Raghavan [Tue, 6 Apr 2010 07:51:51 +0000 (13:21 +0530)]
qtdemux: Post avg./max. bitrate tags for H.264

This reads the average and maximum bitrates from the 'btrt' atom if
available, and pushes these as tags,

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

14 years agopulsesink: fix racy shutdown
Stefan Kost [Sat, 3 Apr 2010 20:39:20 +0000 (23:39 +0300)]
pulsesink: fix racy shutdown

Keep a ref of pulsesink for deferred mainloop invocation. Fixes #614765

14 years agotests: jpegenc: Adds some getcaps test
Thiago Santos [Mon, 5 Apr 2010 18:48:17 +0000 (15:48 -0300)]
tests: jpegenc: Adds some getcaps test

Adds tests for the jpegenc getcaps function, to avoid
having it returning non-subset caps

14 years agojpegenc: Fix getcaps function
Thiago Santos [Mon, 5 Apr 2010 17:51:58 +0000 (14:51 -0300)]
jpegenc: Fix getcaps function

When creating the caps allowed to upstream using downstream
restrictions, use gst_pad_get_allowed_caps as that has the
usable formats and puts into it the width, height and framerate
fields. This avoids getting errors about getcaps returning
non subset caps of its pad template.

This error showed up on the metadata plugin unit test in -bad.

14 years agovideobox: Fix conversion from 3 byte RGB to ARGB
Sebastian Dröge [Mon, 5 Apr 2010 15:31:36 +0000 (17:31 +0200)]
videobox: Fix conversion from 3 byte RGB to ARGB

14 years agovideobox: Add support for 3 byte RGB formats and refactor RGB code a bit
Sebastian Dröge [Mon, 5 Apr 2010 15:08:15 +0000 (17:08 +0200)]
videobox: Add support for 3 byte RGB formats and refactor RGB code a bit

14 years agovideobox: Add support for all 32 bit RGB formats
Sebastian Dröge [Mon, 5 Apr 2010 13:51:13 +0000 (15:51 +0200)]
videobox: Add support for all 32 bit RGB formats

...including conversion between them.

14 years agortspsrc: add property to control the buffering method
Wim Taymans [Mon, 5 Apr 2010 13:26:03 +0000 (15:26 +0200)]
rtspsrc: add property to control the buffering method

Add a property to control how the jitterbuffer performs timestamping and
buffering.

14 years agoalphacolor: Removing unused variable
André Dieb Martins [Sun, 4 Apr 2010 22:02:41 +0000 (19:02 -0300)]
alphacolor: Removing unused variable

Fixes bug #614843.

14 years agojpegenc: should not return caps ANY based on downstream
André Dieb Martins [Sun, 4 Apr 2010 23:31:38 +0000 (20:31 -0300)]
jpegenc: should not return caps ANY based on downstream

When downstream has a sink pad with ANY caps, jpegenc should
treat it the same as NULL and return its template caps.

Fixes #614842

14 years agooss: add fixme comment
Stefan Kost [Sun, 4 Apr 2010 19:28:33 +0000 (22:28 +0300)]
oss: add fixme comment

14 years agobuild: use $(builddir) for installing generated files
Stefan Kost [Sun, 4 Apr 2010 19:26:59 +0000 (22:26 +0300)]
build: use $(builddir) for installing generated files

14 years agoRevert "configure: fix out of source dir builds"
Stefan Kost [Sun, 4 Apr 2010 19:07:33 +0000 (22:07 +0300)]
Revert "configure: fix out of source dir builds"

This reverts commit ca0bd3a8cea31f9ea0df798a83d3007e696958ba.

14 years agoconfigure: fix out of source dir builds
Stefan Kost [Sun, 4 Apr 2010 18:36:35 +0000 (21:36 +0300)]
configure: fix out of source dir builds

Remove non-existing gst-libs from include and library-paths'.
Fixes #614354 even more.

14 years agoqtdemux: Read replaygain peak/gain tags
Thiago Santos [Thu, 1 Apr 2010 13:19:00 +0000 (10:19 -0300)]
qtdemux: Read replaygain peak/gain tags

Make qtdemux read tags replaygain tags that are within '----' atoms.

Fixes #614471

14 years agomatroska: Export h.264 profile and level in caps
Arun Raghavan [Thu, 1 Apr 2010 13:18:43 +0000 (18:48 +0530)]
matroska: Export h.264 profile and level in caps

This replicates the code in qtdemux to export the h.264 profile and
level in the stream caps.

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

14 years agoqtdemux: Fix off-by-one introduced in last commit
Sebastian Dröge [Fri, 2 Apr 2010 16:50:45 +0000 (18:50 +0200)]
qtdemux: Fix off-by-one introduced in last commit

14 years agoqtdemux: Minor refactor of the code
Arun Raghavan [Thu, 1 Apr 2010 13:08:38 +0000 (18:38 +0530)]
qtdemux: Minor refactor of the code

This will make it easier to clump together common code when copying to
mastroskademux.

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

14 years agoqtdemux: Export h.264 level in caps
Arun Raghavan [Thu, 1 Apr 2010 12:47:09 +0000 (18:17 +0530)]
qtdemux: Export h.264 level in caps

This exports the h.264 level in the stream caps (as a string) which can
be used to match a decoder, or as metadata.

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

14 years agoqtdemux: Export h.264 profile in caps
Arun Raghavan [Thu, 1 Apr 2010 11:28:32 +0000 (16:58 +0530)]
qtdemux: Export h.264 profile in caps

This adds the h.264 profile for a given stream into caps. This can
(eventually) be used to select an appropriate decoder and as metadata
for certain applications.

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

14 years agoflvdemux: remove obsolete reverse playback code path
Mark Nauwelaerts [Wed, 31 Mar 2010 12:43:14 +0000 (14:43 +0200)]
flvdemux: remove obsolete reverse playback code path

14 years agoflvdemux: support (pull mode) negative seek rate
Mark Nauwelaerts [Wed, 31 Mar 2010 12:40:50 +0000 (14:40 +0200)]
flvdemux: support (pull mode) negative seek rate

14 years agoflvdemux: also check for segment stop for non-segment-seek
Mark Nauwelaerts [Mon, 29 Mar 2010 13:27:37 +0000 (15:27 +0200)]
flvdemux: also check for segment stop for non-segment-seek

14 years agomatroskademux: push correctly sized flac header buffers
Mark Nauwelaerts [Tue, 30 Mar 2010 14:50:10 +0000 (16:50 +0200)]
matroskademux: push correctly sized flac header buffers

Fixes #614353.

14 years agobuild: fix compiler warning when srcdir != builddir
Rob Clark [Tue, 30 Mar 2010 12:34:07 +0000 (07:34 -0500)]
build: fix compiler warning when srcdir != builddir

Fixes '../../gst-libs: No such file or directory' warning/error when
the build directory is not the same as the source directory.

Fixes #614354.

14 years agoid3demux: fix parsing of unsynced frames with data length indicator
Tim-Philipp Müller [Tue, 30 Mar 2010 00:50:32 +0000 (01:50 +0100)]
id3demux: fix parsing of unsynced frames with data length indicator

Fixes bug #614158.

14 years agobuild: build plugins and examples in parallel where possible
Tim-Philipp Müller [Mon, 29 Mar 2010 10:00:04 +0000 (11:00 +0100)]
build: build plugins and examples in parallel where possible

14 years agodirectsoundsink: fix redundant function redeclaration compiler warnings
Tim-Philipp Müller [Thu, 18 Mar 2010 18:49:24 +0000 (18:49 +0000)]
directsoundsink: fix redundant function redeclaration compiler warnings

Re-apply this again as well, as it was undone by the previous commit..

14 years agogst_element_class_set_details => gst_element_class_set_details_simple
Benjamin Otte [Thu, 18 Mar 2010 13:31:35 +0000 (14:31 +0100)]
gst_element_class_set_details => gst_element_class_set_details_simple

Apply this again, as it was overwritten by the previous commit. Merging
is hard, apparently.

14 years agodirectsoundsink: Implement SPDIF support for AC3.
Julien Moutte [Fri, 26 Mar 2010 22:20:10 +0000 (23:20 +0100)]
directsoundsink: Implement SPDIF support for AC3.

Detect if the sound card supports SPDIF passthru of AC3 and add
necessary code to support that like alsasink.

14 years agobuild: add cruft alert for common/shave*
Tim-Philipp Müller [Fri, 26 Mar 2010 17:06:57 +0000 (17:06 +0000)]
build: add cruft alert for common/shave*

14 years agoqtdemux: extract stream language in more cases
Tim-Philipp Müller [Fri, 26 Mar 2010 16:50:22 +0000 (16:50 +0000)]
qtdemux: extract stream language in more cases

The 16-bit language code can be either a packed ISO-639-2T code
or a 'Macintosh language code'. Handle the latter type of language
codes as well, and map to the matching ISO code. Lastly, fix
language code posting for language #0, which is valid and stands
for 'English'.

Fixes #614001.

14 years agoflacdec: Improve debugging and add some FIXMEs
Sebastian Dröge [Fri, 26 Mar 2010 13:55:53 +0000 (14:55 +0100)]
flacdec: Improve debugging and add some FIXMEs

14 years agoflacdec: Sample rate markers 0x01, 0x02 and 0x03 are valid
Sebastian Dröge [Fri, 26 Mar 2010 13:42:06 +0000 (14:42 +0100)]
flacdec: Sample rate markers 0x01, 0x02 and 0x03 are valid

They are for 88.2kHz, 176.4kHz and 192kHz.

14 years agoflacdec: Take samplerate, width and number of channels from the STREAMINFO
Sebastian Dröge [Fri, 26 Mar 2010 13:16:39 +0000 (14:16 +0100)]
flacdec: Take samplerate, width and number of channels from the STREAMINFO

...and update it from the frame headers if it should change for some reason.

This allows playback of files with odd sample rates.

14 years agovideobox: Fix AYUV->I420 frame copying
Sebastian Dröge [Fri, 26 Mar 2010 12:45:46 +0000 (13:45 +0100)]
videobox: Fix AYUV->I420 frame copying

14 years agojpegenc: Set correct getcaps/setcaps functions on srcpads and simplify them
Raimo Järvi [Fri, 26 Mar 2010 12:34:17 +0000 (13:34 +0100)]
jpegenc: Set correct getcaps/setcaps functions on srcpads and simplify them

This fixes downstream negotiation, upstream negotiation isn't really
supported by jpegenc yet.

Fixes bug #613789.

14 years agovideobox: Always fill the complete frame if borders should be added
Sebastian Dröge [Fri, 26 Mar 2010 09:31:22 +0000 (10:31 +0100)]
videobox: Always fill the complete frame if borders should be added

This makes sure that we don't get any gaps between rectangles because
of chroma subsampling for example.

14 years agoautogen.sh: Don't call configure with --enable-plugin-docs
Damien Lespiau [Thu, 18 Mar 2010 22:12:40 +0000 (22:12 +0000)]
autogen.sh: Don't call configure with --enable-plugin-docs

configure gives a nice warning:
configure: WARNING: unrecognized options: --enable-plugin-docs
and indeed, I could not find anything in the configure.ac or the m4
macros that would allow enabling that option. Remove it then.

14 years agovideobox: Refactor boxing to reduce code duplication
Sebastian Dröge [Mon, 22 Mar 2010 15:58:26 +0000 (16:58 +0100)]
videobox: Refactor boxing to reduce code duplication

14 years agoalpha: Simplify caps transformation
Sebastian Dröge [Mon, 22 Mar 2010 12:13:59 +0000 (13:13 +0100)]
alpha: Simplify caps transformation

14 years agovideobox: Add const qualifier to the source frame data
Sebastian Dröge [Sun, 21 Mar 2010 19:14:19 +0000 (20:14 +0100)]
videobox: Add const qualifier to the source frame data

14 years agomatroskademux: only seek when in proper state
Mark Nauwelaerts [Tue, 23 Mar 2010 16:47:48 +0000 (17:47 +0100)]
matroskademux: only seek when in proper state

... and data structures can be thread-safely accessed.

See #601617.

14 years agomatroskademux: support (pull mode) negative seek rate
Mark Nauwelaerts [Tue, 23 Mar 2010 16:34:50 +0000 (17:34 +0100)]
matroskademux: support (pull mode) negative seek rate

14 years agomatroskademux: track clip duration in segment
Mark Nauwelaerts [Thu, 18 Mar 2010 14:29:00 +0000 (15:29 +0100)]
matroskademux: track clip duration in segment

14 years agomatroskademux: prefer index of video track to perform seeking
Mark Nauwelaerts [Thu, 18 Mar 2010 12:39:05 +0000 (13:39 +0100)]
matroskademux: prefer index of video track to perform seeking

14 years agoavidemux: fix typo in header validation check
Mark Nauwelaerts [Wed, 24 Mar 2010 15:19:53 +0000 (16:19 +0100)]
avidemux: fix typo in header validation check

14 years agoAutomatic update of common submodule
Edward Hervey [Wed, 24 Mar 2010 17:53:20 +0000 (18:53 +0100)]
Automatic update of common submodule

From 55cd514 to c1d07dd

14 years agoicydemux: Handle upstream Content-Type.
Edward Hervey [Tue, 23 Mar 2010 18:46:43 +0000 (19:46 +0100)]
icydemux: Handle upstream Content-Type.

Allows us to handle ShoutCast TV (NSV) streams.

If the upstream caps have the 'content-type' field set to video/nsv, then
we shortcut the typefinding and set video/x-nsv directly.

14 years agosouphttpsrc: Set the Content-Type HTTP header on the caps.
Edward Hervey [Tue, 23 Mar 2010 18:30:50 +0000 (19:30 +0100)]
souphttpsrc: Set the Content-Type HTTP header on the caps.

First step to fixing ShoutCast (NSV) streaming.

14 years agoosx: fix compiler warnings
Tristan Matthews [Tue, 23 Mar 2010 06:38:43 +0000 (02:38 -0400)]
osx: fix compiler warnings

Added void parameter to avoid old-style definition warning.
Added -Wno-aggregate-return flag to avoid erroneous aggregate return warning.

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

14 years agotests: use loop test for long-running videocrop check
Tim-Philipp Müller [Tue, 23 Mar 2010 00:15:15 +0000 (00:15 +0000)]
tests: use loop test for long-running videocrop check

This should avoid timeouts on slow machines.

Fixes #597739.

14 years agoi18n: build fixes: #if -> #ifdef for ENABLE_NLS
Stefan Kost [Mon, 22 Mar 2010 15:26:37 +0000 (17:26 +0200)]
i18n: build fixes: #if -> #ifdef for ENABLE_NLS

14 years agoi18n: fix the build
Stefan Kost [Mon, 22 Mar 2010 15:25:09 +0000 (17:25 +0200)]
i18n: fix the build

Don't inlcude locale.h which we include in gettext.h if needed. Guard the
inlcude like we do in the simillar headers in core.

14 years ago-Wold-style-definition is not valid for C++
Benjamin Otte [Sun, 21 Mar 2010 16:46:06 +0000 (17:46 +0100)]
-Wold-style-definition is not valid for C++

14 years agomultifile: Include headers instead fo defining functions
Benjamin Otte [Sun, 21 Mar 2010 16:36:28 +0000 (17:36 +0100)]
multifile: Include headers instead fo defining functions

14 years agoAdd a large set of warning flags.
Benjamin Otte [Sun, 21 Mar 2010 16:24:14 +0000 (17:24 +0100)]
Add a large set of warning flags.

None of them trigger warnings anymore, so nothing needed to be fixed.

14 years agoMake goom not use aggregate returns
Benjamin Otte [Sun, 21 Mar 2010 16:23:43 +0000 (17:23 +0100)]
Make goom not use aggregate returns

14 years agoAdd -Wold-style-definition flag
Benjamin Otte [Sun, 21 Mar 2010 14:17:46 +0000 (15:17 +0100)]
Add -Wold-style-definition flag

And fix the warnings

14 years agoAdd -Wwrite-strings to the configure flags
Benjamin Otte [Fri, 19 Mar 2010 23:54:14 +0000 (00:54 +0100)]
Add -Wwrite-strings to the configure flags

... and fix all warnings

14 years agoshapewipe: Add support for the remaining ARGB formats
Sebastian Dröge [Sun, 21 Mar 2010 10:14:12 +0000 (11:14 +0100)]
shapewipe: Add support for the remaining ARGB formats

And handle AYUV like ARGB, we need no YUV specific handling.

14 years agoalpha: Add support for RGB and xRGB input
Sebastian Dröge [Sat, 20 Mar 2010 20:30:58 +0000 (21:30 +0100)]
alpha: Add support for RGB and xRGB input

14 years agoalpha: Add support for ARGB input
Sebastian Dröge [Sat, 20 Mar 2010 20:13:23 +0000 (21:13 +0100)]
alpha: Add support for ARGB input

14 years agoalpha: Add support for generating ARGB output
Sebastian Dröge [Sat, 20 Mar 2010 19:46:19 +0000 (20:46 +0100)]
alpha: Add support for generating ARGB output

14 years agovideomixer: Add support for ABGR and RGBA
Sebastian Dröge [Sat, 20 Mar 2010 09:47:42 +0000 (10:47 +0100)]
videomixer: Add support for ABGR and RGBA

Now all 4 ARGB variants are supported by videomixer.

14 years agoalpha: Move chroma keying parameters into stack variables to prevent multiple pointer...
Sebastian Dröge [Sat, 20 Mar 2010 09:24:56 +0000 (10:24 +0100)]
alpha: Move chroma keying parameters into stack variables to prevent multiple pointer dereferences per pixel

14 years agoalpha: Move color conversion matrixes into stack variables to speed up processing
Sebastian Dröge [Sat, 20 Mar 2010 09:20:53 +0000 (10:20 +0100)]
alpha: Move color conversion matrixes into stack variables to speed up processing

14 years agoalpha: Use correct matrixes to convert chroma keying color to YUV
Sebastian Dröge [Sat, 20 Mar 2010 09:18:04 +0000 (10:18 +0100)]
alpha: Use correct matrixes to convert chroma keying color to YUV

14 years agoalpha: Add support for different color matrixes
Sebastian Dröge [Fri, 19 Mar 2010 17:51:59 +0000 (18:51 +0100)]
alpha: Add support for different color matrixes

14 years agoalpha: Rename and move functions as further preparation for supporting more color...
Sebastian Dröge [Fri, 19 Mar 2010 17:21:19 +0000 (18:21 +0100)]
alpha: Rename and move functions as further preparation for supporting more color formats

14 years agoalpha: Remove some unneeded calculations and instance struct fields
Sebastian Dröge [Fri, 19 Mar 2010 17:18:08 +0000 (18:18 +0100)]
alpha: Remove some unneeded calculations and instance struct fields

And document the instance struct fields a bit better

14 years agoalpha: Some preparations for supporting more color formats
Sebastian Dröge [Fri, 19 Mar 2010 17:11:12 +0000 (18:11 +0100)]
alpha: Some preparations for supporting more color formats

14 years agoh264pay: fix config-interval property
Wim Taymans [Fri, 19 Mar 2010 16:09:06 +0000 (17:09 +0100)]
h264pay: fix config-interval property

Use the same units for comparing the elapsed time against the interval.

Fixes #613013

14 years agoalphacolor: Implement color-matrix support and use integer arithmetic only
Sebastian Dröge [Fri, 19 Mar 2010 15:44:00 +0000 (16:44 +0100)]
alphacolor: Implement color-matrix support and use integer arithmetic only

Alphacolor now uses the correct matrixes for SDTV and HDTV and can
convert between them.

14 years agortsp: use GType from -base and bump required version
Wim Taymans [Fri, 19 Mar 2010 14:03:43 +0000 (15:03 +0100)]
rtsp: use GType from -base and bump required version

Use the transport flags GType from -base and bump the required version of -base
because of this.

14 years agoapetag: minor Makefile.am surgery
Tim-Philipp Müller [Fri, 19 Mar 2010 00:05:19 +0000 (00:05 +0000)]
apetag: minor Makefile.am surgery

-I$(top_srcdir)/gst-libs/ is already in $(GST_CFLAGS)

14 years agodv1394src: Fix internal clock
Andoni Morales Alastruey [Thu, 4 Mar 2010 21:12:35 +0000 (22:12 +0100)]
dv1394src: Fix internal clock

Fixes #593910.

14 years agobuild: Makefile.am cleanups
Tim-Philipp Müller [Thu, 18 Mar 2010 21:14:17 +0000 (21:14 +0000)]
build: Makefile.am cleanups

Mostly add $(GST_BASE_CFLAGS) where it was missing, but also fix up
order of flags and libs if needed (see docs/random/moving-plugins).

14 years agodirectsoundsink: fix redundant function redeclaration compiler warnings
Tim-Philipp Müller [Thu, 18 Mar 2010 18:49:24 +0000 (18:49 +0000)]
directsoundsink: fix redundant function redeclaration compiler warnings

14 years agoalpha: Remove remaining floating point arithmetic when processing a pixel
Sebastian Dröge [Thu, 18 Mar 2010 18:00:09 +0000 (19:00 +0100)]
alpha: Remove remaining floating point arithmetic when processing a pixel

14 years agoalpha: Refactor chroma keying into a single function
Sebastian Dröge [Thu, 18 Mar 2010 17:55:34 +0000 (18:55 +0100)]
alpha: Refactor chroma keying into a single function

This reduces code duplication once we add support for more color formats.

14 years agogst_element_class_set_details => gst_element_class_set_details_simple
Benjamin Otte [Thu, 18 Mar 2010 13:31:35 +0000 (14:31 +0100)]
gst_element_class_set_details => gst_element_class_set_details_simple

14 years agoRemove oldcore directory
Benjamin Otte [Thu, 18 Mar 2010 13:02:30 +0000 (14:02 +0100)]
Remove oldcore directory

The elements have been unused for ages and all important ones have been
replaced or copied elsewhere.

14 years agoavi: Remove old file
Benjamin Otte [Thu, 18 Mar 2010 12:45:08 +0000 (13:45 +0100)]
avi: Remove old file

Seems to be leftover from the 0.4 days or so.

14 years agopulse: use #ifdef rather than #if conditionals
Mark Nauwelaerts [Thu, 18 Mar 2010 11:44:53 +0000 (12:44 +0100)]
pulse: use #ifdef rather than #if conditionals

14 years agortph264depay: do not call _push_ts with unneeded (and wrong) time parameter
Mark Nauwelaerts [Thu, 18 Mar 2010 11:20:17 +0000 (12:20 +0100)]
rtph264depay: do not call _push_ts with unneeded (and wrong) time parameter

Fixes #613206.

14 years agoavidemux: fix typo in header validation check
Mark Nauwelaerts [Thu, 18 Mar 2010 10:33:59 +0000 (11:33 +0100)]
avidemux: fix typo in header validation check

14 years agoflvmux: put more information in the metadata
Jan Urbański [Thu, 18 Mar 2010 00:51:19 +0000 (01:51 +0100)]
flvmux: put more information in the metadata

Additional tags are: audiocodecid, videocodecid framerate and (in the
non-live case) filesize.

While at it, fix index rewriting to update duration and filesize
values even if the index is empty.

Fixes #613094.

14 years agoAdd -Wundef to configure flags
Benjamin Otte [Wed, 17 Mar 2010 20:33:28 +0000 (21:33 +0100)]
Add -Wundef to configure flags

and fix the resulting warnings

14 years ago-Wmissing-prototypes is not valid for C++
Benjamin Otte [Wed, 17 Mar 2010 19:02:16 +0000 (20:02 +0100)]
-Wmissing-prototypes is not valid for C++

14 years agoAdd -Wredundant-decls warning flag
Benjamin Otte [Wed, 17 Mar 2010 18:35:10 +0000 (19:35 +0100)]
Add -Wredundant-decls warning flag

Also fix compile issues

14 years agoFix warnings in experimental plugins, too
Benjamin Otte [Wed, 17 Mar 2010 17:49:11 +0000 (18:49 +0100)]
Fix warnings in experimental plugins, too

14 years agoAdd -Wmissing-declarations -Wmissing-prototypes warning flags
Benjamin Otte [Wed, 17 Mar 2010 17:23:00 +0000 (18:23 +0100)]
Add -Wmissing-declarations -Wmissing-prototypes warning flags

And fix all the warnings.

14 years agomp4gdepay: improve constantDuration guessing
Wim Taymans [Wed, 17 Mar 2010 15:23:24 +0000 (16:23 +0100)]
mp4gdepay: improve constantDuration guessing

When no constantDuration has been given in the caps, try to derive one from the
timestamp difference between packets. Also keep doing this for each packet
because some broken streams might simply provide wrong timestamps.

14 years agoflvmux: Put width and height in the metadata
Jan Urbański [Tue, 16 Mar 2010 22:43:39 +0000 (23:43 +0100)]
flvmux: Put width and height in the metadata

Some players use that info to scale their display.

See #613094.

14 years agoflvmux: don't put timestamps larger than G_MAXINT32 in the FLV tags
Jan Urbański [Tue, 16 Mar 2010 22:32:45 +0000 (23:32 +0100)]
flvmux: don't put timestamps larger than G_MAXINT32 in the FLV tags

For non-live input respond by pushing EOS, for live wrap the
timestamps every G_MAXINT32 miliseconds.

Fixes #613003.

14 years agosoup: also use g_value_set_static_string() here for static strings
Stefan Kost [Tue, 16 Mar 2010 21:40:12 +0000 (23:40 +0200)]
soup: also use g_value_set_static_string() here for static strings

14 years agoalphacolor: Fix RGBA<->AYUV conversion
Sebastian Dröge [Tue, 16 Mar 2010 20:23:11 +0000 (21:23 +0100)]
alphacolor: Fix RGBA<->AYUV conversion