mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
Fix warnings
Original commit message from CVS: Fix warnings
This commit is contained in:
parent
977bb1105e
commit
e728ac80d1
3 changed files with 7 additions and 7 deletions
|
@ -35,7 +35,7 @@ gst_audio_frame_byte_size (GstPad* pad)
|
||||||
|
|
||||||
int width = 0;
|
int width = 0;
|
||||||
int channels = 0;
|
int channels = 0;
|
||||||
GstCaps *caps;
|
const GstCaps *caps = NULL;
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
|
|
||||||
/* get caps of pad */
|
/* get caps of pad */
|
||||||
|
@ -82,7 +82,7 @@ gst_audio_frame_rate (GstPad *pad)
|
||||||
* returns 0 if failed, rate if success
|
* returns 0 if failed, rate if success
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
GstCaps *caps = NULL;
|
const GstCaps *caps = NULL;
|
||||||
gint rate;
|
gint rate;
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ gst_audio_length (GstPad* pad, GstBuffer* buf)
|
||||||
|
|
||||||
double length;
|
double length;
|
||||||
|
|
||||||
GstCaps *caps = NULL;
|
const GstCaps *caps = NULL;
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
|
|
||||||
g_assert (GST_IS_BUFFER (buf));
|
g_assert (GST_IS_BUFFER (buf));
|
||||||
|
@ -156,7 +156,7 @@ gst_audio_highest_sample_value (GstPad* pad)
|
||||||
{
|
{
|
||||||
gboolean is_signed = FALSE;
|
gboolean is_signed = FALSE;
|
||||||
gint width = 0;
|
gint width = 0;
|
||||||
GstCaps *caps = NULL;
|
const GstCaps *caps = NULL;
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
|
|
||||||
caps = GST_PAD_CAPS (pad);
|
caps = GST_PAD_CAPS (pad);
|
||||||
|
|
|
@ -30,7 +30,7 @@ gdouble
|
||||||
gst_video_frame_rate (GstPad *pad)
|
gst_video_frame_rate (GstPad *pad)
|
||||||
{
|
{
|
||||||
gdouble fps = 0.;
|
gdouble fps = 0.;
|
||||||
GstCaps *caps;
|
const GstCaps *caps = NULL;
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
|
|
||||||
/* get pad caps */
|
/* get pad caps */
|
||||||
|
@ -62,7 +62,7 @@ gst_video_get_size (GstPad *pad,
|
||||||
gint *width,
|
gint *width,
|
||||||
gint *height)
|
gint *height)
|
||||||
{
|
{
|
||||||
GstCaps *caps;
|
const GstCaps *caps = NULL;
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
|
|
||||||
|
|
|
@ -208,7 +208,7 @@ gst_videoscale_link (GstPad *pad, const GstCaps *caps)
|
||||||
{
|
{
|
||||||
GstVideoscale *videoscale;
|
GstVideoscale *videoscale;
|
||||||
GstPadLinkReturn ret;
|
GstPadLinkReturn ret;
|
||||||
GstCaps *othercaps;
|
const GstCaps *othercaps = NULL;
|
||||||
GstPad *otherpad;
|
GstPad *otherpad;
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue