mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
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.
This commit is contained in:
parent
7190c5f078
commit
8df1f1ad47
3 changed files with 20 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
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>
|
||||
|
||||
* gst-libs/gst/rtp/gstbasertpdepayload.c:
|
||||
|
|
|
@ -35,8 +35,15 @@
|
|||
* the GnomeVFS library. Common protocols are 'file', 'http', 'ftp', or 'smb'.
|
||||
* </para>
|
||||
* <para>
|
||||
* In case the element-gnomevfssrc::iradio-mode is enabled, the #ICYDemux should
|
||||
* be used as the follow-up element.
|
||||
* In case the element-gnomevfssrc::iradio-mode property is set and the
|
||||
* 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>
|
||||
* Example pipeline:
|
||||
|
|
|
@ -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,
|
||||
guint8 b_expected, guint endianness, guint bpp, guint depth)
|
||||
{
|
||||
guint32 pixel = 0, red, green, blue, alpha;
|
||||
guint32 pixel, red, green, blue, alpha;
|
||||
|
||||
switch (bpp) {
|
||||
case 32:{
|
||||
|
@ -189,6 +189,8 @@ check_rgb_buf (const guint8 * pixels, guint32 r_mask, guint32 g_mask,
|
|||
pixel = GST_READ_UINT16_BE (pixels);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
g_return_if_reached ();
|
||||
}
|
||||
|
||||
red = right_shift_colour (r_mask, pixel);
|
||||
|
|
Loading…
Reference in a new issue