diff options
author | Ramiro Polla <ramiro@lisha.ufsc.br> | 2007-02-14 17:01:32 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2007-02-14 17:01:32 +0000 |
commit | cc58300e30e7aea6acfecd72a04a3886b285cfd8 (patch) | |
tree | e1060df29a65226dcdf1378538c920a1a544e2f8 /libavformat/avformat.h | |
parent | 20121213630a03001148f3ffdadac895dae8d7c5 (diff) | |
download | ffmpeg-cc58300e30e7aea6acfecd72a04a3886b285cfd8.tar.gz |
implement new grabbing interface, as described here:
ttp://thread.gmane.org/gmane.comp.video.ffmpeg.devel/42920
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
Date: Jan 31, 2007 8:56 PM
Subject: [Ffmpeg-devel] [PATCH] New grabbing interface
Originally committed as revision 7983 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 636748c6d1..dad18ced35 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -117,7 +117,9 @@ typedef struct AVFormatParameters { int height; enum PixelFormat pix_fmt; int channel; /* used to select dv channel */ +#if LIBAVFORMAT_VERSION_INT < (52<<16) const char *device; /* video, audio or DV device */ +#endif const char *standard; /* tv standard, NTSC, PAL, SECAM */ int mpeg2ts_raw:1; /* force raw MPEG2 transport stream output, if possible */ int mpeg2ts_compute_pcr:1; /* compute exact PCR for each transport |