diff options
author | Rodeo <[email protected]> | 2012-10-17 22:37:34 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-10-17 22:37:34 +0000 |
commit | c4c248b01207c775129bd7dca2a1e9461fe3e4ef (patch) | |
tree | 5341c8abb29e4acdb26f236e1b735cae963dab3f /libhb/hbffmpeg.h | |
parent | 3d795b4d0bf3be115cbc107502c162f10ede21a9 (diff) |
hb_ff_set_sample_fmt() improvements.
- allow setting a sample_fmt other than AV_SAMPLE_FMT_FLT
- fall back on planar/packed variant of the requested format if available
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5019 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hbffmpeg.h')
-rw-r--r-- | libhb/hbffmpeg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hbffmpeg.h b/libhb/hbffmpeg.h index 51b51d8af..2de771505 100644 --- a/libhb/hbffmpeg.h +++ b/libhb/hbffmpeg.h @@ -24,7 +24,7 @@ int hb_avcodec_close(AVCodecContext *); uint64_t hb_ff_layout_xlat(uint64_t ff_channel_layout, int nchannels); uint64_t hb_ff_mixdown_xlat(int hb_mixdown, int *downmix_mode); -void hb_ff_set_sample_fmt(AVCodecContext *context, AVCodec *codec); +void hb_ff_set_sample_fmt(AVCodecContext *, AVCodec *, enum AVSampleFormat); struct SwsContext* hb_sws_get_context(int srcW, int srcH, enum PixelFormat srcFormat, |