[FFmpeg-cvslog] lavc: add AV_PKT_DATA_SUBTITLE_POSITION side data type.
Clément Bœsch
git at videolan.org
Thu Oct 25 00:04:14 CEST 2012
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed Oct 24 23:58:15 2012 +0200| [4d46fd0b3ed14cfcfc4fd7fc1e4fb29f8fcea65c] | committer: Clément Bœsch
lavc: add AV_PKT_DATA_SUBTITLE_POSITION side data type.
This commit introduces a new packet side data type for the subtitle
position information. This is meant to be used by the SRT format where
that information is stored along with the timing, which is not part of
the subrip packets.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d46fd0b3ed14cfcfc4fd7fc1e4fb29f8fcea65c
---
libavcodec/avcodec.h | 11 +++++++++++
libavcodec/version.h | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 0374de4..1495c9e 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -948,6 +948,17 @@ enum AVPacketSideDataType {
* the list, so it is required to rely on the side data size to stop.
*/
AV_PKT_DATA_STRINGS_METADATA,
+
+ /**
+ * Subtitle event position
+ * @code
+ * u32le x1
+ * u32le y1
+ * u32le x2
+ * u32le y2
+ * @endcode
+ */
+ AV_PKT_DATA_SUBTITLE_POSITION,
};
typedef struct AVPacket {
diff --git a/libavcodec/version.h b/libavcodec/version.h
index a52d726..f878efe 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -29,7 +29,7 @@
#include "libavutil/avutil.h"
#define LIBAVCODEC_VERSION_MAJOR 54
-#define LIBAVCODEC_VERSION_MINOR 68
+#define LIBAVCODEC_VERSION_MINOR 69
#define LIBAVCODEC_VERSION_MICRO 100
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
More information about the ffmpeg-cvslog
mailing list