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.
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.
Tim-Philipp Müller [Mon, 29 Mar 2010 10:00:04 +0000 (11:00 +0100)]
build: build plugins and examples in parallel where possible
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..
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.
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.
Tim-Philipp Müller [Fri, 26 Mar 2010 17:06:57 +0000 (17:06 +0000)]
build: add cruft alert for common/shave*
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.
Sebastian Dröge [Fri, 26 Mar 2010 13:55:53 +0000 (14:55 +0100)]
flacdec: Improve debugging and add some FIXMEs
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.
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.
Sebastian Dröge [Fri, 26 Mar 2010 12:45:46 +0000 (13:45 +0100)]
videobox: Fix AYUV->I420 frame copying
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.
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.
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.
Sebastian Dröge [Mon, 22 Mar 2010 15:58:26 +0000 (16:58 +0100)]
videobox: Refactor boxing to reduce code duplication
Sebastian Dröge [Mon, 22 Mar 2010 12:13:59 +0000 (13:13 +0100)]
alpha: Simplify caps transformation
Sebastian Dröge [Sun, 21 Mar 2010 19:14:19 +0000 (20:14 +0100)]
videobox: Add const qualifier to the source frame data
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.
Mark Nauwelaerts [Tue, 23 Mar 2010 16:34:50 +0000 (17:34 +0100)]
matroskademux: support (pull mode) negative seek rate
Mark Nauwelaerts [Thu, 18 Mar 2010 14:29:00 +0000 (15:29 +0100)]
matroskademux: track clip duration in segment
Mark Nauwelaerts [Thu, 18 Mar 2010 12:39:05 +0000 (13:39 +0100)]
matroskademux: prefer index of video track to perform seeking
Mark Nauwelaerts [Wed, 24 Mar 2010 15:19:53 +0000 (16:19 +0100)]
avidemux: fix typo in header validation check
Edward Hervey [Wed, 24 Mar 2010 17:53:20 +0000 (18:53 +0100)]
Automatic update of common submodule
From 55cd514 to c1d07dd
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.
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.
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
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.
Stefan Kost [Mon, 22 Mar 2010 15:26:37 +0000 (17:26 +0200)]
i18n: build fixes: #if -> #ifdef for ENABLE_NLS
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.
Benjamin Otte [Sun, 21 Mar 2010 16:46:06 +0000 (17:46 +0100)]
-Wold-style-definition is not valid for C++
Benjamin Otte [Sun, 21 Mar 2010 16:36:28 +0000 (17:36 +0100)]
multifile: Include headers instead fo defining functions
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.
Benjamin Otte [Sun, 21 Mar 2010 16:23:43 +0000 (17:23 +0100)]
Make goom not use aggregate returns
Benjamin Otte [Sun, 21 Mar 2010 14:17:46 +0000 (15:17 +0100)]
Add -Wold-style-definition flag
And fix the warnings
Benjamin Otte [Fri, 19 Mar 2010 23:54:14 +0000 (00:54 +0100)]
Add -Wwrite-strings to the configure flags
... and fix all warnings
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.
Sebastian Dröge [Sat, 20 Mar 2010 20:30:58 +0000 (21:30 +0100)]
alpha: Add support for RGB and xRGB input
Sebastian Dröge [Sat, 20 Mar 2010 20:13:23 +0000 (21:13 +0100)]
alpha: Add support for ARGB input
Sebastian Dröge [Sat, 20 Mar 2010 19:46:19 +0000 (20:46 +0100)]
alpha: Add support for generating ARGB output
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.
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
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
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
Sebastian Dröge [Fri, 19 Mar 2010 17:51:59 +0000 (18:51 +0100)]
alpha: Add support for different color matrixes
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
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
Sebastian Dröge [Fri, 19 Mar 2010 17:11:12 +0000 (18:11 +0100)]
alpha: Some preparations for supporting more color formats
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
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.
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.
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)
Andoni Morales Alastruey [Thu, 4 Mar 2010 21:12:35 +0000 (22:12 +0100)]
dv1394src: Fix internal clock
Fixes #593910.
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).
Tim-Philipp Müller [Thu, 18 Mar 2010 18:49:24 +0000 (18:49 +0000)]
directsoundsink: fix redundant function redeclaration compiler warnings
Sebastian Dröge [Thu, 18 Mar 2010 18:00:09 +0000 (19:00 +0100)]
alpha: Remove remaining floating point arithmetic when processing a pixel
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.
Benjamin Otte [Thu, 18 Mar 2010 13:31:35 +0000 (14:31 +0100)]
gst_element_class_set_details => gst_element_class_set_details_simple
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.
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.
Mark Nauwelaerts [Thu, 18 Mar 2010 11:44:53 +0000 (12:44 +0100)]
pulse: use #ifdef rather than #if conditionals
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.
Mark Nauwelaerts [Thu, 18 Mar 2010 10:33:59 +0000 (11:33 +0100)]
avidemux: fix typo in header validation check
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.
Benjamin Otte [Wed, 17 Mar 2010 20:33:28 +0000 (21:33 +0100)]
Add -Wundef to configure flags
and fix the resulting warnings
Benjamin Otte [Wed, 17 Mar 2010 19:02:16 +0000 (20:02 +0100)]
-Wmissing-prototypes is not valid for C++
Benjamin Otte [Wed, 17 Mar 2010 18:35:10 +0000 (19:35 +0100)]
Add -Wredundant-decls warning flag
Also fix compile issues
Benjamin Otte [Wed, 17 Mar 2010 17:49:11 +0000 (18:49 +0100)]
Fix warnings in experimental plugins, too
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.
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.
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.
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.
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
Sebastian Dröge [Tue, 16 Mar 2010 20:23:11 +0000 (21:23 +0100)]
alphacolor: Fix RGBA<->AYUV conversion
Sebastian Dröge [Tue, 16 Mar 2010 20:16:26 +0000 (21:16 +0100)]
alpha: Remove redundant instance field
Sebastian Dröge [Tue, 16 Mar 2010 20:10:08 +0000 (21:10 +0100)]
alpha: Protect property values from changes during frame processing
Руслан Ижбулатов [Mon, 15 Mar 2010 20:29:55 +0000 (23:29 +0300)]
pngenc: Use png_get_io_ptr() instead of accessing io_ptr directly
Fixes #612700 (for the last time!)
Руслан Ижбулатов [Mon, 15 Mar 2010 20:29:06 +0000 (23:29 +0300)]
png: Check for libpng >= 1.2 instead of libpng12
Jan Urbański [Tue, 16 Mar 2010 00:29:36 +0000 (01:29 +0100)]
flvmux: Always put a duration tag in the metadata
Some Flash players (for instance JW Player) always expect a duration
tag, otherwise they don't start playback.
If duration can be queried from the sink pads or is provided as a tag,
use it. Otherwise try to determine it from the last seen timestamp of
the sink pads after EOS and rewrite it in the header before writing
the index.
Jan Urbański [Mon, 15 Mar 2010 23:35:46 +0000 (00:35 +0100)]
flvmux: Remove the send_codec_data field from GstFlvPad
That field is not used anymore after the changes in
9fdecbc1c11f4e5af6578bba32a9b32771029d33.
Wim Taymans [Tue, 16 Mar 2010 12:53:26 +0000 (13:53 +0100)]
multiudpsink: get family of external sockets too
Get the family of externally configured sockets so that we can configure it
correctly.
Sebastian Dröge [Mon, 15 Mar 2010 19:37:51 +0000 (20:37 +0100)]
alphacolor: Add support for the remaining ARGB formats
Sebastian Dröge [Mon, 15 Mar 2010 18:16:18 +0000 (19:16 +0100)]
alphacolor: Simplify ARGB<->AYUV conversions by code generation macros
Sebastian Dröge [Mon, 15 Mar 2010 18:07:28 +0000 (19:07 +0100)]
alpha: Minor cleanups and move declarations into a separate header file
Sebastian Dröge [Mon, 15 Mar 2010 17:58:51 +0000 (18:58 +0100)]
alpha: Use GstVideoFilter as base class for automatic QoS support
Sebastian Dröge [Mon, 15 Mar 2010 17:50:11 +0000 (18:50 +0100)]
alphacolor: Add support for inplace conversions from AYUV to ARGB
Sebastian Dröge [Mon, 15 Mar 2010 17:14:19 +0000 (18:14 +0100)]
alphacolor: Use libgstvideo for caps parsing
Sebastian Dröge [Mon, 15 Mar 2010 17:09:55 +0000 (18:09 +0100)]
alphacolor: Use GstVideoFilter as base class for automatic QoS support
Sebastian Dröge [Mon, 15 Mar 2010 17:07:29 +0000 (18:07 +0100)]
alphacolor: Some minor cleanup
Sebastian Dröge [Mon, 15 Mar 2010 13:16:58 +0000 (14:16 +0100)]
speexdec: Use speex_stereo_state_init() instead of the deprecated initialization macro
Fixes bug #612777.
Jan Urbański [Mon, 15 Mar 2010 00:09:49 +0000 (01:09 +0100)]
flvmux: Correctly mark buffers as delta units
Mark video interframes, video codec data buffers and audio buffers (if
it's not an audio-only stream) as delta units.
Jan Urbański [Sun, 14 Mar 2010 18:32:20 +0000 (19:32 +0100)]
flvmux: Support streamheaders
Put the FLV header, the metadata tag and (if present) codec
information in the streamheader to allow the muxer to be used for
streaming.
Jan Urbański [Sun, 14 Mar 2010 00:38:21 +0000 (01:38 +0100)]
flvmux: Preallocate index space and fill it after finishing output
Make the index appear at the beginning of the file, which is what most
players are expecting.
Fixes #601236.
Sebastian Dröge [Mon, 15 Mar 2010 12:47:13 +0000 (13:47 +0100)]
flvmux: Minor coding style fixes and cleanup
Jan Urbański [Sun, 14 Mar 2010 00:34:02 +0000 (01:34 +0100)]
flvmux: Add a is-live property
If it is set, the muxer will not write the index. Defaults to false.
Jan Urbański [Sun, 14 Mar 2010 00:25:42 +0000 (01:25 +0100)]
flvmux: Only put valid seek points in the index
For files containing video only video keyframes are valid points to
which a player can seek. For audio-only files any tag start is a valid
seek point.
See #601236.
Jan Urbański [Sun, 14 Mar 2010 00:09:37 +0000 (01:09 +0100)]
flvmux: Fix index building to make entries point to tag's start offset
Previous coding was wrongly incrementing the total byte count before
adding an index entry.
Sebastian Dröge [Mon, 15 Mar 2010 12:40:38 +0000 (13:40 +0100)]
cairotextoverlay: Don't render text outside the frame boundaries
Fixes bug #611986.
Wim Taymans [Mon, 15 Mar 2010 10:38:23 +0000 (11:38 +0100)]
rtspsrc: don't forget to send keepalive messages
When we operate in TCP mode, still send keepalive messages when we
need to.
Fixes #612696
Руслан Ижбулатов [Sat, 13 Mar 2010 20:19:35 +0000 (23:19 +0300)]
pngenc: Call png_jmpbuf() instead of accessing png_struct_ptr directly
Fixes #612700 (again)