mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
gst-libs/gst/rtsp/gstrtspdefs.c: Fix win32 build. Oops.
Original commit message from CVS: * gst-libs/gst/rtsp/gstrtspdefs.c: Fix win32 build. Oops.
This commit is contained in:
parent
4f04294e45
commit
77c3f8bb7f
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-11-20 Michael Smith <msmith@songbirdnest.com>
|
||||
|
||||
* gst-libs/gst/rtsp/gstrtspdefs.c:
|
||||
Fix win32 build. Oops.
|
||||
|
||||
2008-11-20 Michael Smith <msmith@songbirdnest.com>
|
||||
|
||||
* gst-libs/gst/rtsp/gstrtspdefs.c:
|
||||
|
|
|
@ -248,9 +248,12 @@ gst_rtsp_strresult (GstRTSPResult result)
|
|||
#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
|
||||
case -GST_RTSP_ESYS:
|
||||
res = g_strdup_printf (rtsp_results[idx], g_strerror (errno));
|
||||
|
|
Loading…
Reference in a new issue