wininet: "iradio-mode" property defaults to TRUE

As per discussed in bug #725383, it doesn't make much sense to default
to FALSE in the "iradio-mode" property. Better, let's sent the header
by default and just ignore headers that are not understood, if so.

https://bugzilla.gnome.org/show_bug.cgi?id=725659
This commit is contained in:
Andres Gomez 2014-03-04 17:25:23 +02:00 committed by Sebastian Dröge
parent fc4ffd078a
commit 2129b4739b

View file

@ -23,7 +23,7 @@
* <refsect2>
* <title>Example launch line</title>
* |[
* gst-launch-0.10 -v wininetsrc location="http://71.83.57.210:9000" ! application/x-icy,metadata-interval=0 ! icydemux ! mad ! audioconvert ! directsoundsink
* gst-launch-1.0 -v wininetsrc location="http://71.83.57.210:9000" ! application/x-icy,metadata-interval=0 ! icydemux ! mad ! audioconvert ! directsoundsink
* ]| receive mp3 audio over http and play it back.
* </refsect2>
*/
@ -38,7 +38,7 @@
#define DEFAULT_LOCATION "http://localhost/"
#define DEFAULT_POLL_MODE FALSE
#define DEFAULT_IRADIO_MODE FALSE
#define DEFAULT_IRADIO_MODE TRUE
enum
{