avconv: add stream-global side data to the first demuxed packet
[libav.git] / avconv.h
index c912fae..1928432 100644 (file)
--- a/avconv.h
+++ b/avconv.h
@@ -233,6 +233,9 @@ typedef struct InputStream {
     AVDictionary *opts;
     AVRational framerate;               /* framerate forced with -r */
 
+    /* number of packets successfully read for this stream */
+    uint64_t nb_packets;
+
     int resample_height;
     int resample_width;
     int resample_pix_fmt;