#include <gst/gst.h>
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
g_print("have eof, quitting\n");
exit(0);
}
char *outfile;
GstElement *mux;
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
g_print("have eos, quitting\n");
exit(0);
}
}
int main(int argc,char *argv[]) {
- GstPipeline *pipeline;
- GstElement *src, *parse, *fdsink;
+ GstElement *pipeline, *src, *parse, *fdsink;
GstElementFactory *fdsinkfactory;
g_print("have %d args\n",argc);
GstElement *audio_thread, *video_thread;
GstElement *audio_queue, *video_queue;
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
g_print("have eos, quitting\n");
exit(0);
}
}
int main(int argc,char *argv[]) {
- GstPipeline *pipeline;
- GstElement *src, *parse;
+ GstElement *pipeline, *src, *parse;
g_print("have %d args\n",argc);
extern gboolean _gst_plugin_spew;
gboolean idle_func(gpointer data);
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
g_print("have eos, quitting\n");
exit(0);
}
}
int main(int argc,char *argv[]) {
- GstPipeline *pipeline;
- GstElement *src, *parse;
+ GstElement *pipeline, *src, *parse;
g_print("have %d args\n",argc);
int fd;
char *outfile;
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
g_print("have eos, quitting\n");
exit(0);
}
}
int main(int argc,char *argv[]) {
- GstPipeline *pipeline;
- GstElement *src, *parse, *out;
+ GstElement *pipeline, *src, *parse, *out;
GstPad *infopad;
int i,c;
GstElement *mux;
GstElement *merge_subtitles;
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
g_print("have eos, quitting\n");
exit(0);
}
}
int main(int argc,char *argv[]) {
- GstPipeline *pipeline;
- GstElement *src, *parse;
+ GstElement *pipeline, *src, *parse;
GstElement *fdsink;
GstElementFactory *fdsinkfactory;
int fd;
GstElement *mux;
GstElement *merge_subtitles;
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
g_print("have eos, quitting\n");
exit(0);
}
}
int main(int argc,char *argv[]) {
- GstPipeline *pipeline;
- GstElement *src, *parse;
+ GstElement *pipeline, *src, *parse;
GstElement *fdsink;
GstElementFactory *fdsinkfactory;
int fd;
static gboolean playing = TRUE;
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
DEBUG("have EOF\n");
playing = FALSE;
}
extern gboolean _gst_plugin_spew;
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
g_print("have eof, quitting\n");
exit(0);
}
// gst_plugin_load("mp3parse");
gst_plugin_load_all();
- pipeline = gst_pipeline_new("pipeline");
+ pipeline = GST_PIPELINE(gst_pipeline_new("pipeline"));
g_return_val_if_fail(pipeline != NULL, -1);
srcfactory = gst_elementfactory_find("disksrc");
#include <gst/gst.h>
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
g_print("have eof, quitting\n");
exit(0);
}
int main(int argc,char *argv[]) {
- GstPipeline *pipeline;
GstElementFactory *srcfactory, *parsefactory, *decodefactory, *playfactory;
- GstElement *src, *parse, *decode, *play;
+ GstElement *pipeline, *src, *parse, *decode, *play;
GstPad *infopad;
g_print("have %d args\n",argc);
#include <fcntl.h>
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
g_print("have eof, quitting\n");
exit(0);
}
#include <gnome.h>
#include <gst/gst.h>
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
g_print("have eos, quitting\n");
exit(0);
}
gst_plugin_load("mpeg2parse");
//gst_plugin_load("mpeg1parse");
- pipeline = gst_pipeline_new("pipeline");
+ pipeline = GST_PIPELINE(gst_pipeline_new("pipeline"));
g_return_val_if_fail(pipeline != NULL, -1);
if (strstr(argv[1],"video_ts")) {
#include <gst/gst.h>
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
g_print("have eof, quitting\n");
exit(0);
}
int main(int argc,char *argv[]) {
- GstPipeline *pipeline;
GstElementFactory *srcfactory, *pipefactory, *sinkfactory;
- GstElement *src, *pipe, *sink;
+ GstElement *pipeline, *src, *pipe, *sink;
int fd;
g_print("have %d args\n",argc);
don't screw around with state unexpectedly */
static gboolean playing = TRUE;
-void eof(GstSrc *src) {
+void eof(GstElement *src) {
DEBUG("have EOF\n");
playing = FALSE;
}