diff options
author | Bastien Nocera <hadess@hadess.net> | 2007-08-20 09:13:47 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-08-20 09:13:47 +0000 |
commit | cd2e9804d6a54744c445821d642f0254454e19bf (patch) | |
tree | 9cb829d93d588a49215ea563b6bdb0a43ec6c28f | |
parent | efea15c44cf2e56a20964434672e50aeb4c49b02 (diff) | |
download | gst-plugins-bad-cd2e9804d6a54744c445821d642f0254454e19bf.tar.gz gst-plugins-bad-cd2e9804d6a54744c445821d642f0254454e19bf.tar.bz2 gst-plugins-bad-cd2e9804d6a54744c445821d642f0254454e19bf.zip |
ext/mythtv/gstmythtvsrc.c: Add examples for live mythtv:// URIs to docs (#468039).
Original commit message from CVS:
Patch by: Bastien Nocera <hadess at hadess net>
* ext/mythtv/gstmythtvsrc.c:
Add examples for live mythtv:// URIs to docs (#468039).
Also convert some tabs into spaces.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | ext/mythtv/gstmythtvsrc.c | 31 |
2 files changed, 25 insertions, 14 deletions
@@ -1,3 +1,11 @@ +2007-08-20 Tim-Philipp Müller <tim at centricular dot net> + + Patch by: Bastien Nocera <hadess at hadess net> + + * ext/mythtv/gstmythtvsrc.c: + Add examples for live mythtv:// URIs to docs (#468039). + Also convert some tabs into spaces. + 2007-08-19 Sebastian Dröge <slomo@circular-chaos.org> * gst/filter/gstbpwsinc.c: diff --git a/ext/mythtv/gstmythtvsrc.c b/ext/mythtv/gstmythtvsrc.c index 4e89e4d3..326e786e 100644 --- a/ext/mythtv/gstmythtvsrc.c +++ b/ext/mythtv/gstmythtvsrc.c @@ -20,7 +20,7 @@ * When using the LiveTV content, put the location URI in the following * format: * - * myth://mythtv:mythtv@xxx.xxx.xxx.xxx:6543/?mythconverg + * myth://mythtv:mythtv@xxx.xxx.xxx.xxx:6543/?mythconverg * * Where the first field is the protocol (myth), the second and third are user * name (mythtv) and password (mythtv), then backend host name and port number, @@ -44,25 +44,25 @@ GST_DEBUG_CATEGORY_STATIC (mythtvsrc_debug); #define GST_CAT_DEFAULT mythtvsrc_debug -#define GST_GMYTHTV_ID_NUM 1 +#define GST_GMYTHTV_ID_NUM 1 -#define GST_GMYTHTV_CHANNEL_DEFAULT_NUM (-1) +#define GST_GMYTHTV_CHANNEL_DEFAULT_NUM (-1) -#define GMYTHTV_VERSION_DEFAULT 30 +#define GMYTHTV_VERSION_DEFAULT 30 -#define GMYTHTV_TRANSFER_MAX_WAITS 100 +#define GMYTHTV_TRANSFER_MAX_WAITS 100 -#define GMYTHTV_TRANSFER_MAX_RESENDS 2 +#define GMYTHTV_TRANSFER_MAX_RESENDS 2 -#define GMYTHTV_TRANSFER_MAX_BUFFER (128*1024) +#define GMYTHTV_TRANSFER_MAX_BUFFER (128*1024) -#define MAX_READ_SIZE (4*1024) +#define MAX_READ_SIZE (4*1024) -#define GST_FLOW_ERROR_NO_DATA (-101) +#define GST_FLOW_ERROR_NO_DATA (-101) -#define REQUEST_MAX_SIZE (64*1024) +#define REQUEST_MAX_SIZE (64*1024) -#define INTERNAL_BUFFER_SIZE (90*1024) +#define INTERNAL_BUFFER_SIZE (90*1024) static const GstElementDetails gst_mythtv_src_details = GST_ELEMENT_DETAILS ("MythTV client source", @@ -139,9 +139,10 @@ _urihandler_init (GType type) } GST_BOILERPLATE_FULL (GstMythtvSrc, gst_mythtv_src, GstPushSrc, - GST_TYPE_PUSH_SRC, _urihandler_init) + GST_TYPE_PUSH_SRC, _urihandler_init); - static void gst_mythtv_src_base_init (gpointer g_class) +static void +gst_mythtv_src_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); @@ -174,7 +175,9 @@ gst_mythtv_src_class_init (GstMythtvSrcClass * klass) g_param_spec_string ("location", "Location", "The location. In the form:" "\n\t\t\tmyth://a.com/file.nuv" - "\n\t\t\tmyth://a.com:23223/file.nuv " + "\n\t\t\tmyth://a.com:23223/file.nuv" + "\n\t\t\tmyth://a.com/?channel=123" + "\n\t\t\tmyth://a.com/?channel=Channel%203" "\n\t\t\ta.com/file.nuv - default scheme 'myth'", "", G_PARAM_READWRITE)); |