Commit 8df1f1ad authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

ext/gnomevfs/gstgnomevfssrc.c: Fix misleading docs addition.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c:
Fix misleading docs addition.
* tests/check/elements/videotestsrc.c: (check_rgb_buf):
Get rid of compiler warning the right way.
parent 7190c5f0
2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
* ext/gnomevfs/gstgnomevfssrc.c:
Fix misleading docs addition.
* tests/check/elements/videotestsrc.c: (check_rgb_buf):
Get rid of compiler warning the right way.
2006-09-22 Wim Taymans <wim@fluendo.com> 2006-09-22 Wim Taymans <wim@fluendo.com>
   
* gst-libs/gst/rtp/gstbasertpdepayload.c: * gst-libs/gst/rtp/gstbasertpdepayload.c:
...@@ -35,8 +35,15 @@ ...@@ -35,8 +35,15 @@
* the GnomeVFS library. Common protocols are 'file', 'http', 'ftp', or 'smb'. * the GnomeVFS library. Common protocols are 'file', 'http', 'ftp', or 'smb'.
* </para> * </para>
* <para> * <para>
* In case the element-gnomevfssrc::iradio-mode is enabled, the #ICYDemux should * In case the element-gnomevfssrc::iradio-mode property is set and the
* be used as the follow-up element. * location is a http resource, gnomevfssrc will send special icecast http
* headers to the server to request additional icecast metainformation. If
* the server is not an icecast server, it will display the same behaviour
* as if the element-gnomevfssrc::iradio-mode property was not set. However,
* if the server is in fact an icecast server, gnomevfssrc will output
* data with a media type of application/x-icy, in which case you will
* need to use the #ICYDemux element as follow-up element to extract
* the icecast meta data and to determine the underlying media type.
* </para> * </para>
* <para> * <para>
* Example pipeline: * Example pipeline:
......
...@@ -160,7 +160,7 @@ check_rgb_buf (const guint8 * pixels, guint32 r_mask, guint32 g_mask, ...@@ -160,7 +160,7 @@ check_rgb_buf (const guint8 * pixels, guint32 r_mask, guint32 g_mask,
guint32 b_mask, guint32 a_mask, guint8 r_expected, guint8 g_expected, guint32 b_mask, guint32 a_mask, guint8 r_expected, guint8 g_expected,
guint8 b_expected, guint endianness, guint bpp, guint depth) guint8 b_expected, guint endianness, guint bpp, guint depth)
{ {
guint32 pixel = 0, red, green, blue, alpha; guint32 pixel, red, green, blue, alpha;
switch (bpp) { switch (bpp) {
case 32:{ case 32:{
...@@ -189,6 +189,8 @@ check_rgb_buf (const guint8 * pixels, guint32 r_mask, guint32 g_mask, ...@@ -189,6 +189,8 @@ check_rgb_buf (const guint8 * pixels, guint32 r_mask, guint32 g_mask,
pixel = GST_READ_UINT16_BE (pixels); pixel = GST_READ_UINT16_BE (pixels);
break; break;
} }
default:
g_return_if_reached ();
} }
red = right_shift_colour (r_mask, pixel); red = right_shift_colour (r_mask, pixel);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment