mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 15:02:40 +00:00
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.
This commit is contained in:
parent
efea15c44c
commit
cd2e9804d6
2 changed files with 25 additions and 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>
|
2007-08-19 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* gst/filter/gstbpwsinc.c:
|
* gst/filter/gstbpwsinc.c:
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* When using the LiveTV content, put the location URI in the following
|
* When using the LiveTV content, put the location URI in the following
|
||||||
* format:
|
* 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
|
* 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,
|
* name (mythtv) and password (mythtv), then backend host name and port number,
|
||||||
|
@ -44,25 +44,25 @@
|
||||||
GST_DEBUG_CATEGORY_STATIC (mythtvsrc_debug);
|
GST_DEBUG_CATEGORY_STATIC (mythtvsrc_debug);
|
||||||
#define GST_CAT_DEFAULT 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 =
|
static const GstElementDetails gst_mythtv_src_details =
|
||||||
GST_ELEMENT_DETAILS ("MythTV client source",
|
GST_ELEMENT_DETAILS ("MythTV client source",
|
||||||
|
@ -139,9 +139,10 @@ _urihandler_init (GType type)
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_BOILERPLATE_FULL (GstMythtvSrc, gst_mythtv_src, GstPushSrc,
|
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);
|
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",
|
g_param_spec_string ("location", "Location",
|
||||||
"The location. In the form:"
|
"The location. In the form:"
|
||||||
"\n\t\t\tmyth://a.com/file.nuv"
|
"\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'",
|
"\n\t\t\ta.com/file.nuv - default scheme 'myth'",
|
||||||
"", G_PARAM_READWRITE));
|
"", G_PARAM_READWRITE));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue