platform/upstream/gst-plugins-bad.git
12 years agoconfigure: suppress some warnings when debug is disabled
Sebastian Rasmussen [Wed, 23 May 2012 16:19:52 +0000 (18:19 +0200)]
configure: suppress some warnings when debug is disabled

Warnings about unused variables should be suppressed if core has the
debug system disabled.

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

12 years agoPort d3dvideosink to 0.11
Руслан Ижбулатов [Wed, 25 Apr 2012 17:21:43 +0000 (21:21 +0400)]
Port d3dvideosink to 0.11

Fixes #674817

12 years agowayland: port to 0.11
Wim Taymans [Wed, 23 May 2012 10:07:14 +0000 (12:07 +0200)]
wayland: port to 0.11

12 years agodvbbasebin: Emit no-more-pads when pad is added
Edward Hervey [Tue, 22 May 2012 16:55:38 +0000 (18:55 +0200)]
dvbbasebin: Emit no-more-pads when pad is added

This avoids an endless hang with playbin2, which sees dvbbasesbin as
having dynamic pads ... but never emitted no-more-pads.

12 years agocamutils: Fix PMT message construction
Edward Hervey [Tue, 22 May 2012 16:53:16 +0000 (18:53 +0200)]
camutils: Fix PMT message construction

The size of the message ended up being bigger than its content.
That cause some CA modules to just hang.

12 years agocamtransport: Allow delay when setting up cam device
Edward Hervey [Tue, 22 May 2012 16:51:34 +0000 (18:51 +0200)]
camtransport: Allow delay when setting up cam device

Some CA devices take a long time to set themselves up,
therefore retry every 250ms (for a maximum of 2.5s)

12 years agodvbsrc: Fixup/add debug statements
Edward Hervey [Tue, 22 May 2012 16:49:54 +0000 (18:49 +0200)]
dvbsrc: Fixup/add debug statements

12 years agodvbsrc: Only open device read/write when needed
Edward Hervey [Tue, 22 May 2012 16:48:07 +0000 (18:48 +0200)]
dvbsrc: Only open device read/write when needed

Avoid starting up kernel thread when not needed

12 years agodvb: Add warning when dvb channels file isn't present
Edward Hervey [Tue, 22 May 2012 16:46:09 +0000 (18:46 +0200)]
dvb: Add warning when dvb channels file isn't present

12 years agompegtsbase: Speed up _is_psi()
Edward Hervey [Wed, 23 May 2012 06:39:21 +0000 (08:39 +0200)]
mpegtsbase: Speed up _is_psi()

By making it inline and simplifying the bit macros

12 years agompegvideoparse: avoid scanning for start codes twice
Mark Nauwelaerts [Tue, 22 May 2012 19:00:31 +0000 (21:00 +0200)]
mpegvideoparse: avoid scanning for start codes twice

... since a previous terminating start code serves as subsequent start code.

12 years agodvb: Fixups for latest API changes
Edward Hervey [Tue, 22 May 2012 17:11:29 +0000 (19:11 +0200)]
dvb: Fixups for latest API changes

12 years agotsdemux: Add language code to taglist.
Julian Scheel [Tue, 10 Apr 2012 10:36:15 +0000 (12:36 +0200)]
tsdemux: Add language code to taglist.

Read the language codes for tracks from the mpegts descriptors and add it into
the pads taglist.

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

12 years agotsdemux: Adapt to new packetizer API
Edward Hervey [Mon, 21 May 2012 15:53:37 +0000 (17:53 +0200)]
tsdemux: Adapt to new packetizer API

We no longer use GstBufferList and instead copy the incoming data
into newly allocated memory.

This makes tsdemux behaviour 3 to 4 times faster.

12 years agotsparse: Adapt to new packetizer API
Edward Hervey [Mon, 21 May 2012 15:53:15 +0000 (17:53 +0200)]
tsparse: Adapt to new packetizer API

