diff options
author | David Schleef <ds@schleef.org> | 2007-12-18 01:25:58 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2007-12-18 01:25:58 +0000 |
commit | 4625e68226117c9e57939d66fafd26c3fba7470c (patch) | |
tree | 8471c6b295cc9448d33a3438a19f845e6d65c578 /sys/glsink/glimagesink.c | |
parent | 45e90efd1b3f19b231fd4e4cc753e2870aa62d0a (diff) | |
download | gst-plugins-bad-4625e68226117c9e57939d66fafd26c3fba7470c.tar.gz gst-plugins-bad-4625e68226117c9e57939d66fafd26c3fba7470c.tar.bz2 gst-plugins-bad-4625e68226117c9e57939d66fafd26c3fba7470c.zip |
sys/glsink/: Use new GstVideoFormat checked into -base. Add new glupload element to upload raw video into a GLXPixbu...
Original commit message from CVS:
* sys/glsink/Makefile.am:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/glvideo.c:
* sys/glsink/glvideo.h:
* sys/glsink/gstopengl.c:
* sys/glsink/gstglupload.c:
Use new GstVideoFormat checked into -base. Add new glupload
element to upload raw video into a GLXPixbuf. Untested. Will
likely crash your motorcycle if you try it.
* sys/glsink/gstvideo-common.c:
* sys/glsink/gstvideo-common.h:
Remove.
Diffstat (limited to 'sys/glsink/glimagesink.c')
-rw-r--r-- | sys/glsink/glimagesink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/glsink/glimagesink.c b/sys/glsink/glimagesink.c index c48b3ed0..8df11e00 100644 --- a/sys/glsink/glimagesink.c +++ b/sys/glsink/glimagesink.c @@ -402,7 +402,7 @@ gst_glimage_sink_set_caps (GstBaseSink * bsink, GstCaps * caps) gst_caps_unref (intersection); - ok = gst_video_parse_caps (caps, &format, &width, &height); + ok = gst_video_format_parse_caps (caps, &format, &width, &height); ok &= gst_video_parse_caps_framerate (caps, &fps_n, &fps_d); ok &= gst_video_parse_caps_pixel_aspect_ratio (caps, &par_n, &par_d); |