docs: add a blurb about redirect messages to playbin2 docs
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 26 Mar 2009 19:34:23 +0000 (19:34 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 1 Apr 2009 14:36:37 +0000 (15:36 +0100)
gst/playback/gstplaybin2.c

index 71c3e8e738887d09d6934354a27f9db2dd5404a4..483e1eda3fb3aa8abc6e25502ed563a6ddcd88e6 100644 (file)
  * possible yet.
  * </refsect2>
  * <refsect2>
+ * <title>Handling redirects</title>
+ * <para>
+ * Some elements may post 'redirect' messages on the bus to tell the
+ * application to open another location. These are element messages containing
+ * a structure named 'redirect' along with a 'new-location' field of string
+ * type. The new location may be a relative or an absolute URI. Examples
+ * for such redirects can be found in many quicktime movie trailers.
+ * </para>
+ * </refsect2>
+ * <refsect2>
  * <title>Examples</title>
  * |[
  * gst-launch -v playbin uri=file:///path/to/somefile.avi