12 years agompegtsbase: Adapt to new packetizer behaviour
Edward Hervey [Mon, 21 May 2012 15:52:46 +0000 (17:52 +0200)]
mpegtsbase: Adapt to new packetizer behaviour

12 years agompegtspacketizer: Avoid usage of GstBuffer internally
Edward Hervey [Mon, 21 May 2012 15:48:54 +0000 (17:48 +0200)]
mpegtspacketizer: Avoid usage of GstBuffer internally

The overhead of creating/using 188 byte GstBuffer from GstAdapter
is too expensive.
We now peek the next packet, and provide a data/size which is only
valid until the packetizerpacket is cleared.

In addition, cleanup all the internal code to deal with that new
behaviour and remove double-checks which are no longer needed.

The section_length is now the corrected section_length (i.e. with
the additional 3 bytes).

Avoid using gst_adapter_prev_timestamp and instead track
the timestamp ourself.

12 years agompegtspacketizer: Detect PCR wraparound in skew code
Edward Hervey [Sun, 20 May 2012 11:27:29 +0000 (13:27 +0200)]
mpegtspacketizer: Detect PCR wraparound in skew code

If the received PCR is going backwards (by a safe margin), include
that wraparound for further calculation.

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

12 years agovideoparsers: avoid repeated caps setting
Mark Nauwelaerts [Tue, 22 May 2012 12:48:40 +0000 (14:48 +0200)]
videoparsers: avoid repeated caps setting

12 years agompegvideoparse: tweak codec parser API and adjust parser element
Mark Nauwelaerts [Tue, 22 May 2012 12:00:36 +0000 (14:00 +0200)]
mpegvideoparse: tweak codec parser API and adjust parser element

... to allow for more efficient parsing and (more) consistent parsing API
among various codec parsers.

Fixes #672701.

Conflicts:

gst/videoparsers/gstmpegvideoparse.c

12 years agocodecparsers: mpeg4: fixup documentation spelling
Mark Nauwelaerts [Tue, 22 May 2012 10:30:07 +0000 (12:30 +0200)]
codecparsers: mpeg4: fixup documentation spelling

12 years agompegvideoparser: Optimize scanning for start code
Nicolas Dufresne [Tue, 8 May 2012 20:51:11 +0000 (16:51 -0400)]
mpegvideoparser: Optimize scanning for start code

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

12 years agovp8enc: fix target bitrate config with libvpx 1.1.0
Vincent Penquerc'h [Fri, 18 May 2012 11:46:55 +0000 (12:46 +0100)]
vp8enc: fix target bitrate config with libvpx 1.1.0

libvpx 1.1.0 disallows a bitrate of 0, which was used by
vp8enc as a default value.

Instead, we use the default libvpx bitrate, scaled to our
video size, if no bitrate was specified.

This fixes encoding VP8 video with libvpx 1.1.0.

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

12 years agofrei0r: Double properties are supposed in the range [0.0, 1.0]
Sebastian Dröge [Tue, 22 May 2012 09:10:24 +0000 (11:10 +0200)]
frei0r: Double properties are supposed in the range [0.0, 1.0]

Fixes bug #676137.

12 years agompegvideoparse: unobfuscate frame parsing
Mark Nauwelaerts [Mon, 21 May 2012 17:22:19 +0000 (19:22 +0200)]
mpegvideoparse: unobfuscate frame parsing

... and add comments and debug statements.

Fixes #674202.

Conflicts:

gst/videoparsers/gstmpegvideoparse.c

12 years agompegvideoparse: Revert "fix crash"
Mark Nauwelaerts [Mon, 21 May 2012 14:37:37 +0000 (16:37 +0200)]
mpegvideoparse: Revert "fix crash"

This reverts commit 91210831ee672343a296f31357144359d5c2e768.

Such explicit reset should not be needed as it is arranged for by
the baseclass in unison with monitoring for a new frame by subclass.

As such it might wrongfully hide something else going on ...

