mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
screenshot: Use new 0.11 API
FIXME : Need to figure out how to get the buffer caps.
This commit is contained in:
parent
20f568ae94
commit
efe3bd7842
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ ges_play_sink_convert_frame (GstElement * playsink, GstCaps * caps)
|
|||
GstBuffer *temp;
|
||||
GError *err = NULL;
|
||||
|
||||
temp = gst_video_convert_frame (result, caps, 25 * GST_SECOND, &err);
|
||||
/* FIXME : Need to get the input buffer caps */
|
||||
temp = gst_video_convert_frame (result, NULL, caps, 25 * GST_SECOND, &err);
|
||||
gst_buffer_unref (result);
|
||||
if (temp == NULL && err) {
|
||||
/* I'm really uncertain whether we should make playsink post an error
|
||||
|
|
Loading…
Reference in a new issue