[gstreamer-bugs] [Bug 439914] [directdraw] Warnings when using MinGW

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu May 24 01:38:18 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=439914

  GStreamer | gst-plugins-bad | Ver: HEAD CVS

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #88713|none                        |committed
               Flag|                            |
         AssignedTo|t.i.m at zen.co.uk             |gstreamer-
                   |                            |bugs at lists.sourceforge.net
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.5




------- Comment #6 from Tim-Philipp Müller  2007-05-24 08:38 UTC -------
Thanks, committed:

  2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>

        Patch by: Vincent Torri  <vtorri at univ-evry fr>

        * sys/directdraw/gstdirectdrawsink.c:
        (gst_directdraw_sink_buffer_alloc),
        (gst_directdraw_sink_show_frame),
        (gst_directdraw_sink_check_primary_surface),
        (gst_directdraw_sink_check_offscreen_surface),
        (EnumModesCallback2), (gst_directdraw_sink_get_ddrawcaps),
        (gst_directdraw_sink_surface_create):
        * sys/directdraw/gstdirectdrawsink.h:
          Fix more warnings when compiling with MingW (#439914).



Just to make sure: there are one or two places where you changed

     DDSURFACEDESC2 surface_desc;
-    surface_desc.dwSize = sizeof (DDSURFACEDESC);
+    surface_desc.dwSize = sizeof (surface_desc);

ie. changed it from sizeof (DDSURFACEDESC) to sizeof (DDSURFACEDESC2). I
presume this was on purpose and the sink still works just fine as you said on
IRC, right?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=439914.




More information about the Gstreamer-bugs mailing list