msmith gst-plugins-base: gst-plugins-base/ gst-plugins-base/gst-libs/gst/rtsp/

[email protected]
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gst-plugins-base
Changes by:     msmith
Date:           Thu Nov 20 2008  22:06:19 UTC

Log message:
    * gst-libs/gst/rtsp/gstrtspdefs.c:
      Fix win32 build. Oops.

Modified files:
    .               : ChangeLog
    gst-libs/gst/rtsp: gstrtspdefs.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.4201&r2=1.4202
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst-libs/gst/rtsp/gstrtspdefs.c.diff?r1=1.4&r2=1.5

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ChangeLog,v
retrieving revision 1.4201
retrieving revision 1.4202
diff -u -d -r1.4201 -r1.4202
--- ChangeLog	20 Nov 2008 21:40:47 -0000	1.4201
+++ ChangeLog	20 Nov 2008 22:06:03 -0000	1.4202
@@ -1,6 +1,11 @@
 2008-11-20  Michael Smith <[email protected]>
 
 	* gst-libs/gst/rtsp/gstrtspdefs.c:
+	  Fix win32 build. Oops.
+
+2008-11-20  Michael Smith <[email protected]>
+	* gst-libs/gst/rtsp/gstrtspdefs.c:
 	  Use WSAGetLastError() rather than errno/h_errno on win32.
Index: gstrtspdefs.c
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/rtsp/gstrtspdefs.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- gstrtspdefs.c	20 Nov 2008 21:40:49 -0000	1.4
+++ gstrtspdefs.c	20 Nov 2008 22:06:05 -0000	1.5
@@ -248,9 +248,12 @@
 #ifdef G_OS_WIN32
     case -GST_RTSP_ESYS:
     case -GST_RTSP_ENET:
-      gchar * msg = g_win32_error_message (WSAGetLastError ());
+    {
+      gchar *msg = g_win32_error_message (WSAGetLastError ());
       res = g_strdup_printf (rtsp_results[idx], msg);
       g_free (msg);
+      break;
+    }
 #else
       res = g_strdup_printf (rtsp_results[idx], g_strerror (errno));

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.