See #674073.

12 years agocodecparsers: mpegvideoparser: fix buffer size check
Mark Nauwelaerts [Mon, 21 May 2012 13:24:25 +0000 (15:24 +0200)]
codecparsers: mpegvideoparser: fix buffer size check

... to mind unsigned integer wrap

Based on patch by Alban Browaeys <prahal@yahoo.com>

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

12 years agotests: mpegvideoparse: fix unit test regression
Mark Nauwelaerts [Mon, 21 May 2012 13:09:02 +0000 (15:09 +0200)]
tests: mpegvideoparse: fix unit test regression

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

Conflicts:

tests/check/elements/mpegvideoparse.c

12 years agoautoconvert: don't access GstElementFactory structure directly
Tim-Philipp Müller [Sat, 19 May 2012 14:34:25 +0000 (15:34 +0100)]
autoconvert: don't access GstElementFactory structure directly

12 years agocodecparsers: mpeg4: do not expect a marker bit where not specified
Mark Nauwelaerts [Fri, 18 May 2012 14:17:13 +0000 (16:17 +0200)]
codecparsers: mpeg4: do not expect a marker bit where not specified

Fixes #672447.

12 years agotsdemux: flush on pusi only for payload packets
Julian Scheel [Wed, 16 May 2012 14:15:58 +0000 (16:15 +0200)]
tsdemux: flush on pusi only for payload packets

Data should not be flushed out of the tsdemux because a payload unit start
indicator (pusi) is seen in a adaptation only ts packet. If the package contains no
payload a pusi does not indicate a new PES packet, but PSI information, etc.
This fixes playback of several TS files which contain ts packets without
payload but with pusi set to 1.

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

12 years agotsdemux: Don't queue data for streams that don't have a pad
Edward Hervey [Fri, 18 May 2012 08:15:15 +0000 (10:15 +0200)]
tsdemux: Don't queue data for streams that don't have a pad

This would result in an error further down, and it also avoids processing
for that data which we wouldn't be using anyway.

12 years agotsdemux: Detect and handle scrambled packets
Edward Hervey [Fri, 18 May 2012 08:13:19 +0000 (10:13 +0200)]
tsdemux: Detect and handle scrambled packets

Users (tsdemux/mpegtsparse) can decide what to do with that

12 years agotsdemux: Emit no-more-pads when all pads are activated
Edward Hervey [Fri, 18 May 2012 08:07:56 +0000 (10:07 +0200)]
tsdemux: Emit no-more-pads when all pads are activated

Fixes #670921 again

12 years agogaudieffects: add fallback code for orc
Luis de Bethencourt [Thu, 17 May 2012 10:15:22 +0000 (11:15 +0100)]
gaudieffects: add fallback code for orc

this includes an improved version of the burn filter, with a ~40% speed
improvement.

12 years agoconfigure: bump the orc version required to 0.4.16
Luis de Bethencourt [Thu, 17 May 2012 09:49:11 +0000 (10:49 +0100)]
configure: bump the orc version required to 0.4.16

Some opcodes have changed so they would fail to build with 0.4.14

12 years agogaudieffects: use CLAMP in solarize
Luis de Bethencourt [Thu, 17 May 2012 08:47:08 +0000 (09:47 +0100)]
gaudieffects: use CLAMP in solarize

No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.

12 years agogaudieffects: use CLAMP in exclusion
Luis de Bethencourt [Thu, 17 May 2012 08:46:37 +0000 (09:46 +0100)]
gaudieffects: use CLAMP in exclusion

No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.

12 years agogaudieffects: use CLAMP in dodge
Luis de Bethencourt [Thu, 17 May 2012 08:45:52 +0000 (09:45 +0100)]
gaudieffects: use CLAMP in dodge

No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.

12 years agogaudieffects: use CLAMP in chromium
Luis de Bethencourt [Thu, 17 May 2012 08:44:29 +0000 (09:44 +0100)]
gaudieffects: use CLAMP in chromium

