slomo gst-plugins-good: gst-plugins-good/ gst-plugins-good/ext/soup/

[email protected]
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gst-plugins-good
Changes by:     slomo
Date:           Fri Nov 21 2008  13:43:43 UTC

Log message:
Patch by: Zeeshan Ali <zeeshanak at gnome dot org>
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_build_message):
Add transferMode.dnla.org header to HTTP requests as this is
required by the DLNA specs and doesn't hurt in other situations.
Fixes bug #561802.

Modified files:
    .               : ChangeLog
    ext/soup        : gstsouphttpsrc.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ChangeLog.diff?r1=1.3826&r2=1.3827
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ext/soup/gstsouphttpsrc.c.diff?r1=1.26&r2=1.27

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/ChangeLog,v
retrieving revision 1.3826
retrieving revision 1.3827
diff -u -d -r1.3826 -r1.3827
--- ChangeLog	20 Nov 2008 23:59:05 -0000	1.3826
+++ ChangeLog	21 Nov 2008 13:43:28 -0000	1.3827
@@ -1,3 +1,12 @@
+2008-11-21  Sebastian Dröge  <[email protected]>
+
+	Patch by: Zeeshan Ali <zeeshanak at gnome dot org>
+	* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_build_message):
+	Add transferMode.dnla.org header to HTTP requests as this is
+	required by the DLNA specs and doesn't hurt in other situations.
+	Fixes bug #561802.
 2008-11-20  Michael Smith <[email protected]>
 
 	* sys/osxvideo/osxvideosink.h:
Index: gstsouphttpsrc.c
RCS file: /cvs/gstreamer/gst-plugins-good/ext/soup/gstsouphttpsrc.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- gstsouphttpsrc.c	27 Oct 2008 09:00:29 -0000	1.26
+++ gstsouphttpsrc.c	21 Nov 2008 13:43:29 -0000	1.27
@@ -940,6 +940,8 @@
           *cookie);
     }
   }
+  soup_message_headers_append (src->msg->request_headers,
+      "transferMode.dlna.org", "Streaming");
   src->retry = FALSE;
   g_signal_connect (src->msg, "got_headers",

-------------------------------------------------------------------------
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=/

_______________________________________________
gstreamer-cvs-verbose mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose
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.