platform/upstream/gst-plugins-good.git
15 years agocairorender: Add support for ARGB/BGRA input
Sebastian Dröge [Mon, 20 Jul 2009 06:07:13 +0000 (08:07 +0200)]
cairorender: Add support for ARGB/BGRA input

Note that videotestsrc outputs 100% transparent video
which will result in white output from cairorender.

15 years agov4l2: Fix v4l2src on OpenSolaris
Elaine Xiong [Fri, 17 Jul 2009 12:22:57 +0000 (13:22 +0100)]
v4l2: Fix v4l2src on OpenSolaris

The v4l2 driver for USB webcams on OpenSolaris does not support select()
calls. Detect when select() fails, and skip polling the device afterward,
which restores the pre 0.10.14 behaviour on OpenSolaris.

Signed-off-by: Jan Schmidt <thaytan@noraisin.net>
15 years agogitignore: Ignore some new binaries
Jan Schmidt [Fri, 17 Jul 2009 10:22:06 +0000 (11:22 +0100)]
gitignore: Ignore some new binaries

15 years agocairorender: Add to the documentation
Sebastian Dröge [Fri, 17 Jul 2009 11:49:21 +0000 (13:49 +0200)]
cairorender: Add to the documentation

15 years agocairorender: Return not-negotiated if we have no caps
Sebastian Dröge [Fri, 17 Jul 2009 11:42:49 +0000 (13:42 +0200)]
cairorender: Return not-negotiated if we have no caps

15 years agocairorender: Fix caps and colorspace handling
Sebastian Dröge [Fri, 17 Jul 2009 11:41:19 +0000 (13:41 +0200)]
cairorender: Fix caps and colorspace handling

15 years agocairorender: Use correct mimetypes for PDF and SVG
Sebastian Dröge [Fri, 17 Jul 2009 11:30:02 +0000 (13:30 +0200)]
cairorender: Use correct mimetypes for PDF and SVG

15 years agocairorender: Remove pull mode, it only adds complexity but not advantages
Sebastian Dröge [Fri, 17 Jul 2009 11:24:28 +0000 (13:24 +0200)]
cairorender: Remove pull mode, it only adds complexity but not advantages

15 years agocairorender: Fix caps negotiation and cairo surface creation
Sebastian Dröge [Thu, 16 Jul 2009 19:55:31 +0000 (21:55 +0200)]
cairorender: Fix caps negotiation and cairo surface creation

15 years agocairorender: Correctly set srccaps
Sebastian Dröge [Thu, 16 Jul 2009 19:42:21 +0000 (21:42 +0200)]
cairorender: Correctly set srccaps

15 years agocairorender: Move instance/class struct definitions to the header
Sebastian Dröge [Thu, 16 Jul 2009 19:31:43 +0000 (21:31 +0200)]
cairorender: Move instance/class struct definitions to the header

15 years agocairorender: Add Lutz' copyright to the file header
Sebastian Dröge [Thu, 16 Jul 2009 19:30:00 +0000 (21:30 +0200)]
cairorender: Add Lutz' copyright to the file header

15 years agocairo: Add cairo-based PDF/PS/SVG encoder element
Lutz Mueller [Thu, 16 Jul 2009 19:27:45 +0000 (21:27 +0200)]
cairo: Add cairo-based PDF/PS/SVG encoder element

Fixes bug #331420.

15 years agoflacenc: Optionally write a PADDING block
Sebastian Dröge [Thu, 16 Jul 2009 18:44:40 +0000 (20:44 +0200)]
flacenc: Optionally write a PADDING block

The size of the PADDING block is specified by a new
"padding" property.

Fixes bug #588483.

15 years agosouphttpsrc: Only assume seekability if the server provides Content-Length
Sebastian Dröge [Thu, 16 Jul 2009 17:35:44 +0000 (19:35 +0200)]
souphttpsrc: Only assume seekability if the server provides Content-Length

Previously seekability way always assumed until the first seek actually
failed. Now we assume that all servers are not seekable unless they provide
a Content-Length header. If a seek fails after that we continue to
assume no seekability. Fixes bug #585576.

