]> git.sesse.net Git - vlc/blobdiff - include/stream_output.h
* modules/demux/live555.cpp: fixed segfault
[vlc] / include / stream_output.h
index 07e6b7786a04454983ef24fdac5dc44496e6080a..641ec997a789302052555c7c199178259d8b0189 100644 (file)
@@ -21,7 +21,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 /*****************************************************************************
@@ -106,6 +106,10 @@ struct sout_access_out_t
     char                    *psz_access;
     sout_cfg_t              *p_cfg;
 
+    int                      i_writes;
+    int64_t                  i_sent_bytes;      ///< This is a "local" counter that is reset each
+                                                // time it is transferred to stats
+
     char                    *psz_name;
     sout_access_out_sys_t   *p_sys;
     int                     (*pf_seek)( sout_access_out_t *, off_t );
@@ -209,7 +213,7 @@ struct sout_stream_t
 
     /* Subpicture unit */
     spu_t             *p_spu;
-    
+
     /* add, remove a stream */
     sout_stream_id_t *(*pf_add)( sout_stream_t *, es_format_t * );
     int               (*pf_del)( sout_stream_t *, sout_stream_id_t * );