summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-30 13:42:55 +0200
committerAnton Khirnov <anton@khirnov.net>2011-05-25 15:20:25 +0200
commit17a5556db598ba1e5550d89ae3e339c1161a218a (patch)
treedf5e58a02a975624da9e226a4ba5f2b7f9587e4d /libavformat/avformat.h
parent5dc8214420e4c48cdf48455329138db752d15cd0 (diff)
mpegts: add compute_pcr option.
Deprecate the corresponding AVFormatParameters field.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index c29f9baf4d..7e8cd80aee 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -236,9 +236,10 @@ typedef struct AVFormatParameters {
int channel; /**< Used to select DV channel. */
const char *standard; /**< TV standard, NTSC, PAL, SECAM */
unsigned int mpeg2ts_raw:1; /**< Force raw MPEG-2 transport stream output, if possible. */
- unsigned int mpeg2ts_compute_pcr:1; /**< Compute exact PCR for each transport
- stream packet (only meaningful if
- mpeg2ts_raw is TRUE). */
+#if FF_API_FORMAT_PARAMETERS
+ /**< deprecated, use mpegtsraw demuxer-specific options instead */
+ attribute_deprecated unsigned int mpeg2ts_compute_pcr:1;
+#endif
unsigned int initial_pause:1; /**< Do not begin to play the stream
immediately (RTSP only). */
unsigned int prealloced_context:1;