15 years agosouphttpsrc: don't try to authenticate if no username/password is set.
Arnout Vandecappelle [Thu, 16 Jul 2009 13:14:43 +0000 (15:14 +0200)]
souphttpsrc: don't try to authenticate if no username/password is set.

15 years agoeffectv: Chain up finalize to the parent class in warptv
Sebastian Dröge [Thu, 16 Jul 2009 15:10:21 +0000 (17:10 +0200)]
effectv: Chain up finalize to the parent class in warptv

Fixes a memory leak.

15 years agoeffectv: Add unit test for all effectv elements
Sebastian Dröge [Thu, 16 Jul 2009 10:55:49 +0000 (12:55 +0200)]
effectv: Add unit test for all effectv elements

15 years agoeffectv: Add new effectv elements to the docs
Sebastian Dröge [Thu, 16 Jul 2009 10:17:32 +0000 (12:17 +0200)]
effectv: Add new effectv elements to the docs

15 years agoeffectv: Add rippletv element
Sebastian Dröge [Wed, 15 Jul 2009 12:37:19 +0000 (14:37 +0200)]
effectv: Add rippletv element

This produces a water ripple effect on the video input,
based on motion or a rain drop algorithm.

Kindly relicensed to LGPL2+ by Kentaro Fukuchi <fukuchi@megaui.net>.

Fixes bug #588695.

15 years agoeffectv: Add streaktv effect filter element
Sebastian Dröge [Sun, 12 Jul 2009 13:42:35 +0000 (15:42 +0200)]
effectv: Add streaktv effect filter element

This combines the StreakTV and BaltanTV filters from the
effectv project.

Kindly relicensed to LGPL2+ by Kentaro Fukuchi <fukuchi@megaui.net>.

Fixes bug #588368.

15 years agoeffectv: Fix processing on big endian architectures
Sebastian Dröge [Sun, 12 Jul 2009 10:31:15 +0000 (12:31 +0200)]
effectv: Fix processing on big endian architectures

15 years agoeffectv: Add radioactv effect filter
Sebastian Dröge [Sun, 12 Jul 2009 09:52:04 +0000 (11:52 +0200)]
effectv: Add radioactv effect filter

This filter adds a radiation-like motion blur effect
to the video stream.

Kindly relicensed to LGPL2+ by Kentaro Fukuchi <fukuchi@megaui.net>.

Fixes bug #588359.

15 years agoeffectv: Make the optv threshold property an uint
Sebastian Dröge [Sun, 12 Jul 2009 09:26:57 +0000 (11:26 +0200)]
effectv: Make the optv threshold property an uint

15 years agoeffect: Add optv effect filter from the effectv project
Sebastian Dröge [Sun, 12 Jul 2009 08:39:02 +0000 (10:39 +0200)]
effect: Add optv effect filter from the effectv project

This filter binarizes input frames and combines them with various
optical pattern.

Kindly relicensed to LGPL2+ by Kentaro Fukuchi <fukuchi@megaui.net>.

Fixes bug #588349.

15 years agopulsesink: Emit stream-status leave message
Olivier Crête [Fri, 3 Jul 2009 09:11:26 +0000 (05:11 -0400)]
pulsesink: Emit stream-status leave message

Fixes #587695

15 years agopulsesink: Emit stream-status enter message
Olivier Crête [Fri, 3 Jul 2009 09:06:45 +0000 (05:06 -0400)]
pulsesink: Emit stream-status enter message

Emit stream-status messages for the pulse thread.
Don't use our own GCond for signaling but simply use the pulse mainloop
mechanisms for synchronisation.
See #587695

15 years agopulsesink: debug the latency update values
Wim Taymans [Tue, 14 Jul 2009 16:15:59 +0000 (18:15 +0200)]
pulsesink: debug the latency update values

15 years agopulsesink: add 24bit sample formats
Wim Taymans [Tue, 14 Jul 2009 14:12:55 +0000 (16:12 +0200)]
pulsesink: add 24bit sample formats

Add check for pulseaudio 0.9.15 and enable 24bits samples in that case.

