mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
9500bd2128
Original commit message from CVS: Code cleanup, make it adhere to the Gnome/Gtk+ code formatting, which is quite clean and more readable. Renamed parseavi to avidecoder Implemented seeking/time display/pause/play/stop/clean exit to gstmediaplay Added an element flag to indicate that it cannot deal with noncontigous buffers. If such an element is found in the pipeline, seeking is disabled for the complete stream (avidecoder cannot deal with seeking until we convert it to a loop based element with pull_region to fetch the indeces etc...)
28 lines
538 B
C
28 lines
538 B
C
/*
|
|
* Initial main.c file generated by Glade. Edit as required.
|
|
* Glade will not overwrite this file.
|
|
*/
|
|
|
|
#ifndef __GSTPLAY_PRIVATE_H__
|
|
#define __GSTPLAY_PRIVATE_H__
|
|
|
|
#include <gst/gst.h>
|
|
|
|
typedef struct _GstPlayPrivate GstPlayPrivate;
|
|
|
|
struct _GstPlayPrivate {
|
|
GstElement *thread;
|
|
GstElement *pipeline;
|
|
GstElement *audio_play;
|
|
GstElement *video_show;
|
|
GstElement *src;
|
|
|
|
guchar *uri;
|
|
gboolean muted;
|
|
gboolean can_seek;
|
|
|
|
GstElement *offset_element;
|
|
GstElement *bit_rate_element;
|
|
};
|
|
|
|
#endif /* __GSTPLAY_PRIVATE_H__ */
|