mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
v4l2codecs: decoder: Add method to get the pic_buf
This helper will be needed for VP9 frame duplication. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1402>
This commit is contained in:
parent
8a1440b3f1
commit
19d99dbcae
2 changed files with 8 additions and 0 deletions
|
@ -1170,3 +1170,9 @@ gst_v4l2_request_failed (GstV4l2Request * request)
|
|||
{
|
||||
return request->failed;
|
||||
}
|
||||
|
||||
GstBuffer *
|
||||
gst_v4l2_request_dup_pic_buf (GstV4l2Request * request)
|
||||
{
|
||||
return gst_buffer_ref (request->pic_buf);
|
||||
}
|
||||
|
|
|
@ -136,6 +136,8 @@ gint gst_v4l2_request_set_done (GstV4l2Request * request);
|
|||
|
||||
gboolean gst_v4l2_request_failed (GstV4l2Request * request);
|
||||
|
||||
GstBuffer * gst_v4l2_request_dup_pic_buf (GstV4l2Request * request);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_V4L2_DECODER_H__ */
|
||||
|
|
Loading…
Reference in a new issue