No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.

12 years agoh264parse: also consider nal_length_size when inserting codec data
Mark Nauwelaerts [Thu, 17 May 2012 09:47:19 +0000 (11:47 +0200)]
h264parse: also consider nal_length_size when inserting codec data

See #676174.

12 years agoy4m: link against the right libgstvideo
John Hein [Wed, 16 May 2012 20:50:48 +0000 (21:50 +0100)]
y4m: link against the right libgstvideo

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

12 years agogaudieffects: example pipelines with videoconvert
Luis de Bethencourt [Wed, 16 May 2012 16:50:43 +0000 (17:50 +0100)]
gaudieffects: example pipelines with videoconvert

12 years agogaudieffects: orc-ify burn filter
Luis de Bethencourt [Wed, 16 May 2012 16:49:12 +0000 (17:49 +0100)]
gaudieffects: orc-ify burn filter

12 years agoconfigure: Require core/base 0.11.91
Sebastian Dröge [Wed, 16 May 2012 07:12:32 +0000 (09:12 +0200)]
configure: Require core/base 0.11.91

12 years ago.gitignore: add visual studio IDE files and OS X .DS_Store files
Matej Knopp [Fri, 13 Jan 2012 23:57:20 +0000 (18:57 -0500)]
.gitignore: add visual studio IDE files and OS X .DS_Store files

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

12 years agohls: use gst api for timestamps instead of the (wrong) api from a too new glib
Stefan Sauer [Tue, 15 May 2012 13:46:28 +0000 (15:46 +0200)]
hls: use gst api for timestamps instead of the (wrong) api from a too new glib

Conflicts:

gst/hls/gstfragment.c

12 years agompegtsmux: optimize output by aggregating packets
Mark Nauwelaerts [Mon, 14 May 2012 09:38:21 +0000 (11:38 +0200)]
mpegtsmux: optimize output by aggregating packets

... rather than pushing each (small) packet in a separate buffer.
m2ts mode not yet optimized though.

12 years agompegts: support items in extended event descriptor
Albert Astrals Cid [Fri, 11 May 2012 09:46:58 +0000 (11:46 +0200)]
mpegts: support items in extended event descriptor

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

12 years agocurl: fix compilation
Wim Taymans [Mon, 14 May 2012 07:15:55 +0000 (09:15 +0200)]
curl: fix compilation

Don't use deprecated thread API

12 years agoBack to development
Sebastian Dröge [Sun, 13 May 2012 15:00:39 +0000 (17:00 +0200)]
Back to development

12 years agoRelease 0.11.91 RELEASE-0.11.91
Sebastian Dröge [Sun, 13 May 2012 14:43:25 +0000 (16:43 +0200)]
Release 0.11.91

12 years agoUpdate .po files
Sebastian Dröge [Sun, 13 May 2012 14:43:02 +0000 (16:43 +0200)]
Update .po files

12 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 13 May 2012 13:56:17 +0000 (15:56 +0200)]
Automatic update of common submodule

From dc70203 to 3429ba6

12 years agocurl: Fix equality comparison with extraneous parantheses compiler warning
Sebastian Dröge [Sun, 13 May 2012 13:24:52 +0000 (15:24 +0200)]
curl: Fix equality comparison with extraneous parantheses compiler warning

gstcurlhttpsink.c:411:27: error: equality comparison with extraneous parentheses

12 years agocheck: make git ignore new unit test binaries
Tim-Philipp Müller [Sat, 12 May 2012 11:08:42 +0000 (12:08 +0100)]
check: make git ignore new unit test binaries

12 years agocurl: new curlsmtpsink element
Sebastian Rasmussen [Wed, 25 Apr 2012 17:46:53 +0000 (19:46 +0200)]
curl: new curlsmtpsink element

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

12 years agocurl: new curlftpsink element
Patricia Muscalu [Mon, 23 Jan 2012 08:45:24 +0000 (09:45 +0100)]
curl: new curlftpsink element

