diff --git a/doc/APIchanges b/doc/APIchanges index ed87c0d252e3344e7cce612b8f3486fd215a28df..cb1dad7a5474b5d803e1dadaae7d0c851671ce6d 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,9 @@ libavutil: 2011-04-18 API changes, most recent first: +2011-08-20 - xxxxxx - lavu 51.13.0 + Add av_get_media_type_string(). + 2011-08-14 - xxxxxx - lavu 52.12.0 Add av_fifo_peek2(), deprecate av_fifo_peek(). diff --git a/libavutil/avutil.h b/libavutil/avutil.h index fc437dd21fa816bf4fdc70f566326dff61ec0875..25b55672b2721e4b1939eb4ca1e0a9ca0f830e8c 100644 --- a/libavutil/avutil.h +++ b/libavutil/avutil.h @@ -40,7 +40,7 @@ #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) #define LIBAVUTIL_VERSION_MAJOR 51 -#define LIBAVUTIL_VERSION_MINOR 12 +#define LIBAVUTIL_VERSION_MINOR 13 #define LIBAVUTIL_VERSION_MICRO 0 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ @@ -95,6 +95,12 @@ enum AVMediaType { AVMEDIA_TYPE_NB }; +/** + * Return a string describing the media_type enum, NULL if media_type + * is unknown. + */ +const char *av_get_media_type_string(enum AVMediaType media_type); + #define FF_LAMBDA_SHIFT 7 #define FF_LAMBDA_SCALE (1<