15 years agoAutomatic update of common submodule
Olivier Crête [Mon, 13 Jul 2009 16:23:37 +0000 (12:23 -0400)]
Automatic update of common submodule

From 5845b63 to fedaaee

15 years agompvpay: Rework the timestamping
Marc Leeman [Mon, 13 Jul 2009 15:53:25 +0000 (17:53 +0200)]
mpvpay: Rework the timestamping

Rework the timestamping in the mpv payloader so that the timestamps are more
accurate.

Fixes #587680

15 years agov4l2src: add a simple test case for device probing
Filippo Argiolas [Fri, 3 Jul 2009 06:47:12 +0000 (08:47 +0200)]
v4l2src: add a simple test case for device probing

15 years agov4l2src: optional support for device probing with gudev
Filippo Argiolas [Fri, 3 Jul 2009 06:38:43 +0000 (08:38 +0200)]
v4l2src: optional support for device probing with gudev

Enumerate v4l2 devices using gudev if available.

Fixes bug #583640.

15 years agovideomixer: Random cleanup
Sebastian Dröge [Fri, 10 Jul 2009 17:54:25 +0000 (19:54 +0200)]
videomixer: Random cleanup

15 years agovideomixer: Send queries to the master pad by default instead of all pads
Sebastian Dröge [Fri, 10 Jul 2009 17:54:13 +0000 (19:54 +0200)]
videomixer: Send queries to the master pad by default instead of all pads

15 years agovideomixer: Add RGB, BGR, xRGB, RGBx, xBGR, BGRx support
Sebastian Dröge [Fri, 10 Jul 2009 17:34:41 +0000 (19:34 +0200)]
videomixer: Add RGB, BGR, xRGB, RGBx, xBGR, BGRx support

15 years agovideomixer: Clean up debugging a bit
Sebastian Dröge [Fri, 10 Jul 2009 15:43:07 +0000 (17:43 +0200)]
videomixer: Clean up debugging a bit

15 years agovideomixer: Remove some redundant checks and error out immediately if not negotiated
Sebastian Dröge [Fri, 10 Jul 2009 15:25:48 +0000 (17:25 +0200)]
videomixer: Remove some redundant checks and error out immediately if not negotiated

Also stop leaking the output buffer in some error cases.

15 years agovideomixer: Remove the calculate_frame_size() function and use libgstvideo instead
Sebastian Dröge [Fri, 10 Jul 2009 15:23:03 +0000 (17:23 +0200)]
videomixer: Remove the calculate_frame_size() function and use libgstvideo instead

15 years agovideomixer: Remove unused link/unlink pad methods
Edward Hervey [Tue, 30 Jun 2009 13:13:44 +0000 (15:13 +0200)]
videomixer: Remove unused link/unlink pad methods

15 years agovideomixer: I420 mode: Add fast path for 0.0 and 1.0 alpha
Edward Hervey [Tue, 30 Jun 2009 10:43:04 +0000 (12:43 +0200)]
videomixer: I420 mode: Add fast path for 0.0 and 1.0 alpha

If the source alpha is 0.0, we take nothing.
If the source alpha is 1.0, we overwrite everything.

15 years agovideomixer: I420 blending : Fix main algorithm.
Edward Hervey [Tue, 30 Jun 2009 10:40:02 +0000 (12:40 +0200)]
videomixer: I420 blending : Fix main algorithm.

When blending a source layer with an alpha of 'a' on top of another
destination layer we take the sum of:
* 'a' percent of the source layer
* (100 - 'a') percent of the destination layer (the remainder)

15 years agovideomixer: Make debugging category global to all the code.
Edward Hervey [Tue, 30 Jun 2009 10:39:19 +0000 (12:39 +0200)]
videomixer: Make debugging category global to all the code.

15 years agovideomixer: improve readability of debugging statements.
Edward Hervey [Mon, 29 Jun 2009 17:23:41 +0000 (19:23 +0200)]
videomixer: improve readability of debugging statements.

15 years agortspsrc: do not leak timeout message
Mark Nauwelaerts [Wed, 8 Jul 2009 11:38:53 +0000 (13:38 +0200)]
rtspsrc: do not leak timeout message

