2000-10-30 21:02:08 +00:00
|
|
|
#ifndef __GSTPLAY_PRIVATE_H__
|
|
|
|
#define __GSTPLAY_PRIVATE_H__
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
|
|
|
|
|
|
|
typedef struct _GstPlayPrivate GstPlayPrivate;
|
|
|
|
|
|
|
|
struct _GstPlayPrivate {
|
2001-05-25 21:00:07 +00:00
|
|
|
GstElement *pipeline;
|
2001-05-21 01:19:06 +00:00
|
|
|
GstElement *video_element, *audio_element;
|
|
|
|
GstElement *video_show;
|
|
|
|
GtkWidget *video_widget;
|
|
|
|
GstElement *src;
|
2001-05-25 21:00:07 +00:00
|
|
|
GstElement *cache;
|
|
|
|
GstElement *typefind;
|
2001-05-21 01:19:06 +00:00
|
|
|
|
|
|
|
guchar *uri;
|
|
|
|
gboolean muted;
|
|
|
|
gboolean can_seek;
|
|
|
|
|
|
|
|
GstElement *offset_element;
|
|
|
|
GstElement *bit_rate_element;
|
|
|
|
GstElement *media_time_element;
|
|
|
|
GstElement *current_time_element;
|
2000-11-01 13:49:41 +00:00
|
|
|
|
2001-05-21 01:19:06 +00:00
|
|
|
guint source_width;
|
|
|
|
guint source_height;
|
2000-10-30 21:02:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __GSTPLAY_PRIVATE_H__ */
|