Fix warnings

Original commit message from CVS:
Fix warnings
This commit is contained in:
Jeremy Simon 2003-12-27 19:37:17 +00:00
parent d4b7a00d0f
commit 99df41f0d7
2 changed files with 6 additions and 6 deletions

View file

@ -35,7 +35,7 @@ gst_audio_frame_byte_size (GstPad* pad)
int width = 0;
int channels = 0;
GstCaps *caps;
const GstCaps *caps = NULL;
GstStructure *structure;
/* get caps of pad */
@ -82,7 +82,7 @@ gst_audio_frame_rate (GstPad *pad)
* returns 0 if failed, rate if success
*/
{
GstCaps *caps = NULL;
const GstCaps *caps = NULL;
gint rate;
GstStructure *structure;
@ -117,7 +117,7 @@ gst_audio_length (GstPad* pad, GstBuffer* buf)
double length;
GstCaps *caps = NULL;
const GstCaps *caps = NULL;
GstStructure *structure;
g_assert (GST_IS_BUFFER (buf));
@ -156,7 +156,7 @@ gst_audio_highest_sample_value (GstPad* pad)
{
gboolean is_signed = FALSE;
gint width = 0;
GstCaps *caps = NULL;
const GstCaps *caps = NULL;
GstStructure *structure;
caps = GST_PAD_CAPS (pad);

View file

@ -30,7 +30,7 @@ gdouble
gst_video_frame_rate (GstPad *pad)
{
gdouble fps = 0.;
GstCaps *caps;
const GstCaps *caps = NULL;
GstStructure *structure;
/* get pad caps */
@ -62,7 +62,7 @@ gst_video_get_size (GstPad *pad,
gint *width,
gint *height)
{
GstCaps *caps;
const GstCaps *caps = NULL;
GstStructure *structure;
gboolean ret;