http://bugzilla.gnome.org/show_bug.cgi?id=653741

12 years agocurl: new curlfilesink element
Patricia Muscalu [Mon, 23 Jan 2012 08:28:10 +0000 (09:28 +0100)]
curl: new curlfilesink element

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

12 years agocurl: refactor curlsink, rename to curlhttpsink
Patricia Muscalu [Mon, 23 Jan 2012 08:00:47 +0000 (09:00 +0100)]
curl: refactor curlsink, rename to curlhttpsink

Split into base, tls and http classes.

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

12 years agogaudieffects: consistency in templates name
Luis de Bethencourt [Thu, 10 May 2012 20:15:42 +0000 (21:15 +0100)]
gaudieffects: consistency in templates name

12 years agohlsdemux: Add a connection-speed property
Thibault Saunier [Thu, 10 May 2012 14:11:18 +0000 (10:11 -0400)]
hlsdemux: Add a connection-speed property

Conflicts:

gst/hls/gsthlsdemux.c

12 years agohls: Add a way to get best playlist for a specific bitrate in M3U8Client
Thibault Saunier [Thu, 10 May 2012 14:10:14 +0000 (10:10 -0400)]
hls: Add a way to get best playlist for a specific bitrate in M3U8Client

Make use of it in hlsdemux

12 years agohlsdemux: Add failover protection.
Youness Alaoui [Tue, 8 May 2012 17:27:15 +0000 (13:27 -0400)]
hlsdemux: Add failover protection.

Multiple streams with same bandwidth get retried

12 years agohlsdemux: Calculate the real bitrate and switch to the correct variant
Youness Alaoui [Tue, 8 May 2012 17:04:35 +0000 (13:04 -0400)]
hlsdemux: Calculate the real bitrate and switch to the correct variant

We now calculate the actual bitrate using the download speed/size and
then switch directly to the variant that matches our bandwidth the
most.
It will also be able to handle any use case where some of the
variants are not available, and would skip them and go to the next
possible variant.

Conflicts:

gst/hls/gsthlsdemux.c

12 years agohlsdemux: Do not reset the sequence number in a live stream for a normal playlist...
Youness Alaoui [Tue, 8 May 2012 15:34:47 +0000 (11:34 -0400)]
hlsdemux: Do not reset the sequence number in a live stream for a normal playlist update.

Only for stream switching

12 years agohlsdemux: If we update the playlist, make sure the sequence number is never more...
Thibault Saunier [Tue, 8 May 2012 15:33:50 +0000 (11:33 -0400)]
hlsdemux: If we update the playlist, make sure the sequence number is never more than 3 fragments before the end

12 years agohlsdemux: In a live stream, do not start from 3 fragments before the end.
Youness Alaoui [Tue, 8 May 2012 15:13:26 +0000 (11:13 -0400)]
hlsdemux: In a live stream, do not start from 3 fragments before the end.

12 years agohlsdemux: No need to store position since it's the buffer's timestamp
Youness Alaoui [Tue, 8 May 2012 15:09:28 +0000 (11:09 -0400)]
hlsdemux: No need to store position since it's the buffer's timestamp

This also will fix the issue of having the current position different
from the actual position of the first buffer in the queue in case
the caching caused a resync of the sequence number.

Conflicts:

gst/hls/gsthlsdemux.c

12 years agohlsdemux: Fallback to previous playlist when switching if the new playlist can't...
Youness Alaoui [Fri, 16 Sep 2011 00:47:54 +0000 (20:47 -0400)]
hlsdemux: Fallback to previous playlist when switching if the new playlist can't be fetched

12 years agogaudieffects: consistency fixes in gstgaussblur
Luis de Bethencourt [Thu, 10 May 2012 12:46:27 +0000 (13:46 +0100)]
gaudieffects: consistency fixes in gstgaussblur

