diff options
author | Steve Jiekak <devaureshy@gmail.com> | 2014-12-04 14:48:14 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-04 20:23:52 +0100 |
commit | 6e9ac02af8b67522fef6eaf22d983b6d1a39221e (patch) | |
tree | 9ea19dc4937846063a462aa4958d62f9a6fdecf0 /libavcodec/dv_profile.h | |
parent | bde27e1e617dfeb3c026f530f48a77f5ed8aa2ea (diff) | |
download | ffmpeg-6e9ac02af8b67522fef6eaf22d983b6d1a39221e.tar.gz |
add av_dv_codec_profile2 : uses framerate to select best matching profile. default on first matching profile
Signed-off-by: Steve Jiekak <devaureshy@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dv_profile.h')
-rw-r--r-- | libavcodec/dv_profile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/dv_profile.h b/libavcodec/dv_profile.h index d4437c9786..d22ad2663f 100644 --- a/libavcodec/dv_profile.h +++ b/libavcodec/dv_profile.h @@ -83,4 +83,10 @@ const AVDVProfile *av_dv_frame_profile(const AVDVProfile *sys, */ const AVDVProfile *av_dv_codec_profile(int width, int height, enum AVPixelFormat pix_fmt); +/** + * Get a DV profile for the provided stream parameters. + * The frame rate is used as a best-effort parameter. + */ +const AVDVProfile *av_dv_codec_profile2(int width, int height, enum AVPixelFormat pix_fmt, AVRational frame_rate); + #endif /* AVCODEC_DV_PROFILE_H */ |