gst_plugins_base/gst/playback/gstplaybasebin.h
branchRCL_3
changeset 29 567bb019e3e3
parent 0 0e761a78d257
child 30 7e817e7e631c
equal deleted inserted replaced
6:9b2c3c7a1a9c 29:567bb019e3e3
    61     gint         npads;
    61     gint         npads;
    62     GstBin      *bin;
    62     GstBin      *bin;
    63     GstElement  *preroll;
    63     GstElement  *preroll;
    64     GstElement  *selector;
    64     GstElement  *selector;
    65     gboolean     done;
    65     gboolean     done;
    66 #define NUM_TYPES 3
    66 #define NUM_TYPES 4
    67   } type[NUM_TYPES]; /* AUDIO, VIDEO, TEXT */
    67   } type[NUM_TYPES]; /* AUDIO, VIDEO, TEXT, SUBPIC */
    68 } GstPlayBaseGroup;
    68 } GstPlayBaseGroup;
    69 
    69 
    70 struct _GstPlayBaseBin {
    70 struct _GstPlayBaseBin {
    71   GstPipeline    pipeline;
    71   GstPipeline    pipeline;
    72         
    72         
    85   GstElement    *source;
    85   GstElement    *source;
    86   GSList        *decoders;
    86   GSList        *decoders;
    87   GstElement    *subtitle;              /* additional filesrc ! subparse bin */
    87   GstElement    *subtitle;              /* additional filesrc ! subparse bin */
    88   gboolean       subtitle_done;
    88   gboolean       subtitle_done;
    89   gboolean       need_rebuild;
    89   gboolean       need_rebuild;
       
    90   gboolean       raw_decoding_mode;     /* Use smaller queues when source outputs raw data */
    90 
    91 
    91   GSList        *subtitle_elements;     /* subtitle elements that have 'subtitle-encoding' property */
    92   GSList        *subtitle_elements;     /* subtitle elements that have 'subtitle-encoding' property */
    92   gchar         *subencoding;           /* encoding to propagate to the above subtitle elements     */
    93   gchar         *subencoding;           /* encoding to propagate to the above subtitle elements     */
    93   GMutex        *sub_lock;              /* protecting subtitle_elements and subencoding members     */
    94   GMutex        *sub_lock;              /* protecting subtitle_elements and subencoding members     */
    94 
    95 
   111   gboolean (*setup_output_pads) (GstPlayBaseBin *play_base_bin,
   112   gboolean (*setup_output_pads) (GstPlayBaseBin *play_base_bin,
   112                                  GstPlayBaseGroup *group);
   113                                  GstPlayBaseGroup *group);
   113 
   114 
   114   void     (*set_subtitles_visible) (GstPlayBaseBin *play_base_bin,
   115   void     (*set_subtitles_visible) (GstPlayBaseBin *play_base_bin,
   115                                      gboolean visible);
   116                                      gboolean visible);
       
   117   void     (*set_audio_mute)        (GstPlayBaseBin *play_base_bin,
       
   118                                      gboolean mute);
   116 };
   119 };
   117 #ifdef __SYMBIAN32__
   120 #ifdef __SYMBIAN32__
   118 IMPORT_C
   121 IMPORT_C
   119 #endif
   122 #endif
   120 
   123