12 years agogaudieffects: port gaussianblur to GstVideoFilter
Luis de Bethencourt [Thu, 10 May 2012 09:47:27 +0000 (10:47 +0100)]
gaudieffects: port gaussianblur to GstVideoFilter

12 years agogaudieffects: port solarize to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 16:21:30 +0000 (17:21 +0100)]
gaudieffects: port solarize to GstVideoFilter

12 years agogaudieffects: port exclusion to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 16:06:20 +0000 (17:06 +0100)]
gaudieffects: port exclusion to GstVideoFilter

12 years agogaudieffects: port dodge to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 15:55:17 +0000 (16:55 +0100)]
gaudieffects: port dodge to GstVideoFilter

12 years agogaudieffects: port dilate to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 15:30:40 +0000 (16:30 +0100)]
gaudieffects: port dilate to GstVideoFilter

12 years agogaudieffects: port burn to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 15:10:18 +0000 (16:10 +0100)]
gaudieffects: port burn to GstVideoFilter

12 years agogaudieffects: port chromium to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 14:44:02 +0000 (15:44 +0100)]
gaudieffects: port chromium to GstVideoFilter

12 years agogaudieffects: use GST_DEBUG_FUNCPTR in blur
Luis de Bethencourt [Wed, 9 May 2012 13:28:09 +0000 (14:28 +0100)]
gaudieffects: use GST_DEBUG_FUNCPTR in blur

12 years agogaudieffects: port to 0.11
Luis de Bethencourt [Wed, 9 May 2012 12:35:46 +0000 (13:35 +0100)]
gaudieffects: port to 0.11

12 years agogaudieffects: port gaussblur to 0.11
Luis de Bethencourt [Wed, 9 May 2012 08:49:10 +0000 (09:49 +0100)]
gaudieffects: port gaussblur to 0.11

12 years agogaudieffects: port solarize to 0.11
Luis de Bethencourt [Tue, 8 May 2012 17:09:20 +0000 (18:09 +0100)]
gaudieffects: port solarize to 0.11

12 years agogaudieffects: port exclusion to 0.11
Luis de Bethencourt [Tue, 8 May 2012 17:09:09 +0000 (18:09 +0100)]
gaudieffects: port exclusion to 0.11

12 years agogaudieffects: port dodge to 0.11
Luis de Bethencourt [Tue, 8 May 2012 16:38:22 +0000 (17:38 +0100)]
gaudieffects: port dodge to 0.11

12 years agogaudieffects: port dilate to 0.11
Luis de Bethencourt [Tue, 8 May 2012 16:17:16 +0000 (17:17 +0100)]
gaudieffects: port dilate to 0.11

12 years agogaudieffects: add header to gaussblur
Luis de Bethencourt [Tue, 8 May 2012 15:50:06 +0000 (16:50 +0100)]
gaudieffects: add header to gaussblur

12 years agogaudieffects: port chromium to 0.11
Luis de Bethencourt [Tue, 8 May 2012 15:39:02 +0000 (16:39 +0100)]
gaudieffects: port chromium to 0.11

12 years agogaudieffects: port burn to 0.11
Luis de Bethencourt [Tue, 8 May 2012 15:38:48 +0000 (16:38 +0100)]
gaudieffects: port burn to 0.11

12 years agocontroller: port to new controller location and api
Luis de Bethencourt [Tue, 8 May 2012 13:17:06 +0000 (14:17 +0100)]
controller: port to new controller location and api

12 years agod3dvideosink: fix deadlock when the device is lost
Andoni Morales Alastruey [Tue, 8 May 2012 15:58:58 +0000 (17:58 +0200)]
d3dvideosink: fix deadlock when the device is lost

12 years agod3dvideosink: remove trailing ';' from locks defines to make gst-indent happy
Andoni Morales Alastruey [Tue, 8 May 2012 16:10:30 +0000 (18:10 +0200)]
d3dvideosink: remove trailing ';' from locks defines to make gst-indent happy