15 years agoavi: Don't forward NEWSEGMENT events from upstream
Sebastian Dröge [Thu, 9 Jul 2009 05:14:23 +0000 (07:14 +0200)]
avi: Don't forward NEWSEGMENT events from upstream

New ones are generated later and simply forwarding them can
result in NEWSEGMENT events of different format going downstream.

Fixes bug #587983.

15 years agovideomixer: Make checker pattern lookup table constant
Sebastian Dröge [Wed, 8 Jul 2009 16:19:45 +0000 (18:19 +0200)]
videomixer: Make checker pattern lookup table constant

15 years agovideomixer: Add support for ARGB
Sebastian Dröge [Wed, 8 Jul 2009 16:17:48 +0000 (18:17 +0200)]
videomixer: Add support for ARGB

And clean up the caps parsing.

15 years agoudp: Initialize pointer to NULL
Benjamin Gaignard [Wed, 8 Jul 2009 13:17:41 +0000 (15:17 +0200)]
udp: Initialize pointer to NULL

Otherwise we're calling free() with some random
memory address in error cases.

Fixes bug #587982.

15 years agoqtdemux: sprinkle some more const
Mark Nauwelaerts [Tue, 7 Jul 2009 14:35:24 +0000 (16:35 +0200)]
qtdemux: sprinkle some more const

15 years agoqtdemux: perform some more (careful) data buffering
Mark Nauwelaerts [Tue, 7 Jul 2009 13:57:55 +0000 (15:57 +0200)]
qtdemux: perform some more (careful) data buffering

Once buffering has started (with an mdat atom), continue buffering
until moov atom is reached, which handles cases with multiple
mdat atoms.  Also keep adapter/offset better in sync with upstream
and fix some debug statements.  Fixes #587426.

15 years agoavidemux: Replace deprecated GST_DISABLE_DEBUG with correct macro. Fixes #587826
Philip Jägenstedt [Mon, 6 Jul 2009 08:40:31 +0000 (10:40 +0200)]
avidemux: Replace deprecated GST_DISABLE_DEBUG with correct macro. Fixes #587826

15 years agoqtdemux: error out instead of dividing by 0
Tim-Philipp Müller [Wed, 1 Jul 2009 12:07:48 +0000 (13:07 +0100)]
qtdemux: error out instead of dividing by 0

Error out if timescale is 0.

15 years agoRevert "qtdemux: Make sure we don't blacklist streams by wrongly comparing their"
Tim-Philipp Müller [Wed, 1 Jul 2009 08:32:42 +0000 (09:32 +0100)]
Revert "qtdemux: Make sure we don't blacklist streams by wrongly comparing their"

This reverts commit 5503a59a5779b67451d8a271000181790ee76bc7.

