mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 03:16:33 +00:00
a74b02deb8
Original commit message from CVS: Fixed the media player so that it works with incsched. Removed the thread and add the _iterate to the g_idle_loop, this makes the GUI very cluncky but is needed because we cannot chance the state of a thread inside the threads context yet.
30 lines
602 B
C
30 lines
602 B
C
#ifndef __GSTPLAY_PRIVATE_H__
|
|
#define __GSTPLAY_PRIVATE_H__
|
|
|
|
#include <gst/gst.h>
|
|
|
|
typedef struct _GstPlayPrivate GstPlayPrivate;
|
|
|
|
struct _GstPlayPrivate {
|
|
GstElement *pipeline;
|
|
GstElement *video_element, *audio_element;
|
|
GstElement *video_show;
|
|
GtkWidget *video_widget;
|
|
GstElement *src;
|
|
GstElement *cache;
|
|
GstElement *typefind;
|
|
|
|
guchar *uri;
|
|
gboolean muted;
|
|
gboolean can_seek;
|
|
|
|
GstElement *offset_element;
|
|
GstElement *bit_rate_element;
|
|
GstElement *media_time_element;
|
|
GstElement *current_time_element;
|
|
|
|
guint source_width;
|
|
guint source_height;
|
|
};
|
|
|
|
#endif /* __GSTPLAY_PRIVATE_H__ */
|