Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release > by-pkgid > 2eca861f24be6048290ed27335ec22aa > files > 650

flumotion-doc-0.6.1-1mdv2010.0.x86_64.rpm

<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>flumotion.component.consumers.preview.preview</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Package&nbsp;flumotion ::
        <a href="flumotion.component-module.html">Package&nbsp;component</a> ::
        <a href="flumotion.component.consumers-module.html">Package&nbsp;consumers</a> ::
        <a href="flumotion.component.consumers.preview-module.html">Package&nbsp;preview</a> ::
        Module&nbsp;preview
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="flumotion.component.consumers.preview.preview-module.html">Module flumotion.component.consumers.preview.preview</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt>  <tt class="py-line"><tt class="py-comment"># -*- Mode: Python -*-</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt>  <tt class="py-line"><tt class="py-comment"># vi:si:et:sw=4:sts=4:ts=4</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt>  <tt class="py-line"><tt class="py-comment"># Flumotion - a streaming media server</tt> </tt>
<a name="L5"></a><tt class="py-lineno"> 5</tt>  <tt class="py-line"><tt class="py-comment"># Copyright (C) 2004,2005,2006,2007 Fluendo, S.L. (www.fluendo.com).</tt> </tt>
<a name="L6"></a><tt class="py-lineno"> 6</tt>  <tt class="py-line"><tt class="py-comment"># All rights reserved.</tt> </tt>
<a name="L7"></a><tt class="py-lineno"> 7</tt>  <tt class="py-line"> </tt>
<a name="L8"></a><tt class="py-lineno"> 8</tt>  <tt class="py-line"><tt class="py-comment"># This file may be distributed and/or modified under the terms of</tt> </tt>
<a name="L9"></a><tt class="py-lineno"> 9</tt>  <tt class="py-line"><tt class="py-comment"># the GNU General Public License version 2 as published by</tt> </tt>
<a name="L10"></a><tt class="py-lineno">10</tt>  <tt class="py-line"><tt class="py-comment"># the Free Software Foundation.</tt> </tt>
<a name="L11"></a><tt class="py-lineno">11</tt>  <tt class="py-line"><tt class="py-comment"># This file is distributed without any warranty; without even the implied</tt> </tt>
<a name="L12"></a><tt class="py-lineno">12</tt>  <tt class="py-line"><tt class="py-comment"># warranty of merchantability or fitness for a particular purpose.</tt> </tt>
<a name="L13"></a><tt class="py-lineno">13</tt>  <tt class="py-line"><tt class="py-comment"># See "LICENSE.GPL" in the source distribution for more information.</tt> </tt>
<a name="L14"></a><tt class="py-lineno">14</tt>  <tt class="py-line"> </tt>
<a name="L15"></a><tt class="py-lineno">15</tt>  <tt class="py-line"><tt class="py-comment"># Licensees having purchased or holding a valid Flumotion Advanced</tt> </tt>
<a name="L16"></a><tt class="py-lineno">16</tt>  <tt class="py-line"><tt class="py-comment"># Streaming Server license may use this file in accordance with the</tt> </tt>
<a name="L17"></a><tt class="py-lineno">17</tt>  <tt class="py-line"><tt class="py-comment"># Flumotion Advanced Streaming Server Commercial License Agreement.</tt> </tt>
<a name="L18"></a><tt class="py-lineno">18</tt>  <tt class="py-line"><tt class="py-comment"># See "LICENSE.Flumotion" in the source distribution for more information.</tt> </tt>
<a name="L19"></a><tt class="py-lineno">19</tt>  <tt class="py-line"> </tt>
<a name="L20"></a><tt class="py-lineno">20</tt>  <tt class="py-line"><tt class="py-comment"># Headers in this file shall remain intact.</tt> </tt>
<a name="L21"></a><tt class="py-lineno">21</tt>  <tt class="py-line"> </tt>
<a name="L22"></a><tt class="py-lineno">22</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">flumotion</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Module flumotion.admin.command.component=flumotion.admin.command.component-module.html,Package flumotion.component=flumotion.component-module.html,Module flumotion.component.bouncers.component=flumotion.component.bouncers.component-module.html,Module flumotion.component.component=flumotion.component.component-module.html,Module flumotion.manager.component=flumotion.manager.component-module.html"><a title="flumotion.admin.command.component
flumotion.component
flumotion.component.bouncers.component
flumotion.component.component
flumotion.manager.component" class="py-name" href="#" onclick="return doclink('link-0', 'component', 'link-0');">component</a></tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Module flumotion.component.feedcomponent=flumotion.component.feedcomponent-module.html"><a title="flumotion.component.feedcomponent" class="py-name" href="#" onclick="return doclink('link-1', 'feedcomponent', 'link-1');">feedcomponent</a></tt> </tt>
<a name="L23"></a><tt class="py-lineno">23</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">flumotion</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module flumotion.admin.command.common=flumotion.admin.command.common-module.html,Package flumotion.common=flumotion.common-module.html,Module flumotion.common.common=flumotion.common.common-module.html"><a title="flumotion.admin.command.common
flumotion.common
flumotion.common.common" class="py-name" href="#" onclick="return doclink('link-2', 'common', 'link-2');">common</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Module flumotion.common.log=flumotion.common.log-module.html,Package flumotion.extern.log=flumotion.extern.log-module.html,Module flumotion.extern.log.log=flumotion.extern.log.log-module.html,Method flumotion.extern.log.log.Loggable.log()=flumotion.extern.log.log.Loggable-class.html#log,Function flumotion.extern.log.log.log()=flumotion.extern.log.log-module.html#log,Function flumotion.twisted.integration.log()=flumotion.twisted.integration-module.html#log"><a title="flumotion.common.log
flumotion.extern.log
flumotion.extern.log.log
flumotion.extern.log.log.Loggable.log
flumotion.extern.log.log.log
flumotion.twisted.integration.log" class="py-name" href="#" onclick="return doclink('link-3', 'log', 'link-3');">log</a></tt><tt class="py-op">,</tt> <tt id="link-4" class="py-name" targets="Module flumotion.common.pygobject=flumotion.common.pygobject-module.html"><a title="flumotion.common.pygobject" class="py-name" href="#" onclick="return doclink('link-4', 'pygobject', 'link-4');">pygobject</a></tt> </tt>
<a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line"> </tt>
<a name="L25"></a><tt class="py-lineno">25</tt>  <tt class="py-line"><tt class="py-name">__all__</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">'Preview'</tt><tt class="py-op">]</tt> </tt>
<a name="L26"></a><tt class="py-lineno">26</tt>  <tt class="py-line"><tt class="py-name">__version__</tt> <tt class="py-op">=</tt> <tt class="py-string">"$Rev: 7162 $"</tt> </tt>
<a name="L27"></a><tt class="py-lineno">27</tt>  <tt class="py-line"> </tt>
<a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line"> </tt>
<a name="Preview"></a><div id="Preview-def"><a name="L29"></a><tt class="py-lineno">29</tt> <a class="py-toggle" href="#" id="Preview-toggle" onclick="return toggle('Preview');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="flumotion.component.consumers.preview.preview.Preview-class.html">Preview</a><tt class="py-op">(</tt><tt class="py-base-class">feedcomponent</tt><tt class="py-op">.</tt><tt class="py-base-class">ParseLaunchComponent</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Preview-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Preview-expanded"><a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line"> </tt>
<a name="Preview.get_pipeline_string"></a><div id="Preview.get_pipeline_string-def"><a name="L31"></a><tt class="py-lineno">31</tt> <a class="py-toggle" href="#" id="Preview.get_pipeline_string-toggle" onclick="return toggle('Preview.get_pipeline_string');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.component.consumers.preview.preview.Preview-class.html#get_pipeline_string">get_pipeline_string</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">properties</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Preview.get_pipeline_string-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Preview.get_pipeline_string-expanded"><a name="L32"></a><tt class="py-lineno">32</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-string">'decodebin ! ffmpegcolorspace ! autovideosink qos=false'</tt> </tt>
</div></div><a name="L33"></a><tt class="py-lineno">33</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Sep 13 13:14:29 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>