diff options
author | David Schleef <ds@schleef.org> | 2003-12-21 23:24:38 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-12-21 23:24:38 +0000 |
commit | 8284d0d3a2911a9ef9667aa52f0fd42e4c93405f (patch) | |
tree | 5fa53a115231b29afd0bc832f9c32afdd8dd51c7 /gst-libs/gst/video | |
parent | 26da56b423a834192f5edf413c3cb1be257f845a (diff) | |
download | gst-plugins-bad-8284d0d3a2911a9ef9667aa52f0fd42e4c93405f.tar.gz gst-plugins-bad-8284d0d3a2911a9ef9667aa52f0fd42e4c93405f.tar.bz2 gst-plugins-bad-8284d0d3a2911a9ef9667aa52f0fd42e4c93405f.zip |
Original commit message from CVS:
Global change from "caps2" to "caps"
Diffstat (limited to 'gst-libs/gst/video')
-rw-r--r-- | gst-libs/gst/video/video.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c index 2fc54003..6d804a4d 100644 --- a/gst-libs/gst/video/video.c +++ b/gst-libs/gst/video/video.c @@ -30,7 +30,7 @@ gdouble gst_video_frame_rate (GstPad *pad) { gdouble fps = 0.; - GstCaps2 *caps; + GstCaps *caps; GstStructure *structure; /* get pad caps */ @@ -42,7 +42,7 @@ gst_video_frame_rate (GstPad *pad) return 0.; } - structure = gst_caps2_get_nth_cap (caps, 0); + structure = gst_caps_get_structure (caps, 0); if (!gst_structure_get_double (structure, "framerate", &fps)){ g_warning ("gstvideo: failed to get framerate property of pad %s:%s", GST_ELEMENT_NAME (gst_pad_get_parent (pad)), @@ -62,7 +62,7 @@ gst_video_get_size (GstPad *pad, gint *width, gint *height) { - GstCaps2 *caps; + GstCaps *caps; GstStructure *structure; gboolean ret; @@ -79,7 +79,7 @@ gst_video_get_size (GstPad *pad, return FALSE; } - structure = gst_caps2_get_nth_cap (caps, 0); + structure = gst_caps_get_structure (caps, 0); ret = gst_structure_get_int (structure, "width", width); ret &= gst_structure_get_int (structure, "height", height); |