blob: 0413f3b46e408e8b4c077103013b261f42581c14 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>mythtvsrc</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Plugins Reference Manual">
<link rel="up" href="ch01.html" title="gst-plugins-bad Elements">
<link rel="prev" href="gst-plugins-bad-plugins-mplex.html" title="mplex">
<link rel="next" href="gst-plugins-bad-plugins-mxfdemux.html" title="mxfdemux">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gst-plugins-bad-plugins-mplex.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GStreamer Bad Plugins 1.0 Plugins Reference Manual</th>
<td><a accesskey="n" href="gst-plugins-bad-plugins-mxfdemux.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gst-plugins-bad-plugins-mythtvsrc.synopsis" class="shortcut">Top</a>
 | 
<a href="#gst-plugins-bad-plugins-mythtvsrc.description" class="shortcut">Description</a>
 | 
<a href="#gst-plugins-bad-plugins-mythtvsrc.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#gst-plugins-bad-plugins-mythtvsrc.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="gst-plugins-bad-plugins-mythtvsrc"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gst-plugins-bad-plugins-mythtvsrc.top_of_page"></a>mythtvsrc</span></h2>
<p>mythtvsrc — Control and receive data as a client over the network via raw socket connections using the MythTV protocol</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gst-plugins-bad-plugins-mythtvsrc.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="gst-plugins-bad-plugins-mythtvsrc.html#GstMythtvSrc" title="struct GstMythtvSrc">GstMythtvSrc</a>;
</pre>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-plugins-mythtvsrc.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GstMythtvSrc implements
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstUriHandler.html#GstURIHandler">GstURIHandler</a>.</p>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-plugins-mythtvsrc.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="gst-plugins-bad-plugins-mythtvsrc.html#GstMythtvSrc--location" title='The "location" property'>location</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="gst-plugins-bad-plugins-mythtvsrc.html#GstMythtvSrc--mythtv-channel" title='The "mythtv-channel" property'>mythtv-channel</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="gst-plugins-bad-plugins-mythtvsrc.html#GstMythtvSrc--mythtv-enable-timing-position" title='The "mythtv-enable-timing-position" property'>mythtv-enable-timing-position</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="gst-plugins-bad-plugins-mythtvsrc.html#GstMythtvSrc--mythtv-live" title='The "mythtv-live" property'>mythtv-live</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
"<a class="link" href="gst-plugins-bad-plugins-mythtvsrc.html#GstMythtvSrc--mythtv-live-chainid" title='The "mythtv-live-chainid" property'>mythtv-live-chainid</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="gst-plugins-bad-plugins-mythtvsrc.html#GstMythtvSrc--mythtv-live-id" title='The "mythtv-live-id" property'>mythtv-live-id</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
"<a class="link" href="gst-plugins-bad-plugins-mythtvsrc.html#GstMythtvSrc--mythtv-version" title='The "mythtv-version" property'>mythtv-version</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-plugins-mythtvsrc.description"></a><h2>Description</h2>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="refsect2">
<a name="idp13585072"></a><h3>Element Information</h3>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">plugin</span></p></td>
<td>
mythtv
</td>
</tr>
<tr>
<td><p><span class="term">author</span></p></td>
<td>Rosfran Borges &lt;rosfran.borges@indt.org.br&gt;, Renato Filho &lt;renato.filho@indt.org.br&gt;</td>
</tr>
<tr>
<td><p><span class="term">class</span></p></td>
<td>Source/Network</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="idp13592480"></a><h3>Element Pads</h3>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">name</span></p></td>
<td>src</td>
</tr>
<tr>
<td><p><span class="term">direction</span></p></td>
<td>source</td>
</tr>
<tr>
<td><p><span class="term">presence</span></p></td>
<td>always</td>
</tr>
<tr>
<td><p><span class="term">details</span></p></td>
<td>ANY</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<p>
</p>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-plugins-mythtvsrc.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GstMythtvSrc"></a><h3>struct GstMythtvSrc</h3>
<pre class="programlisting">struct GstMythtvSrc {
GstPushSrc element;
/*
* MythFileTransfer
*/
GMythFile *file;
GMythLiveTV *spawn_livetv;
GMythBackendInfo *backend_info;
GstMythtvState state;
gchar *uri_name;
gchar *user_agent;
gchar *live_chain_id;
gint mythtv_version;
gint64 content_size;
gint64 prev_content_size;
gint64 content_size_last;
guint64 bytes_read;
gint64 read_offset;
gboolean eos;
gboolean do_start;
gboolean unique_setup;
gboolean live_tv;
gboolean enable_timing_position;
gint live_tv_id;
gchar *channel_name;
guint mode;
/*
* MythTV capabilities
*/
GstCaps *mythtv_caps;
gboolean update_prog_chain;
/*
* stablish a maximum iteration value to the IS_RECORDING message
*/
guint wait_to_transfer;
};
</pre>
<p>
</p>
</div>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-plugins-mythtvsrc.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GstMythtvSrc--location"></a><h3>The <code class="literal">"location"</code> property</h3>
<pre class="programlisting"> "location" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p></p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
<a name="GstMythtvSrc--mythtv-channel"></a><h3>The <code class="literal">"mythtv-channel"</code> property</h3>
<pre class="programlisting"> "mythtv-channel" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>Change MythTV channel number.</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
<a name="GstMythtvSrc--mythtv-enable-timing-position"></a><h3>The <code class="literal">"mythtv-enable-timing-position"</code> property</h3>
<pre class="programlisting"> "mythtv-enable-timing-position" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>Enable MythTV Live TV content size continuous updating.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GstMythtvSrc--mythtv-live"></a><h3>The <code class="literal">"mythtv-live"</code> property</h3>
<pre class="programlisting"> "mythtv-live" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
<p>Enable MythTV Live TV content streaming.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GstMythtvSrc--mythtv-live-chainid"></a><h3>The <code class="literal">"mythtv-live-chainid"</code> property</h3>
<pre class="programlisting"> "mythtv-live-chainid" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>Sets the MythTV chain ID (from TV Chain).</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
<a name="GstMythtvSrc--mythtv-live-id"></a><h3>The <code class="literal">"mythtv-live-id"</code> property</h3>
<pre class="programlisting"> "mythtv-live-id" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
<p>Change MythTV version.</p>
<p>Allowed values: [0,200]</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GstMythtvSrc--mythtv-version"></a><h3>The <code class="literal">"mythtv-version"</code> property</h3>
<pre class="programlisting"> "mythtv-version" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
<p>Change MythTV version.</p>
<p>Allowed values: [26,30]</p>
<p>Default value: 26</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>