diff --git a/ChangeLog b/ChangeLog index 1b77a5c064..1b5de39f58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-03 Maciej Katafiasz + + * docs/manual/basics-pads.xml: + trivial fix in example code, make it actually use our API + 2005-05-02 Thomas Vander Stichele * testsuite/caps/intersection.c: (main): diff --git a/docs/manual/basics-pads.xml b/docs/manual/basics-pads.xml index 41efbce2a9..e09507790f 100644 --- a/docs/manual/basics-pads.xml +++ b/docs/manual/basics-pads.xml @@ -384,7 +384,7 @@ read_video_props (GstCaps *caps) gint width, height; const GstStructure *str; - str = gst_caps_get_structure (caps); + str = gst_caps_get_structure (caps, 0); if (!gst_structure_get_int (str, "width", &width) || !gst_structure_get_int (str, "height", &height)) { g_print ("No width/height available\n");