diff avformat.h @ 1795:62792a60f740 libavformat

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
author gpoirier
date Wed, 14 Feb 2007 17:01:32 +0000
parents eb16c64144ee
children daaa79ca14f0
line wrap: on
line diff
--- a/avformat.h	Wed Feb 14 14:54:20 2007 +0000
+++ b/avformat.h	Wed Feb 14 17:01:32 2007 +0000
@@ -117,7 +117,9 @@
     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