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)
Руслан Ижбулатов [Fri, 12 Mar 2010 13:44:30 +0000 (16:44 +0300)]
pngenc: Call png_error() instead of using longjmp() directly.
Fixes #612700
Edward Hervey [Fri, 12 Mar 2010 12:57:28 +0000 (13:57 +0100)]
Automatic update of common submodule
From e272f71 to 55cd514
Thiago Santos [Fri, 5 Mar 2010 14:06:47 +0000 (11:06 -0300)]
qtdemux: add XMP parsing support
Use xmp helpers to parse XMP metadata in udta atom.
Fixes #609539
Michael Smith [Thu, 11 Mar 2010 20:32:56 +0000 (12:32 -0800)]
udp: fix compilation errors on non-windows.
Andoni Morales Alastruey [Wed, 10 Mar 2010 21:23:43 +0000 (22:23 +0100)]
multiudpsink: avoid getting the socket family using getsockname()
Edward Hervey [Thu, 11 Mar 2010 16:28:47 +0000 (17:28 +0100)]
qtdemux: Fix print statements for pointer differences.
This fixes it for both 32 and 64 bit
Edward Hervey [Thu, 11 Mar 2010 16:28:35 +0000 (17:28 +0100)]
qtdemux: Fix unitialized variables
Edward Hervey [Thu, 11 Mar 2010 16:03:47 +0000 (17:03 +0100)]
flvdemux: Fix printf formatting for macosx
Edward Hervey [Thu, 11 Mar 2010 16:03:05 +0000 (17:03 +0100)]
flvdemux: Fix unitialized variables
Edward Hervey [Thu, 11 Mar 2010 16:02:44 +0000 (17:02 +0100)]
avidemux: Fix unitialized variable.
Edward Hervey [Fri, 19 Feb 2010 12:39:04 +0000 (13:39 +0100)]
flvparse: Make script tag parsing more flexible.
* The nb_elements for arrays is just an indication, we can therefore ignore
it and carry on parsing metadata items until we reach the end marker.
* If type == 3, then the script tag contains a list of object followed
by the end marker.
Refactor code slightly to handle both cases
https://bugzilla.gnome.org/show_bug.cgi?id=610447
Tim-Philipp Müller [Thu, 11 Mar 2010 15:51:40 +0000 (15:51 +0000)]
tests: fix metadata not writable warnings in interleave and deinterleave tests
Tim-Philipp Müller [Thu, 11 Mar 2010 15:38:19 +0000 (15:38 +0000)]
tests: fix metadata not writable warnings with apev2mux and id3v2mux tests
Tim-Philipp Müller [Thu, 11 Mar 2010 15:24:20 +0000 (15:24 +0000)]
souphttpsrc: fix metadata writable warnings
Set metadata on buffer first, when the refcount is still 1, and only
ref again afterwards.
Mark Nauwelaerts [Thu, 11 Mar 2010 14:02:48 +0000 (15:02 +0100)]
avidemux: ignore stream with invalid header time metadata
Thiago Santos [Mon, 8 Mar 2010 17:57:17 +0000 (14:57 -0300)]
qtdemux: Set stream-format=raw on AAC caps
Set stream-format=raw for AAC caps, as that is the
expected AAC format to be in this container family.
Fixes #566250
Wim Taymans [Thu, 11 Mar 2010 11:56:11 +0000 (12:56 +0100)]
rtspsrc: check for NULL before doing strcmp
Check the connection and address type for NULL before doing strcmp and
crashing.
Fixes #612553
Benjamin Otte [Thu, 11 Mar 2010 10:20:59 +0000 (11:20 +0100)]
Automatic update of common submodule
From df8a7c8 to e272f71
Stefan Kost [Thu, 11 Mar 2010 09:09:55 +0000 (11:09 +0200)]
build: include stdlib.h for atoi()
Stefan Kost [Thu, 11 Mar 2010 08:33:00 +0000 (10:33 +0200)]
audiopanorama: move invariant check out of the inner loop
Improves performance for simple method.
Benjamin Otte [Wed, 10 Mar 2010 21:15:04 +0000 (22:15 +0100)]
Update CXXFLAGS, too, just like CFLAGS
Benjamin Otte [Wed, 10 Mar 2010 20:01:20 +0000 (21:01 +0100)]
Update for recent changes to common submodule
This just replaces every "$ERROR_CFLAGS" usage with a usage of
"$WARNING_CFLAGS $ERROR_CFLAGS" to get the same functionality as
previously.
Actually using that separation will happen later.
Benjamin Otte [Wed, 10 Mar 2010 20:52:09 +0000 (21:52 +0100)]
Automatic update of common submodule
From 9720a7d to df8a7c8
Benjamin Otte [Wed, 10 Mar 2010 19:43:57 +0000 (20:43 +0100)]
Automatic update of common submodule
From 0b6e072 to 9720a7d
Andoni Morales Alastruey [Wed, 10 Mar 2010 18:51:28 +0000 (10:51 -0800)]
multiudpsink: Reset windows error code after getting corresponding error message.
Michael Smith [Wed, 10 Mar 2010 01:32:27 +0000 (17:32 -0800)]
avimux: put the codec_data blob into the actual data for MPEG4 video,
to match other implementations in the wild.
Benjamin Otte [Wed, 10 Mar 2010 15:09:56 +0000 (16:09 +0100)]
Automatic update of common submodule
From 7cc5eb4 to 0b6e072
Thadeu Lima de Souza Cascardo [Wed, 24 Feb 2010 00:06:55 +0000 (21:06 -0300)]
ximagesrc: send new_segment with GST_FORMAT_TIME format
Instead of using BaseSrc default format GST_FORMAT_BYTES, send it in
GST_FORMAT_TIME.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Fixes #611659
Mark Nauwelaerts [Wed, 10 Mar 2010 10:46:06 +0000 (11:46 +0100)]
avidemux: push mode; also report seekable without an element index
... since recent code also seeks around to obtain required data
from avi index.
Mark Nauwelaerts [Tue, 9 Mar 2010 17:06:52 +0000 (18:06 +0100)]
avidemux: add some check and standardized seek event handling in push mode
Mark Nauwelaerts [Tue, 9 Mar 2010 17:05:29 +0000 (18:05 +0100)]
avidemux: fix offset handling in push mode seeking
Push mode seeking uses same index data as pull mode, and stores
offset to data in chunk, whereas push mode operates in chunks,
and as such needs offset consistently corresponding to chunk headers.
Also fix determining best matching stream for incoming newsegment event,
as well as setting some stream state accordingly.
Mark Nauwelaerts [Fri, 26 Feb 2010 20:29:49 +0000 (21:29 +0100)]
flvdemux: conduct index scan in task thread
... rather than in seeking thread, which might then occupy mainloop
for some time with possible unresponsive side-effects.
Mark Nauwelaerts [Fri, 26 Feb 2010 20:27:33 +0000 (21:27 +0100)]
flvdemux: avoid indefinite index growth
That is, check for and do not add an index entry that has already
been added.
Mark Nauwelaerts [Thu, 18 Feb 2010 13:57:39 +0000 (14:57 +0100)]
flvdemux: also collect index info on-the-fly in pull mode
Mark Nauwelaerts [Thu, 18 Feb 2010 11:42:31 +0000 (12:42 +0100)]
flvdemux: incrementally build index in pull mode
Scan for needed part upon a seek as opposed to doing a complete scan
at startup, which may take some time depending on file and/or platform.
Also accept index metadata in pull mode and peek for some metadata
at the end of the file when deemed appropriate.
Mark Nauwelaerts [Thu, 18 Feb 2010 11:26:46 +0000 (12:26 +0100)]
flvdemux: some more variable cleanup
Mark Nauwelaerts [Tue, 9 Mar 2010 17:25:23 +0000 (18:25 +0100)]
flvdemux: refactor adding index entry
Mark Nauwelaerts [Wed, 17 Feb 2010 10:36:13 +0000 (11:36 +0100)]
flvdemux: fix setting DELTA_UNIT flag on outgoing buffers
... which should not depend on having index available or not.
Also refactor resulting collapsed code.
Mark Nauwelaerts [Thu, 11 Feb 2010 18:43:47 +0000 (19:43 +0100)]
qtdemux: avoid erroneous codec-data overriding of stsd information
Mark Nauwelaerts [Mon, 1 Feb 2010 21:37:30 +0000 (22:37 +0100)]
speexdec: adapt to new oggdemux
Remove all granulepos hacks and simply use upstream timestamps.
Mark Nauwelaerts [Mon, 1 Feb 2010 21:36:02 +0000 (22:36 +0100)]
speexdec: refactor granulepos hacks
Wim Taymans [Wed, 10 Mar 2010 10:19:46 +0000 (11:19 +0100)]
rtspsrc: parse connection information
Parse the connection information from the SDP and use it to figure out if we are
dealing with ipv4 or ipv6 connections.
Wim Taymans [Tue, 9 Mar 2010 16:53:32 +0000 (17:53 +0100)]
rtspsrc: require a destination for multicast
When setting up the multicast sockets, we need a destination address to listen
on or else we error.
Wim Taymans [Tue, 9 Mar 2010 16:52:35 +0000 (17:52 +0100)]
rtspsrc: handle ipv6 listening ports when needed
Add some code to make udpsrc listen on an ipv6 address when needed. The
detection of IPV6 is not yet implemented.
Wim Taymans [Tue, 9 Mar 2010 16:15:16 +0000 (17:15 +0100)]
udp: use uri parsing code
Use the uri parsing helper functions to manage the host and port pairs. This
adds support for IPV6.