[017/906] * ext/audioresample/gstaudioresample.c: * ext/polyp/polypsi...
authorJan Schmidt <jan.schmidt@sun.com>
Mon, 21 Nov 2005 14:33:11 +0000 (14:33 +0000)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:16 +0000 (18:36 +0100)
gst/gl/glimagesink.c

index d1a7601..efef625 100644 (file)
@@ -840,14 +840,13 @@ gst_glimagesink_fixate (GstPad * pad, const GstCaps * caps)
   newcaps = gst_caps_copy (caps);
   structure = gst_caps_get_structure (newcaps, 0);
 
-  if (gst_caps_structure_fixate_field_nearest_int (structure, "width", 320)) {
+  if (gst_structure_fixate_field_nearest_int (structure, "width", 320)) {
     return newcaps;
   }
-  if (gst_caps_structure_fixate_field_nearest_int (structure, "height", 240)) {
+  if (gst_structure_fixate_field_nearest_int (structure, "height", 240)) {
     return newcaps;
   }
-  if (gst_caps_structure_fixate_field_nearest_double (structure, "framerate",
-          30.0)) {
+  if (gst_structure_fixate_field_nearest_double (structure, "framerate", 30.0)) {
     return newcaps;
   }