this way meta data will be available for stream_outs and muxers.
The only 'problem' is that it will be available for sure only after
that the first data packet is received by the stream output.
- char * psz_sout;
- char * psz_chain;
+ char *psz_sout;
+ char *psz_chain;
+
+ /* meta data (Read only) XXX it won't be set before the first packet received */
+ vlc_meta_t *p_meta;
- int i_preheader; /* max over all muxer */
+ int i_preheader; /* max over all muxer */
- int i_padding; /* needed by some decoders */
- int i_out_pace_nocontrol; /* count of output that can't control the space */
+ int i_padding; /* needed by some decoders */
+ int i_out_pace_nocontrol; /* count of output that can't control the space */
- vlc_mutex_t lock;
- sout_stream_t *p_stream;
+ vlc_mutex_t lock;
+ sout_stream_t *p_stream;
- sout_instance_sys_t *p_sys;
+ sout_instance_sys_t *p_sys;
};
static inline sout_cfg_t *sout_cfg_find( sout_cfg_t *p_cfg, char *psz_name )
};
static inline sout_cfg_t *sout_cfg_find( sout_cfg_t *p_cfg, char *psz_name )
typedef struct httpd_redirect_t httpd_redirect_t;
typedef struct httpd_stream_t httpd_stream_t;
typedef struct httpd_redirect_t httpd_redirect_t;
typedef struct httpd_stream_t httpd_stream_t;
+/* divers */
+typedef struct vlc_meta_t vlc_meta_t;
+
/*****************************************************************************
* Variable callbacks
/*****************************************************************************
* Variable callbacks
* vlc_meta.h
*****************************************************************************
* Copyright (C) 2004 VideoLAN
* vlc_meta.h
*****************************************************************************
* Copyright (C) 2004 VideoLAN
- * $Id: vlc_meta.h,v 1.2 2004/03/03 12:01:17 fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
#define VLC_META_CODEC_NAME N_("Codec Name")
#define VLC_META_CODEC_DESCRIPTION N_("Codec Description")
#define VLC_META_CODEC_NAME N_("Codec Name")
#define VLC_META_CODEC_DESCRIPTION N_("Codec Description")
-typedef struct vlc_meta_t vlc_meta_t;
struct vlc_meta_t
{
/* meta name/value pairs */
struct vlc_meta_t
{
/* meta name/value pairs */