summaryrefslogtreecommitdiffstats
path: root/libavfilter/buffersink.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-05-12 17:38:47 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-05-16 13:16:05 +0200
commit4d4098da009c8340997b8d1abedbf2062e4aa991 (patch)
tree2a2398b82a55b8a5feeaa87ece2fefbd5c83036d /libavfilter/buffersink.h
parent183596fa081cc283c61ba3c0bb8386f9139f761f (diff)
downloadffmpeg-streaming-4d4098da009c8340997b8d1abedbf2062e4aa991.zip
ffmpeg-streaming-4d4098da009c8340997b8d1abedbf2062e4aa991.tar.gz
lavfi: drop planar/packed negotiation support
The planar/packed switch and the packing_formats list is no longer required, since the planar/packed information is now stored in the sample format enum. This is technically a major API break, possibly it should be not too painful as we marked the audio filtering API as unstable.
Diffstat (limited to 'libavfilter/buffersink.h')
-rw-r--r--libavfilter/buffersink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/buffersink.h b/libavfilter/buffersink.h
index 2ee5294..714fa04 100644
--- a/libavfilter/buffersink.h
+++ b/libavfilter/buffersink.h
@@ -46,7 +46,9 @@ AVBufferSinkParams *av_buffersink_params_alloc(void);
typedef struct {
const enum AVSampleFormat *sample_fmts; ///< list of allowed sample formats, terminated by AV_SAMPLE_FMT_NONE
const int64_t *channel_layouts; ///< list of allowed channel layouts, terminated by -1
+#if FF_API_PACKING
const int *packing_fmts; ///< list of allowed packing formats
+#endif
} AVABufferSinkParams;
/**
OpenPOWER on IntegriCloud