Reverting this since it causes regressions with a lot of sample files
I have, all of which worked fine with the last -good release (#586891).

15 years agoqtdemux: comment out unused structure
Tim-Philipp Müller [Tue, 30 Jun 2009 14:54:47 +0000 (15:54 +0100)]
qtdemux: comment out unused structure

15 years agoqtdemux: more size checks, and use g_try_new0() instead of g_new0()
Tim-Philipp Müller [Tue, 30 Jun 2009 12:12:09 +0000 (13:12 +0100)]
qtdemux: more size checks, and use g_try_new0() instead of g_new0()

Whenever we alloc something based on a user-supplied size, we should
really use g_try_new(), otherwise we can easily be made to abort by
passing a ridiculously large number to us for allocing. Fixes
problems with some fuzzed files.

15 years agoqtdemux: guard against bogus atom sizes and short reads
Tim-Philipp Müller [Mon, 29 Jun 2009 17:58:33 +0000 (18:58 +0100)]
qtdemux: guard against bogus atom sizes and short reads

Check the possibly 64-bit atom size more carefully before casting it
to an int and passing it to gst_pad_pull_range(), otherwise we might
end up pulling 0 bytes, getting an empty buffer as requested and
dereferencing not available data whilst thinking we actually asked
for and got 0x1000000000000 bytes. Similar fix for push mode operation
where neededbytes ends up being 0 bytes, which makes us assert. Fixes
crash with broken or fuzzed file (NB #122378).

15 years agoqtdemux: use 0x prefix when logging numbers in hex
Tim-Philipp Müller [Mon, 29 Jun 2009 15:52:41 +0000 (16:52 +0100)]
qtdemux: use 0x prefix when logging numbers in hex

15 years agoflacdec: Don't send empty string tags
Edward Hervey [Wed, 1 Jul 2009 06:40:40 +0000 (08:40 +0200)]
flacdec: Don't send empty string tags

15 years agoDon't use sendmsg()-dependent code on Windows
LRN [Tue, 30 Jun 2009 17:35:37 +0000 (21:35 +0400)]
Don't use sendmsg()-dependent code on Windows

Fixes #585842

15 years agolaw: fix caps and negotiation
Wim Taymans [Tue, 30 Jun 2009 13:59:20 +0000 (15:59 +0200)]
law: fix caps and negotiation

Fix the caps to include the depth (instead of width twice) in the caps of
audio/x-raw-int.
Fix negotiation to not only copy the rate/channels of the first structure.

15 years agopulsesink: include "1.0=100%" in volume and change upper limit
Stefan Kost [Tue, 30 Jun 2009 11:48:09 +0000 (14:48 +0300)]
pulsesink: include "1.0=100%" in volume and change upper limit

Upper volume limmit was 1000. That appear unneceasrily high. It would also cause
sever distortion if accidentialy used. Now its 10 (~ +15db) which is also in
sync with volume and playbin2.

15 years agopulse: some more trivial cleanups
Wim Taymans [Mon, 29 Jun 2009 13:39:43 +0000 (15:39 +0200)]
pulse: some more trivial cleanups

15 years agopulse: trivial cleanups
Wim Taymans [Mon, 29 Jun 2009 13:38:49 +0000 (15:38 +0200)]
pulse: trivial cleanups

15 years agopulsesink: clear ringbuffer when asked to
Wim Taymans [Mon, 29 Jun 2009 13:20:31 +0000 (15:20 +0200)]
pulsesink: clear ringbuffer when asked to

Since we map the ringbuffer to the pulseaudio internal ringbuffer, flush the
pulseaudio buffer when we are asked to clear the ringbuffer.
This avoids some leftover audio after a seek.

15 years agoautogen.sh: Actually do the 'echo -n' -> printf change.
Jan Schmidt [Fri, 26 Jun 2009 14:00:14 +0000 (15:00 +0100)]
autogen.sh: Actually do the 'echo -n' -> printf change.

15 years agoautogen.sh: Use printf instead of 'echo -n'. Check for automake-1.1[01]
Jan Schmidt [Fri, 26 Jun 2009 13:40:14 +0000 (14:40 +0100)]
autogen.sh: Use printf instead of 'echo -n'. Check for automake-1.1[01]

Check for more automake command variants. Use printf instead of 'echo -n'
for portability

15 years agoAutomatic update of common submodule
Jan Schmidt [Fri, 26 Jun 2009 12:42:09 +0000 (13:42 +0100)]
Automatic update of common submodule

From f810030 to 5845b63

15 years agoqtdemux: don't process track_num/track_count tags with a 0 value
Tim-Philipp Müller [Fri, 26 Jun 2009 12:19:04 +0000 (13:19 +0100)]
qtdemux: don't process track_num/track_count tags with a 0 value

Number/count values of 0 mean they're not set. Don't put those in the
taglist.

15 years agowaveformsink: use 'guint8' instead of 'byte' to fix compilation with MSVC8
Tim-Philipp Müller [Thu, 25 Jun 2009 17:51:12 +0000 (18:51 +0100)]
waveformsink: use 'guint8' instead of 'byte' to fix compilation with MSVC8

We need a cast here for pointer arithmetic to work correctly, but some
MSVC versions don't seem to like 'byte', so use guint8 here. Hopefully
fixes #585361.

15 years agov4l2src: set structs to zero before using them in ioctls
Stefan Kost [Thu, 25 Jun 2009 16:39:37 +0000 (19:39 +0300)]
v4l2src: set structs to zero before using them in ioctls

This fixes valgrind warnings.

15 years agoqtdemux: Make sure we don't blacklist streams by wrongly comparing their
Julien Moutte [Thu, 25 Jun 2009 11:23:40 +0000 (13:23 +0200)]
qtdemux: Make sure we don't blacklist streams by wrongly comparing their
duration with entire clip duration.

15 years agortpdec: fix some buffer leaks
Krzysztof Błaszkowski [Thu, 25 Jun 2009 11:18:14 +0000 (13:18 +0200)]
rtpdec: fix some buffer leaks

15 years agoflvparse: Add missing break in switch/case.
Edward Hervey [Thu, 25 Jun 2009 06:11:09 +0000 (08:11 +0200)]
flvparse: Add missing break in switch/case.

15 years agoflvdemux: Remove unused variable, hint branch likeliness, add comments.
Edward Hervey [Thu, 25 Jun 2009 06:10:38 +0000 (08:10 +0200)]
flvdemux: Remove unused variable, hint branch likeliness, add comments.

15 years agoavidemux: Removed unused variable
Edward Hervey [Thu, 25 Jun 2009 06:09:57 +0000 (08:09 +0200)]
avidemux: Removed unused variable

15 years agoqtdemux: Remove dead assignments and unused variables.
Edward Hervey [Thu, 25 Jun 2009 05:41:07 +0000 (07:41 +0200)]
qtdemux: Remove dead assignments and unused variables.

Also add branch likeliness macros.

15 years agoqtdemux: Fix uninitialized variables. Fixes build on macosx
Edward Hervey [Thu, 25 Jun 2009 05:40:26 +0000 (07:40 +0200)]
qtdemux: Fix uninitialized variables. Fixes build on macosx

15 years agosouphttpsrc: free memory in finalize
Stefan Kost [Wed, 24 Jun 2009 14:43:25 +0000 (17:43 +0300)]
souphttpsrc: free memory in finalize

finalize is called only once. no need to clear pointers there. dispose is for
unreffing.

15 years agoAutomatic update of common submodule
Jan Schmidt [Wed, 24 Jun 2009 14:14:14 +0000 (15:14 +0100)]
Automatic update of common submodule

From 6ab11d1 to f810030

15 years agoavidemux: short-circuit gst_avi_demux_src_convert() when parsing the index
Tim-Philipp Müller [Mon, 8 Jun 2009 13:46:48 +0000 (14:46 +0100)]
avidemux: short-circuit gst_avi_demux_src_convert() when parsing the index

Don't call gst_avi_demux_src_convert() for each single index entry. Not
only do we already have the pointer to the stream context, we also know
the formats we want to convert from and to already, so we may just as
well use optimised conversion routines that bypass some of the checks
and lookups made in gst_avi_demux_src_convert().

15 years agoqtdemux: Another round of G_*LIKELY micro-optimisations.
Edward Hervey [Wed, 17 Jun 2009 14:39:36 +0000 (16:39 +0200)]
qtdemux: Another round of G_*LIKELY micro-optimisations.

15 years agoqtdemux: Take last sample duration for dummy segment calculation.
Edward Hervey [Wed, 17 Jun 2009 14:20:25 +0000 (16:20 +0200)]
qtdemux: Take last sample duration for dummy segment calculation.

This fixes the cases where files without EDL wouldn't output their
last buffer.

15 years agoavidemux: Sprinkle branch likeliness macros over the code.
Edward Hervey [Wed, 24 Jun 2009 10:36:31 +0000 (12:36 +0200)]
avidemux: Sprinkle branch likeliness macros over the code.

15 years agoraw1394: sprinkle branch likeliness macros accross the code.
Edward Hervey [Tue, 23 Jun 2009 14:54:32 +0000 (16:54 +0200)]
raw1394: sprinkle branch likeliness macros accross the code.

15 years agoqtdemux: Add GST_MEMDUMP statements for unknown atoms.
Edward Hervey [Sun, 14 Jun 2009 08:36:17 +0000 (10:36 +0200)]
qtdemux: Add GST_MEMDUMP statements for unknown atoms.

This is to help developers track down and implement unhandled atoms faster.

15 years agodeinterlace: Remove the interlaced field from the output caps if deinterlacing is...
Sebastian Dröge [Tue, 23 Jun 2009 15:51:32 +0000 (17:51 +0200)]
deinterlace: Remove the interlaced field from the output caps if deinterlacing is enabled

15 years agodeinterlace: Copy the correct line from correct place in the history
Sebastian Dröge [Tue, 23 Jun 2009 15:48:47 +0000 (17:48 +0200)]
deinterlace: Copy the correct line from correct place in the history

15 years agortspsrc: use same protocols after redirect
Wim Taymans [Tue, 23 Jun 2009 14:35:36 +0000 (16:35 +0200)]
rtspsrc: use same protocols after redirect

After a redirect we want to use the same protocols that we were using for the
current url.

15 years agoqtdemux: don't leak cover art
Tim-Philipp Müller [Tue, 23 Jun 2009 14:35:37 +0000 (15:35 +0100)]
qtdemux: don't leak cover art

15 years agoudp: fix compiler warning about EAI_ADDRFAMILY getting redefined in some cases
Tim-Philipp Müller [Tue, 23 Jun 2009 13:10:10 +0000 (14:10 +0100)]
udp: fix compiler warning about EAI_ADDRFAMILY getting redefined in some cases

Include the header from where we include all the system headers with the
socket stuff before we try to define EAI_ADDRFAMILY ourselves, otherwise
we define it ourselves and then get a compiler warning if a system header
defines it as well without guarding against it being defined already.

15 years agomatroska: and the new headers too
Wim Taymans [Tue, 23 Jun 2009 12:39:56 +0000 (14:39 +0200)]
matroska: and the new headers too

15 years agomatroske: fix compiler error
Wim Taymans [Tue, 23 Jun 2009 12:32:43 +0000 (14:32 +0200)]
matroske: fix compiler error

change gpointer to guint8 * for codec_state and codec_priv as some
functions operate on those types and it avoids breaking strict-aliasing
rules.

15 years agomatroskademux: avoid leaking buffers
Wim Taymans [Tue, 23 Jun 2009 10:42:33 +0000 (12:42 +0200)]
matroskademux: avoid leaking buffers

Don't leak buffers when resyncing to a keyframe.
Avoid leaking buffers when exiting the loop on error conditions.
Add some more debug info.

Fixes #585911

15 years agov4l2: open/close the device in READY
Stefan Kost [Mon, 22 Jun 2009 12:56:58 +0000 (15:56 +0300)]
v4l2: open/close the device in READY

This allows to query the device in READY. Before one need to switch it to PAUSED
and that also starts streaming.

15 years agoqtdemux: use GST_MEMDUMP
Tim-Philipp Müller [Sat, 20 Jun 2009 14:41:44 +0000 (15:41 +0100)]
qtdemux: use GST_MEMDUMP

15 years agoapedemux: add container-format tag
Tim-Philipp Müller [Thu, 18 Jun 2009 23:16:41 +0000 (00:16 +0100)]
apedemux: add container-format tag

Use pbutils here because the string is translated.

15 years agoid3demux: add container-format tag
Tim-Philipp Müller [Thu, 18 Jun 2009 23:15:51 +0000 (00:15 +0100)]
id3demux: add container-format tag

Using pbutils here because the string is translated.

15 years agodvdemux: post container-format tag
Tim-Philipp Müller [Thu, 18 Jun 2009 22:51:52 +0000 (23:51 +0100)]
dvdemux: post container-format tag

Also merge the two almost identical _add_*_pad() functions into one.

15 years agodvdemux: don't screw up first audio buffer
Tim-Philipp Müller [Thu, 18 Jun 2009 22:43:49 +0000 (23:43 +0100)]
dvdemux: don't screw up first audio buffer

Query the audio format, esp. dvdemux->num_channels, before we use that
variable to allocate the initial buffer. That way we don't accidentally
push a zero-sized buffer as first audio buffer.