mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
trivial fix in example code, make it actually use our API
Original commit message from CVS: trivial fix in example code, make it actually use our API
This commit is contained in:
parent
f6ad1ca390
commit
92c245fe17
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-05-03 Maciej Katafiasz <mathrick@freedesktop.org>
|
||||
|
||||
* docs/manual/basics-pads.xml:
|
||||
trivial fix in example code, make it actually use our API
|
||||
|
||||
2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* testsuite/caps/intersection.c: (main):
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue