video: Add an id to the video frame
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 24 Aug 2011 11:52:20 +0000 (13:52 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 24 Aug 2011 11:52:20 +0000 (13:52 +0200)
commit1bb83435fda91a4612b383194f56ef24c4c0b299
treefad6a4ebfffd30c97bf61c76ee1497def9def51e
parentb0b6d9124d59b729ded47d4ee756a78deec273ad
video: Add an id to the video frame

Rename @view_id to @id.
Add an id to the video metadata. Add a method to get the metadata from a buffer
with the given id.
Make a method to map a frame with a certain id. This only maps the frame with
the given id on the video metadata. The generic frame id can be used when a
buffer carries multiple video frames such as in multiview mode but maybe also
when dealing with interlaced video that stores the fields in separate buffers.
gst-libs/gst/video/gstmetavideo.c
gst-libs/gst/video/gstmetavideo.h
gst-libs/gst/video/video.c
gst-libs/gst/video/video.h