Original commit message from CVS:
Fix warnings
int width = 0;
int channels = 0;
- GstCaps *caps;
+ const GstCaps *caps = NULL;
GstStructure *structure;
/* get caps of pad */
* returns 0 if failed, rate if success
*/
{
- GstCaps *caps = NULL;
+ const GstCaps *caps = NULL;
gint rate;
GstStructure *structure;
double length;
- GstCaps *caps = NULL;
+ const GstCaps *caps = NULL;
GstStructure *structure;
g_assert (GST_IS_BUFFER (buf));
{
gboolean is_signed = FALSE;
gint width = 0;
- GstCaps *caps = NULL;
+ const GstCaps *caps = NULL;
GstStructure *structure;
caps = GST_PAD_CAPS (pad);
gst_video_frame_rate (GstPad *pad)
{
gdouble fps = 0.;
- GstCaps *caps;
+ const GstCaps *caps = NULL;
GstStructure *structure;
/* get pad caps */
gint *width,
gint *height)
{
- GstCaps *caps;
+ const GstCaps *caps = NULL;
GstStructure *structure;
gboolean ret;
{
GstVideoscale *videoscale;
GstPadLinkReturn ret;
- GstCaps *othercaps;
+ const GstCaps *othercaps = NULL;
GstPad *otherpad;
GstStructure *structure;