/usr/share/gtk-doc/html/clutter-gst/ClutterGstPlayer.html is in libclutter-gst-2.0-doc 2.0.8-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Clutter Gst 2.0.8
Reference Manual: ClutterGstPlayer</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Clutter Gst 2.0.8 Reference Manual">
<link rel="up" href="ch02.html" title="Clutter Actors And Objects">
<link rel="prev" href="ch02.html" title="Clutter Actors And Objects">
<link rel="next" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture">
<meta name="generator" content="GTK-Doc V1.19.1 (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="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
|
<a href="#ClutterGstPlayer.description" class="shortcut">Description</a>
|
<a href="#ClutterGstPlayer.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#ClutterGstPlayer.prerequisites" class="shortcut">Prerequisites</a>
|
<a href="#ClutterGstPlayer.implementations" class="shortcut">Known Implementations</a>
|
<a href="#ClutterGstPlayer.properties" class="shortcut">Properties</a>
|
<a href="#ClutterGstPlayer.signals" class="shortcut">Signals</a>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch02.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ClutterGstVideoTexture.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="ClutterGstPlayer"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="ClutterGstPlayer.top_of_page"></a>ClutterGstPlayer</span></h2>
<p>ClutterGstPlayer — An interface for controlling playback of media data</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="ClutterGstPlayer.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer-struct" title="ClutterGstPlayer">ClutterGstPlayer</a>;
struct <a class="link" href="ClutterGstPlayer.html#ClutterGstPlayerIface" title="struct ClutterGstPlayerIface">ClutterGstPlayerIface</a>;
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-class-init" title="clutter_gst_player_class_init ()">clutter_gst_player_class_init</a> (<em class="parameter"><code><span class="type">GObjectClass</span> *object_class</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-init" title="clutter_gst_player_init ()">clutter_gst_player_init</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-deinit" title="clutter_gst_player_deinit ()">clutter_gst_player_deinit</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
<span class="returnvalue">GstElement</span> * <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-pipeline" title="clutter_gst_player_get_pipeline ()">clutter_gst_player_get_pipeline</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-idle" title="clutter_gst_player_get_idle ()">clutter_gst_player_get_idle</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-user-agent" title="clutter_gst_player_get_user_agent ()">clutter_gst_player_get_user_agent</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-set-user-agent" title="clutter_gst_player_set_user_agent ()">clutter_gst_player_set_user_agent</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *user_agent</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-set-seek-flags" title="clutter_gst_player_set_seek_flags ()">clutter_gst_player_set_seek_flags</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
<em class="parameter"><code><span class="type">ClutterGstSeekFlags</span> flags</code></em>);
<span class="returnvalue">ClutterGstSeekFlags</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-seek-flags" title="clutter_gst_player_get_seek_flags ()">clutter_gst_player_get_seek_flags</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
<span class="returnvalue">ClutterGstBufferingMode</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-buffering-mode" title="clutter_gst_player_get_buffering_mode ()">clutter_gst_player_get_buffering_mode</a>
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-set-buffering-mode" title="clutter_gst_player_set_buffering_mode ()">clutter_gst_player_set_buffering_mode</a>
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
<em class="parameter"><code><span class="type">ClutterGstBufferingMode</span> mode</code></em>);
<span class="returnvalue">GList</span> * <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-audio-streams" title="clutter_gst_player_get_audio_streams ()">clutter_gst_player_get_audio_streams</a>
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
<span class="returnvalue">gint</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-audio-stream" title="clutter_gst_player_get_audio_stream ()">clutter_gst_player_get_audio_stream</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-set-audio-stream" title="clutter_gst_player_set_audio_stream ()">clutter_gst_player_set_audio_stream</a> (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
<em class="parameter"><code><span class="type">gint</span> index_</code></em>);
<span class="returnvalue">GList</span> * <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-subtitle-tracks" title="clutter_gst_player_get_subtitle_tracks ()">clutter_gst_player_get_subtitle_tracks</a>
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
<span class="returnvalue">gint</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-subtitle-track" title="clutter_gst_player_get_subtitle_track ()">clutter_gst_player_get_subtitle_track</a>
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-set-subtitle-track" title="clutter_gst_player_set_subtitle_track ()">clutter_gst_player_set_subtitle_track</a>
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
<em class="parameter"><code><span class="type">gint</span> index_</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="ClutterGstPlayer.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GInterface
+----ClutterGstPlayer
</pre>
</div>
<div class="refsect1">
<a name="ClutterGstPlayer.prerequisites"></a><h2>Prerequisites</h2>
<p>
ClutterGstPlayer requires
ClutterMedia and GObject.</p>
</div>
<div class="refsect1">
<a name="ClutterGstPlayer.implementations"></a><h2>Known Implementations</h2>
<p>
ClutterGstPlayer is implemented by
<a class="link" href="ClutterGstVideoTexture.html" title="ClutterGstVideoTexture">ClutterGstVideoTexture</a>.</p>
</div>
<div class="refsect1">
<a name="ClutterGstPlayer.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--audio-stream" title='The "audio-stream" property'>audio-stream</a>" <span class="type">gint</span> : Read / Write
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--audio-streams" title='The "audio-streams" property'>audio-streams</a>" <span class="type">gpointer</span> : Read
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--idle" title='The "idle" property'>idle</a>" <span class="type">gboolean</span> : Read
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--in-seek" title='The "in-seek" property'>in-seek</a>" <span class="type">gboolean</span> : Read
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--seek-flags" title='The "seek-flags" property'>seek-flags</a>" <span class="type">ClutterGstSeekFlags</span> : Read / Write
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--subtitle-track" title='The "subtitle-track" property'>subtitle-track</a>" <span class="type">gint</span> : Read / Write
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--subtitle-tracks" title='The "subtitle-tracks" property'>subtitle-tracks</a>" <span class="type">gpointer</span> : Read
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer--user-agent" title='The "user-agent" property'>user-agent</a>" <span class="type">gchar</span>* : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="ClutterGstPlayer.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer-download-buffering" title='The "download-buffering" signal'>download-buffering</a>" : <code class="literal">Run Last</code>
</pre>
</div>
<div class="refsect1">
<a name="ClutterGstPlayer.description"></a><h2>Description</h2>
<p>
<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> is an interface for controlling playback of media
sources. Contrary to most interfaces, you don't need to implement
<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>. It already provides an implementation/logic
leaving you only tweak a few properties to get the desired behavior.
</p>
<p>
<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> extends and implements <span class="type">ClutterMedia</span> to create
enhanced player.
</p>
<p>
<span class="type">ClutterMedia</span> is available since Clutter 0.2
</p>
</div>
<div class="refsect1">
<a name="ClutterGstPlayer.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="ClutterGstPlayer-struct"></a><h3>ClutterGstPlayer</h3>
<pre class="programlisting">typedef struct _ClutterGstPlayer ClutterGstPlayer;</pre>
<p>
<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> is an opaque structure whose members cannot be
directly accessed
</p>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterGstPlayerIface"></a><h3>struct ClutterGstPlayerIface</h3>
<pre class="programlisting">struct ClutterGstPlayerIface {
GstElement * (* get_pipeline) (ClutterGstPlayer *player);
gchar * (* get_user_agent) (ClutterGstPlayer *player);
void (* set_user_agent) (ClutterGstPlayer *player,
const gchar *user_agent);
ClutterGstSeekFlags (* get_seek_flags) (ClutterGstPlayer *player);
void (* set_seek_flags) (ClutterGstPlayer *player,
ClutterGstSeekFlags flags);
ClutterGstBufferingMode (* get_buffering_mode) (ClutterGstPlayer *player);
void (* set_buffering_mode) (ClutterGstPlayer *player,
ClutterGstBufferingMode mode);
GList * (* get_audio_streams) (ClutterGstPlayer *player);
gint (* get_audio_stream) (ClutterGstPlayer *player);
void (* set_audio_stream) (ClutterGstPlayer *player,
gint index_);
GList * (* get_subtitle_tracks) (ClutterGstPlayer *player);
gint (* get_subtitle_track) (ClutterGstPlayer *player);
void (* set_subtitle_track) (ClutterGstPlayer *player,
gint index_);
gboolean (*get_idle) (ClutterGstPlayer *player);
gboolean (*get_in_seek) (ClutterGstPlayer *player);
void (* _iface_reserved16) (void);
void (* _iface_reserved17) (void);
void (* _iface_reserved18) (void);
void (* _iface_reserved19) (void);
void (* _iface_reserved20) (void);
void (* _iface_reserved21) (void);
void (* _iface_reserved22) (void);
void (* _iface_reserved23) (void);
void (* _iface_reserved24) (void);
void (* _iface_reserved25) (void);
void (* _iface_reserved26) (void);
void (* _iface_reserved27) (void);
void (* _iface_reserved28) (void);
void (* _iface_reserved29) (void);
void (* _iface_reserved30) (void);
void (* _iface_reserved31) (void);
void (* _iface_reserved32) (void);
void (* _iface_reserved33) (void);
void (* _iface_reserved34) (void);
void (* _iface_reserved35) (void);
/* signals */
void (* download_buffering) (ClutterGstPlayer *player,
gdouble start,
gdouble stop);
void (* _clutter_reserved2) (void);
void (* _clutter_reserved3) (void);
void (* _clutter_reserved4) (void);
void (* _clutter_reserved5) (void);
void (* _clutter_reserved6) (void);
void (* _clutter_reserved7) (void);
void (* _clutter_reserved8) (void);
void (* _clutter_reserved9) (void);
void (* _clutter_reserved10) (void);
};
</pre>
<p>
Interface vtable for <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> implementations
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-pipeline"></a>get_pipeline</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-user-agent"></a>get_user_agent</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.set-user-agent"></a>set_user_agent</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-seek-flags"></a>get_seek_flags</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.set-seek-flags"></a>set_seek_flags</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-buffering-mode"></a>get_buffering_mode</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.set-buffering-mode"></a>set_buffering_mode</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-audio-streams"></a>get_audio_streams</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-audio-stream"></a>get_audio_stream</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.set-audio-stream"></a>set_audio_stream</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-subtitle-tracks"></a>get_subtitle_tracks</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-subtitle-track"></a>get_subtitle_track</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.set-subtitle-track"></a>set_subtitle_track</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-idle"></a>get_idle</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.get-in-seek"></a>get_in_seek</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved16"></a>_iface_reserved16</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved17"></a>_iface_reserved17</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved18"></a>_iface_reserved18</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved19"></a>_iface_reserved19</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved20"></a>_iface_reserved20</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved21"></a>_iface_reserved21</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved22"></a>_iface_reserved22</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved23"></a>_iface_reserved23</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved24"></a>_iface_reserved24</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved25"></a>_iface_reserved25</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved26"></a>_iface_reserved26</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved27"></a>_iface_reserved27</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved28"></a>_iface_reserved28</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved29"></a>_iface_reserved29</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved30"></a>_iface_reserved30</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved31"></a>_iface_reserved31</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved32"></a>_iface_reserved32</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved33"></a>_iface_reserved33</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved34"></a>_iface_reserved34</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-iface-reserved35"></a>_iface_reserved35</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.download-buffering"></a>download_buffering</code></em> ()</span></p></td>
<td>handler for the <a class="link" href="ClutterGstPlayer.html#ClutterGstPlayer-download-buffering" title='The "download-buffering" signal'><span class="type">"download-buffering"</span></a>
signal</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved2"></a>_clutter_reserved2</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved3"></a>_clutter_reserved3</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved4"></a>_clutter_reserved4</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved5"></a>_clutter_reserved5</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved6"></a>_clutter_reserved6</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved7"></a>_clutter_reserved7</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved8"></a>_clutter_reserved8</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved9"></a>_clutter_reserved9</code></em> ()</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="ClutterGstPlayerIface.-clutter-reserved10"></a>_clutter_reserved10</code></em> ()</span></p></td>
<td></td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-class-init"></a><h3>clutter_gst_player_class_init ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_class_init (<em class="parameter"><code><span class="type">GObjectClass</span> *object_class</code></em>);</pre>
<p>
Adds the <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> properties to a class and surchages the
set/get_property of <span class="type">GObjectClass</span>. You should call this
function at the end of the class_init method of the class
implementing <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>object_class</code></em> :</span></p></td>
<td>a <span class="type">GObjectClass</span>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-init"></a><h3>clutter_gst_player_init ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_gst_player_init (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
<p>
Initialize a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> instance. You should call this
function at the beginning of the init method of the class
implementing <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>.
</p>
<p>
When you're finished with the ClutterGstPlayer mixin features (usually in
the dispose or finalize vfuncs), call <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-deinit" title="clutter_gst_player_deinit ()"><code class="function">clutter_gst_player_deinit()</code></a> to
desallocate the resources created by <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-init" title="clutter_gst_player_init ()"><code class="function">clutter_gst_player_init()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if the initialization was successfull, FALSE otherwise.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-deinit"></a><h3>clutter_gst_player_deinit ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_deinit (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
<p>
Frees the resources created by <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-init" title="clutter_gst_player_init ()"><code class="function">clutter_gst_player_init()</code></a>. After
<a class="link" href="ClutterGstPlayer.html#clutter-gst-player-deinit" title="clutter_gst_player_deinit ()"><code class="function">clutter_gst_player_deinit()</code></a> has been called, no other player method can be
called on the instance.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-get-pipeline"></a><h3>clutter_gst_player_get_pipeline ()</h3>
<pre class="programlisting"><span class="returnvalue">GstElement</span> * clutter_gst_player_get_pipeline (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
<p>
Retrieves the <span class="type">GstPipeline</span> used by the <em class="parameter"><code>player</code></em>, for direct use with
GStreamer API.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <span class="type">GstPipeline</span> element used by the player. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-get-idle"></a><h3>clutter_gst_player_get_idle ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_gst_player_get_idle (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
<p>
Get the idle state of the pipeline.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if the pipline is in idle mode, FALSE otherwise.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-get-user-agent"></a><h3>clutter_gst_player_get_user_agent ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * clutter_gst_player_get_user_agent (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
<p>
Retrieves the user agent used when streaming.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the user agent used. The returned string has to be freed with
<code class="function">g_free()</code>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-set-user-agent"></a><h3>clutter_gst_player_set_user_agent ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_set_user_agent (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *user_agent</code></em>);</pre>
<p>
Sets the user agent to use when streaming.
</p>
<p>
When streaming content, you might want to set a custom user agent, eg. to
promote your software, make it appear in statistics or because the server
requires a special user agent you want to impersonate.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_agent</code></em> :</span></p></td>
<td>the user agent</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-set-seek-flags"></a><h3>clutter_gst_player_set_seek_flags ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_set_seek_flags (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
<em class="parameter"><code><span class="type">ClutterGstSeekFlags</span> flags</code></em>);</pre>
<p>
Seeking can be done with several trade-offs. Clutter-gst defaults
to <code class="literal">CLUTTER_GST_SEEK_FLAG_NONE</code>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td>a combination of <span class="type">ClutterGstSeekFlags</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-get-seek-flags"></a><h3>clutter_gst_player_get_seek_flags ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterGstSeekFlags</span> clutter_gst_player_get_seek_flags (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
<p>
Get the current value of the seek-flags property.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a combination of <span class="type">ClutterGstSeekFlags</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-get-buffering-mode"></a><h3>clutter_gst_player_get_buffering_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterGstBufferingMode</span> clutter_gst_player_get_buffering_mode
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <span class="type">ClutterGstBufferingMode</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-set-buffering-mode"></a><h3>clutter_gst_player_set_buffering_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_set_buffering_mode
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
<em class="parameter"><code><span class="type">ClutterGstBufferingMode</span> mode</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
<td>a <span class="type">ClutterGstBufferingMode</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-get-audio-streams"></a><h3>clutter_gst_player_get_audio_streams ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> * clutter_gst_player_get_audio_streams
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
<p>
Get the list of audio streams of the current media.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a list of
strings describing the available audio streams. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>][<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> utf8]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-get-audio-stream"></a><h3>clutter_gst_player_get_audio_stream ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span> clutter_gst_player_get_audio_stream (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
<p>
Get the current audio stream. The number returned in the index of the
audio stream playing in the list returned by
<a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-audio-streams" title="clutter_gst_player_get_audio_streams ()"><code class="function">clutter_gst_player_get_audio_streams()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the index of the current audio stream, -1 if the media has no
audio stream</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-set-audio-stream"></a><h3>clutter_gst_player_set_audio_stream ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_set_audio_stream (<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
<em class="parameter"><code><span class="type">gint</span> index_</code></em>);</pre>
<p>
Set the audio stream to play. <em class="parameter"><code>index_</code></em> is the index of the stream
in the list returned by <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-audio-streams" title="clutter_gst_player_get_audio_streams ()"><code class="function">clutter_gst_player_get_audio_streams()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
<td>the index of the audio stream</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-get-subtitle-tracks"></a><h3>clutter_gst_player_get_subtitle_tracks ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> * clutter_gst_player_get_subtitle_tracks
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
<p>
Get the list of subtitles tracks of the current media.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a list of
strings describing the available subtitles tracks. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>][<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> utf8]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-get-subtitle-track"></a><h3>clutter_gst_player_get_subtitle_track ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span> clutter_gst_player_get_subtitle_track
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>);</pre>
<p>
Get the current subtitles track. The number returned is the index of the
subtiles track in the list returned by
<a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-subtitle-tracks" title="clutter_gst_player_get_subtitle_tracks ()"><code class="function">clutter_gst_player_get_subtitle_tracks()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the index of the current subtitlest track, -1 if the media has
no subtitles track or if the subtitles have been turned off</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-gst-player-set-subtitle-track"></a><h3>clutter_gst_player_set_subtitle_track ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> clutter_gst_player_set_subtitle_track
(<em class="parameter"><code><a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player</code></em>,
<em class="parameter"><code><span class="type">gint</span> index_</code></em>);</pre>
<p>
Set the subtitles track to play. <em class="parameter"><code>index_</code></em> is the index of the stream
in the list returned by <a class="link" href="ClutterGstPlayer.html#clutter-gst-player-get-subtitle-tracks" title="clutter_gst_player_get_subtitle_tracks ()"><code class="function">clutter_gst_player_get_subtitle_tracks()</code></a>.
</p>
<p>
If <em class="parameter"><code>index_</code></em> is -1, the subtitles are turned off.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>a <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
<td>the index of the subtitles track</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
</div>
<div class="refsect1">
<a name="ClutterGstPlayer.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="ClutterGstPlayer--audio-stream"></a><h3>The <code class="literal">"audio-stream"</code> property</h3>
<pre class="programlisting"> "audio-stream" <span class="type">gint</span> : Read / Write</pre>
<p>
Index of the current audio stream.
</p>
<p>Allowed values: >= -1</p>
<p>Default value: -1</p>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterGstPlayer--audio-streams"></a><h3>The <code class="literal">"audio-streams"</code> property</h3>
<pre class="programlisting"> "audio-streams" <span class="type">gpointer</span> : Read</pre>
<p>
List of audio streams available on the current media.
</p>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterGstPlayer--idle"></a><h3>The <code class="literal">"idle"</code> property</h3>
<pre class="programlisting"> "idle" <span class="type">gboolean</span> : Read</pre>
<p>
Whether the <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> is in idle mode.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterGstPlayer--in-seek"></a><h3>The <code class="literal">"in-seek"</code> property</h3>
<pre class="programlisting"> "in-seek" <span class="type">gboolean</span> : Read</pre>
<p>
Whether or not the stream is being seeked.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 1.6</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterGstPlayer--seek-flags"></a><h3>The <code class="literal">"seek-flags"</code> property</h3>
<pre class="programlisting"> "seek-flags" <span class="type">ClutterGstSeekFlags</span> : Read / Write</pre>
<p>
Flags to use when seeking.
</p>
<p class="since">Since 1.4</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterGstPlayer--subtitle-track"></a><h3>The <code class="literal">"subtitle-track"</code> property</h3>
<pre class="programlisting"> "subtitle-track" <span class="type">gint</span> : Read / Write</pre>
<p>Index of the current subtitles track.</p>
<p>Allowed values: >= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterGstPlayer--subtitle-tracks"></a><h3>The <code class="literal">"subtitle-tracks"</code> property</h3>
<pre class="programlisting"> "subtitle-tracks" <span class="type">gpointer</span> : Read</pre>
<p>List of the subtitles tracks of the media.</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterGstPlayer--user-agent"></a><h3>The <code class="literal">"user-agent"</code> property</h3>
<pre class="programlisting"> "user-agent" <span class="type">gchar</span>* : Read / Write</pre>
<p>
The User Agent used by <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> with network protocols.
</p>
<p>Default value: NULL</p>
<p class="since">Since 1.4</p>
</div>
</div>
<div class="refsect1">
<a name="ClutterGstPlayer.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="ClutterGstPlayer-download-buffering"></a><h3>The <code class="literal">"download-buffering"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> *player,
<span class="type">gdouble</span> start,
<span class="type">gdouble</span> stop,
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
<p>
The ::download-buffering signal is emitted each time their an
update about the buffering of the current media.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>player</code></em> :</span></p></td>
<td>the <a class="link" href="ClutterGstPlayer.html" title="ClutterGstPlayer"><span class="type">ClutterGstPlayer</span></a> instance that received the signal</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
<td>start position of the buffering</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>stop</code></em> :</span></p></td>
<td>start position of the buffering</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.4</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19.1</div>
</body>
</html>
|