Patches - Add winks to MinGW target

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Patches - Add winks to MinGW target

Michael Cronenworth
Hi all,

Fedora is improving cross compiling support and the very latest MinGW
packages (w64-based) are going into Fedora 17. I was interested in using
gstreamer for grabbing frames from a webcam and noticed that, by
default, the ksvideosrc (winks) plugin is not compiled. The winks
Makefile has a specific comment that the plugin is "not buildable",
however, I have built it under MinGW with a few minor changes.

The attached patches are broken into the following:
1-winks Makefile: Pretty self explanatory.
2-sys Makefile: Self explanatory, but you'll probably want a
configure-tunable switch for winks.
3-ksvideohelpers.c: MEDIASUBTYPE_I420 is already defined by MinGW-w64.
This should be tunable with a #if !define block.
4-kshelpers.c: STATIC_KSPROPSETID_Wave_Queued is not defined if
NTDDI_VERSION is greater than NTDDI_WS03 according to the MinGW-w64
header ksmedia.h. I just defined it in the source as a workaround.

The resulting binary (libgstwinks.dll) reports the ksvideosrc video
source when I run gst-inspect in Windows 7. It shouldn't be too
difficult to get this plugin officially enabled with autotools should it?

Thanks,
Michael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

gst-winks-1.patch (1K) Download Attachment
gst-winks-2.patch (934 bytes) Download Attachment
gst-winks-3.patch (441 bytes) Download Attachment
gst-winks-4.patch (650 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Patches - Add winks to MinGW target

Michael Cronenworth
Michael Cronenworth wrote:
> The winks Makefile has a specific comment that the plugin is "not
> buildable", however, I have built it under MinGW with a few minor changes.

Is this mailing list the wrong one to send patches to? Even though they
are not patches to immediately apply I was looking to start a discussion
about them.

It seems this list is more of a support list instead of development.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Patches - Add winks to MinGW target

Tim-Philipp Müller-2
On Thu, 2012-03-15 at 08:07 -0500, Michael Cronenworth wrote:

Hi Michael,

> > The winks Makefile has a specific comment that the plugin is "not
> > buildable", however, I have built it under MinGW with a few minor changes.
>
> Is this mailing list the wrong one to send patches to? Even though they
> are not patches to immediately apply I was looking to start a discussion
> about them.
>
> It seems this list is more of a support list instead of development.

Yes, indeed development *of* GStreamer is rarely discussed on this list,
we mostly use IRC and bugzilla for that.

Please file a bug in bugzilla (http://gstreamer.freedesktop.org/bugs)
and attach your patches there.

 Cheers
  -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Patches - Add winks to MinGW target

Michael Cronenworth
Tim-Philipp Müller wrote:
> Yes, indeed development*of*  GStreamer is rarely discussed on this list,
> we mostly use IRC and bugzilla for that.
>
> Please file a bug in bugzilla (http://gstreamer.freedesktop.org/bugs)
> and attach your patches there.

Great. Thanks.

Bug opened: https://bugzilla.gnome.org/show_bug.cgi?id=672136
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel