mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-17 22:31:18 +08:00
Add type, text and ass to AVSubtitleRect.
Originally committed as revision 16417 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -2405,6 +2405,16 @@ typedef struct AVSubtitleRect {
|
||||
* can be set for text/ass as well once they where rendered
|
||||
*/
|
||||
AVPicture pict;
|
||||
enum AVSubtitleType type;
|
||||
|
||||
char *text; ///< 0 terminated plain UTF-8 text
|
||||
|
||||
/**
|
||||
* 0 terminated ASS/SSA compatible event line.
|
||||
* The pressentation of this is unaffected by the other values in this
|
||||
* struct.
|
||||
*/
|
||||
char *ass;
|
||||
} AVSubtitleRect;
|
||||
|
||||
typedef struct AVSubtitle {
|
||||
|
Reference in New Issue
Block a user