#include <string.h>
#include <signal.h>
#include <sys/wait.h>
#include <locale.h>
#include "mmsmedia/mmsgst.h"
Go to the source code of this file.
Functions | |
static void | fault_restore (void) |
static void | fault_spin (void) |
static void | sigint_restore (void) |
static void | fault_handler_sighandler (int signum) |
static void | fault_setup (void) |
static void | print_tag (const GstTagList *list, const gchar *tag, gpointer unused) |
static void | sigint_handler_sighandler (int signum) |
static gboolean | check_intr (GstElement *pipeline) |
static void | sigint_setup (void) |
static void | play_handler (int signum) |
static void | play_signal_setup (void) |
static gboolean | event_loop (GstElement *pipeline, gboolean blocking, GstState target_state) |
void | mmsGstFree () |
GStreamer input handling. | |
GstElement * | mmsGstLaunch (const char *pipeline_description) |
create a pipeline | |
GstElement * | mmsGstInit (const string uri, MMSFBSurface *surface) |
init a gstreamer pipeline with an uri and connect it to an surface | |
GstElement * | mmsGstInit (const string uri, MMSWindow *window) |
init a gstreamer pipeline with an uri and connect it to an window | |
bool | mmsGstPlay (GstElement *pipelineX) |
start playback of a pipeline | |
bool | mmsGstSendKeyPress (GstElement *pipeline, MMSKeySymbol key) |
send key press event to a pipeline | |
bool | mmsGstSendKeyRelease (GstElement *pipeline, MMSKeySymbol key) |
send key release event to a pipeline | |
bool | mmsGstSendButtonPress (GstElement *pipeline, int posx, int posy) |
send button press event to a pipeline | |
bool | mmsGstSendButtonRelease (GstElement *pipeline, int posx, int posy) |
send button release event to a pipeline | |
bool | mmsGstSendAxisMotion (GstElement *pipeline, int posx, int posy) |
send axis motion event to a pipeline | |
Variables | |
volatile gboolean | glib_on_error_halt |
static gboolean | caught_intr = FALSE |
static GstElement * | pipeline |
static gboolean | caught_error = FALSE |
static gboolean | tags = FALSE |
static gboolean | is_live = FALSE |
static gboolean check_intr | ( | GstElement * | pipeline | ) | [static] |
Definition at line 226 of file mmsgst.cpp.
static gboolean event_loop | ( | GstElement * | pipeline, | |
gboolean | blocking, | |||
GstState | target_state | |||
) | [static] |
Definition at line 296 of file mmsgst.cpp.
static void fault_handler_sighandler | ( | int | signum | ) | [static] |
Definition at line 71 of file mmsgst.cpp.
static void fault_restore | ( | void | ) | [static] |
Definition at line 137 of file mmsgst.cpp.
static void fault_setup | ( | void | ) | [static] |
Definition at line 149 of file mmsgst.cpp.
static void fault_spin | ( | void | ) | [static] |
Definition at line 120 of file mmsgst.cpp.
GstElement* mmsGstInit | ( | const string | uri, | |
MMSWindow * | window | |||
) |
init a gstreamer pipeline with an uri and connect it to an window
Definition at line 638 of file mmsgst.cpp.
GstElement* mmsGstInit | ( | const string | uri, | |
MMSFBSurface * | surface | |||
) |
init a gstreamer pipeline with an uri and connect it to an surface
Definition at line 606 of file mmsgst.cpp.
GstElement* mmsGstLaunch | ( | const char * | pipeline_description | ) |
bool mmsGstPlay | ( | GstElement * | pipelineX | ) |
bool mmsGstSendAxisMotion | ( | GstElement * | pipeline, | |
int | posx, | |||
int | posy | |||
) |
bool mmsGstSendButtonPress | ( | GstElement * | pipeline, | |
int | posx, | |||
int | posy | |||
) |
bool mmsGstSendButtonRelease | ( | GstElement * | pipeline, | |
int | posx, | |||
int | posy | |||
) |
bool mmsGstSendKeyPress | ( | GstElement * | pipeline, | |
MMSKeySymbol | key | |||
) |
bool mmsGstSendKeyRelease | ( | GstElement * | pipeline, | |
MMSKeySymbol | key | |||
) |
static void play_handler | ( | int | signum | ) | [static] |
Definition at line 268 of file mmsgst.cpp.
static void play_signal_setup | ( | void | ) | [static] |
Definition at line 283 of file mmsgst.cpp.
static void print_tag | ( | const GstTagList * | list, | |
const gchar * | tag, | |||
gpointer | unused | |||
) | [static] |
Definition at line 167 of file mmsgst.cpp.
static void sigint_handler_sighandler | ( | int | signum | ) | [static] |
Definition at line 212 of file mmsgst.cpp.
static void sigint_restore | ( | void | ) | [static] |
Definition at line 257 of file mmsgst.cpp.
static void sigint_setup | ( | void | ) | [static] |
Definition at line 246 of file mmsgst.cpp.
gboolean caught_error = FALSE [static] |
Definition at line 64 of file mmsgst.cpp.
gboolean caught_intr = FALSE [static] |
Definition at line 60 of file mmsgst.cpp.
volatile gboolean glib_on_error_halt |
gboolean is_live = FALSE [static] |
Definition at line 66 of file mmsgst.cpp.
GstElement* pipeline [static] |
Definition at line 63 of file mmsgst.cpp.
gboolean tags = FALSE [static] |
Definition at line 65 of file mmsgst.cpp.