1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>GstPlayerGMainContextSignalDispatcher: GStreamer Bad Plugins 1.0 Library Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Library Reference Manual"> 8<link rel="up" href="player.html" title="Player Library"> 9<link rel="prev" href="GstPlayerMediaInfo.html" title="GstPlayerMediaInfo"> 10<link rel="next" href="GstPlayerVideoOverlayVideoRenderer.html" title="GstPlayerVideoOverlayVideoRenderer"> 11<meta name="generator" content="GTK-Doc V1.28 (XML mode)"> 12<link rel="stylesheet" href="style.css" type="text/css"> 13</head> 14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> 16<td width="100%" align="left" class="shortcuts"> 17<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 18 <a href="#gst-plugins-bad-libs-GstPlayerGMainContextSignalDispatcher.description" class="shortcut">Description</a></span> 19</td> 20<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 21<td><a accesskey="u" href="player.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 22<td><a accesskey="p" href="GstPlayerMediaInfo.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 23<td><a accesskey="n" href="GstPlayerVideoOverlayVideoRenderer.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 24</tr></table> 25<div class="refentry"> 26<a name="gst-plugins-bad-libs-GstPlayerGMainContextSignalDispatcher"></a><div class="titlepage"></div> 27<div class="refnamediv"><table width="100%"><tr> 28<td valign="top"> 29<h2><span class="refentrytitle"><a name="gst-plugins-bad-libs-GstPlayerGMainContextSignalDispatcher.top_of_page"></a>GstPlayerGMainContextSignalDispatcher</span></h2> 30<p>GstPlayerGMainContextSignalDispatcher — Player GLib MainContext dispatcher</p> 31</td> 32<td class="gallery_image" valign="top" align="right"></td> 33</tr></table></div> 34<div class="refsect1"> 35<a name="gst-plugins-bad-libs-GstPlayerGMainContextSignalDispatcher.functions"></a><h2>Functions</h2> 36<div class="informaltable"><table class="informaltable" width="100%" border="0"> 37<colgroup> 38<col width="150px" class="functions_return"> 39<col class="functions_name"> 40</colgroup> 41<tbody><tr> 42<td class="function_type"> 43<a class="link" href="GstPlayer.html#GstPlayerSignalDispatcher"><span class="returnvalue">GstPlayerSignalDispatcher</span></a> * 44</td> 45<td class="function_name"> 46<a class="link" href="gst-plugins-bad-libs-GstPlayerGMainContextSignalDispatcher.html#gst-player-g-main-context-signal-dispatcher-new" title="gst_player_g_main_context_signal_dispatcher_new ()">gst_player_g_main_context_signal_dispatcher_new</a> <span class="c_punctuation">()</span> 47</td> 48</tr></tbody> 49</table></div> 50</div> 51<div class="refsect1"> 52<a name="gst-plugins-bad-libs-GstPlayerGMainContextSignalDispatcher.includes"></a><h2>Includes</h2> 53<pre class="synopsis">#include <gst/codecparsers/gstmpeg4parser.h> 54</pre> 55</div> 56<div class="refsect1"> 57<a name="gst-plugins-bad-libs-GstPlayerGMainContextSignalDispatcher.description"></a><h2>Description</h2> 58</div> 59<div class="refsect1"> 60<a name="gst-plugins-bad-libs-GstPlayerGMainContextSignalDispatcher.functions_details"></a><h2>Functions</h2> 61<div class="refsect2"> 62<a name="gst-player-g-main-context-signal-dispatcher-new"></a><h3>gst_player_g_main_context_signal_dispatcher_new ()</h3> 63<pre class="programlisting"><a class="link" href="GstPlayer.html#GstPlayerSignalDispatcher"><span class="returnvalue">GstPlayerSignalDispatcher</span></a> * 64gst_player_g_main_context_signal_dispatcher_new 65 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> *application_context</code></em>);</pre> 66<p>Creates a new GstPlayerSignalDispatcher that uses <em class="parameter"><code>application_context</code></em> 67, 68or the thread default one if <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is used. See <code class="function">gst_player_new_full()</code>.</p> 69<div class="refsect3"> 70<a name="gst-player-g-main-context-signal-dispatcher-new.parameters"></a><h4>Parameters</h4> 71<div class="informaltable"><table class="informaltable" width="100%" border="0"> 72<colgroup> 73<col width="150px" class="parameters_name"> 74<col class="parameters_description"> 75<col width="200px" class="parameters_annotations"> 76</colgroup> 77<tbody><tr> 78<td class="parameter_name"><p>application_context</p></td> 79<td class="parameter_description"><p>GMainContext to use or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> 80<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> 81</tr></tbody> 82</table></div> 83</div> 84<div class="refsect3"> 85<a name="gst-player-g-main-context-signal-dispatcher-new.returns"></a><h4>Returns</h4> 86<p>the new GstPlayerSignalDispatcher. </p> 87<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> 88</div> 89</div> 90</div> 91<div class="refsect1"> 92<a name="gst-plugins-bad-libs-GstPlayerGMainContextSignalDispatcher.other_details"></a><h2>Types and Values</h2> 93</div> 94</div> 95<div class="footer"> 96<hr>Generated by GTK-Doc V1.28</div> 97</body> 98</html>