For VAEncPictureParameterBufferH264:last_picture
authorAustin Yuan <shengquan.yuan@gmail.com>
Sun, 26 Sep 2010 01:47:37 +0000 (09:47 +0800)
committerAustin Yuan <shengquan.yuan@gmail.com>
Sun, 26 Sep 2010 01:47:37 +0000 (09:47 +0800)
1: means the last picture of sequence
2: means the last picture of stream

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
va/va.h

diff --git a/va/va.h b/va/va.h
index 79795e2..0f12dfb 100644 (file)
--- a/va/va.h
+++ b/va/va.h
@@ -1122,7 +1122,9 @@ typedef struct _VAEncPictureParameterBufferH264
     VABufferID coded_buf;
     unsigned short picture_width;
     unsigned short picture_height;
-    unsigned char last_picture; /* if set to 1 it indicates the last picture in the sequence */
+    unsigned char last_picture; /* if set to 1 it indicates the last picture in the sequence
+                                 * if set to 2 it indicates the last picture of the stream
+                                 */
 } VAEncPictureParameterBufferH264;
 
 /****************************