12 years agoshmsink: fix memory corruption when a client disconnects (fixes #675640)
Aleix Conchillo Flaque [Mon, 7 May 2012 20:13:34 +0000 (13:13 -0700)]
shmsink: fix memory corruption when a client disconnects (fixes #675640)

Also, add a check to make sure a client isn't dumped twice

12 years agorfbsrc: call WSAStartup/Cleanup on win32
Tim-Philipp Müller [Mon, 7 May 2012 22:57:08 +0000 (23:57 +0100)]
rfbsrc: call WSAStartup/Cleanup on win32

If we link against libwinsock2, we should probably call
Startup/Cleanup as well.

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

12 years agorfbsrc: fix librfb linking on win32
Marc-André Lureau [Thu, 3 May 2012 21:42:13 +0000 (23:42 +0200)]
rfbsrc: fix librfb linking on win32

libtool: link:  i686-w64-mingw32-gcc -shared .libs/libgstrfbsrc.dll.def
.libs/libgstrfbsrc_la-gstrfbsrc.o  -Wl,--whole-archive ./.libs/librfb.a
-Wl,--no-whole-archive  -L/usr/i686-w64-mingw32/sys-root/mingw/lib
-lgstbase-0.10 -lgstreamer-0.10 -lxml2 -lgobject-2.0 -lgthread-2.0
-lgmodule-2.0 -lglib-2.0 -lintl  -mms-bitfields -mms-bitfields -O2   -o
.libs/libgstrfbsrc.dll -Wl,--enable-auto-image-base -Xlinker
--out-implib -Xlinker .libs/libgstrfbsrc.dll.a
Creating library file: .libs/libgstrfbsrc.dll.a
./.libs/librfb.a(librfb_la-rfbdecoder.o): In function
`rfb_decoder_read':
/home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:164:
undefined reference to `_imp__recv@16'
./.libs/librfb.a(librfb_la-rfbdecoder.o): In function
`rfb_decoder_connect_tcp':
/home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:112:
undefined reference to `_imp__socket@12'
/home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:119:
undefined reference to `_imp__htons@4'
/home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:123:
undefined reference to `_imp__inet_addr@4'
/home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:125:
undefined reference to `_imp__connect@12'

It needs -lws2_32 which is already in $(WINSOCK2_LIBS)

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

12 years agodshowvideosink: add missing casts to LPCSTR
Andoni Morales Alastruey [Wed, 2 May 2012 15:03:46 +0000 (08:03 -0700)]
dshowvideosink: add missing casts to LPCSTR

12 years agodshowvideosink: lower rank of the DirectShow video sink plugin
Andoni Morales Alastruey [Thu, 3 May 2012 21:51:14 +0000 (23:51 +0200)]
dshowvideosink: lower rank of the DirectShow video sink plugin

d3dvideosink should have a higher rank as it works better.

12 years agodshowvideosink: Fix compilation on x64 platforms
Andoni Morales Alastruey [Wed, 2 May 2012 14:56:00 +0000 (07:56 -0700)]
dshowvideosink: Fix compilation on x64 platforms

12 years agoFix printf format compiler warnings on mingw-w64
Raimo Järvi [Sat, 5 May 2012 17:01:46 +0000 (20:01 +0300)]
Fix printf format compiler warnings on mingw-w64

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

12 years agoAdd WINSOCK2_LIBS, remove WIN32_LIBS, fix rtmp build on Windows some more
Tim-Philipp Müller [Sat, 5 May 2012 17:20:33 +0000 (18:20 +0100)]
Add WINSOCK2_LIBS, remove WIN32_LIBS, fix rtmp build on Windows some more

One way of passing -lws2_32 to plugins should be enough..

12 years agortmp: link to winsock library on Windows
Руслан Ижбулатов [Tue, 17 Apr 2012 07:44:18 +0000 (11:44 +0400)]
rtmp: link to winsock library on Windows

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